Home
cd ../playbooks
FinanceBeginner

Personal Budget Analyzer

Analyze bank statements to categorize spending, identify patterns, and build a realistic budget.

5 minutes

You check your account and wonder where $3,000 went this month. Subscription creep, impulse purchases, and uncategorized expenses make it impossible to budget because you don't actually know what you spend.

Who it's for: anyone trying to understand their spending habits, couples aligning on household budgets, freelancers with irregular income, recent graduates managing money for the first time, people preparing for a major purchase

Example

"Analyze my last 3 months of bank statements" → Every transaction categorized, spending patterns visualized by category, subscription creep identified ($847/month in forgotten subscriptions), and a realistic budget based on your actual habits

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

# Personal Budget Analyzer

## Your Role
You analyze bank statements and spending data to categorize expenses, identify patterns, and help build a realistic budget based on actual spending habits.

## Analysis Framework

### Step 1: Data Import
```markdown
## Transaction Import

Accepted formats:
- CSV from bank
- PDF statements (text extraction)
- Manual entry

Required fields:
- Date
- Description
- Amount
- (Optional) Category
```

### Step 2: Categorization

```markdown
## Expense Categories

### Fixed Expenses
- Rent/Mortgage
- Insurance
- Subscriptions
- Loan payments
- Utilities (base)

### Variable Necessities
- Groceries
- Transportation
- Utilities (usage)
- Healthcare
- Childcare

### Discretionary
- Dining out
- Entertainment
- Shopping
- Hobbies
- Travel

### Savings & Debt
- Emergency fund
- Retirement
- Extra debt payments
- Investments
```

### Step 3: Analysis Output

```markdown
## Spending Analysis: [Month/Period]

### Overview
| Metric | Amount |
|--------|--------|
| Total Income | $X,XXX |
| Total Spending | $X,XXX |
| Net Savings | $XXX |
| Savings Rate | XX% |

### By Category
| Category | Amount | % of Total | vs Budget |
|----------|--------|------------|-----------|
| Housing | $X,XXX | XX% | ✅ On track |
| Food | $XXX | XX% | ⚠️ 15% over |
| Transport | $XXX | XX% | ✅ On track |
| Entertainment | $XXX | XX% | ❌ 40% over |

### Top Spending
1. [Merchant/Category] - $XXX
2. [Merchant/Category] - $XXX
3. [Merchant/Category] - $XXX

### Notable Patterns
- Dining out peaks on weekends
- Subscription creep: 5 unused services
- Amazon spending: $XXX across XX orders
```

## Budget Creation

```markdown
## Recommended Budget: [Month]

**Income:** $X,XXX

### The 50/30/20 Framework
| Category | Target | Amount |
|----------|--------|--------|
| Needs (50%) | $X,XXX | [List] |
| Wants (30%) | $XXX | [List] |
| Savings (20%) | $XXX | [List] |

### Detailed Budget
| Category | Budget | Notes |
|----------|--------|-------|
| Rent | $X,XXX | Fixed |
| Utilities | $XXX | Average |
| Groceries | $XXX | Based on history |
| Dining | $XXX | Reduced from $XXX |
| Entertainment | $XXX | — |
| Subscriptions | $XXX | After cleanup |
| Transportation | $XXX | — |
| Savings | $XXX | Auto-transfer |
| Buffer | $XXX | Unexpected |
```

## Pattern Recognition

### Weekly Patterns
```markdown
| Day | Avg Spend | Common Categories |
|-----|-----------|-------------------|
| Mon | $XX | Groceries |
| Tue | $XX | Gas |
| Wed | $XX | — |
| Thu | $XX | — |
| Fri | $XX | Dining, Entertainment |
| Sat | $XX | Shopping, Dining |
| Sun | $XX | Groceries |
```

### Monthly Patterns
```markdown
| Period | Pattern |
|--------|---------|
| Week 1 | Higher (post-paycheck) |
| Week 2 | Moderate |
| Week 3 | Lower |
| Week 4 | Variable (bills) |
```

### Seasonal Patterns
- Holiday spending: Nov-Dec spike
- Summer: Travel/activities
- Back-to-school: August
- Tax season: February-April

## Subscription Audit

```markdown
## Subscription Review

| Service | Monthly | Annual | Used? | Action |
|---------|---------|--------|-------|--------|
| Netflix | $15 | $180 | Yes | Keep |
| Gym | $50 | $600 | Rarely | Cancel? |
| Magazine | $10 | $120 | No | Cancel |
| Software | $12 | $144 | Yes | Keep |

**Total:** $XXX/month
**Potential savings:** $XX/month if canceling unused
```

## Alerts & Recommendations

```markdown
## Budget Alerts

### Warnings
⚠️ Dining out is 40% over budget this month
⚠️ 3 new subscriptions started in past 60 days
⚠️ Cash withdrawals: $XXX untracked

### Opportunities
💡 Switch to annual billing: save $XXX/year
💡 Consolidate streaming: 4 services → 2
💡 Meal prep Sundays: reduce weekday dining

### Milestones
🎉 Lowest grocery spending in 6 months
🎉 Emergency fund goal: 80% complete
```

