From adversarial-review
This skill should be used when the user asks about "adversarial review", "codex review loop", "plan review with codex", "dual-agent review", or discusses using multiple AI agents for code review.
How this skill is triggered — by the user, by Claude, or both
Slash command
/adversarial-review:adversarial-workflowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This project has an adversarial review plugin that orchestrates iterative review loops between Claude Code and OpenAI Codex CLI.
This project has an adversarial review plugin that orchestrates iterative review loops between Claude Code and OpenAI Codex CLI.
/adversarial-plan <task description>Creates an implementation plan with adversarial review:
/adversarial-reviewRuns adversarial code review on current changes:
Codex ends every review with exactly one of:
APPROVED — no blocking issues, work is acceptableNEEDS_REVISION — blocking issues listed that must be addressedConvergence typically happens in 2-3 iterations. The 20-iteration limit is a safety backstop.
All artifacts are saved to .adversarial-review/<session-slug>/ in the project root. Each run of /adversarial-plan or /adversarial-review creates a new session directory with a unique slug, so previous sessions are preserved.
A latest symlink at .adversarial-review/latest always points to the most recent session. This is used by /adversarial-review to find plan_final.md from a prior planning session.
.adversarial-review/
latest -> abcd-efgh-ijkl/
abcd-efgh-ijkl/ # planning session
plan_v1.md, plan_v2.md, ...
review_v1.md, review_v2.md, ...
plan_final.md
mnop-qrst-uvwx/ # code review session
diff_for_review.md
code_review_v1.md, code_review_v2.md, ...
You may want to add .adversarial-review/ to your project's .gitignore.
Plugin files are installed to the Claude Code plugin cache. To customize, fork the repo and point your marketplace at your fork, or edit files in the cache directly (changes will be overwritten on update).
commands/adversarial-plan.md, commands/adversarial-review.md)scripts/codex-review.shplan (architectural review) and code (code change review) typesnpx claudepluginhub bobby-beckmann/adversarial-reviewCross-model review using OpenAI Codex to independently verify plans or code diffs, iterating up to 5 rounds. Useful for architecture decisions, non-trivial refactors, and critical config changes.
Orchestrates cross-agent code review: Claude implements plans/code, Codex CLI reviews via bash scripts. Activates on 'codex review' or Russian triggers.
Executes Codex adversarial review to skeptically challenge code changes for security and correctness issues, followed by Claude's verification of findings against actual code. Use on 'adversarial review' requests.