Skip to main content
skill CX Codex

zero-based-budget — Claude Code skill: what it does, how to install

Assigns every dollar of income to expenses, debt, or savings until the unallocated balance hits zero. Useful for planned monthly budgeting.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add openaccountant/skills --skill zero-based-budget -a claude-code
Open on GitHub

What zero-based-budget does

This skill sets up a zero-based budget by evaluating your income and spending patterns over the past 3 months. When connected to Wilson tools (transaction_search and spending_summary), it analyzes past transactions directly. For irregular earnings, it selects the lowest month as your planning baseline.

Allocations align against the 50/30/20 guideline covering needs, wants, and savings. Whenever spending exceeds total income, the assistant highlights oversized discretionary categories and recommends specific reductions to balance the sheet.

Automated analysis depends strictly on Wilson tools. Without them, you need to export bank CSV files and populate formulas manually inside a spreadsheet.

What it helps with

  • allocate every dollar of monthly income until zero balance remains
  • calculate baseline income across 3 months for fluctuating paychecks
  • split expenses into needs, wants, and savings targets
  • spot budget deficits and reduce discretionary spending

Example prompts for the agent

  • Build a zero-based budget for next month using my recent income and expenses
  • Review my last 3 months of spending and map them to a 50/30/20 budget
  • Find where I am overspending on wants and adjust categories to hit zero balance

How to install zero-based-budget

1Skills CLI (Vercel)

npx skills add openaccountant/skills --skill zero-based-budget -a claude-code

2Manually: put the files in place

~/.claude/skills/zero-based-budget/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/zero-based-budget/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about zero-based-budget

How to install zero-based-budget in Claude Code?

Run npx skills add openaccountant/skills --skill zero-based-budget -a claude-code. The file is stored at ~/.claude/skills/zero-based-budget/SKILL.md.

What does zero-based-budget do?

It assigns total income across bills, discretionary items, debt reduction, and savings. The goal is an unallocated remaining balance of exactly $0.00 before the month begins.

Can zero-based-budget work without Wilson tools?

Yes, it contains a fallback workflow for spreadsheets. You can export one month of bank transactions as a CSV and categorize entries using sum formulas.

Source text

SKILL.md · MIT
---
name: zero-based-budget
description: >
  Allocate every dollar of income to a category using zero-based budgeting.
---

# Zero-Based Budget

## Overview
Creates a zero-based budget where every dollar of income is assigned a job — spending, saving, or debt repayment — until the remaining balance is exactly zero. Analyzes your current spending patterns to create a realistic starting budget, then identifies reallocation opportunities.

## Wilson Tools Used
- `spending_summary` — get current spending by category to inform budget allocations
- `transaction_search` — find income transactions to establish total monthly income

## Workflow
1. Run `transaction_search` with `query: "paycheck OR salary OR direct deposit OR income OR freelance"` and `months: 3` to identify all income sources.
2. Calculate average monthly income from the results. If income is variable, use the lowest of the 3 months as the planning baseline.
3. Run `spending_summary` for the last 3 months to get average spending per category.
4. Build the initial budget template using actual spending as the starting point:

   ```
   ZERO-BASED BUDGET
   ══════════════════════════════════════════════════
   Monthly Income:                         $X,XXX.XX
   ══════════════════════════════════════════════════

   NEEDS (Target: 50% = $X,XXX)
   ──────────────────────────────────────────────────
   Housing/Rent               $X,XXX   (actual: $X,XXX)
   Utilities                  $XXX     (actual: $XXX)
   Groceries                  $XXX     (actual: $XXX)
   Transportation             $XXX     (actual: $XXX)
   Insurance                  $XXX     (actual: $XXX)
   Minimum Debt Payments      $XXX     (actual: $XXX)
   Healthcare                 $XXX     (actual: $XXX)

   WANTS (Target: 30% = $X,XXX)
   ──────────────────────────────────────────────────
   Dining Out                 $XXX     (actual: $XXX)
   Entertainment              $XXX     (actual: $XXX)
   Shopping                   $XXX     (actual: $XXX)
   Subscriptions              $XXX     (actual: $XXX)
   Personal Care              $XXX     (actual: $XXX)

   SAVINGS & DEBT (Target: 20% = $X,XXX)
   ──────────────────────────────────────────────────
   Emergency Fund             $XXX
   Retirement                 $XXX
   Extra Debt Payment         $XXX
   Other Savings Goals        $XXX

   ══════════════════════════════════════════════════
   TOTAL ALLOCATED:                      $X,XXX.XX
   REMAINING TO ASSIGN:                  $0.00
   ══════════════════════════════════════════════════
   ```

