plan-duel
Iterative plan refinement between Claude and Codex. Each agent writes an initial plan using a condensed v2 plan methodology embedded in the skill (mirroring plan-init's content model), then they alternately critique and incorporate the other's best ideas, with a judge checking for convergence after each round. Three exits: convergence (score ≥8/10, from round 3 onward), stagnation (no score improvement over 3 consecutive rounds), or the 10-round cap. Writes a summary.md with a score trajectory, a pointer to the winning plan, and a breakdown of remaining differences with pros/cons. Supports resume from an interrupted run. Use when the user invokes /plan-duel, or says "duel the plans", "run plan duel", "cross-compare plans with codex" — the input is a problem statement the skill generates competing plans from, not two existing plans to compare against each other. Argument: the problem statement (inline text or a file path), or the path to an existing plan-duels workdir to resume.
Pinned to revision 13ce57a02c25, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/plan-duel/SKILL.md
- skills/plan-duel/init.md
- skills/plan-duel/judge-schema.json
- skills/plan-duel/plan_duel.py
- skills/plan-duel/round.md
- skills/plan-duel/summary.md
Every link opens the file at its source, pinned to the revision this page describes.