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.
From codex-advisornpx claudepluginhub leejuoh/claude-code-zero --plugin codex-advisorThis skill is limited to using the following tools:
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Calculates TAM/SAM/SOM using top-down, bottom-up, and value theory methodologies for market sizing, revenue estimation, and startup validation.
Invoke the Official Codex companion's adversarial review, then apply Claude's critical evaluation. Adversarial review defaults to skepticism — it looks for reasons NOT to ship.
CODEX_COMPANION=$("${CLAUDE_PLUGIN_ROOT}/scripts/resolve-companion.sh")
If resolve fails: direct to /codex-setup immediately. Do NOT fall back to a Claude-only solo review.
Use the $CODEX_COMPANION resolved in Step 1:
node "$CODEX_COMPANION" adversarial-review --wait $ARGUMENTS
Timeout: 300000ms (5 minutes).
| Error | Action |
|---|---|
| "not authenticated" in stderr | Auth required → suggest codex login |
| Other error | Show raw error, don't retry silently |
Read ${CLAUDE_PLUGIN_ROOT}/references/evaluation.md.
Adversarial findings are intentionally skeptical. For each finding:
Be especially rigorous here. Adversarial review produces more false positives by design.
Present to user:
mkdir -p "${CLAUDE_PLUGIN_DATA}/reviews"
Save to ${CLAUDE_PLUGIN_DATA}/reviews/adversarial-<YYYYMMDD-HHMMSS>.md.