5. Compare actual spending to the 50/30/20 guideline. Flag categories where actual exceeds the guideline.
6. If total actual spending exceeds income, identify the largest "wants" categories and suggest reductions to bring the budget to zero.
7. If there is surplus after covering all actuals, suggest allocating it to savings or debt repayment.
8. Present the final budget with all dollars assigned and remaining balance at exactly $0.

## Without Wilson
1. Calculate your monthly take-home pay. If you are salaried, check your pay stub for net pay and multiply by pay frequency (biweekly = x26/12, semi-monthly = x2). If variable, use your lowest recent month.
2. Export one month of transactions from your bank as CSV.
3. In a spreadsheet, categorize every transaction. Create a pivot table summing by category.
4. Open a new sheet and list every category with its actual average. Add a "Budget" column next to it.
5. Start with fixed expenses (rent, utilities, insurance, loan minimums) — these are non-negotiable. Enter them as-is in the Budget column.
6. For variable needs (groceries, gas), set the budget at or slightly below the 3-month average.
7. For wants (dining, entertainment, shopping), set budgets that fit within 30% of income.
8. Allocate remaining dollars to savings and debt categories.
9. Check: `=SUM(BudgetColumn)` should equal your income. If not, adjust until it does.
10. Free tools for ongoing tracking: YNAB (You Need A Budget) is built entirely around zero-based budgeting. EveryDollar (by Ramsey Solutions) is a free alternative.
11. Google Sheets template formula for remaining: `=Income - SUM(B2:B30)` — this cell should read $0.

## Important Notes
- Zero-based budgeting works best when done before each month starts, since every month has different needs (holidays, birthdays, irregular bills).
- The 50/30/20 split is a guideline, not a rule. High cost-of-living areas may require 60%+ on needs.
- If income is irregular (freelance, commission), budget based on the lowest expected month and treat extra income as a bonus to allocate.
- Review and adjust the budget monthly. A budget that does not evolve with your life will be abandoned.

© openaccountant · MIT · openaccountant/skills

Similar skills

All skills for Finance and business →

From the same set44

month-end-close Runs a monthly bookkeeping checklist with bank reconciliation. It spots missing categories, flags duplicate entries, and balances the numbers. CX Codex +1 474installs cash-flow-forecast Forecasts future cash inflows and outflows using a 3-month moving average. It detects recurring transactions and warns before cash balances drop below safety limits. CX Codex +1 473installs spending-review This skill groups your spending by category for a period, compares it to the prior month and flags where costs jumped. Useful if you track money in Wilson or bank CSVs. CX Codex +1 468installs import-transactions Imports bank export files in CSV, OFX, or QIF formats and deduplicates entries before writing to the database. Identifies major bank header patterns automatically. CX Codex +1 453installs invoice-aging Sorts unpaid invoices into aging buckets and flags clients who pay late. Handy when you need to see how much money is stuck with customers. CX Codex +1 449installs profit-loss This skill builds a standard income statement for any date range: revenue, COGS, gross profit, operating expenses, net income and margins. CX Codex +1 448installs subscription-audit Scans bank transactions for recurring charges, totals monthly and annual spending, and flags inactive services to cancel. CX Codex +1 438installs expense-optimizer Analyzes transaction history to spot recurring subscriptions, price increases, and duplicate services. Useful when auditing recurring personal or team expenses. CX Codex +1 433installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor