ledger

ledger is a skill for Claude Code from bromso/metapowers. It costs 11 tokens per session (363 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: $ARGUMENTS substitution.

Part of the accounting plugin — 13 skills shipped together

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.

agentmods
npx agentmods add skills/bromso/metapowers/ledger
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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 363 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00011 $0.00363
Opus 5 $0.00005 $0.00181
Sonnet 5 $0.00002 $0.00073
Haiku 4.5 $0.00001 $0.00036

Measured 5d ago against content hash bb2cbac7877a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 5d 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 · 42 lines

What it actually says

Ledger

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

Prerequisites

Read .metapowers/accounting/$ARGUMENTS/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/$ARGUMENTS/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

Output

The ledger written to .metapowers/accounting/$ARGUMENTS/03-ledger.md. Present a summary highlighting:

  • Number of active accounts
  • Top accounts by transaction volume
  • Closing balances for key accounts
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. 5d 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 (1 stars, last pushed 4mo ago), licensed MIT. It adds 11 tokens to every session and 363 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.

Related

Other skills, from other repositories

laravel-stripe-connect

Use when implementing multi-vendor marketplace payments, seller onboarding, commissions, payouts, or split payments with Stripe Connect.

fusengine/agents · 29 tokens

chief-financial-officer

Owns the financial position: planning, budgeting, forecasting, unit economics, cash, and the numbers the business is run and reported on. Use this to build or challenge a budget, model a decision's financial consequence, assess unit economics or runway, evaluate an investment or spend request, set financial controls…

cbrock84/headcount · 88 tokens

fundraising-and-investor-relations

Raises capital and manages the relationship afterward — deciding how much and why, understanding what dilution and preferences actually cost, running a process with real competitive tension, preparing for diligence before it starts, and reporting to investors and a board in a way that keeps support when results are…

cbrock84/headcount · 91 tokens

internal-controls-and-audit

Designs and tests controls over financial reporting — segregation of duties, approval limits, evidence, and preparing for audit. Use this to design controls for a process, prepare for an external audit, respond to an audit finding, set approval thresholds, or assess where a small team's segregation of duties is…

cbrock84/headcount · 67 tokens

capital-structure-and-covenants

Decides how the business is financed and what that financing then requires of it — debt versus equity, weighted average cost of capital as a hurdle rate, how much leverage cash flow can carry, and the financial, affirmative and negative covenants, definitions, test dates and cure rights that come attached. Use this to…

cbrock84/headcount · 102 tokens

financial-modeling

Builds and stress-tests financial models for forecasting, scenario planning, and decision support — revenue build, cost structure, driver logic, and the sensitivities that show where a plan breaks. Use this to model a decision's financial consequence, build a forecast or long-range plan, evaluate an investment or…

cbrock84/headcount · 76 tokens