/beancount-ledger:export-beancountfrom beancount-ledger
Exports balanced journal entries to Beancount ledger format. Refuses unbalanced journals. Useful for accounting workflows where Beancount is the system of record.
Ships in beancount-ledger. 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.
Push final (or draft-marked) books into Beancount — the ledger system of record.
workpapers/journals*.json + COA → ledger/main.beancount → Fava
Excel remains human working papers. Beancount is where the ledger lives for agents and git.
Load: references/beancount_integration.md
| Situation | Output |
|---|---|
| QC passed / finalise done | ledger/main.beancount |
| User wants mid-engagement preview | ledger/draft.beancount (label provisional) |
| Unbalanced journals | Refuse until fixed |
workpapers/journals.json exists (and journals_ye.json if YE posted)workpapers/coa.json or entity COA templatepip install beancount recommended for --bean-checkpython3 scripts/export_to_beancount.py \
--client-dir "<client_workspace>" \
--output "<client_workspace>/ledger/main.beancount" \
--bean-check
Or explicit paths:
python3 scripts/export_to_beancount.py \
--journals workpapers/journals.json \
--journals-ye workpapers/journals_ye.json \
--coa references/coa_templates/coa_sdn_bhd.json \
--currency MYR \
--title "LEGAL NAME SDN. BHD." \
--output ledger/main.beancount \
--bean-check
Assets:…, Liabilities:…, Equity:…, Income:…, Expenses:…)open directives*.account_map.json sidecarbean-checkDone when: ledger/main.beancount written from balanced journals; refuse if any JE unbalanced.
ledger/main.beancount (or draft path)ledger/main.beancount.account_map.jsonengagement_state.json: artifact beancount_ledger, stage notevalidate-beancount if check not runopen-fava to show the user| Issue | Action |
|---|---|
| Unbalanced JE | Stop; fix journals |
| bean-check fail | Show stderr; fix mapping/dates |
| Missing beancount install | pip install beancount fava once |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cynco-labs/ai-accounting-skills --plugin beancount-ledger3 skills in this plugin
Other plugins' skills for the same job
2 plugins in one repository ship this exact skill · first indexed Jul 20, 2026