Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/cynco-labs/ai-accounting-skillsnpx agentmods add skills/cynco-labs/ai-accounting-skills/export-beancountWrote 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.
[](https://agentmods.dev/skills/cynco-labs/ai-accounting-skills/export-beancount)<a href="https://agentmods.dev/skills/cynco-labs/ai-accounting-skills/export-beancount"><img src="https://agentmods.dev/badge/skills/cynco-labs/ai-accounting-skills/export-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.
<a href="https://agentmods.dev/skills/cynco-labs/ai-accounting-skills/export-beancount"><img src="https://agentmods.dev/badge/skills/cynco-labs/ai-accounting-skills/export-beancount.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00028 | $0.00642 |
| Opus 5 | $0.00014 | $0.00321 |
| Sonnet 5 | $0.00006 | $0.00128 |
| Haiku 4.5 | $0.00003 | $0.00064 |
Grade A, and why
export-beancount 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/export-beancount
Purpose
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
When
| Situation | Output |
|---|---|
| QC passed / finalise done | ledger/main.beancount |
| User wants mid-engagement preview | ledger/draft.beancount (label provisional) |
| Unbalanced journals | Refuse until fixed |
Preconditions
workpapers/journals.jsonexists (andjournals_ye.jsonif YE posted)- Prefer
workpapers/coa.jsonor entity COA template - Each JE: sum(debit) = sum(credit)
pip install beancountrecommended for--bean-check
Command
python3 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
What the exporter does
- Map COA codes → Beancount accounts (
Assets:…,Liabilities:…,Equity:…,Income:…,Expenses:…) - Emit
opendirectives - Emit one Beancount transaction per journal entry (DR +, CR −)
- Write
*.account_map.jsonsidecar - Optional
bean-check
Completion
Done when: ledger/main.beancount written from balanced journals; refuse if any JE unbalanced.
Outputs
ledger/main.beancount(or draft path)ledger/main.beancount.account_map.json- Update
engagement_state.json: artifactbeancount_ledger, stage note
Next
validate-beancountif check not runopen-favato show the user
Failure modes
| Issue | Action |
|---|---|
| Unbalanced JE | Stop; fix journals |
| bean-check fail | Show stderr; fix mapping/dates |
| Missing beancount install | pip install beancount fava once |
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.
- 12d ago First seen · 90 lines · 28 tokens per session scan A 5c0591a999c1
export-beancount is a skill published in the GitHub repository cynco-labs/ai-accounting-skills (3 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 642 once invoked, about $0.0001 per session on Opus 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-08-31.
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.
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…
jangbu-jongso
A Korean tax-document checklist generator for individuals, freelancers, sole-company owners, mixed earners, and certain business owners.
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.
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.
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.