codeledgerECF

Codeledger — AI skill for Claude Code

AI community

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