# grip

A git hook that won't let you push code you can't explain. Quizzes you on your own diff. Works with Claude Code, Codex, Cursor.

Canonical page: https://www.reposhelf.co.uk/projects/github/guilyx/grip.html

- Project ID: guilyx/grip
- Source: GitHub
- Original project: https://github.com/guilyx/grip
- Description attribution: project author metadata
- Categories: Education, As Seen On X.com
- Technologies: Python
- Licence: BSD-3-Clause
- Repository availability checked: 2026-11-04T21:15:51.938Z
- Demo page loaded: 2026-11-19T14:36:29.690Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> 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.

- Five questions from your diff, graded against a hidden rubric into a Grip Score out
- of 100. Never line numbers or trivia.
- 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 hookmode = "whiteboard" and every push is defended there.
- Works with what you have: reuse Claude Code, Codex or Gemini CLI as the model \(no

## Author-documented requirements and audience

> A git hook that won't let you push code you can't explain.



- Account — Documented: No hook, no account, no API key: the fake provider runs the whole flow offline.

Not recorded: External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/guilyx/grip/blob/main/README.md

Extraction checked: 2026-11-01T09:35:48.618Z

Last recorded source update: 2026-10-28T14:21:29.000Z

Saved release: v0.4.1 — 2026-10-21T10:50:18.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=guilyx%2Fgrip). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
