From codex-dispatch
Dispatch a prompt to OpenAI Codex (gpt-5.6 sol/luna/terra) and get a synthesized answer back, like delegating to a subagent. Use when the user wants a second opinion from Codex/GPT, a cross-model check, or to offload a self-contained analysis or coding task to Codex. Also triggered by the /codex slash command.
How this skill is triggered — by the user, by Claude, or both
Slash command
/codex-dispatch:codex-dispatchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Route a self-contained task to an external model — **OpenAI Codex, gpt-5.6 family** — and bring back a synthesized answer. Codex acts as a subagent-style worker; you (the main agent) orchestrate and digest the result. Codex does **not** see this conversation, so every dispatch must be self-contained.
Route a self-contained task to an external model — OpenAI Codex, gpt-5.6 family — and bring back a synthesized answer. Codex acts as a subagent-style worker; you (the main agent) orchestrate and digest the result. Codex does not see this conversation, so every dispatch must be self-contained.
Invoked as gpt-5.6-<variant>:
sol — fast, the default driverluna — balancedterra — deepest reasoning; use for hard analysis and architectureUse the helper script — do not hand-roll the codex exec invocation:
CODEX_DISPATCH_DIR="<session-scratchpad>" \
"${CLAUDE_PLUGIN_ROOT}/skills/codex-dispatch/dispatch.sh" <variant> "<self-contained prompt>"
CODEX_DISPATCH_DIR at your session scratchpad so the raw log and final-message files stay out of the user's repo.CODEX_SANDBOX=read-only for a pure advisory pass, or CODEX_SANDBOX=danger-full-access only when explicitly needed.The helper prints these paths on stderr:
CODEX_FINAL_MSG=<path> — Codex's clean final message (read this)CODEX_RAW_LOG=<path> — full event trace: reasoning, tool calls, output (skim as needed)CODEX_EXIT=<n> — exit statusRead CODEX_FINAL_MSG.CODEX_RAW_LOG path for full detail.On non-zero exit, surface the tail of the raw log and the exit status instead of a synthesis.
gpt-5.6-{sol,luna,terra}; the default in ~/.codex/config.toml is gpt-5.6-sol. If OpenAI renames a variant, edit the case map in dispatch.sh.codex CLI installed and authenticated (codex login).Guides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Resolves in-progress git merge or rebase conflicts by analyzing history, understanding intent, and preserving both changes where possible. Runs automated checks after resolution.
npx claudepluginhub 0-to-1-labs/claude-marketplace --plugin codex-dispatch