Home / Claude Code mods / Git & CI / adversarial-review-loop

adversarial-review-loop

adversarial-review-loop is a Claude Code mod by leinardi that implement an agreed plan with an enforced adversarial review loop: every phase commit is gated on an external review.

Updated 2026-10-14

What is adversarial-review-loop?

adversarial-review-loop is a Claude Code mod by leinardi that implement an agreed plan with an enforced adversarial review loop: every phase commit is gated on an external review. It is listed under Git & CI and has 2 GitHub stars.

TypeClaude code mod
Authorleinardi
Repositoryleinardi/adversarial-review-loop
Popularity2 GitHub stars
CategoryGit & CI
SecurityLow risk (84/100)
Rank#1,209 of 5,272 Claude Code mods; #74 in Git & CI
LicenseGPL-3.0
Last commit2026-10-14
Hooks5 events
SeesBash calls
Draws onAbovePrompt

Is adversarial-review-loop safe to install?

adversarial-review-loop scores 84/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. 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
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.process.runruns processes
$.session.cwd
$.session.id
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.resolvedraws interface

How do I install adversarial-review-loop?

  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/leinardi/adversarial-review-loop
    claude plugin validate ./adversarial-review-loop/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add leinardi/adversarial-review-loop && claude plugin install adversarial-review-loop@adversarial-review-loop

Or ask Claude to set it up

Paste this into Claude Code and it installs adversarial-review-loop for you:

Install the "adversarial-review-loop" Claude Code mod from https://github.com/leinardi/adversarial-review-loop. Run claude plugin validate on it first and show me what it can access before you enable it.