---
name: analyze-your-spend
description: "Your finance agent slices Ramp spend by vendor, time, category, person, or team."
title: "Analyze your spend"
url: https://agents.ramp.com/playbooks/analyze-your-spend
runtimes: [Claude Desktop, ChatGPT, Claude Code, Codex, Perplexity]
---

# Analyze your spend

Slice your Ramp spend by the cut that matters. Ask for vendor totals over time, a category rollup for the quarter, last week's card transactions, or spend by person or team. You'll get totals and any notable outliers.

## How to run

Identify which runtime you're operating in (Claude Desktop, ChatGPT, Claude Code, Codex, Perplexity). Use the matching section below; ignore the others.

## Claude Desktop

Copy and run this prompt:

```
## Before you run
- Ramp connector enabled in Claude Desktop ([connector directory](https://claude.ai/directory/61bac03c-3f98-4b3c-affb-1b99533fa82c))

Run a spend analysis in my Ramp account.

I want: [pick one and edit, or write your own]
- "Anthropic spend this month"
- "Top vendors last 30 days"
- "Category rollup for last quarter"
- "Spend by my team last month"

Include both card transactions and bill payments. Show totals and any notable outliers.
```

## ChatGPT

Copy and run this prompt:

```
## Before you run
- Ramp connector enabled in ChatGPT ([app](https://chatgpt.com/apps/ramp/asdk_app_69250fb6281c819195b52a1556b0060c))

Run a spend analysis in my Ramp account.

I want: [pick one and edit, or write your own]
- "Anthropic spend this month"
- "Top vendors last 30 days"
- "Category rollup for last quarter"
- "Spend by my team last month"

Include both card transactions and bill payments. Show totals and any notable outliers.
```

## Claude Code

Copy and run this prompt:

```
## Before you run
- Ramp CLI installed: `curl -fsSL https://agents.ramp.com/install.sh | bash`
- Logged in: `ramp auth login`
- Optional skill: [spend-analysis](https://github.com/ramp-public/ramp-cli/tree/main/src/ramp_cli/skills/spend-analysis)

Run a spend analysis from the terminal against my Ramp account.

I want: [pick one and edit, or write your own]
- "Anthropic spend this month"
- "Top vendors last 30 days"
- "Category rollup for last quarter"
- "Spend by my team last month"

Include both card transactions and bill payments. Show totals and notable outliers.
```

## Codex

Copy and run this prompt:

```
## Before you run
- Ramp CLI installed: `curl -fsSL https://agents.ramp.com/install.sh | bash`
- Logged in: `ramp auth login`
- Optional skill: [spend-analysis](https://github.com/ramp-public/ramp-cli/tree/main/src/ramp_cli/skills/spend-analysis)

Run a spend analysis from the terminal against my Ramp account.

I want: [pick one and edit, or write your own]
- "Anthropic spend this month"
- "Top vendors last 30 days"
- "Category rollup for last quarter"
- "Spend by my team last month"

Include both card transactions and bill payments. Show totals and notable outliers.
```

## Perplexity

Copy and run this prompt:

```
## Before you run
- Ramp connector enabled in Perplexity ([connector](https://www.perplexity.ai/computer/connectors?connector=ramp))

Run a spend analysis in my Ramp account.

I want: [pick one and edit, or write your own]
- "Anthropic spend this month"
- "Top vendors last 30 days"
- "Category rollup for last quarter"
- "Spend by my team last month"

Include both card transactions and bill payments. Show totals and any notable outliers.
```
