Tools · Updated 18 Oct, 10:03 am IST
Sphinx: a Git hook that quizzes you on your agent’s code before shipping
Why it matters for readers: It shows how tooling can add simple human checks to automated code generation to avoid surprises.
- Sphinx is distributed as an npm package (sphinx-understand) that integrates as a Git hook to run before pushes.1
- It generates questions from your diff and asks the developer to explain behavior in edge cases before the push completes.1
- Designed to work with Codex, Claude Code, Cursor, OpenCode, Pi, or plain Git and can use OpenRouter or any OpenAI-compatible endpoint.1
- Answers are not sent back to the coding agent, secrets like .env files and keys are not exposed, and skipped checks are logged; a 'sphinx yolo' command lets pushes through when needed.1
Get a brief like this every morning
Uzha reads hundreds of sources and gives you the stories that matter for your work, with every source linked. Free.
Get started