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.

Updated 2026-09-28

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.

TypeClaude code mod
Authorrlorenzo
Repositoryrlorenzo/ai-coding-setup
Popularity1 GitHub stars
CategoryCost & usage
SecurityReview before installing (76/100)
Rank#2,275 of 5,272 Claude Code mods; #382 in Cost & usage
LicenseMIT
Last commit2026-09-28
Hooks1 events
Seesonly the events it hooks
Draws onnothing

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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.env.getreads env vars
$.fs.existsreads files
$.process.runruns processes
$.session.cwd
$.ui.logdraws interface

How do I install review-gate?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)