{
 "schema_version": 1,
 "generated": "2026-10-23",
 "id": "guilyx-grip--make-coding-agent-pass-quiz-before-push",
 "repo": "guilyx/grip",
 "repo_url": "https://github.com/guilyx/grip",
 "repo_slug": "guilyx-grip",
 "title": "Stop a coding agent from pushing until it passes",
 "page_title": "How to stop a coding agent from pushing until it passes with Grip",
 "summary": "Use /grip inside a coding agent and rely on the gate that holds its pushes until you pass.",
 "who": "A developer who runs Claude Code, Codex, Gemini CLI or Cursor to write code and wants the agent's pushes held until the developer can defend them.",
 "problem": "An agent can write and push a large change quickly, and the developer may not have read or understood all of it.",
 "outcome": "The agent cannot push until the developer passes the quiz, and the developer can run /grip to check the change from inside the agent.",
 "steps": [
  "Install Grip with `pipx install grip-hook`",
  "Run `grip init` in the repository the agent works in, choosing Claude Code, Codex or Gemini CLI as the model when installed",
  "Inside the agent, run /grip on the current change",
  "Answer the questions, then let the agent push once the score reaches the passing score"
 ],
 "agent_prompt": "Using the grip repo at github.com/guilyx/grip, run `grip init` in <repo path> and then /grip inside the coding agent on the current change. Expected output: a quiz on the staged diff and a Grip Score out of 100. Verify that a push attempted by the agent is held until the score passes.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says /grip works in several named agents but does not list the exact setup steps for each, so check the documentation site for the agent you use.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11 or newer on Linux, macOS or Windows",
  "git installed and a repository to test in",
  "One model option: an installed Claude Code, Codex or Gemini CLI, an Anthropic API key, an OpenAI-compatible API, Ollama, or the offline fake provider"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/guilyx-grip/make-coding-agent-pass-quiz-before-push/",
 "md": "https://dedupedai.com/use-cases/guilyx-grip/make-coding-agent-pass-quiz-before-push/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/guilyx-grip--make-coding-agent-pass-quiz-before-push.json",
 "api_version": "v1"
}
