validate-beancount

validate-beancount is a skill for Claude Code from cynco-labs/ai-accounting-skills. It costs 23 tokens per session (215 once invoked), scanned A, original, MIT.

A check that tests whether a Beancount accounting ledger is valid before it is opened in Fava or handed over. Beancount is a text-based bookkeeping system, and Fava is a browser interface for viewing it.

In plain words
What is it for?
Use it to run bean-check, confirm required ledger settings and report clearly whether the file passes or fails validation.
Why use it?
It prevents a broken or incomplete ledger from being treated as ready. A failed check means the entries or ledger setup must be fixed first.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the accounting-engagement plugin — 45 skills shipped together

Good fit Use it to run bean-check, confirm required ledger settings and report clearly whether the file passes or fails validation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cynco-labs/ai-accounting-skills/validate-beancount
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 cynco-labs/ai-accounting-skills --skill validate-beancount
Clone the repo
git clone --depth 1 https://github.com/cynco-labs/ai-accounting-skills

Made for: Claude Code.

Or install accounting-engagement, the plugin that ships this one along with the rest of its 45 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 validate-beancount

README.md
[![agentmods](https://agentmods.dev/badge/skills/cynco-labs/ai-accounting-skills/validate-beancount/github.svg)](https://agentmods.dev/skills/cynco-labs/ai-accounting-skills/validate-beancount)
Your own site
<a href="https://agentmods.dev/skills/cynco-labs/ai-accounting-skills/validate-beancount"><img src="https://agentmods.dev/badge/skills/cynco-labs/ai-accounting-skills/validate-beancount/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 validate-beancount

Your own site · 80×15
<a href="https://agentmods.dev/skills/cynco-labs/ai-accounting-skills/validate-beancount"><img src="https://agentmods.dev/badge/skills/cynco-labs/ai-accounting-skills/validate-beancount.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 215 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00023 $0.00215
Opus 5 $0.00012 $0.00108
Sonnet 5 $0.00005 $0.00043
Haiku 4.5 $0.00002 $0.00021

Measured 12d ago against content hash 43b2b64619cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

validate-beancount scanned grade A with 1 finding 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 12d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

python3 -c "import subprocess; subprocess.check_call(['bean-check','path/to/main.beancount'])"
accounting-engagement/skills/validate-beancount/SKILL.md · 43 lines

What it actually says

/validate-beancount

Purpose

Prove the ledger file is valid before Fava or handoff.

Command

bean-check path/to/main.beancount
# or
python3 -c "import subprocess; subprocess.check_call(['bean-check','path/to/main.beancount'])"

If bean-check missing:

pip install beancount

Also check

  1. File non-empty; has option "operating_currency"
  2. Has at least one open and one * transaction
  3. Engagement currency matches option
  4. Report path + PASS/FAIL clearly

On FAIL

Do not open Fava as “ready.” Fix export or journals and re-export.

Completion

Done when: bean-check PASS/FAIL reported clearly; on FAIL do not treat ledger as ready.

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. 12d ago First seen · 43 lines · 23 tokens per session scan A 43b2b64619cd

Subscribe to this mod's changes

validate-beancount is a skill published in the GitHub repository cynco-labs/ai-accounting-skills (3 stars, last pushed 2mo ago), licensed MIT. It adds 23 tokens to every session and 215 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

countbean-accounting

Rules for writing correct double-entry Beancount transactions when managing a Countbean cloud book — account naming, how to balance postings, categorisation, and safe ingestion. Use whenever recording, importing, or correcting financial data in a Countbean book.

CPUtester5465/countbean-plugin · 54 tokens

bookkeeping

Use when a small business needs audit-ready books — a chart of accounts, posting a transaction to the right account and side, clearing an uncategorized bank feed, cash vs accrual, or a ledger that won't tie to the bank. NOT interpreting the numbers — runway, burn, P&L cadence (that is finance-ops), NOT issuing…

ericrisco/rsc-harness · 84 tokens

jangbu-jongso

A Korean tax-document checklist generator for individuals, freelancers, sole-company owners, mixed earners, and certain business owners.

kimlawtech/korean-jangbu-for · 139 tokens

korean-jangbu-for

A Korean bookkeeping assistant for startups, freelancers, sole proprietors, and one-person companies. It processes financial files locally, helps classify transactions, and prepares accounting and tax outputs.

kimlawtech/korean-jangbu-for · 144 tokens

jangbu-import

A data-import workflow for turning bank files, card records, spreadsheets, receipts, tax invoices, and statement PDFs into a standard set of 13 transaction fields. OCR, or optical character recognition, is used to read information from document images and PDFs.

kimlawtech/korean-jangbu-for · 97 tokens

jangbu-connect

A setup guide for connecting Korean tax, bank, card, and social-insurance data through CODEF, an external API service. It explains how users obtain their own CODEF credentials and store them locally.

kimlawtech/korean-jangbu-for · 98 tokens