ledger

ledger is a skill for Claude Code from bromso/metapowers. It costs 66 tokens per session (643 once invoked), scanned A, original, MIT.

An accounting step that transfers journal entries into a general ledger, where each account's debits and credits are grouped and its running balance is calculated. A general ledger is the main record of an organization's account activity.

In plain words
What is it for?
Creating ledger accounts, posting journal entries, carrying forward opening balances, calculating balances, and cross-checking every entry for completeness.
Why use it?
It organizes individual transactions by account and checks that entries were not missed or posted twice. Running balances show the updated position of each account.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the accounting plugin — 13 skills shipped together

Good fit Creating ledger accounts, posting journal entries, carrying forward opening balances, calculating balances, and cross-checking every entry for completeness.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bromso/metapowers/ledger
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 bromso/metapowers --skill ledger
Clone the repo
git clone --depth 1 https://github.com/bromso/metapowers

Made for: Claude Code.

Or install accounting, the plugin that ships this one along with the rest of its 13 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 ledger

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bromso/metapowers/ledger"><img src="https://agentmods.dev/badge/skills/bromso/metapowers/ledger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 643 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.00066 $0.00643
Opus 5.5 $0.00026 $0.00257
Sonnet 5.5 $0.00013 $0.00129
Haiku 4.5 $0.00007 $0.00064

Measured 1mo ago against content hash 797eb3969b40, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ledger 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 1mo 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.

plugins/accounting/skills/ledger/SKILL.md · 52 lines

How it starts

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

Ledger

Post journal entries to the general ledger for "$ARGUMENTS". Organize all debits and credits by account and calculate running balances.

Arguments. $ARGUMENTS may contain the project name and optional flags. Take the first token as <project> and treat --skip-checks as a flag; never include flags in file paths. All paths below use <project>. If --skip-checks is present, skip the prerequisite check and, before writing any artifact, append one line to .metapowers/accounting/<project>/skip-log.md: - <ISO timestamp> — <skill name> skipped prerequisite check for <artifact file> — reason: <reason or "none given">.

Compute with code. Perform every calculation (totals, balances, ratios, variances, projections) with a script — Bash, Python or a spreadsheet formula written to a file — and include the computation alongside the result. Never do arithmetic mentally.

Prerequisites

Read .metapowers/accounting/<project>/02-journal.md for the journal entries.

Process

  1. Set up ledger accounts:

    • Create a T-account or tabular format for each account in the chart of accounts
    • Include the account number, name, and normal balance side (debit or credit)
    • Carry forward any opening balances from the prior period
  2. Post journal entries:

    • Transfer each journal entry to the appropriate ledger accounts
    • Record the date, journal entry reference (JE-001, etc.), and amount
    • Post debits to the debit side and credits to the credit side
    • Calculate the running balance after each posting
  3. Verify completeness:

    • Cross-reference every journal entry to confirm it has been posted
    • Check that no entries were double-posted or missed
    • Ensure running balances are mathematically correct
  4. Write the artifact to .metapowers/accounting/<project>/03-ledger.md with sections:

    • General Ledger — each account with all postings and running balance
    • Account Summary — closing balance for each account
    • Cross-Reference — journal entry to ledger posting map

Read the full file on GitHub · 52 lines

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. 1mo ago Changed · +10 lines · +55 tokens per session 797eb3969b40
  2. 3mo ago First seen · 42 lines · 11 tokens per session scan A bb2cbac7877a

Subscribe to this mod's changes

ledger is a skill published in the GitHub repository bromso/metapowers (3 stars, last pushed 1mo ago), licensed MIT. It adds 66 tokens to every session and 643 once invoked, about $0.0003 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-08-31.

Related

ledger compared with skills from other repositories

ledger next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ledgerbromso/metapowersSkill31mo agoMITA66Claude Code
laravel-stripe-connectfusengine/agentsSkill341mo agoMITA29Claude Code
treasury-and-liquiditycbrock84/headcountSkill2.6kyesterdayMITA65Claude Code
mergers-and-acquisitionscbrock84/headcountSkill2.6kyesterdayMITA66Claude Code
financial-modelingcbrock84/headcountSkill2.6kyesterdayMITA76Claude Code
taxcbrock84/headcountSkill2.6kyesterdayMITA75Claude Code
payroll-operationscbrock84/headcountSkill2.6kyesterdayMITA104Claude Code