codex-plan-reviewer
Installation
SKILL.md
Codex Plan Reviewer
Purpose
Use OpenAI Codex CLI as an adversarial reviewer for markdown plan files authored by Claude Code. The two models engage in a structured review loop: Codex critiques the plan, Claude Code evaluates each piece of feedback, applies what's valid, escalates disagreements to the user, and resubmits until Codex approves — or the loop cap is reached.
This creates a cross-model checks-and-balances system where neither model operates unchecked.
Prerequisites
codexCLI installed and authenticated (npm install -g @openai/codexor equivalent)- The plan must be a markdown file (
.md) accessible in the working directory or a provided path
Before starting, verify codex is available:
command -v codex >/dev/null 2>&1 || { echo "ERROR: codex CLI not found. Install with: npm install -g @openai/codex"; exit 1; }