What is review-gate?
review-gate is a Claude Code mod by rlorenzo that the review gate as a tool.check function hook. Every shell call is decided in process, so the non-commit calls -- almost all of them -- cost no subprocess at all, and a blocked commit can. It is listed under Cost & usage and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | rlorenzo |
| Repository | rlorenzo/ai-coding-setup |
| Popularity | 1 GitHub stars |
| Category | Cost & usage |
| Security | Review before installing (76/100) |
| Rank | #2,275 of 5,272 Claude Code mods; #382 in Cost & usage |
| License | MIT |
| Last commit | 2026-09-28 |
| Hooks | 1 events |
| Sees | only the events it hooks |
| Draws on | nothing |
Is review-gate safe to install?
review-gate scores 76/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.env.get | reads env vars |
$.fs.exists | reads files |
$.process.run | runs processes |
$.session.cwd | |
$.ui.log | draws interface |
How do I install review-gate?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/rlorenzo/ai-coding-setup claude plugin validate ./ai-coding-setup/mods/review-gate
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add rlorenzo/ai-coding-setup && claude plugin install review-gate@ai-coding-setup
Or ask Claude to set it up
Paste this into Claude Code and it installs review-gate for you:
Install the "review-gate" Claude Code mod from https://github.com/rlorenzo/ai-coding-setup/tree/main/mods/review-gate. Run claude plugin validate on it first and show me what it can access before you enable it.
More from rlorenzo/ai-coding-setup
This repository has 2 Claude Code mods on MCPMods.
- explore-model: Pins the model that background recon subagents run on. An agent.spawn hook sets the Explore subagent's model to haiku, s (Low risk)