Claude Code

The Free Tool That Quizzes You On Claude's Code Before It Ships

Sphinx is a free Git hook that quizzes you on what your coding agent just wrote before a push goes through. What it does, the two-command setup, how the quiz works, the skip switch, and a prompt to try it on your next change

2min read
1prompts to copy
7numbered steps
5sections

Sphinx is an open-source Git hook for agent-assisted coding. When you or your agent pushes, a reviewer that never saw your chat reads the change and asks what it does when things go wrong. You answer before the push continues.

Here's how it works, how to set it up, and the catches.

Why a quiz helps

In a randomized study by Anthropic, the creators of Claude, 52 mostly junior engineers learned a new Python library. The ones using AI scored 17% lower (50% vs 67%) on a quiz about it minutes later, with the biggest gap on debugging. Being asked to explain the code is what closes that gap.

How the quiz works

  1. You push, or your agent does. Git pauses on the branches you protect.
  2. Sphinx asks a question about your diff: what the change does when things go wrong.
  3. A right answer lets the push continue. A wrong one explains the problem and gives you a new scenario.

Free, for your email

Get the full setup steps + the copy-paste setup prompt

The rest of this guide (3 more sections, 1 copy-paste prompt) opens right here. The setup prompt, one paste into Claude that sets it all up, comes by email only. Use your real address.

50,000+ follow where these guides come from. No spam, unsubscribe in one click.

Read next