Codeledger — AI skill for Claude Code
Local-first context control for AI coding agents.
How to install Codeledger
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open codeledgerECF/codeledger and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Codeledger does
Local-first context control for AI coding agents. Give Claude Code, Codex, Cursor & Copilot the right repo files first.
Alternatives in AI
- Codesight — Universal AI context generator 979 ★
- Claudexor — Multi-harness control plane for Claude Code, Codex, Cursor, and OpenCode: quota-aware rotation across multiple 425 ★
- Awareness Local — Local-first AI agent memory — one command, works offline, no account needed 199 ★
README
CodeLedger
Portable 0.10.87
Use the [portable quickstart](https://github.com/codeledgerECF/codeledger/blob/v0.10.87/README.md#quickstart) to install CodeLedger and run your first read-only lookup against committed Git HEAD. [Tell us how your first lookup went](https://github.com/codeledgerECF/codeledger/issues/new?template=first-lookup.yml).
Full runtime 0.10.86
Give your coding agent task-relevant repository context, then verify the work and keep the evidence for the next session. CodeLedger selects files and excerpts locally and records which repository revision it worked from.
Quickstart
Use Node.js 22 or newer, Git on your PATH, and a local worktree with a committed HEAD.
npm install --global @codeledger/cli@0.10.86
codeledger --version
cd /path/to/worktree
task='Preserve explicit zero when applying the default and add a regression test'
codeledger ready --task "$task"
codeledger activate --task "$task"
Replace the example with your own task. Have your agent read `.codeledger/active-bundle.md` before editing. Review any repository files created by onboarding before committing them.
After the work, run your project's actual validation command and review the result. This example uses an npm project's test script.
codeledger validate -- npm test
codeledger verify --task "$task" --json
codeledger session-summary --json
codeledger session brief --json
Validation records what ran and the revision and working tree it tested. Verification and the session recap expose the available evidence. Use the session brief to continue the work in another session.
Connect an MCP client
Configure your client to launch the installed CLI over stdio. Use its absolute executable path if your client does not inherit your PATH.
{
"command": "codeledger",
"args": ["mcp", "start", "--cwd", "/absolute/path/to/worktree", "--profile", "core"]
}
Call `get_activation_payload` after activation to inspect the current task and its fr
Related Skills
Sdd Harness
Give any repo a canonical AI control plane. One prompt, any AI — Codex, Claude, Copilot, Cursor.
Trace Mesh CLI
Tracemesh is a local-first, git-aware CLI tool that establishes a standard markdown protocol for AI coding age
Rails AI Context
45 MCP tools that give AI coding agents ground truth about your Rails app: schema, models, routes, controllers
Agent Windows Doctor
What Claude Code, Codex CLI, Gemini CLI, GitHub Copilot CLI and Cursor each get on Windows and why: the shell
Vibeplane
The local-first control plane for AI coding agents. One binary that watches the Claude Code and GitHub Copilot
Wrud
Local-first, open-source recorder for AI agent sessions (Claude Code, Cursor and more) - tools, models, tokens
Related Agents
Model Runner
Deterministic wrapper that runs a prompt on a non-Claude model (OpenAI via Codex, Cursor's composer/grok/glm,
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode
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