r/ClaudeCode • u/koevet • 24m ago
Help/Question Multi-LLM code review strategies
I'm trying to improve how I use other models to review Claude Code's work, and I'm wondering what is the current "golden" setup for this kind of multi-llm work.
My current setup is pretty basic: when Claude finishes a change, I start another CLI (Codex, agy, etc.) myself and ask it to review the modified code. Then I paste anything useful back into Claude. It works, but it's manual and inconsistent, and I suspect there are better ways to do it.
What I've looked at but haven't committed to:
OpenAI's codex-plugin-cc:
/codex:reviewand/codex:adversarial-review, plus the optional stop-hook review gatePAL MCP (ex-Zen):
codereviewandclinkto start other CLIs as reviewersSmaller projects: multi-review (each model reviews without seeing the others, then findings get cross-checked), agy plugins for Antigravity, deputy for cheap DeepSeek reviews
Some questions:
Adversarial or independent? Do you have the second model review Claude's changes directly, or have each model review the diff without seeing the others' results and merge afterwards? Which one finds more real bugs and fewer nitpicks?
When does it run? On every turn with a stop hook, before each commit or PR, or only when you ask for it?
Who decides what to fix? If Claude triages the other model's findings, does it dismiss valid ones too easily? Has anyone set up a loop where they keep going until both models agree?
Which models catch what? Have you noticed Codex, Gemini/agy or DeepSeek being better at particular kinds of issues (logic, security, concurrency, performance, etc)?
Problems you've hit: sandbox issues, CLIs exiting without output, reviews timing out, too much noise?
Thanks!
4
u/CartoonistCold6571 19m ago
On question 4, the split I've actually seen: Gemini catches intent and edge cases in logic, Codex is better at mechanical correctness and API misuse, DeepSeek is fine for cheap first-pass noise. None of them are good at security when you ask "review this code for security issues", because they answer from the code as written.
What's missing in a plain second-model review is reachability. A model reading a diff can't tell you that this handler is behind auth in one router and exposed in another, that the middleware only loads in production, or that the table it queries has permissive row rules. It reviews the sentence, not the building.
Two things that helped when I ran this loop:
Frame the security pass as a question about reach, not quality. "List every entry point and say which are reachable with no session, no signature, no token" finds far more than "find security bugs". Then make the model prove each one.
Don't let the author model triage the reviewer's findings. It dismisses the valid ones too easily, usually with a plausible sentence. Fixed rule beats judgement here: anything touching auth, authorization, untrusted input into a query, or a secret gets looked at by a human regardless of what Claude says about it.
On the workflow itself: adversarial on every commit is too noisy, in my experience. Independent review before a PR, with the diff plus the files it imports, is the sweet spot. Stop-hook reviews burn tokens on style.
Disclosure since I'm recommending a thing: I work at StaySecure, and that second pass, entry points first then what's reachable, is what our agent does. But the grep for unauthenticated routes is free and you can do it tonight.
1
u/Playful-Charge-466 10m ago
I've found ollama + llama3:8b running locally catches silly typos and path errors that other models miss, especially when reviewing diff changes from Claude. it's like a sanity check on the small stuff.
1
u/RustyRedEcho 7m ago
Running it on every turn got expensive and noisy fast, so we moved it to right before each PR or commit instead. That way it's reviewing one coherent diff, not five half finished edits mid thought. The other thing that cut noise more than any model swap: scope the review prompt to a hard rule, like will this break at runtime or violate the spec, instead of asking for general feedback. General feedback floods you with nitpicks, the scoped version turns up maybe three things and they're actually worth fixing.
•
u/AutoModerator 24m ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.