by gviiisen
Open Agent Skill that keeps repository context, feature specs, change handoffs, and README summaries synchronized across AI coding tools.
# Add to your Claude Code skills
git clone https://github.com/gviiisen/repo-context-ledgerGuides for using ai agents skills like repo-context-ledger.
repo-context-ledger is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by gviiisen. Open Agent Skill that keeps repository context, feature specs, change handoffs, and README summaries synchronized across AI coding tools. It has 54 GitHub stars.
repo-context-ledger's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/gviiisen/repo-context-ledger" and add it to your Claude Code skills directory (see the Installation section above).
repo-context-ledger is primarily written in Python. It is open-source under gviiisen on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh repo-context-ledger against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
An open Agent Skill that bridges verified repository context across Codex, Claude, Cursor, GitHub Copilot, Grok, and other coding agents while keeping feature documentation, change handoffs, and README summaries synchronized.
You make ordinary coding requests. The AI owns the documentation lifecycle.
AI coding sessions often start without the context accumulated in earlier windows. The next agent must read a large part of the codebase again, and implementation details or important boundaries can be lost between sessions.
Repo Context Ledger gives every AI session a small, durable map of the repository:
init --dry-run builds the exact same initialization plan as real init, then prints file creates, managed-block updates, deletions, migrations, detected modules, and a compact summary without writing repository files or private workspace state.Version note: v0.5.5 was reserved for this work but never released. The completed feature ships in v0.5.7; no published release or functionality is missing.
context --query is a Context Pack router: it reads live Pack metadata, prefers feature/title/tracked-path matches, demotes superseded or stale Packs, and returns one primary Pack plus linked specs and the selection reason.--repo walks up from the current directory to the nearest .context-ledger/config.json and stops at a nested Git repository boundary. An explicit --repo still wins.verify records a redacted Failure Capsule instead of only a hash. Success still stores a hash plus the last result line. Raw logs are not persisted.file.go::Symbol; the path part is matched against Git evidence.context/focus, small single-task start → verify → finish, and the full evidence/spec/Pack flow only for larger work.evidence --session <id> requires repeated --path <path> values and refuses to absorb the shared worktree's entire dirty set.finish now uses a session-scoped gate. It validates only the selected draft, its recorded paths, explicit specs, and relevant Context Pack fingerprints.check --strict --coverage remains the integration/PR gate instead of being an implicit per-session finish dependency.start, checkpoint, evidence, and verify no longer add unfinished records to docs/changes/.finish reserves a unique history path, validates the draft, atomically publishes one completed change, and deletes only that session's private draft after repository checks pass.--session <id>; when several sessions match, omission fails closed instead of selecting, pausing, or completing another task.verify binds its target under a short lock, runs the external command without the repository write lock, then records the result under another short lock.coverage are validated, persisted by init, and remain optional for existing v5 repositories.check --coverage.AGENTS.md, CLAUDE.md, Cursor rules, and GitHub Copilot instructions route every supported agent to the same Git-tracked source of truth.docs/ai/context-manifest.json provides a deterministic machine-readable map from features to Context Packs, stable specs, tracked code paths, and recent changes.adapters sync/check/status preserves user prose while detecting missing or drifted native entry files.check --coverage reports behavior-changing paths that lack handoff evidence, a stable spec or explicit exception, or an updated Context Pack.YYYY-MM/... change trees are grouped at the month root instead of producing an index in every date or feature directory.YYYY-MM/index.md files are preserved and reused as the month link; the runtime does not rewrite their human-maintained content.README.md is removed only when the runtime can reproduce it byte-for-byte from current sibling records. Ambiguous or human-edited files are retained.index.md files are treated as indexes rather than change records.evidence-v1 quality profile.verify executes the check and records its command, status, exit code, duration, and output hash without persisting command output.evidence records actual changed paths so agents do not rely on memory.auto, en, or zh-CN while preserving source identifiers and commands.concise, standard, or detailed; Context Packs have a size limit.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 as YYYY/MM/<change>.md with a small monthly index.README.md files: 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.