Review a pull request with staged sub-agents
Use parallel checks and a validation pass to review a branch or PR before you decide what to fix.
- What they did
- They used a Claude Code plugin that starts with a review command on a branch or pull request. That command sends up to seven sub-agents to look at different angles, such as correctness, security, and UX, then deduplicates the results and runs a cheap check before a deeper validation pass. There is also an optional broader review step, and a mode that adds Codex plus a scan of PR bot comments.
- How it went
- The author said, based on their own pull requests, that this found more real bugs than several other review tools while producing fewer false alarms. They did not give measured numbers. The fix command can also run repair sub-agents in parallel, re-check the changes with Opus, and roll back any regressions.
- Tips
- If you use the ensemble option, expect higher token use and make sure the Codex Claude Code plugin is installed. The workflow runs on a normal Claude Code subscription, with Max recommended, rather than Extra Usage credits.
Try it yourself with Claude Code
Review [pull request URL or branch] in stages. First, run separate sub-agents to check [correctness], [security], [tests], [UX], and any other relevant areas. Then deduplicate the findings and validate each one with a cheap pass first, followed by a deeper pass if needed; only keep issues you can tie to specific code lines. After that, do one optional cross-cutting review for anything the sub-agents may have missed. If you find a possible issue, pause before any change or comment and ask me to approve the next step. Give me a final ranked list with file names, line numbers, and a suggested fix for each item, and do not post to the PR.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Monitor account caps and move chats across tools
teivz built a local app that watches Codex and Claude Code account usage and shifts a chat to another account when one reaches its cap.
Use ChatGPT for planning and Codex for local execution
They set up a handoff where ChatGPT designs the work and checks it, while Codex makes the changes and runs commands on the local machine.
Let Codex implement while you handle planning
One person used ChatGPT for planning and Codex for execution, with a small port helper to keep parallel local runs from colliding.
Use a coding agent to fix a Slack-reported bug
A Codex agent handled a Slack issue on its own, and an ops agent later confirmed the fix in the same thread.
Use Claude Code to plan and run a legacy stack migration
An engineer used Claude Code to map, split, and execute a multi-repo migration while keeping each step tied to docs, tickets, and review.
Schedule bug work in separate git worktrees
A Codex routine can pull issues on a schedule, spin up isolated worktrees, and leave specs, tests, and review for a person.