ledger-sim

ledger-sim is a skill for Claude Code from eternal-roman/ledger. It costs 49 tokens per session (107 once invoked), scanned A, original, MIT.

A deterministic financial-scenario tool for producing replayable projections or forecasts from a stated starting seed and cited assumptions.

In plain words
What is it for?
Use it to model financial steps, validate each journal operation, and produce a replay trace with checkpoint hashes.
Why use it?
It makes each calculation traceable and repeatable, so another person can check how the balances and results were produced.

Skill for Claude Code

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

Part of the ledger plugin — 8 skills, 4 commands, 1 agent, 1 hook, 1 MCP server shipped together

Good fit Use it to model financial steps, validate each journal operation, and produce a replay trace with checkpoint hashes.

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

Made for: Claude Code.

Or install ledger, the plugin that ships this one along with the rest of its 8 skills, 4 commands, 1 agent, 1 hook, 1 MCP server.

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-sim

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/eternal-roman/ledger/ledger-sim"><img src="https://agentmods.dev/badge/skills/eternal-roman/ledger/ledger-sim.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 107 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.00049 $0.00107
Opus 5 $0.00024 $0.00053
Sonnet 5 $0.00010 $0.00021
Haiku 4.5 $0.00005 $0.00011

Measured 8d ago against content hash 7fba27e87447, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ledger-sim 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 8d 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.

skills/ledger-sim/SKILL.md · 13 lines

What it actually says

ledger-sim

Seed + cited assumptions. Each step: build, validate, apply, prove equation. runTrace. Output: trace, balances, auditHash. Invalid if not replayable.

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. 8d ago First seen · 13 lines · 49 tokens per session scan A 7fba27e87447

Subscribe to this mod's changes

ledger-sim is a skill published in the GitHub repository eternal-roman/ledger (1 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 107 once invoked, about $0.0002 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

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

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

bukio-cli

Drive bukio-cli — agent-first double-entry bookkeeping for SMEs across eleven jurisdictions. Book invoices, archive the originals, keep the books balanced.

erikvankempen/bukio-cli · 32 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-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