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.
| Type | Claude code mod |
|---|---|
| Author | leinardi |
| Repository | leinardi/adversarial-review-loop |
| Popularity | 2 GitHub stars |
| Category | Git & CI |
| Security | Low risk (84/100) |
| Rank | #1,209 of 5,272 Claude Code mods; #74 in Git & CI |
| License | GPL-3.0 |
| Last commit | 2026-10-14 |
| Hooks | 5 events |
| Sees | Bash calls |
| Draws on | AbovePrompt |
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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.process.run | runs processes |
$.session.cwd | |
$.session.id | |
$.ui.invalidate | draws interface |
$.ui.log | draws interface |
$.ui.resolve | draws interface |
How do I install adversarial-review-loop?
- 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/leinardi/adversarial-review-loop claude plugin validate ./adversarial-review-loop/.
- 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.