The canonical, repo-level instruction contract. The first file every agent reads — task framing, scope, files of record, and house rules.
Agent Spine gives a repository one visible operating contract:
AGENTS.md, native .codex
hooks and subagents, reusable skills, verification gates, optional Claude Code
compatibility, and merge-first adoption for real codebases.
./scripts/install-agent-contract.sh ../existing-repo auto --dry-run
The canonical, repo-level instruction contract. The first file every agent reads — task framing, scope, files of record, and house rules.
Native Codex configuration: hooks, policies, subagent roles, and an audit log. The control surface that turns guidance into enforcement.
Reusable workflows for kickoff, research, decisions, production changes, review, and handoff — composable across repos and teams.
Bootstrap a fresh repository, or use the merge-first installer to add the agent control layer around an existing README, AGENTS.md and CI — without rewriting what works.
./scripts/install-agent-contract.sh ../repo auto preserve-agents --dry-run
./scripts/verify-template.sh --strict
./scripts/verification-summary.sh .codex/logs/verification-summary.json
AGENTS.md, .codex/, hooks, policy, subagents, verification, and release gates define the canonical control plane.
.claude/ and CLAUDE.md mirror the same contract for Claude Code users without becoming required template infrastructure.
Plain prompt files document intent, but Agent Spine adds install, drift, policy, and release checks around that intent.
Three deterministic scripts you can wire into any CI. They check the contract, never your runtime.