Delegates implementation, fix, or investigation tasks to Codex via companion plugin, reviews results with git diffs, code evaluation, and saves reports. Use for 'codex rescue' 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.
Hand off a task to Codex via the Official companion's task subcommand. When Codex finishes, Claude reviews what was done.
CODEX_COMPANION=$("${CLAUDE_PLUGIN_ROOT}/scripts/resolve-companion.sh")
If resolve fails: direct to /codex-setup immediately. Do NOT proceed.
Record current state so we can diff after Codex runs:
git diff --stat
git stash list | head -1
Use the $CODEX_COMPANION resolved in Step 1:
node "$CODEX_COMPANION" task --write $ARGUMENTS
Pass through flags that companion supports: --background, --write, --model, --effort, --resume-last, --fresh.
Default to --write (Codex needs write access to implement fixes). If user explicitly asks for read-only investigation, omit --write.
Timeout: 300000ms (5 minutes) for foreground. Background tasks are tracked via /codex:status.
| 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.
git diff
git diff --stat
Review each changed file — read the actual code
Evaluate:
Report:
## Codex Implementation Review
### Changes Made
<git diff --stat>
### Evaluation
- [file]: [assessment]
### Agreement: <High|Partial|Disagreement>
### Verdict
<appropriate / has issues>
Apply standard Peer AI Evaluation from evaluation.md.
mkdir -p "${CLAUDE_PLUGIN_DATA}/reviews"
Save to ${CLAUDE_PLUGIN_DATA}/reviews/rescue-<YYYYMMDD-HHMMSS>.md.
/codex:status (Official command).