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.
Clone RepoCharter, open that checkout in your agent, then name the target:
$migrate-repocharter Migrate /absolute/path/to/repository and stop before external actions./migrate-repocharter Migrate /absolute/path/to/repository and stop before external actions./migrate-repocharter Migrate /absolute/path/to/repository and stop before external actions.Available before target installation. No global skill setup or prompt shuttling.
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, Cursor, 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 · provider hooks · promoted user pluginLive 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. Cursor verification covers local Agent/CLI, not Tab or Cloud MCP. OpenCode covers ordinary local CLI/TUI sessions, not pure, attached, or cloud execution; confirmation rules deny. 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/repocharter verify --repo .
schemavalid
context budgetwithin limit
provider adaptersreachable
declared checkspassed
0 errors · ready for review
Agent-operated migration
Clone RepoCharter, open the checkout in Codex, Claude Code, Cursor, or OpenCode, and invoke the bundled migration skill. It measures first, owns the upgrade, and stops before external actions.