/cfo:spend-snapshotfrom cfo
Answer "what am I spending" on AI, cloud and developer tools, by provider and by project, with month-to-date spend against the budget, renewals coming up, and anything unknown. Reads the private books plus receipts and billing data from connected tools. Use for "what am I spending", "how much do my AI tools cost", "am I over budget", "spend snapshot", or before deciding on a new tool or plan.
Ships in cfo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Give the user an accurate picture of their spending in under a minute of reading, with every number traced to its evidence.
The books. The CFO keeps its data in a private git repo, "the books", never in this skill or any public repo. Find it in this order: the CFO_BOOKS environment variable, then a git repo named finances inside the current working directory or next to it (a sibling folder), then ask the user where it is. If there are no books yet, offer to create them with this layout:
| File | Holds |
|---|---|
ledger/charges.csv | One row per charge: charge_date, period_start, period_end, provider, service, charge_type, billed_cost, currency, api_equivalent_cost, project, status, source, evidence (FOCUS-style) |
ledger/runs.csv | One row per sealed agent-ledger run, written by books.py runs: the charter's estimate and budget beside the run's recorded spend. API-equivalent, never cash. Created on the first import |
projects.yaml | Which project each provider resource belongs to; new ones are state: proposed until confirmed |
budgets.yaml | The monthly envelope and alert rules; status: proposed until the user confirms |
renewals.yaml | Upcoming renewals and vendor changes to watch |
questions.md | What the CFO needs from the user, each with a best guess |
briefs/ | One brief per weekly run |
inbox/ | Files the user drops in (invoice PDFs, statement CSVs); git-ignored |
Rules that always apply:
billed_cost empty with status: unknown and add a question with your best guess.charge_type: adjustment.books.py summary BOOKS_DIR --month YYYY-MM --json, and ledger writes only from books.py append BOOKS_DIR ROWS_CSV. Never add, average, total or round amounts by hand or in prose, and never write the ledger CSV by hand. Quote each number exactly as summary prints it. Run the script with uv run --python 3.12 <cfo-books skill dir>/scripts/books.py (or with any Python 3.10 or later if uv is not installed); cfo-books is a sibling skill in this plugin, so look for its directory next to this skill's directory.gcloud and bq (billing export), the AWS CLI (Cost Explorer), and an Anthropic Admin API key if the user has a Console organization.inbox/.
Put new rows, each with its evidence, in a scratch CSV and add them with books.py append BOOKS_DIR scratch.csv. If you can't write to the books in this session, list the rows you would add and say the numbers below exclude them.books.py summary BOOKS_DIR --month <current month> --json: this month's cash to date, the run-rate (monthly_equivalent), spend per project (cash.by_project), the share of the envelope used, and renewals in the next 30 days. Do no arithmetic of your own. If summary prints problems instead of numbers, fix them or report them.Every number in the reply is quoted exactly from summary output. Label every number verified (from a receipt or API), estimated (with how), or unknown. Never present a guess as a total.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lyddonb/agent-kit --plugin cfo4 skills in this plugin
/cfo-booksCheck, append to and summarize the CFO's private books (ledger, projects, budgets, renewals, questions). Checks find schema errors, forbidden content such as card numbers, account IDs and API keys, and rewritten ledger history. Use before committing or opening a PR against the books, to add ledger rows, to book sealed agent-ledger runs (estimate beside actual), to get a month's spend numbers, when a books CI check fails, or when asked to "check the books", "validate the ledger" or "summarize the month"./cfo-briefThe CFO's weekly routine. Collects new receipts, invoices, vendor notices and billing data into the private books, checks spend against the budget, finds waste and renewals, writes a brief, and sends it with decisions and questions for the user to approve. Proposes; never acts. Use for "CFO brief", "weekly finance review", "check my spending this week", or from a weekly scheduled task./Other plugins' skills for the same job