beancount-business-metrics

beancount-business-metrics is a skill for Claude Code from bex-co/beancount-io. It costs 132 tokens per session (1,258 once invoked), scanned A, original, MIT.

A ledger reporting tool for calculating operating cash burn, closing cash, and runway from a Beancount ledger. Runway means how long the available cash lasts at a stated average spending rate.

In plain words
What is it for?
Use it to answer how much cash the business spends each month, how much cash remains, and how many months that cash may cover at the stated burn rate.
Why use it?
It gives reproducible answers from recorded cash movements without mixing financing, investing, or account transfers into operating burn.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: built for openclaw.

Part of the beancount-io plugin — 16 skills shipped together

Good fit Use it to answer how much cash the business spends each month, how much cash remains, and how many months that cash may cover at the stated burn rate.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bex-co/beancount-io/beancount-business-metrics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bex-co/beancount-io --skill beancount-business-metrics
Clone the repo
git clone --depth 1 https://github.com/bex-co/beancount-io

Made for: Claude Code.

Or install beancount-io, the plugin that ships this one along with the rest of its 16 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for beancount-business-metrics

README.md
[![agentmods](https://agentmods.dev/badge/skills/bex-co/beancount-io/beancount-business-metrics/github.svg)](https://agentmods.dev/skills/bex-co/beancount-io/beancount-business-metrics)
Your own site
<a href="https://agentmods.dev/skills/bex-co/beancount-io/beancount-business-metrics"><img src="https://agentmods.dev/badge/skills/bex-co/beancount-io/beancount-business-metrics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for beancount-business-metrics

Your own site · 80×15
<a href="https://agentmods.dev/skills/bex-co/beancount-io/beancount-business-metrics"><img src="https://agentmods.dev/badge/skills/bex-co/beancount-io/beancount-business-metrics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,258 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00132 $0.01258
Opus 5.5 $0.00053 $0.00503
Sonnet 5.5 $0.00026 $0.00252
Haiku 4.5 $0.00013 $0.00126

Measured 4d ago against content hash 2274826f3d34, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

beancount-business-metrics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/business_metrics.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/beancount-business-metrics/SKILL.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

beancount-business-metrics

Part of the Beancount.io ledger skill suite.

Answer "how fast are we spending cash and how long does it last" from the ledger's own cash movements, with the definitions stated next to every number. The arithmetic is done by the script beside this file from bea report cash-flow; the model explains it and never computes it.

Prefer bea

Read beancount-init's references/bea-cli.md (from this skill's folder, ../beancount-init/references/bea-cli.md; a copy at references/bea-cli.md when this skill was installed alone) for explicit root paths and JSON reads. Hosted ledgers stop this skill (that file, Hosted ledgers). Read references/metrics-contract.md before answering: it defines the perimeter, burn, runway and the refusals.

Scope

Does: net operating burn by month, closing cash, and runway; read-only.

Does not: forecast, project growth, value the company, estimate a missing recurring expense, or compute ARR, MRR, CAC, LTV, churn, retention or cohorts. The ledger's income and expense accounts do not identify customers or subscriptions, so those need data it does not hold; say so and name what would be needed (a dated list of customers or subscriptions; acquisition spend by channel). Even when the user supplies such a dataset, do not compute them here — they are outside this skill.

Workflow

  1. Scope. Resolve the ledger root and the last month to measure (YYYY-MM; ask when the user did not say). Offer the default windows — six months shown, a three-month runway average — and let the user change either.
  2. Perimeter. Run the script once and show the "Definitions and perimeter" section first: which accounts count as cash and whether each class was declared (cash-flow-role) or heuristic (chosen from the account name). A wrong perimeter makes every figure wrong, so ask the user to confirm the cash accounts before relying on the numbers. If an account is misclassified, the fix is a declared cash-flow-role on its open, not an adjusted figure. An account not yet open gets it when beancount-add opens it, with the shared open recipe plus the role: bea --file "$ledger" --json --no-input add open --date "$open_date" --account "$account" --into "$open_target" --meta 'cash-flow-role:cash' (operating, investing or financing for the other classes; beancount-init's references/bea-cli.md, Version notes). An account opens once and bea cannot change an existing open, so for one already open that command is refused: it names the open's file and line, and the user adds cash-flow-role: "cash" under it.
  3. Run. python3 scripts/business_metrics.py --file "$ledger" --through "$month" [--months N] [--runway-months R] (add --json for the exact structure). Exit 0 prints the tables and runway; exit 2 means a bad argument, a ledger that fails bea check, or a period outside the ledger's history (before it starts or after its last entry).
  4. Answer from the output. Quote the burn table and the runway line as printed, with the stated basis. Where the script says a runway is not stated (insufficient-history, not-burning, no-cash), say that and why, instead of offering a number. Financing and investing are named as such: an equity raise raises cash and is not negative burn, and equipment is not operating burn.
  5. Refuse on request. For ARR, MRR, CAC, LTV, churn, retention or cohorts, give the script's "Not computed" reason and stop. Do not derive them from income account names, invoice counts or payee lists.

Read the full file on GitHub · 62 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 62 lines · 132 tokens per session scan A 2274826f3d34

Subscribe to this mod's changes

beancount-business-metrics is a skill published in the GitHub repository bex-co/beancount-io (807 stars, last pushed today), licensed MIT. It adds 132 tokens to every session and 1,258 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-01.

Related

beancount-business-metrics compared with skills from other repositories

beancount-business-metrics next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
beancount-business-metricsbex-co/beancount-ioSkill807todayMITA132Claude Code
bookkeepingericrisco/rsc-harnessSkill7072d agoMITA84Claude Code, Codex
rledgerrustledger/rustledgerSkill444todayGPL-3.0A117Claude Code, Codex
countbean-accountingCPUtester5465/countbean-pluginSkill212mo agoMITA54Claude Code
smart-intakecynco-labs/ai-accounting-skillsSkill64mo agoMITA47Claude Code
classify-transactionscynco-labs/ai-accounting-skillsSkill64mo agoMITA55Claude Code
full-engagement-pipelinecynco-labs/ai-accounting-skillsSkill64mo agoMITA56Claude Code