ledger

ledger is a skill for Claude Code, Codex from runxhq/runx. It costs 23 tokens per session (2,279 once invoked), scanned A, original, Apache-2.0.

An audit query tool for searching a ledger of sealed run receipts and checking whether the records behind an answer are intact. A receipt is a record of what an automated run did, decided, or refused to do.

In plain words
What is it for?
Use it to find runs by identity, skill, status, permission, or time range, inspect matched records, and verify their chain of evidence.
Why use it?
It makes cross-run questions answerable from recorded evidence instead of memory or scattered logs. It only reads the ledger and does not modify it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find runs by identity, skill, status, permission, or time range, inspect matched records, and verify their chain of evidence.

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

Made for: Claude Code, Codex.

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/runxhq/runx/ledger.svg)](https://agentmods.dev/skills/runxhq/runx/ledger)
Your own site
<a href="https://agentmods.dev/skills/runxhq/runx/ledger"><img src="https://agentmods.dev/badge/skills/runxhq/runx/ledger.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,279 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00023 $0.02279
Opus 5 $0.00012 $0.01140
Sonnet 5 $0.00005 $0.00456
Haiku 4.5 $0.00002 $0.00228

Measured 4d ago against content hash 9e3370c09616, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (ledger.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/SKILL.md · 197 lines

How it starts

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

Ledger

Answer one audit question against the whole receipt ledger, and prove the chain behind the answer.

runx seals a receipt for every run. Those receipts accumulate into a ledger: every act, every approval, every refusal, across every principal and every skill, in sealed order. When an auditor asks "did anyone spend over $500 last week", "how many sends did this principal authorize", or "which runs touched the billing scope", the answer lives in that ledger. This skill turns the question into a ledger query, returns the receipts that match by id, and, when asked, verifies that the matched stretch of the chain is intact. It reads; it never writes.

What this skill does

ledger applies an explicit bounded query over receipt ids, principal, skill ref, status, and time range, then returns the receipts that satisfy it as id-keyed stubs (receipt_id, skill_ref, status, created_at, verification status). Exact-id reads also return receipt_details from the native redacted inspection projection: signed authority, decisions, acts, artifact references, lineage, seal, and verification without execution bodies, credential material, or local paths. When proof asks for it, the skill confirms the matched stretch of the chain is intact, naming any break by the receipt ids involved. The chain is the proof; a count that looks plausible is not. The skill answers the question in one or two sentences grounded only in the matched set and the verification result, and stops with needs_more_evidence when the ledger is silent rather than reporting a fabricated zero.

The default read runner invokes the native receipt.query service directly. The service resolves the same receipt store and signature policy as Runx's CLI, projects bounded history rows, resolves exact ids through the redacted detail reader, and optionally verifies each matched receipt tree. There is no child process, command-string construction, or package-local receipt parser. It is the in-runtime way for an agent to inspect its own sealed receipts before a gated action. The detail packet is curated in Rust and never returns execution bodies, credential material, or local paths.

Read the full file on GitHub · 197 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 197 lines · 23 tokens per session scan A 9e3370c09616

Subscribe to this mod's changes

ledger is a skill published in the GitHub repository runxhq/runx (84 stars, last pushed yesterday), licensed Apache-2.0. It adds 23 tokens to every session and 2,279 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-09-03.