/codex-orchestrator:codex-orchestrator-orchestratefrom codex-orchestrator
Coordinates a single focused Codex-agent cycle (planning, implementation, review, or verification) within an orchestration run, managing execution logs, handoffs, and role-based agent prefixes.
Ships in codex-orchestrator. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Claude coordinates and verifies focused agent work. Codex handles scoped implementation and review and can provide optional planning input through its native CLI. Prefer Codex as the first mover for bounded coding tasks; Claude retains final planning and acceptance authority.
Use this skill for one focused agent cycle inside an orchestration run. The workflow skill owns planning, run initialization, task decomposition, closure, and reporting. Return to it when the focused phase is complete.
Keep run material under:
.codex-orchestrator/runs/<run-id>/
journal.jsonl
<provider>-<role>-<NN>/execution-<NN>/
prompt.md
events.jsonl
handoff.md
evidence/ # optional
report.md # after run_closed
journal.jsonl is Claude's append-only orchestration journal. Read
${CLAUDE_PLUGIN_ROOT}/docs/orchestration-contract.md before creating or interpreting journal
entries; it owns record fields, authority, validation, and closure semantics.
Capture each execution's exact prompt, raw events when available, and exact handoff. Never
synthesize a log or rewrite a handoff. Keep small observations inline and create evidence/ only
when material output must be retained.
Use only the canonical role and matching persistent-agent prefix for new Codex executions:
| Role | Agent prefix | Use |
|---|---|---|
implementation | codex-impl-NN | Implement scoped work and resume focused fixes. |
review | codex-review-NN | Independently review implementation work. |
planning | codex-plan-NN | Optionally propose an independent approach. |
planning_review | codex-plan-review-NN | Optionally critique Claude's draft plan. |
When .codex-orchestrator/config.ini exists, inspect the role with config show, select one
allowed reasoning effort using the workflow rubric, and pass that concrete selection to the
runner. When the role allows more than one model, select one with the same rubric and pass it with
the runner's --model. Record the selected effort and any policy-supplied model and
service_tier in execution before launch. Reselect effort for a resume because the next prompt
may have different breadth or context needs; a resumed session keeps its recorded model.
When the file is absent, still pass repository and role metadata to the runner but omit
--reasoning-effort and --model; the runner must not create configuration or alter the child
Codex command. Never silently change a configured model, effort, or service tier after a
compatibility or entitlement failure.
Issue every Codex launch or resume directly from the current orchestrating Claude Code session
through its Bash tool, with run_in_background: true and description set to the exact named agent
(e.g. codex-impl-01). That Bash call registers the shell in /tasks, with description as its
title. Keep the runner command in that background task's foreground. Do not wrap or detach the
runner with shell &, nohup, setsid, disown, a fire-and-forget subprocess, a nested Claude
agent, or an external terminal; those start Codex without registering this shell in the current
session's /tasks view. --label also does not register a task. Proceed only after Bash returns a
task or shell ID; otherwise stop and diagnose rather than launching a duplicate.
files.execution before launch.
Start it under the Claude Code Background Launch Invariant above.execution_result.verification.decision.complete when they are satisfied, failed when they
are conclusively unmet and no in-scope recovery remains, or blocked when a user or external
dependency prevents completion or judgment. Otherwise keep the task active and return the
unresolved work to the workflow.Routine bounded work needs Codex implementation plus Claude verification. Add a fresh reviewer only for material risk or a distinct unresolved question; do not repeat identical reviews.
Read only what the current phase needs:
references/monitoring.md: execution capture, CLI monitoring, and handoffs.references/planning.md: independent planning and plan-review context boundaries.references/review.md: verification and independent review.references/consensus.md: consensus and decision outcomes.references/compute.md: parallel ownership, worktrees, and compute gating.What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/codex-orchestrator-duetAsk Claude and GPT (through Codex) the same prompt and return one aggregated answer./codex-orchestrator-reportAuthor the final report from a completed orchestration run after its descriptive close check./codex-orchestrator-workflowRun the full Codex orchestration workflow end to end.npx claudepluginhub alexzh3/codex-orchestrator --plugin codex-orchestratorOther plugins' skills for the same job