When you ask an agent to write AGENTS.md from scratch, it often guesses scripts that don't exist, adds generic rules nobody asked for, and drifts as soon as the repository changes. Agent Harness Kit builds the harness from evidence in your repo and explicit decisions.
- Scan & Design: reads real commands from project manifests and detects sensitive areas (such as database migrations, payments or auth), then asks only what it cannot infer, saving your answers to
.harness/spec.json.
- Explain: prints the reason and context cost for every included section and every part left out — and clearly separates advisory instructions from real enforcement.
- Build & Check: generates
AGENTS.md, a CLAUDE.md entry point and skills (SKILL.md) without overwriting hand-written notes, and verifies consistency with check as the project evolves.
Quick start in a repository
npx github:RolePlayingTech/agent-harness-kit design
npx github:RolePlayingTech/agent-harness-kit explain
npx github:RolePlayingTech/agent-harness-kit build --dry-run
npx github:RolePlayingTech/agent-harness-kit check