Claude Code hookv0.5.1

claude-pop-quiz.

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.

Features

Mandatory cadence

Counts your messages plus every tool call. Cross the threshold and the quiz fires before work continues.

Questions with substance

Asks about the jargon used, the code written and why, and the files touched in that actual session.

Learning journal

Every quiz is appended to a markdown revision log with verdicts, context notes and links to study.

Spaced repetition

Leitner boxes: topics you miss keep coming back, topics you nail retire.

Adaptive difficulty

Recent accuracy tunes the questions, from foundational to edge cases and internals.

Offline review

A flashcard drill reads the journal directly. No model, no network.

Quickstart

git clone https://github.com/jay739/claude-pop-quiz
cd claude-pop-quiz
./install.sh