By jhcdev
Cross-model orchestration for Claude Code — Claude builds, Codex validates. Blind TDD, adversarial stress testing, mixed-model teams, and automatic fallback.
Run a Codex review that challenges the implementation approach and design choices
Claude plans & executes → Codex reviews → auto-fix — works for features, fixes, refactoring, and any task needing design-first approach. Auto cross-model fallback
Claude iterates until done → Codex validates — works for any task needing persistence: features, bugs, refactoring, migration. Auto Codex fallback
Cross-model validation: Codex reviews → Claude synthesizes — with fallback when either model is unavailable
Blind TDD: one model writes tests/checks from spec, the other implements/fixes from those tests — works for new features, bug fixes, refactoring, and any task where independent verification matters
Internal helper contract for calling the codex-companion runtime from Claude Code
Internal guidance for presenting Codex helper output back to the user
Internal guidance for composing Codex and GPT-5.4 prompts for coding, review, diagnosis, and research tasks inside the Codex Claude Code plugin
Uses power tools
Uses Bash, Write, or Edit tools
No model invocation
Executes directly as bash, bypassing the AI model
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Runs pre-commands
Contains inline bash commands via ! syntax
Runs pre-commands
Contains inline bash commands via ! syntax
Two AI models enter. Better code leaves.
Bridge between oh-my-claudecode and OpenAI Codex — each model handles what it's best at, with automatic cross-model fallback when either is unavailable.
Claude and Codex each have distinct strengths. This plugin assigns each model to the role it excels at and automatically falls back when either is unavailable:
| Role | Primary | Fallback |
|---|---|---|
| Planning & architecture | Claude (deep reasoning) | Codex |
| Complex implementation | Claude ralph (multi-file context) | Codex rescue --write |
| Structured code review | Codex (fast, JSON output) | Claude code-reviewer |
| Adversarial review | Codex (skeptical stance) | Claude architect |
| Quick scoped fixes | Codex (sandboxed, fast) | Claude ralph |
| Synthesis & decisions | Claude (prioritization) | Codex task |
When Claude hits rate limits, quota, or any error → Codex takes over automatically. When Codex is unavailable → Claude agents cover all roles. Work never stalls.
# The complete forge: plan → blind TDD → build → stress harden → review → ship
/omcx:forge implement payment processing with refund support
# Quick feature with full cross-model pipeline
/omcx:pipeline implement user notification system with email and slack
# Claude grinds + Codex validates in a loop until both agree
/omcx:auto-ralph fix all TypeScript errors and make tests pass
# 3 Claude agents + 2 Codex agents build in parallel
/omcx:team 3:claude:executor,2:codex implement the entire auth subsystem
# Adversarial hardening: Codex attacks, Claude defends
/omcx:stress src/payment/processor.ts
One-liner install:
curl -fsSL https://raw.githubusercontent.com/jhcdev/omc-codex/main/install.sh | bash
This automatically:
~/.claude/plugins/marketplaces/omc-codex~/.claude/settings.jsonThen in Claude Code:
# 1. Reload plugins
/reload-plugins
# 2. (Optional) Install & auth Codex CLI for full cross-model power
npm install -g @openai/codex && codex login
# 3. Run your first forge:
/omcx:forge add search feature to the API
# 1. Clone the plugin
git clone https://github.com/jhcdev/omc-codex.git ~/.claude/plugins/marketplaces/omc-codex
# 2. Add to ~/.claude/settings.json (see Configuration below)
# 3. Install Codex CLI & authenticate (optional)
npm install -g @openai/codex
codex login
# 4. Reload in Claude Code
/reload-plugins
🧠 Claude planned the search architecture
🧪 Codex wrote tests from spec (blind — never saw Claude's plan)
🔨 Claude built the feature from tests (blind — tests were the spec)
⚔️ Codex tried to break it with adversarial inputs
🛡️ Claude fixed every vulnerability Codex found
🔍 Codex gave a final structured review
📊 Result: battle-tested code verified by two AI model families
Add to ~/.claude/settings.json:
{
"enabledPlugins": {
"omcx@omc-codex": true
},
"extraKnownMarketplaces": {
"omc-codex": {
"source": {
"source": "url",
"url": "https://raw.githubusercontent.com/jhcdev/omc-codex/main/.claude-plugin/marketplace.json"
}
}
}
}
| Tool | Required | Notes |
|---|---|---|
| Node.js >= 18.18 | Yes | Runtime |
| Claude Code v2.1+ | Yes | Host environment |
| oh-my-claudecode | Yes | Core orchestration layer |
Codex CLI (@openai/codex) | Optional | Falls back to Claude agents if missing |
Each model is assigned to phases where it performs best:
When one model is unavailable, the other covers all roles:
npx claudepluginhub jhcdev/omc-codex --plugin omcxv9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.
Give Claude Code a second opinion using OpenAI Codex - automatic plan review via hooks
Delegate plan execution to Codex CLI via ASP. Part of cc-multi-cli-plugin. Requires the `multi` plugin.
Describe your goal, approve the spec, then step away — Claude and Codex loop together until it's right.
Complete collection of battle-tested Claude Code configs from an Anthropic hackathon winner - agents, skills, hooks, and rules evolved over 10+ months of intensive daily use
Autonomous session orchestrator for Claude Code - manages multi-phase development workflows