Claude plans & executes → Codex reviews → auto-fix — works for features, fixes, refactoring, and any task needing design-first approach. Auto cross-model fallback
From omcxnpx claudepluginhub jhcdev/omc-codex --plugin omcx<feature or task description>Claude designs and implements (deep reasoning + codebase context). Codex validates (fast structured review + adversarial challenge). When either model is unavailable, the other takes over automatically.
| Phase | Primary | Fallback |
|---|---|---|
| Plan | Claude Opus | Codex task |
| Build | Claude ralph | Codex rescue --write |
| Review | Codex review | Claude code-reviewer |
| Fix (simple) | Codex rescue | Claude ralph |
| Fix (complex) | Claude ralph | Codex rescue |
User request: $ARGUMENTS
Primary: Claude Opus — Invoke oh-my-claudecode:plan with the user's request.
Fallback: Codex — If Claude unavailable:
node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" task --json "Design an implementation plan for: $ARGUMENTS. Output a numbered step-by-step plan."
Save the plan output — this becomes the implementation spec.
Primary: Claude ralph — Claude understands the full codebase and can implement complex plans.
Invoke oh-my-claudecode:ralph with:
Implement the following plan precisely. Run tests after each step. [plan from Phase 1]
Fallback: Codex — If Claude unavailable (rate limit, quota, context limit):
/codex:rescue --write with remaining plan stepsPrimary: Codex — A different model reviewing catches blind spots.
node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" review --wait --json
Fallback: Claude — If Codex unavailable:
Use oh-my-claudecode:code-reviewer agent.
verdict === "APPROVE" or no critical/high findings → done/codex:rescue --resumeSummarize: