Context Ledger extends Claude Code sessions by 28x

The developers introduced Context Ledger, which addresses context window overflow for long-running projects. Instead of discarding old data or lossily compressing it, the tool uses git commits as archival boundaries.
On each commit, Context Ledger creates a compact record with key decisions, interfaces, and a pointer to the exact bytes of code in the git history. When the agent needs old feature details, it retrieves them from git on demand. This approach preserves 93% accuracy on past development queries while using 5x fewer tokens than working with the full context.
The tool installs as a CLI utility with hooks for Claude Code. It’s available on GitHub.
Up next
Lean plugin for Claude Code slashes excess tokens
The Lean plugin cuts Claude’s token usage by up to 178x by enforcing efficient coding practices. It prevents Claude from adding unnecessary features and encourages reuse of existing libraries.
Related stories
- Makoto is a Claude Code plugin that blocks the agent’s false claims
- agentpeek keeps Claude Code sessions alive after you close the laptop
- Drawbridge: visual editing for Claude Code in the browser
- FleetView: a browser-based dashboard for parallel Claude Code agents
- Capacitor persists Claude Code and Cursor sessions to a shared store
- LoopFlow automates Claude Code with looping workflows
Comments
No comments yet. Be the first.
Join the conversation
Sign in to leave a comment. It appears after moderation.

