Adversarial plan review for Claude Code. Claude drafts a plan, Codex CLI tears it apart, Claude revises, repeat until stable.
Instead of drafting a plan once and hoping for the best, DuelPlan runs an automated critique loop:
- Claude drafts an implementation plan based on your prompt and repo context
- Codex critiques the plan adversarially — finding gaps, bad assumptions, missing edge cases
- Claude revises based on the critique
- Repeat until the plan converges (max 5 rounds)
Issues are rated by severity (CRITICAL / MAJOR / MINOR). The loop exits when only minor feedback remains. You get the full critique history so you can see how the plan evolved.
- Claude Code
- Codex CLI installed and configured
Register the marketplace first:
/plugin marketplace add DevStrategist/duelplanThen install:
/plugin install duelplan@duelplanAsk for extra rigor on any plan:
- "use duelplan"
- "I want adversarial review on this plan"
- "give this plan extra scrutiny"
The skill activates automatically when Claude detects you want a more rigorous planning process.
We recommend Superpowers to level up the planning and development stages for both Codex and Claude Code. DuelPlan handles adversarial review of plans; Superpowers handles the broader workflow — brainstorming, TDD, execution, code review. They complement each other well.
- duelplan — Adversarial critique loop between Claude and Codex CLI
MIT License — see LICENSE for details.