Bad
stephenleo/bmad-autonomous-development
BMad Autonomous Development — orchestrates parallel story implementation pipelines.
Record every behavior-changing feature addition, fix, and adjustment as durable, evidence-based repository knowledge, then use that ledger to continue accurately across AI windows, tools, Git…
$ npx skills add gviiisen/repo-context-ledger --skill repo-context-ledger -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install gviiisen/repo-context-ledger repo-context-ledger --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/gviiisen/repo-context-ledger.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/repo-context-ledger .claude/skills/repo-context-ledger && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "repo-context-ledger" agent skill from https://github.com/gviiisen/repo-context-ledger/tree/main/skills/repo-context-ledger into .claude/skills/repo-context-ledger/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repo-context-ledger", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/gviiisen/repo-context-ledger/tree/main/skills/repo-context-ledgerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add gviiisen/repo-context-ledger --skill repo-context-ledger -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install gviiisen/repo-context-ledger repo-context-ledger --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gviiisen/repo-context-ledger.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/repo-context-ledger .agents/skills/repo-context-ledger && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "repo-context-ledger" agent skill from https://github.com/gviiisen/repo-context-ledger/tree/main/skills/repo-context-ledger into .agents/skills/repo-context-ledger/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repo-context-ledger", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add gviiisen/repo-context-ledger --skill repo-context-ledger -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install gviiisen/repo-context-ledger repo-context-ledger --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gviiisen/repo-context-ledger.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/repo-context-ledger .cursor/skills/repo-context-ledger && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "repo-context-ledger" agent skill from https://github.com/gviiisen/repo-context-ledger/tree/main/skills/repo-context-ledger into .cursor/skills/repo-context-ledger/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repo-context-ledger", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/gviiisen/repo-context-ledger.git --path skills/repo-context-ledger--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add gviiisen/repo-context-ledger --skill repo-context-ledger -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install gviiisen/repo-context-ledger repo-context-ledger --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gviiisen/repo-context-ledger.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/repo-context-ledger .gemini/skills/repo-context-ledger && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "repo-context-ledger" agent skill from https://github.com/gviiisen/repo-context-ledger/tree/main/skills/repo-context-ledger into .gemini/skills/repo-context-ledger/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repo-context-ledger", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install gviiisen/repo-context-ledger repo-context-ledgerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add gviiisen/repo-context-ledger --skill repo-context-ledger -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/gviiisen/repo-context-ledger.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/repo-context-ledger .github/skills/repo-context-ledger && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "repo-context-ledger" agent skill from https://github.com/gviiisen/repo-context-ledger/tree/main/skills/repo-context-ledger into .github/skills/repo-context-ledger/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repo-context-ledger", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add gviiisen/repo-context-ledger --skill repo-context-ledger -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install gviiisen/repo-context-ledger repo-context-ledger --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gviiisen/repo-context-ledger.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/repo-context-ledger .opencode/skills/repo-context-ledger && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "repo-context-ledger" agent skill from https://github.com/gviiisen/repo-context-ledger/tree/main/skills/repo-context-ledger into .opencode/skills/repo-context-ledger/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repo-context-ledger", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
repo-context-ledgerRecord every behavior-changing feature addition, fix, and adjustment as durable, evidence-based repository knowledge, then use that ledger to continue accurately across AI windows, tools, Git…
Repo Context Ledger is an agent skill from gviiisen/repo-context-ledger. Record every behavior-changing feature addition, fix, and adjustment as durable, evidence-based repository knowledge, then use that ledger to continue accurately across AI windows, tools, Git collaboration, and pull requests. Use the deterministic runtime to route bounded context, isolate private drafts, publish verified change records, refresh stable feature knowledge, and keep native Codex, Claude, Cursor, Copilot, Grok, and other Agent entry points aligned without asking the user to run bookkeeping commands.
Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 16 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `assets/context-pack-template.md` and `assets/handoff-template.md`).
It sits in Agent Workflows, covering Codebase knowledge for agents, Domain-driven design and Accounting and bookkeeping. It works with Git. The repository describes itself as: 面向 AI 上下文管理的 Agent Skill:为 Codex 上下文管理、Cursor 上下文切换和 Claude 上下文管理提供跨窗口续接,用 Git 保存可验证的功能说明与变更记录。AI coding context management and agent handoffs. The licence is MIT.
9 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a0eeb90. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Repo Context Ledger loads about 2.8k tokens when it runs, and up to ~14k if it reads all its reference files. Until then it costs about 134 tokens; SKILL.md has 1,409 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from gviiisen/repo-context-ledger at commit a0eeb90, republished under its MIT licence (© gviiisen). 1,409 words, ~2,816 tokens.
.claude/skills/repo-context-ledger/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.Turn behavior-changing feature work into durable, code-verified repository knowledge. Git-tracked Packs, specs, and completed Changes form the feature change ledger; cross-window and cross-Agent continuation are capabilities built on that shared source. Private vendor Memory is never read or synchronized.
Judge new facts/effects from the current request, loaded conversation, known task and inspected code, not similar wording. Do this mentally: no classifier command, extra document, or automatic Git/Markdown rescan.
Proceed when scope/identity are clear, without announcing a classification checklist. Reuse results only while relevant code, inputs, environment and acceptance phase remain valid. Changed conditions and time-sensitive safety checks need fresh verification; never relabel an old pass as new. Investigate uncertain code boundaries.
Resolve this Skill directory. Its runtime is scripts/ledger.py. After initialization use the repository entry:
python .context-ledger/ledger.py <command>Use python3 when needed. --repo is optional; discovery walks upward to the nearest .context-ledger/config.json and stops at nested Git boundaries.
In runtime.mode: global, that entry is a small forwarder to the Codex Skill under CODEX_HOME/skills (or the user's .codex/skills); configuration and records remain repository-local. If the entry is absent, invoke this installed Skill's runtime with explicit --repo <project>. Never initialize or copy an old runtime just to execute a command. See global-runtime.md only for runtime installation/migration.
When the decision above leaves task identity or required context unresolved, run:
python .context-ledger/ledger.py plan --query "<user request>" --tool <agent>Follow the returned workflow-plan-v1 mode and next_action:
readonly: load bounded context only; never create a session.small-fix: start one short session, edit the known boundary, verify, finish.ordinary-change: route the Pack/spec, start one session, implement, verify, refresh stable knowledge, finish.resume: resume only one uniquely selected accessible session and keep its new epoch.Automatic classification is guidance, not permission. If requires_confirmation is true, clarify the workflow or select a session; never guess. start --workflow readonly|resume must fail. context returns the same nested Workflow Plan, and resume --query uses the same owned-session route.
required_reads initially. Never recursively load docs/ai, docs/specs, or docs/changes. This is a starting route, not a cap: expand through every behavior-relevant caller, implementation, configuration, persistence, permission, concurrency, retry, test, and external boundary.status only when this task's identity or state needs resolving. Pass --session on lifecycle writes; never guess or absorb another task.start --title "<title>" --feature <feature> --workflow <small-fix|ordinary-change> --tool <agent>. Reuse only a genuinely related task; never reopen a completed record to hide a new change.verify once when first needed; do not run it bare and repeat it just for a Ledger entry. Group related checks with an existing reviewed project script/preset, preserving step results and failure exit codes. Keep pre-deployment and post-deployment goals separate. Independent checks may run concurrently only without shared mutable resources; use direct argv, not nested shell strings.PRESET_TRUST_REQUIRED appears, review it and repeat with its exact printed --trust-digest; never trust without reviewing. Ordinary operations and useful diagnostic observations belong in the same draft as such, not fabricated managed check results. Never replay a deployment, authorization, migration, or trade to obtain missing logging. See verification-presets.md for grouping and the optional tested script example.finish collect evidence. With parallel sessions or a broad dirty tree, run evidence --path for this task's paths only.finish --spec <spec>, or --no-spec --reason "<why no stable behavior exists>". Keep a returned continuation epoch on every resumed write.Read production-workflow.md for large repositories, verification concurrency, PR baselines, coverage gates, and derived-index timing. Read writing-quality.md before editing an evidence-v1 draft.
Small is a known low-risk boundary, not a line count. Independent behavior changes, permissions, persistence, money, concurrency, public contracts, or uncertain impact need ordinary investigation and records. Expand the same draft when scope grows; preserve its notes and evidence, rather than finishing early or starting over. finish --dry-run is optional; do not make it a mandatory extra step or loop through it while still writing. Before finish, reconcile meaningful diff changes against the record; passing structural checks is not proof of complete business explanations.
Run init --dry-run, review the exact plan, then run the same init only when its scope is correct. Preserve prose outside managed markers and all existing completed history. Confirm adapters check, manifest check, and doctor. See document-model.md for legacy layouts and where facts belong.
Before switching Agents or windows, run checkpoint --summary "<state>" --next "<action>"; use pause only when suspending the task. In the new window run plan --query "continue <keywords>", then its explicit resume action. Resume increments the epoch; it does not create a replacement session.
"Continue" inside the same active window is not a handover. If the task and current epoch are already known, continue directly; resume only for an actual handover, paused task, or state recovery.
If several sessions are close matches, choose an explicit session. If only foreign work overlaps, use committed Pack/spec/Change guidance. Private unfinished state does not travel with clone, pull, or another computer.
doctor first for bounded read-only diagnosis. It never deletes locks or mutates Packs/sessions.policy --base <ref> for aggregate delta-based checks. Use audit --history --policy as-recorded --fail-on unresolved only for controlled historical/release audits, never to unblock an unrelated session.sync --derived once on the configured default branch. Do not hand-edit generated indexes.finish; never persist secrets or machine-specific absolute paths.Edit src/repo_context_ledger/runtime.py.tmpl and its ordered source fragments, not generated runtimes. Run python scripts/build_runtime.py and python scripts/build_runtime.py --check; .context-ledger/ledger.py and the Skill runtime must remain byte-identical standalone files.
© gviiisen, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 12 other files (scripts, references, assets) in skills/repo-context-ledger of gviiisen/repo-context-ledger.
Open the folder on GitHubat commit a0eeb90
Repo Context Ledger next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Repo Context Ledger this skillgviiisen/repo-context-ledger | 105 | — | ~2.8k | Automated safety check: Pass | MIT | |
| Badstephenleo/bmad-autonomous-development | 107 | — | ~7.7k | Automated safety check: Pass | MIT | |
| ccc Semantic Code Searchcocoindex-io/cocoindex-code | 2.8k | — | ~938 | Automated safety check: Pass | Apache-2.0 | |
| Repomix Codebase Packeryamadashy/repomix | 29k | — | ~1.3k | Automated safety check: Notes | MIT | |
| MCP Code Search Tool SelectionContext-Engine-AI/Context-Engine | 402 | — | ~1.3k | Automated safety check: Pass | MIT | |
| PRP Workstream OrchestratorWirasm/prp | 2.3k | — | ~3.5k | Automated safety check: Pass | MIT |
stephenleo/bmad-autonomous-development
BMad Autonomous Development — orchestrates parallel story implementation pipelines.
cocoindex-io/cocoindex-code
Semantic code search and index management with the ccc CLI: the agent initializes, indexes and queries the project by concept, filtering by language or path.
yamadashy/repomix
Packs a local directory or remote GitHub repository into one AI-friendly file with Repomix, then searches it to explore structure, find patterns and count tokens.
Context-Engine-AI/Context-Engine
Rules for choosing Qdrant-Indexer semantic search over grep or file reads when exploring code, debugging or asking where and why questions.
Wirasm/prp
Coordinates several PRP workstreams in isolated Git worktrees from one session, verifying proof, holding merge gates and sequencing the merges.
modu-ai/moai-adk
Reference for MoAI-ADK's core development principles: TRUST 5 quality gates, SPEC-first domain-driven workflow, agent delegation and token budgeting.
Works with
Record every behavior-changing feature addition, fix, and adjustment as durable, evidence-based repository knowledge, then use that ledger to continue accurately across AI windows, tools, Git…. Repo Context Ledger is an agent skill from gviiisen/repo-context-ledger. Record every behavior-changing feature addition, fix, and adjustment as durable, evidence-based repository knowledge, then use that ledger to continue accurately across AI windows, tools, Git collaboration, and pull requests.
Repo Context Ledger fits situations like: tasks that involve Codebase knowledge for agents; tasks that involve Domain-driven design; tasks that involve Accounting and bookkeeping.
Run `npx skills add gviiisen/repo-context-ledger --skill repo-context-ledger -a claude-code`. Or copy the skill folder (skills/repo-context-ledger in gviiisen/repo-context-ledger) into .claude/skills/repo-context-ledger in your project. Claude Code loads it when a task matches its description.
Run `npx skills add gviiisen/repo-context-ledger --skill repo-context-ledger -a codex`. Or copy the skill folder (skills/repo-context-ledger in gviiisen/repo-context-ledger) into .agents/skills/repo-context-ledger in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add gviiisen/repo-context-ledger --skill repo-context-ledger -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/repo-context-ledger, .gemini/skills/repo-context-ledger, .github/skills/repo-context-ledger and .opencode/skills/repo-context-ledger in your project.
Going by SKILL.md and its folder, Repo Context Ledger needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Repo Context Ledger is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 11k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Repo Context Ledger: Bad (stephenleo/bmad-autonomous-development, 107 stars), ccc Semantic Code Search (cocoindex-io/cocoindex-code, 2.8k stars), Repomix Codebase Packer (yamadashy/repomix, 29k stars) and MCP Code Search Tool Selection (Context-Engine-AI/Context-Engine, 402 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
gviiisen (a GitHub user) maintains it in gviiisen/repo-context-ledger, which has 105 GitHub stars. The repository was last updated on September 7, 2026.
Source: gviiisen/repo-context-ledger on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.