Five agents. Five versions of the project.
Duplicated guidance quietly diverges while every provider reports success.
Keep project instructions, on-demand context, and tested guardrails in one portable system—so every coding agent works from the same repository truth.
kit/agentkit census --repo ~/dev/your-repoRead-only. No dependencies. No files changed.
One source of truth
Parallel instruction files drift. Huge startup prompts crowd out the task. A hook that merely exists gets mistaken for a guardrail that works. RepoCharter gives each concern one clear home—and makes the adapters prove their reach.
Duplicated guidance quietly diverges while every provider reports success.
◆AGENTS.mdalways loaded
├docs/project/on demand
├.agents/skills/on demand
└compatibility.jsonmechanical policy
Provider files point inward. They do not become competing sources of truth.
Built for real repositories
RepoCharter separates what every agent can read from what each harness can actually enforce.
Portable by construction
Claude Code, Codex, OpenCode, Hermes Agent, and ZCode all reach the same checked-in instructions and procedures through explicit, reviewable adapters.
Lean by default
Keep startup rules compact. Pull specifications, decisions, state, and skills only when they matter to the work in front of the agent.
Guardrails with receipts
RepoCharter fires real forbidden and benign calls, records provider-backed evidence, and keeps unsupported surfaces explicitly advisory.
✓ destructive command denied
✓ benign command allowed
✓ malformed input failed closed
How it works
RepoCharter does not generate the meaning of your project. It gives that meaning a durable structure, connects it to each harness, and checks the connection.
Keep the rules every agent needs in one human-authored AGENTS.md. RepoCharter never invents your project truth.
AGENTS.mdSpecifications, decisions, current state, and repeatable procedures stay at named paths until the work actually needs them.
docs/project/ · .agents/skills/Small provider adapters connect the same charter and policy to the controls each coding-agent harness really exposes.
CLAUDE.md · .codex/hooks.jsonLive deny and allow probes separate installed configuration from verified enforcement. No checkmark by assumption.
self-test · measure · verifyCompatibility, stated plainly
Providers expose different controls. RepoCharter reports context reach and safety enforcement separately so an adapter never gets credit for a test it did not pass.
Verified enforcement is earned per provider, checkout, hook hash, and probe matrix. Advisory means “use the shared context and pre-commit gate,” not “mechanically blocked.”
Your repository stays yours
The RepoCharter CLI is dependency-free Python 3. It runs offline, vendors into the repository, and leaves project truth under human review and version control.
$ kit/agentkit verify --repo .
schemavalid
context budgetwithin limit
provider adaptersreachable
declared checkspassed
0 errors · ready for review
Start with a read-only baseline
See what loads today before RepoCharter changes a file. Then preview the mechanical layer and adopt it on your terms.
kit/agentkit census --repo ~/dev/your-repo