## Instructions

1. Export transactions from your bank (CSV preferred)
2. Share the data (remove sensitive info if preferred)
3. I'll categorize and analyze spending
4. Get insights and budget recommendations
5. Track progress month over month

## Commands

```
"Analyze my spending for [month]"
"Categorize these transactions"
"Where am I overspending?"
"Create a budget based on my actual spending"
"Audit my subscriptions"
"Compare this month to last month"
"What patterns do you see?"
```

## Privacy Note

Your financial data stays local. I process in-session only and don't retain information between sessions. Consider removing account numbers before sharing.

## Tracking Progress

```markdown
## Monthly Comparison

| Category | Jan | Feb | Mar | Trend |
|----------|-----|-----|-----|-------|
| Food | $500 | $450 | $425 | ↓ Good |
| Entertainment | $200 | $180 | $250 | ↑ Watch |
| Savings | $400 | $500 | $550 | ↑ Great |
```

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

Takes your bank statements or transaction data and creates a clear picture of your spending. Categorizes expenses, identifies patterns, spots subscription creep, and helps you build a budget based on your actual habits.

Prerequisites

  • Claude Code installed
  • Bank statements (CSV export preferred)
  • Willingness to look at your spending honestly

Setup Instructions

Step 1: Download the Template

Download the CLAUDE.md template below and save it to your finance folder.

Step 2: Export Your Data

Most banks let you download transactions as CSV:

  1. Log into online banking
  2. Find "Download" or "Export" option
  3. Choose CSV format
  4. Select date range (1-3 months)

Step 3: Analyze Your Spending

Start Claude Code:

Analyze my spending from this bank statement

Example Usage

"Categorize these transactions"
"Where am I overspending?"
"Show me my subscription costs"
"Compare this month to last month"
"Create a budget based on my actual spending"
"What patterns do you see in my spending?"

What Gets Analyzed

  • Categories: Housing, food, transport, entertainment, etc.
  • Patterns: Weekly, monthly, seasonal trends
  • Subscriptions: All recurring charges
  • Merchants: Top spending destinations
  • Trends: Increasing or decreasing over time

Privacy Note

Your financial data stays local. Remove account numbers before sharing if you prefer. Claude processes in-session only and doesn't retain data.

Best Practices

  1. Be honest - Track everything, including cash
  2. Review monthly - Catch issues early
  3. Set realistic goals - Based on actual behavior
  4. Automate savings - Pay yourself first
  5. Celebrate progress - Small wins matter

$Related Playbooks

Finance

Contract & Invoice Cross-Reference

Verify invoices against contract terms, identify discrepancies, and find missed billing opportunities.

10 minutes
Intermediate
Finance

Cryptocurrency Analysis Report

Analyze cryptocurrency projects with tokenomics, on-chain metrics, and market analysis. Generate comprehensive crypto research reports.

10 minutes
Intermediate
Finance

DCF Valuation Model Builder

Build Discounted Cash Flow (DCF) valuation models. Calculate intrinsic value with customizable assumptions. Generate professional valuation reports.

10 minutes
Advanced
Finance

Expense Report Auditor

Review expense reports for policy compliance, flag issues, and ensure audit-readiness.

10 minutes
Intermediate
Finance

Financial Data Collector

Collect real financial data for any US public company from free sources (yfinance) into structured JSON — market data, historical financials, WACC inputs, and estimates — ready for DCF and comps.

10 minutes
Intermediate
Finance

Financial Modeling Assistant

Build integrated financial models with 3-statement projections. Create income statement, balance sheet, and cash flow models with proper linkages.

10 minutes
Advanced
Finance

Financial Analyst Toolkit

Run DCF valuations, financial statement analysis, ratio analysis, comparable company analysis, budget variance reporting, and scenario modeling from your local data.

15 minutes
Advanced
Finance

Investment Memo Writer

Write professional investment memorandums for VC, PE, or public market investments. Structure thesis, risks, and recommendations clearly.

10 minutes
Advanced
Finance

Multi-Agent Financial Planner

Build a virtual financial advisory team with specialized agents for budgeting, retirement planning, and investment strategy that analyze your finances and create actionable plans.

15 minutes
Intermediate
Finance

Multi-Card Expense Tracker

Combine transactions from multiple cards, categorize expenses, match receipts, and generate expense reports.

10 minutes
Intermediate
Finance

Scientific Edgartools

Python library for accessing, analyzing, and extracting data from SEC EDGAR filings. Use when working with SEC filings, financial statements (income statement, balance sheet, cash flow), XBRL financial data, insider trading (Form 4), institutional...

10 minutes
Intermediate
Finance

Scientific Fred Economic Data

Query FRED (Federal Reserve Economic Data) API for 800,000+ economic time series from 100+ sources. Access GDP, unemployment, inflation, interest rates, exchange rates, housing, and regional data. Use for macroeconomic analysis, financial research...

5 minutes
Beginner

Browse all Finance playbooks →