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
What XERJ indexed
Snapshot
The whole repository at commit e5de058308 (2026-10-08). main is 150 commits ahead.
Selected work

“Add grip init: .grip.toml, the hook and the agent rule files in one c…”. 5 files, 239 lines in src/grip_hook, tests.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-14. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
aiclaude-codeclicode-reviewcodexcursordeveloper-toolsgit-hooks
Example questions
- How does grip implement ai?
- What does src/grip_hook do in grip?
- Show the claude-code code in grip.
Inside the indexed corpus
- 106 files, 9.9 MB in total, about 95.6 KB per file.
- The selected commit changed 5 of those files (4.7%).
- Languages by size: Python 91%, HTML 7%, JavaScript 1%, CSS 0.5%, Shell 0.3%.
- On GitHub since 2026-09-20, last push 2026-10-28, 182 commits on main.
- The pin is 150 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported BSD-3-Clause for guilyx/grip on 2026-10-31, and the LICENSE file at commit e5de058308 was reviewed as BSD-3-Clause. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Erwin L. (@guilyx) has 1 selected repository on the hub.
Using XERJ with grip
- A local search tool for Codex and Cursor grip is tagged claude-code on GitHub.
- Local code search MCP that uses fewer tokens than grep
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- Best MCP servers for local code search in 2026, compared
The prompt
Paste it into your AI agent. It clones guilyx/grip at the pinned commit and indexes it on your machine.
Search the GitHub repository guilyx/grip with XERJ (https://hub.xerj.org/corpus/guilyx--grip). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/guilyx/grip grip && git -C grip checkout e5de05830837b3417716c7e223ea0faf30aec49e 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./grip --url http://127.0.0.1:9200 --prefix grip --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: BSD-3-Clause. Keep the copyright notice and credit the authors.
Related
Erwin L.AI, prompts and agents corporafaahxobotyi--cc-foundry-the-coderagent-managerdagoSte/squadrargmez/swift-comments-that-matterGet-Concord-AI/concord-mcp
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.