ledger

ledger is a Claude Code mod by RobGruhl that dURABLE: counts turns and tool calls per session ($.state) and for all time ($.store), shown in a band above the prompt.

Updated 2026-10-09

What is ledger?

ledger is a Claude Code mod by RobGruhl that dURABLE: counts turns and tool calls per session ($.state) and for all time ($.store), shown in a band above the prompt. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
AuthorRobGruhl
RepositoryRobGruhl/claude-mods
Popularityno public popularity data yet
CategoryInterface
SecurityLow risk (100/100)
Rank#4,437 of 5,272 Claude Code mods; #1,816 in Interface
LicenseMIT
Last commit2026-10-09
Hooks5 events
Seesclassic hooks, every tool call
Draws onAbovePrompt

Is ledger safe to install?

ledger scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.resolvedraws interface

How do I install ledger?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/RobGruhl/claude-mods
    claude plugin validate ./claude-mods/samples/ours/ledger
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/RobGruhl/claude-mods && claude --plugin-dir ./claude-mods/samples/ours/ledger

Or ask Claude to set it up

Paste this into Claude Code and it installs ledger for you:

Install the "ledger" Claude Code mod from https://github.com/RobGruhl/claude-mods/tree/main/samples/ours/ledger. Run claude plugin validate on it first and show me what it can access before you enable it.

More from RobGruhl/claude-mods

This repository has 5 Claude Code mods on MCPMods.

  • blast-guard: DURING the turn: refuses destructive shell commands, tidies the rest, and pins Explore subagents to Haiku (Low risk)
  • house-rules: BEFORE the turn: adds a system-prompt section, attaches the local time to each prompt, and registers /house-rules (Low risk)
  • tool-counter: Counts Claude's tool calls and shows the count in the status line (Low risk)
  • turn-receipt: AFTER the turn: prints a one-line receipt (time, tool calls, tokens) beneath each answer (Low risk)