From omcx
Claude plans & executes → Codex reviews → auto-fix — works for features, fixes, refactoring, and any task needing design-first approach. Auto cross-model fallback
How this command is triggered — by the user, by Claude, or both
Slash command
/omcx:auto-plan <feature or task description>This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Auto-Plan: Design → Build → Validate Cycle 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.** ## Cross-Model Fallback | 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 | ## Workflow User request: ...
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:
npx claudepluginhub jhcdev/omc-codex --plugin omcx