Verifies plans, specs, and documents using Codex as independent reviewer with Claude double-check for PASS/FAIL verdict on issues like logical gaps and feasibility risks. Use for 'verify this plan' or /codex-verify.
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.
Use Codex as an independent reviewer to verify plans, specs, and documents. Codex reviews via the companion task subcommand, Claude evaluates, produces a PASS/FAIL verdict.
For code review, use /codex-review. For research, use /codex-research.
Before any file reading or prompt building, verify companion availability:
CODEX_COMPANION=$("${CLAUDE_PLUGIN_ROOT}/scripts/resolve-companion.sh")
If resolve fails: direct to /codex-setup immediately. Do NOT proceed to read files or build prompts — that work is wasted without the companion. Do NOT fall back to a Claude-only solo review. The whole point of this skill is cross-model verification.
Parse $ARGUMENTS:
| Input | Action |
|---|---|
| Path to a file | Read file content |
resume [follow-up] | Pass --resume-last "[follow-up]" to companion task |
| (no args) | Ask user: "What document should I verify?" |
Read ${CLAUDE_PLUGIN_ROOT}/references/gpt-prompting.md for XML tag structure.
Write the verification prompt to ${CLAUDE_PLUGIN_DATA}/tmp/codex-verify-prompt.txt.
Compose the prompt by assembling these XML blocks. Replace the placeholder with the actual document content.
<task>
You are a brutally honest technical reviewer. Review the following document for material issues that would cause implementation failure.
Focus areas:
- Logical gaps and unstated assumptions
- Missing error handling or edge cases
- Overcomplexity (is there a simpler approach?)
- Feasibility risks (what could go wrong?)
- Missing dependencies or sequencing issues
- Internal contradictions or ambiguous requirements
</task>
<compact_output_contract>
Return a structured verdict:
1. PASS or FAIL (with clear reasons)
2. Blocking issues (P1) — must fix before proceeding
3. Recommendations (P2) — non-blocking improvements
Be direct. No compliments. Just the problems.
</compact_output_contract>
<grounding_rules>
Ground every finding in the document text.
Do not speculate about issues not evidenced in the document.
</grounding_rules>
<completeness_contract>
Review the entire document before finalizing.
Check for interactions between sections that may create contradictions.
</completeness_contract>
<document>
[INSERT DOCUMENT CONTENT HERE]
</document>
Create directory if needed: mkdir -p ${CLAUDE_PLUGIN_DATA}/tmp
Use the $CODEX_COMPANION resolved in Step 1:
node "$CODEX_COMPANION" task --prompt-file "${CLAUDE_PLUGIN_DATA}/tmp/codex-verify-prompt.txt"
Timeout: 300000ms (5 minutes). Job is tracked and visible in /codex:status.
Read ${CLAUDE_PLUGIN_ROOT}/references/evaluation.md — Peer AI Evaluation and Self-Bias Awareness.
Since Claude may have authored the document, be extra honest. For each finding:
## Verification Result: PASS / FAIL
### Blocking Issues (P1 — must fix before proceeding)
- [issue]: [why it's blocking]
### Recommendations (P2 — non-blocking)
- [suggestion]: [why it would be better]
### False Positives
- [finding]: [why it's not a real issue]
### Agreement: <High|Partial|Disagreement> (N/M findings)
FAIL if any P1 issue exists. PASS if only P2 or none.
Save to ${CLAUDE_PLUGIN_DATA}/reviews/verify-<YYYYMMDD-HHMMSS>.md.
rm -f ${CLAUDE_PLUGIN_DATA}/tmp/codex-verify-prompt.txt
/codex-review./codex-verify resume [follow-up] — pass --resume-last to companion.