Claude–Codex Orchestrator Plugin

A Claude Code plugin for coordinating OpenAI Codex agents. Claude owns the plan and verifies the
work; Codex provides optional planning input and handles scoped implementation and review through
its CLI.
What It Does
Use this plugin when you want Claude Code to supervise Codex rather than manually relay context
between the two tools. It helps Claude:
- assign or resume scoped Codex agents;
- request independent Codex planning or plan review when it materially reduces risk;
- monitor active Codex agents;
- preserve exact prompts, event streams, and handoffs;
- independently verify results and record consequential decisions.
Why This Approach?
1. Different Models Catch Different Mistakes
Claude and Codex come from different model families and harnesses, so they can catch different mistakes.
Work on heterogeneous ensembles—including LLM-Blender, Mixture-of-Agents, and FrugalGPT—supports combining distinct models while warning against blind majority agreement.
This plugin asks Claude to resolve disagreements from inspectable evidence rather than model votes.
2. Claude Maintains Global Context
Claude tracks the overall goal, agent history, verification, and decisions while Codex receives
focused execution tasks. Anthropic's
1M context release supports using Claude for this broader
context.
Large context windows are not enough on their own.
Context Rot shows that performance can decline as context grows.
Durable prompts, handoffs, repository state, and journal entries preserve the context that matters.
3. Native Harnesses Matter
Agent performance depends on more than the underlying model.
Shell and file access, session history, approvals, sandboxing, event streams, and harness-specific prompting all affect the result.
The Terminal-Bench 2.1 leaderboard reflects this by evaluating agent-and-model pairs rather than models in isolation.
The plugin therefore lets Codex work through its native CLI while Claude remains in Claude Code as planner, orchestrator, and reviewer.
Requirements
- Claude Code in an IDE or terminal.
- OpenAI Codex CLI.
- Python 3.10 or newer for the bundled tools.
- A Git repository (except for
duet).
- A meaningful verification path such as tests, typecheck, lint, build, benchmark, screenshot, or
manual inspection.
Installation
From Claude Code:
/plugin marketplace add alexzh3/codex-orchestrator
/plugin install codex-orchestrator@codex-orchestrator
/reload-plugins
Usage
Use orchestrate for one focused phase and workflow for the complete end-to-end process. Use
duet to ask Claude and GPT the same question and get one combined answer.
| Command | Purpose |
|---|
/codex-orchestrator:orchestrate | Run a focused execution, review, monitoring, or verification phase within a run. |
/codex-orchestrator:workflow | Run planning through execution, verification, closure, and report. |
/codex-orchestrator:report | Author report.md from an already closed run. |
/codex-orchestrator:duet <prompt> | Ask Claude and GPT (through Codex) the same prompt and aggregate their answers. |
For example, to review a change within an existing run:
/codex-orchestrator:orchestrate
In run <run-id>, have a fresh Codex agent review commit <sha> against its task requirements.
Do not modify the target. Independently verify every material finding.
To ask both models the same question, without starting a run:
/codex-orchestrator:duet Why does the monitor report a stalled agent while events are still arriving?
Claude answers before reading GPT's answer, then returns one aggregated answer.
The operating instructions live in skills/orchestrate/SKILL.md,
skills/workflow/SKILL.md,
skills/report/SKILL.md, and
skills/duet/SKILL.md.
Workflow
The /codex-orchestrator:workflow command runs this full flow, from planning and scoped execution
through verification and reporting: