Your agents don’t push until you know exactly what’s changed.
Cross-harness Agent Skill + CLI that blocks git commit, git push, and PR creation until the human passes a comprehension quiz about the diff. Agent-proposed grading with human review — not self-scored. Works with Claude Code, Cursor, Codex, and plain terminals.
Docs: kc.chtnnhfoundation.org
- Attest key —
know-code attest-initonce (passphrase-encrypted Ed25519). - Range session —
know-code range beginfor multi-commit batches. - Question quota —
know-code questionsbefore writing the quiz. - Agent grades — writes
grade-proposal.jsonafter browserask. - Human reviews —
grade --review→pass→commit→range seal→ push.
attest-init → range begin → taught → questions → ask → grade propose → grade --review → pass
→ commit(s) → range seal → push
npm i -g @chtnnh/know-code
know-code init --level standard --agents claude,cursor,codex --workflow
know-code attest-init
know-code skills
know-code range begin| Phase | Command | Who |
|---|---|---|
| Debug | know-code doctor · status --json |
either |
| Start range | know-code range begin |
human |
| Question quota | know-code questions --template |
agent |
| Validate quiz | know-code quiz validate |
agent |
| Teach receipt | know-code taught |
human |
| Quiz | know-code ask |
human (browser) |
| Grade proposal | agent writes grade-proposal.json |
agent |
| Review + pass | know-code grade --review · pass |
human |
| Ship checklist | know-code ship |
human |
| Commit | know-code commit -m "…" or -F file |
human |
| Finish range | know-code range seal |
human |
Human review (after agent grading proposal):
know-code grade --review
know-code pass
know-code commit -m "feat: …"See grading docs and tutorial.
Built by chtnnh.
- Repository: github.com/chtnnh/know-code
- npm: @chtnnh/know-code
- Documentation: kc.chtnnhfoundation.org
- Issues: github.com/chtnnh/know-code/issues
npm install
npm run build
npm test
npm run know-code -- statusDogfood: see AGENTS.md.