⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
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.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README
Repo Context Ledger — Feature Change Ledger & Cross-Agent Context Relay
Automatically record every behavior-changing feature update, then let Codex, Cursor, or Claude continue from the right code, decisions, and boundaries.
Repo Context Ledger is an open, repository-level feature change ledger for AI coding. After a feature is added, fixed, or behaviorally adjusted, it preserves what changed, why it changed, where the implementation lives, which boundaries must remain stable, and how the result was verified.
Those verified records become durable context for Codex, Claude, Cursor, GitHub Copilot, Grok, and other coding agents. A fresh window or a different tool can follow a focused route into the relevant code and continue without replaying a long chat or rediscovering the feature from scratch.
Use it for AI feature change tracking, software change documentation, AI context management, Codex context management, Cursor context switching, Claude context management, and cross-agent development handoffs. The change ledger is the knowledge source; cross-session and cross-tool continuation are capabilities built on top of it.
Install it with the standard Agent Skills CLI:
npx skills@latest add gviiisen/repo-context-ledger --skill repo-context-ledger
You make ordinary coding requests. The AI owns the documentation lifecycle.
Before any lifecycle command, the Agent can ask the read-only Workflow Plan whether the request is understanding work, a small fix, an ordinary change, or a continuation. The plan reuses the bounded context router, explains its decision, and asks for clarification instead of guessing when intent is ambiguous.
Why it exists
AI-assisted changes are easy to implement but hard to preserve as durable repository knowledge. Without a feature-level record, the reason for a fix, its code path, verification evidence, and important boundaries remain trapped in a chat or must be rediscovered from a large diff and codebase.
The same gap becomes more visible when work moves to a fresh window or another coding agent. The next agent must reconstruct the feature from scratch, and implementation details or important constraints can be lost between sessions.
Repo Context Ledger records each behavior-changing feature addition, repair, and adjustment, then turns that verified history into a small, durable map of the repository:
- where a feature lives;
- how its code path works;
- which contracts and edge cases must remain stable;
- what changed, why it changed, and how it was verified;
- which project and module README summaries need refreshing.
What it maintains
docs/ai/: concise repository-wide orientation for fresh AI sessions.docs/ai/context-manifest.json: generated feature-to-context routes for machine discovery.docs/ai/context-packs/: minimal feature context, load order, boundaries, tests, and tracked-file fingerprints.docs/specs/: current feature behavior, code maps, contracts, and boundaries.docs/changes/: chronological implementation and repair handoffs, grouped asYYYY/MM/<change>.mdwith a small monthly index.- Private branch/worktree state: independent active and paused drafts are stored under Git metadata and are never committed; only completed changes enter formal history.
- Root and module
README.mdfiles: generated navigation blocks without rewriting human prose. AGENTS.md,CLAUDE.md, Cursor rules, and.github/copilot-instructions.md: thin native adapters that route coding agents to the same ledger..context-ledger/writing-quality.md: local evidence, language, and record-form rules available to every AI tool.
Compatibility
The core skill follows the open Agent Skills SKILL.md format. It is designed for Codex, Claude Code, Cursor, GitHub Copilot, Grok, and other agents that support Agent Skills or repository instruction files.
Initialized repositories also receive plain instruction files, so tools without native Skill discovery can follow the same workflow. Native discovery and exact installation locations vary by product.
See COMPATIBILITY.md for supported Python/platform and CLI schema guarantees, and MIGRATIONS.md for upgrade rules.
Install
Clone this repository or download a release, then install the directory skills/repo-context-ledger in your AI tool.
Codex
Ask Codex:
Use
$skill-installerto install theskills/repo-context-ledgerskill fromhttps://github.com/gviiisen/repo-context-ledger.
For repository-scoped use, copy or link the skill directory to:
.agents/skills/repo-context-ledger/
Claude Code
Copy or link skills/repo-context-ledger to either the personal or project skill directory:
~/.claude/skills/repo-context-ledger/
.claude/skills/repo-context-ledger/
Cursor
Import this GitHub repository from Cursor's Skills/Rules settings, or copy the skill to:
~/.agents/skills/repo-context-ledger/
.agents/skills/repo-context-ledger/
GitHub Copilot
Install the Skill through a compatible Agent Skills client, or let an initialized repository's .github/copilot-instructions.md route Copilot to the ledger. The runtime preserves existing Copilot prose outside its managed block.
Common usage examples
After installation and one-time repository initialization, talk to your coding Agent normally. You do not need to run Ledger lifecycle commands yourself.
| Situation | What you can say | What the Agent does |
|---|---|---|
| Understand an existing feature | Explain how withdrawal review works and where its boundaries are. | Routes to the most relevant Pack and spec, then inspects the necessary code without creating a task session. |
| Implement or fix behavior | Fix duplicate withdrawal notifications. | Creates a private task session, loads bounded context, expands through affected code and tests, verifies the result, and publishes one completed Change record. |
| Continue in a fresh window | Continue announcement API rate limiting. | Finds your matching active or paused session, generates a Resume Capsule, and continues the same Ledger session rather than starting over. |
| Switch AI tools | Open Cursor after Codex and say Continue announcement API rate limiting. | Uses the same vendor-neutral repository context and your principal-owned private session, while revalidating code and stale warnings. |
| Temporarily switch tasks | Pause this work, fix the login timeout, then let me return later. | Checkpoints the current task and starts an independent private session, so their handoff drafts do not overwrite each other. |
| Hand work to a teammate | Transfer this paused task to principal p-… or request a read-only/fork grant. | Creates an explicit expiring grant. Without one, another principal can use committed Packs, specs, and Changes but cannot read or mutate your private draft. |
The routed files are a starting map, not a limit. The Agent must still read additional callers, implementations, configuration, persistence, permissions, concurrency, retries, tests, and external boundaries whenever they can affect the requested behavior.
Tutorial
1. Initialize a repository once
Open the target project with your AI coding tool and ask:
Use repo-context-ledger to initialize this repository.
The agent first previews the exact operation list with init --dry-run, then applies the same plan with init. It creates the documentation structure, private workspace state, and durable agent instructions without overwriting existing documentation.
For a manual preview, run:
python path/to/ledger.py --repo path/to/repository init --dry-run
The output is a compact plan, not a full diff. It does not create a lock, repository file, or private session-state
// HOW IT'S BUILT
KEY FILES