I've spent months building a multi-agent code reviewer. Then I tested it fairly against Claude Code's built-in /code-review with a 30-line checklist. On four small projects the built-in command matched it for a third of the price, and by a rule I wrote down in advance my reviewer wasn't needed. So I ran a second test on one codebase at three sizes. On the whole 83K-line monorepo, /code-review confirmed 28 to 36 bugs that break or cost money. Mine confirmed 209 to 216.
My reviewer is a Claude Code plugin that reviews a whole backend, not a PR diff. I've used it as the instrument in my last posts: Opus vs Sonnet as its reviewers, CodeGraph and scanner findings without a model. This time the question was about the method. Is a pipeline of specialised agents with a verifier better than one careful pass, or the same work for more money? If it's the same work, the plugin isn't needed.
The answer turned out to depend on one thing: how big the code is.
Two ways to review a folder
/code-review ships with Claude Code. It takes an effort level (low to max) and a target: the current diff, a PR, a branch or a path. I read what it does with a folder in the session transcripts:
- At
mediumandhighit starts one subagent, and its instructions are identical, byte for byte. Both say "high effort → 8 inline angles → dedup (no verify) → all findings". - The 8 angles run in one context: a line-by-line scan, removed behaviour, a cross-file tracer, reuse, simplification, efficiency, altitude (is the fix at the right depth), and the rules in
CLAUDE.mdandCLAUDE.local.md. - Each angle surfaces up to 6 candidates. That cap matters later.
-
maxis a different recipe: "5+5 angles × 8 candidates → 1-vote verify → sweep", each angle its own subagent.
My reviewer splits the work:
- Static tools run first in a Docker image: linters, dead-code finders, the import graph, dependency scanners. Their output reaches the agents as leads.
- The code is cut into modules of up to 10,000 lines. Per module, four reviewers read it side by side: defects and dead code, security, performance, and tests.
- A verifier opens the cited code and tries to refute every finding.
- An architect reads the import graph and a project-wide security pass looks at the attack surface, each with its own verifier.
Every finding gets a tier: WILL_BREAK (breaks in normal production use), WILL_COST (costs money, latency or incidents) or WILL_ROT (makes the code harder to change).
The checklist
For /code-review I wrote the rules I care about into CLAUDE.local.md, the personal variant of CLAUDE.md that Claude Code also reads. This is the whole file:
# Code review rules (local)
When you review this repository, read the tests, the test runner configuration and the
configuration files next to the code, not only the source files. Trace callers and callees
across files before you report a defect.
## Tests
- Every test must assert the behaviour it names. A test without an assertion, or one that only checks that a value exists where the value matters, is a defect.
- Async assertions and async calls inside tests must be awaited.
- Tests must not depend on real time, sleeps or randomness without fake timers or a fixed seed.
- Focused or skipped tests (`.only`, `.skip`, `t.Skip`, `#[ignore]`, `pytest.mark.skip`) must not be committed without a stated reason.
- Code that handles money, permissions, deletion, retries or error paths must have a test.
- Every test file must be picked up by the configured test runner.
## Performance
- No database or network call inside a loop over input of unbounded size.
- Every outgoing HTTP, RPC or database client must have a timeout.
- Data whose size grows with the input must not be held in memory all at once without a bound.
- A query that filters or upserts on a field needs an index on that field.
## Architecture and dead code
- Modules must not import each other in a cycle.
- One class or service must not mix unrelated responsibilities.
- Exported functions, types and dependencies that nothing uses must be removed.
## Security
- Untrusted input must be validated before it reaches a query, a regex, a file path, a shell command or a URL.
- Every operation that reads or changes another user's data must check authorization.
- Secrets and tokens must not be logged.
How I judged
Before each round I wrote the rule down: count the real WILL_BREAK and WILL_COST issues, treat differences inside a noise band as a tie, compare false findings and cost. Then:
- Every contender ran on Sonnet, in fresh checkouts at the same commit.
- Two Opus judges per project got all the lists under random letters, in one shape (file, line, summary, details), with tiers and verifier notes stripped.
- Each judge clustered the findings into distinct issues and marked each one
real,partly(the mechanism exists, the impact is overstated) orfalsefrom the code, with the tier it thought right and afile:linereason. - The noise band is the larger of how far the two judges differed and how far two runs of the same setup differed.
Round one: four small projects
Four private projects, each pinned to one commit: a Go service (827 lines), a Rust proxy (1,217), a NestJS app (6,721) and my own Python video-dubbing pipeline (6,317). Each fits into one module of my reviewer.
Plain high landed within the band of my reviewer and made fewer false claims. With the checklist it was ahead. Both cost about a third of mine. By my own rule, my reviewer was not needed here.
Two side results from that round:
-
mediumandhighare one setup run twice, since their instructions are identical. Their results differed by 7 to 12 real bugs, more than the two judges did. One run of an LLM reviewer is a sample. -
maxcost $181 and gave no answer. It started 10 to 13 agents per project, each writing about 100,000 output tokens, mostly extended thinking. The runs hit my plan's usage limit before any of them reported.
Round two: one codebase at three sizes
All four projects were small, and each was one module for my reviewer. Its partitioning never had a chance to matter. So I took the NestJS project from round one, a monorepo of 26 apps and 5 libraries, and reviewed it at three sizes on the same commit:
| Step | Scope | Lines | Modules of my reviewer |
|---|---|---|---|
| Small | the app from round one | 6.7K | 1 |
| Medium | a bigger app | 15.7K | 4 |
| Large | the whole monorepo | 83K | 23 |
I added a third contender, a hybrid of the two: a branch of my reviewer where each module gets one finder agent working like /code-review (eight angles in one context, the same checklist, static-tool leads) instead of separate code, security and performance reviewers. The verifier, the test reviewer, the architect and the report stay. On the whole monorepo that's 73 agents instead of 122.
/code-review and the hybrid ran twice at every size, my reviewer once. On the largest step the lists held about 1,760 findings, so each judge got one group of apps, at most 170 findings at a time.
On one app, the three are tied, as in round one. On 15.7K lines /code-review falls behind by 14 to 21. On 83K lines it confirms about a sixth of what the other two do.
Why size decides
/code-review returned 37 to 44 findings on the whole monorepo, about as many as on the 15.7K-line app. Eight angles of up to six candidates set a ceiling that doesn't grow with the code. It also reads in one context: even on the 6.7K-line app the subagent listed files by size and read the biggest ones first. On 83K lines its real bugs landed in 11 to 14 apps and libraries, out of 31. My reviewer and the hybrid reached 26 to 28.
Two runs of /code-review on the whole monorepo didn't even look at the same places. One run found the most in two payment apps, the other in an account app and the API gateway.
Per bug, /code-review is still the cheapest at every size. At 83K lines it just finds far fewer of them.
The hybrid
Measured against my reviewer, the hybrid kept about 95% of its real breaking and costly bugs on the whole monorepo (193 to 213 against 209 to 216) for about 75% of the price ($41.80 against $55.33). It made fewer false claims (1 to 3 against 4) and found slightly more real WILL_ROT issues (262 to 296 against 245 to 260).
By the round-two rule the hybrid passes: at every size it's within the noise band of the best contender, with no more false findings than my reviewer and a lower price. The band at 83K lines is 15.5, set by how far the two judges differed on the hybrid itself. Measured against the run-to-run spread alone (5 to 8), the first judge's gap of 14 would fall outside it. What my reviewer still has on top is breadth of unique finds: 45 to 47 real issues nobody else reported, against 24 to 39 for the hybrid.
What I take from it
My opinion after these numbers:
-
Up to about 7K lines, one module, use
/code-review highwith a checklist. It finds as many breaking and costly bugs as a multi-agent pipeline, for a third of the price. - From about 15K lines, cut the code into modules. One context with a fixed number of candidates can't cover a large codebase, however well you tune it.
- The hybrid is the best trade-off I measured. Breadth from partitioning, recall from the eight-angle pass, precision from the verifier, at about three quarters of the full pipeline's price.
- Write the checklist. It's the cheapest upgrade I measured.
- Don't run
/code-review maxon a whole folder. - Run a review twice before you believe a difference between two reviewers. That goes for my own earlier posts too.
Limits
- The size ladder is one NestJS codebase. Small, medium and large are parts of the same monorepo, so language and style are held constant, but other codebases may scale differently.
-
Few runs. Two runs of
/code-reviewand the hybrid per size, one of my reviewer. Round one had one run per contender. - I built two of the contenders, wrote the checklist and the judge protocol, and designed the hybrid after seeing round one. The letters were blind and all lists had the same fields, but the style of the findings may still give a reviewer away.
- The judges are models. Opus with the code and a written protocol. On the large step each judge saw one group of apps, not the whole list.
- Sonnet everywhere. With Opus, all of them would likely find more.
- Costs are API list prices. On a subscription they translate to usage limits, not money. My reviewer's figures cover its agents, not the session that starts them or the Docker step.
On a small project the built-in reviewer plus 30 lines of rules is all you need. On a large one it reads a corner of the code and stops. How big is the code you point your AI reviewer at, and have you checked what it never opens?








