Get quizzed on the code your agent wrote.
Agentic coding lets you ship work without reading it. This hook counters that: every 40 to 45 actions it pauses your Claude Code chat and makes you answer five questions about the session, in your own words, on a cadence you cannot skip. Claude grades you and flags the gaps.
Counts your messages plus every tool call. Cross the threshold and the quiz fires before work continues.
Asks about the jargon used, the code written and why, and the files touched in that actual session.
Every quiz is appended to a markdown revision log with verdicts, context notes and links to study.
Leitner boxes: topics you miss keep coming back, topics you nail retire.
Recent accuracy tunes the questions, from foundational to edge cases and internals.
A flashcard drill reads the journal directly. No model, no network.
git clone https://github.com/jay739/claude-pop-quiz
cd claude-pop-quiz
./install.sh