Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By guilyxv0.5.0BSD-3-ClauseIn 1 marketplace
Quizzes you on your staged diff before a push, scoring your explanations out of 100. A PreToolUse hook blocks git push until you pass, and the grader is a model you run.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
git-hook, pre-push, quiz, code-understanding, pull-request, whiteboard, diff-review, hook ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A git hook that won't let you push code you can't explain.

Before your code leaves your machine, grip reads the diff and asks you about it: why it is built this way, where it fails, what a malicious caller could do, how you know it works. In the terminal, or on a whiteboard of your change in the browser. A model grades your answers out of 100. Below your team's pass mark, the push waits.
It checks the developer, not the code. Let AI write it; just be able to defend it. Follow one real change from commit to push to see what it asks and how it grades.
"If I ask 'why did you do X instead of Y?', 'what happens if this actor behaves maliciously?' [...] you should be able to answer confidently." Mitchell Hashimoto, on X, about the whiteboard defense (not affiliated with grip)
No hook, no account, no API key: the fake provider runs the whole flow offline.
pipx install grip-hook # or: uv tool install grip-hook
mkdir try-grip && cd try-grip && git init -q
echo 'def add(a, b): return a + b' > math.py && git add math.py
grip quiz --provider fake # five questions in your terminal
grip whiteboard --provider fake # the same, drawn in your browser
The offline grader does not read your answers, it only checks their length: twenty
characters, or the word "because", gets full marks. Any long answer passes and a row of
"idk" fails, so this shows the flow, not the grading. For questions written from your diff
and real grading, use a model you have (--provider claude-code, codex, gemini or
anthropic), or read the walkthrough.
Nothing is blocked until you install the hook with grip init.
grip whiteboard: your change drawn as parts and arrows in the browser, with the
questions pinned to it, including what a malicious actor could do. Set
hook_mode = "whiteboard" and every push is defended there./grip in Claude Code, Codex, Gemini CLI, Cursor and others,
and a gate that keeps the agent from pushing until you pass.grip skip lets one push through, CI and
non-interactive runs are skipped.pipx install grip-hook # or: uv tool install grip-hook
Python 3.11 or newer, on Linux, macOS or Windows. This installs the grip command and a
git grip alias.

cd your-repo
grip init # writes .grip.toml, installs the pre-push hook
git push # grip asks five questions first
grip init writes provider = "auto": each machine uses Claude Code, Codex or Gemini CLI
when one is installed. Otherwise set ANTHROPIC_API_KEY, or see
Providers.
Other commands you will use:
grip quiz # quiz your staged changes now, no hook needed
grip quiz --branch # quiz the whole branch since main: your pull request
grip whiteboard # defend the change in the browser
grip quiz --provider fake # try the flow offline (grades by length only)
grip skip # let the next push through
grip status # hooks, last score, configuration
The walkthrough follows one real change from
git commit to an accepted push.
.grip.toml at the root of the repository, committed so the team shares one bar:
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground