beancount-init

beancount-init is a skill for Claude Code from bex-co/beancount-io. It costs 115 tokens per session (3,504 once invoked), scanned A, original, MIT.

A setup tool for creating or preparing a local Beancount ledger. Beancount is a plain-text bookkeeping system, and the tool validates the ledger before handing it to a coding agent.

In plain words
What is it for?
Use it to start a new ledger, prepare existing Beancount books, validate them, or optionally set up the Fava browser interface when requested.
Why use it?
It avoids incomplete setup and checks that the ledger is usable before other bookkeeping tasks run.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md; built for openclaw.

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

Good fit Use it to start a new ledger, prepare existing Beancount books, validate them, or optionally set up the Fava browser interface when requested.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bex-co/beancount-io/beancount-init
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-init
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-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/bex-co/beancount-io/beancount-init/github.svg)](https://agentmods.dev/skills/bex-co/beancount-io/beancount-init)
Your own site
<a href="https://agentmods.dev/skills/bex-co/beancount-io/beancount-init"><img src="https://agentmods.dev/badge/skills/bex-co/beancount-io/beancount-init/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-init

Your own site · 80×15
<a href="https://agentmods.dev/skills/bex-co/beancount-io/beancount-init"><img src="https://agentmods.dev/badge/skills/bex-co/beancount-io/beancount-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,504 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.00115 $0.03504
Opus 5.5 $0.00046 $0.01402
Sonnet 5.5 $0.00023 $0.00701
Haiku 4.5 $0.00012 $0.00350

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

Security

Grade A, and why

beancount-init 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 2d ago.

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-init/SKILL.md · 287 lines

How it starts

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

beancount-init

Part of the Beancount.io ledger skill suite.

Scaffold a fresh ledger in the current working directory with one bea installation for create and validate, or set up a ledger the user already keeps so a coding agent can work on it (the existing-ledger branch).

Run the steps in order. Stop if a preflight check fails — partial scaffolding is worse than no scaffolding.

Prefer bea

Read references/bea-cli.md for the shared command contract. Create and validate the ledger through bea init and bea check. If bea is absent, use the explicit template and developer path in references/compatibility.md. Fava is a separate, optional browser runtime; run Step 4 only when requested.

Step 1 — Preflight

Local ledger files only. For a ledger hosted on Beancount.io, stop this skill and offer a separately requested hosted workflow or local clone (references/bea-cli.md, Hosted ledgers).

Run pwd && ls -A to see the working directory.

Existing ledger. When the user says they already keep Beancount books (set the agent up for them, use my existing ledger, bring my books), or the folder already holds .bean/.beancount files and the user did not ask for a new ledger beside them, follow Existing ledger instead of the steps below. It never creates a ledger and never changes a ledger file.

Hard-refuse if any of these already exist: main.bean, pyproject.toml, Makefile. Print which ones are present and stop. Do not overwrite. When the present file is a ledger, offer the existing-ledger branch instead.

If the directory contains other files but none of those markers, warn once and ask for confirmation before continuing.

Check bea as references/bea-cli.md describes (installed, and at the suite's minimum version) and remember BEA (yes/no). Ask for the operating currency (default USD) and an optional checking opening balance; call the answers CURRENCY and OPENING (empty when none). Also ask which of these the household has — brokerage or retirement investment accounts, crypto wallets/exchanges, a property (and mortgage) — and the name to use for each; call the answers HOUSEHOLD (empty when none). They only shape Step 3b's proposed opens; nothing is opened on the strength of this answer alone. Detect FAVA: yes when the user asked for Fava / make start / "bootstrap fava", otherwise ask once (default no when BEA is yes; default yes only when BEA is no and they still want a browser — otherwise they can install bea later).

Read the full file on GitHub · 287 lines

Files

What ships with it

6 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. 2d ago First seen · 287 lines · 115 tokens per session scan A 620fa5513e67

Subscribe to this mod's changes

beancount-init is a skill published in the GitHub repository bex-co/beancount-io (808 stars, last pushed yesterday), licensed MIT. It adds 115 tokens to every session and 3,504 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-init compared with skills from other repositories

beancount-init next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
beancount-initbex-co/beancount-ioSkill808yesterdayMITA115Claude Code
bookkeepingericrisco/rsc-harnessSkill707yesterdayMITA84Claude Code, Codex
rledgerrustledger/rustledgerSkill445todayGPL-3.0A117Claude Code, Codex
countbean-accountingCPUtester5465/countbean-pluginSkill211mo 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