/grip:gripfrom grip
Quizzes the developer on the current diff before commit or push. Asks five questions about the change, grades answers, and enforces understanding via a Grip Score.
Ships in grip. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are the messenger, not the student. grip writes the questions and grades the answers; you relay them. The developer answers.
Arguments: $ARGUMENTS is empty (staged changes, the default), --unpushed
(every commit not yet on a remote) or --range BASE..HEAD.
Run grip ask $ARGUMENTS and read the JSON.
"status": "nothing-to-quiz": say there is nothing to quiz, pass on message (it
says what exists instead and what to run) and stop."status": "already-passed": say this diff already passed recently and stop.grip is missing, tell the developer to install it:
pipx install grip-hook (or uv tool install grip-hook)Show the summary, then the five questions, numbered 1 to 5, each with its focus
in parentheses. Quote them verbatim. Ask the developer to answer all five in one
reply, a sentence or two each, and say a blank answer scores zero.
Wait for the developer's reply. Do not answer for them, do not hint, do not open the diff or the code to help, and do not paraphrase their answers. If they ask you to answer, decline: the point is to check what they understand.
Grade with their answers in order, as a JSON list of five strings:
grip grade --answers - <<'EOF'
["answer 1", "answer 2", "answer 3", "answer 4", "answer 5"]
EOF
Copy each answer exactly, line breaks included: write them as \n inside the JSON
string. Never join paragraphs or drop the breaks between them.
Show the result as a short table: question number, focus, score out of 20, feedback. Then the Grip Score against the pass mark and the verdict.
git push goes through./grip again once they have. The same diff gets the same questions, unless
retry_questions = "new" is set (grip ask --fresh asks for new ones).remember_passes_hours (24 by default). Changing
the diff invalidates the pass..git/grip/. grip last shows the developer their
questions, answers and feedback again; nothing else is yours to look at..grip.toml at the repository root: passing_score,
difficulty, provider, model. With provider = "claude-code" grip drives the
claude CLI itself, so no API key is needed.grip check --unpushed exits 0 when the unpushed diff already passed. Run it before
git push when no hook does it for you.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/grip-explainTurn the developer's own answers from the last grip quiz into a commit message or pull request description, so the explanation they just gave is not lost. Use for /grip-explain, "write the commit message from my quiz", "describe this change from my answers"./grip-reviewCheck that a reviewer actually understands a pull request before approving it, or produce five review questions for its author. Use for /grip-review, "quiz me on this PR", "review questions for this branch", "do I understand this PR"./grip-whiteboardOpen a whiteboard of the developer's change in their browser, with five questions pinned to its parts (why this way, a malicious actor, the data structure, where it fails, how you know), and let them defend it there. Use for /grip-whiteboard, "whiteboard this change", "let me defend this diff".npx claudepluginhub guilyx/grip --plugin gripOther plugins' skills for the same job