Agent Ledger — Development skill for Claude Code
A local workspace to understand coding-agent usage, recover past decisions, and keep useful project context.
How to install Agent Ledger
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ethanplusai/agent-ledger and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Ledger does
A local workspace to understand coding-agent usage, recover past decisions, and keep useful project context. Python, SQLite, optional read-only MCP.
Alternatives in Development
- Claude Prism — An offline-first scientific writing workspace powered by Claude 1.1k ★
- Arrecall — AgentRecall on-demand recall — surface past fixes, decisions, and patterns mid-session without leaving your fl 370 ★
- Claude Code Hooks — 🪝 A growing collection of useful Claude Code hooks 340 ★
README
Agent Ledger
**Understand your agent's work. Recover the context worth keeping.**
A local workspace for Claude Code and Codex history. Recover why decisions were made, understand session usage, and save useful context for your next session. Optionally let your coding agent retrieve that context through a read-only MCP connection.
No website, hosted service, account, model subscription, or build step. Clone the public source and run it on your computer. MIT licensed; Python 3.10+ and its standard library, including SQLite FTS5.

*Recorded from `python3 ledger.py --demo`. Everything shown is generated example data.*
Run locally
In the cloned repository directory:
python3 ledger.py
Windows: `py -3 ledger.py`. If `python3` is unavailable, use your Python 3 command. Keep the terminal running; **Ctrl+C** stops the app. It opens a local browser tab. If that fails, paste the full URL printed in the terminal, including its temporary access fragment.
The first run builds its own index; it does not reuse another memory app's cache. Large histories can take several minutes. Progress identifies Codex versus Claude Code and shows checkpoints through large files. Wait for **READY — your real history**, then use that run's printed URL. Later imports skip unchanged files. If interrupted, restart with the same options to reuse checkpoints; do not delete the cache.
To explore without reading any real history:
python3 ledger.py --demo
Demo mode uses generated Claude and Codex examples in a temporary directory, removed on normal exit. Saving notes in demo mode is temporary too.
Ask “why did we decide that?”
- Select a project and open Ask a project. Ask about a specific decision, failed approach,
Related Skills
Portagenty Workspace
This project is a portagenty workspace — a portable, terminal-native launcher for agent sessions, driven by a
Daily Loop
Daily run. Read CLAUDE.md, charter.md, state.md, then yesterday's entries in ledger.md and decisions.md.
The Docket
the-docket is a Claude Code plugin that keeps a repo's decisions from being undone. A hook prints what governs
Black Box
A local ledger coding agents write their reasoning into and read back before they act. Codex and Claude Code s
Codex Toolbox
Build one useful MCP server while learning how Codex tools, skills, hooks, subagents and permissions fit toget
Trajex
数万行散落的 Claude Code、Codex 与 Pi JSONL 会话,索引至同一个 SQLite 中: Agent 可通过 CLI 实现毫秒级查询,用户可通过 App 直观浏览|Past Claude Code,
Related Agents
Financial Controller
Financial Controller for agent teams. Audits token usage, run duration, tool calls and efficiency across all d
Part 13: Memory Bridge (Give Coding Agents Your Brain)
When you spawn Codex or Claude Code to build something, they start blind. They don't know your architecture de
Memory Recall
Use this agent PROACTIVELY before starting complex, multi-step implementations or when encountering unfamiliar