Top comments (5)
The detail that two
/code-reviewruns on the same monorepo found their bugs in different apps says more than the totals do. If the subagent reads the biggest files first and stops at a fixed candidate count, coverage depends on which files it opens, not on what is wrong.Since the command takes a path as its target, your "cut the code into modules" advice has a cheap form you did not measure: cut the monorepo into the same modules your pipeline uses and run
/code-review highonce per module path, with the checklist. That keeps the cheap single-pass recipe and gives each module its own 8 x 6 candidate budget. Did you try that on the 83K-line step? We would expect it to close much of the gap to the hybrid, minus the verifier, and it would show how much of your pipeline's lead comes from partitioning alone.Not with the built-in command itself, but my latest round ran something very close. The "quick" mode in my reviewer cuts the repo into the same modules and gives each one a single finder that follows the /code-review recipe (8 angles, up to 6 candidates, the same checklist); one variant also skips the verifier. On a fixed 36% sample of the 83K-line monorepo, judged blind: one /code-review run over everything 16.5 real breaking or costly bugs, the per-module finder without a verifier 76.5, with the verifier 67.8, the full hybrid 80.5, with a noise band of 17. So you're right: partitioning alone closes most of the gap at that size. On a 4-module app it doesn't: 37 to 39 against 48 (band 5), and the test reviewer and architect make the difference there.
I don't expect plain /code-review per module path to match it, though. Pointed at one path, it sees that module on its own, not how it connects to the rest. Bugs that cross module boundaries get missed, and some code that looks wrong in isolation is fine once you see the caller, so you get false findings too. My finders get each module's dependencies and dependents from the import graph as leads, and the hybrid adds an architect for cross-module issues. The coverage point holds within modules too: three runs of the per-module finder found 59, 70 and 74.
I'm publishing a follow-up today with these numbers, the pull request tests and what changed in the reviewer.
@skillselion as promised here is next one
The cap of 6 candidates per angle is the detail I would have missed, and it explains the gap at 83K lines well. I see the same split on my own Mac apps: on a small diff one careful pass is enough, but on a whole module the win comes from separating finding from judging. In Atelier, the Claude Code studio app I make, a second model finds the bugs and Claude only verifies them, which cut Claude’s tokens per review by about 71% in my own logs. Did your verifier refute more findings as the modules got bigger?
My modules are capped at 10K lines, so what grows is the number of modules, not their size. The share the verifier refuted rose from one module to several and then stayed flat: 4 to 10% of the candidates on one module, 11 to 17% on four, 11 to 18% on 23. The more surprising result came from turning it off. Blind judges found almost no extra false findings without it (4.0 to 4.5 on four modules, 4.0 to 6.0 on the whole monorepo), and it also dropped some real bugs. So in my setup splitting finding from judging pays off less in precision than I expected. I keep the verifier on by default until I have more runs.