Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Quiz card

In quiz mode, when a session finishes, aq picks the parts of the diff that matter and asks you about each one: what the code does, or why it was done that way. You answer in your own words, and a judge marks the answer. One question on the whole change comes last.

A quiz question on part of the diff: a first try gets a leading question, the second is marked right

If an answer is not right, or you say you don't know, you get a question that leads towards what you missed, and another try. After two tries the answer is shown.

Keys

KeyWhat it does
Ctrl-S, or Enter on an empty linesubmit the answer
Escput the answer box away
Enteranswer again after Esc
mshow the whole file
eshow the answer now
yfine as is
cask for a fix
rjudge or generate again
xdismiss a quiz that failed

Gaps in the code

Sometimes the judge finds a gap in the code itself, not in your answer. The card then offers keep-as-is (y) or send-a-fix (c), which sends the gap back to the session.

Cost

aq writes the questions and judges the answers with claude -p, a separate Claude run with read-only tools, so quiz mode uses your Claude plan's usage.