/codex:ask-codex [question] [--model <m>] [--effort <e>]from codex
Ask OpenAI Codex a free-form question for a cross-model second opinion — an explanation, a plan/approach review, a repo question, or a take on a diff, answered by a different provider's model. Use when the user wants Codex's view — "ask Codex how X works", "what would Codex do here", "get Codex's opinion on this approach", "ask Codex about this repo". With a question it runs immediately; with no question it suggests 2–4 context-derived questions to choose from. Read-only — Codex inspects the repo but changes nothing. Surfaces Codex's answer verbatim, then stops. It does NOT edit files or run a write task (that is delegate-codex), and it does NOT answer as Claude when Codex is unavailable (it reports and stops, fail-open). Needs an OpenAI-authenticated Codex CLI.
Ships in codex. 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.
Get a cross-model answer from OpenAI Codex to a free-form question — explain / review a plan / repo Q&A / opinion on a diff. You compose a grounded prompt and route it through the bridge; the run is read-only and you surface Codex's answer verbatim, then stop. This skill never runs without a question and never answers as Claude in Codex's place.
Codex availability (probed at load):
!python3 "${CLAUDE_PLUGIN_ROOT}/scripts/codex_bridge.py" --probe
!python3 "${CLAUDE_PLUGIN_ROOT}/scripts/codex_bridge.py" --resolve-defaults
Arguments: $ARGUMENTS
First, read ${CLAUDE_PLUGIN_ROOT}/references/shared-behavior.md — it governs untrusted-output
handling, prompt composition, the --model/--effort override picker, the exact bridge call,
exit-code branching, fail-open, verbatim+delimited output, and the session id. The rules below
are ask-specific.
Proceed only when the probe above shows CODEX: YES (only the CODEX: YES verdict matters;
whatever text follows it is an informational reason that may change — ignore it). Any other line
— a CODEX: NO … line, a blank line, or an error / denied result — means Codex is unavailable:
tell the user (quote the line) and stop — do not compose a prompt, do not call the bridge,
do not answer as Claude. A denied or failed probe is never a crash; it just means Codex couldn't
be reached.
--model/--effort.
Resolve overrides per the shared rules.AskUserQuestion offering 2–4 suggested questions
derived from the conversation context (the built-in "Other" covers a freeform question —
do not add a manual freeform option). If the conversation is sparse (no basis for
repo-specific suggestions), ask the user to type a question rather than inventing
misleading suggestions.references/ask.md), including the explicit
"do not modify any files" line (defense-in-depth atop the read-only sandbox). Let Codex
ground itself in the repo — don't paste large context blobs.--review, no --write) and branch on
the exit code (shared). On a skipped/errored/unrecoverable result, report the one
diagnostic line and stop — never answer as Claude.Show Codex's answer verbatim and in full, append the session-id metadata block (shared), and stop.
What SKILL.md sets; muted values are Claude Code's defaults
opusmediumnpx claudepluginhub zakattack9/agentic-coding --plugin codexOther plugins' skills for the same job
3 skills in this plugin
/delegate-codexHand a write task to OpenAI Codex and let it edit the working tree — a cross-model "go implement this" to a different provider's model. User-invoked only. Use when you want Codex (not Claude) to make the change — "delegate this to Codex", "have Codex implement X", "let Codex fix this in the repo". With a task it runs immediately in a workspace-write sandbox; with no task it suggests 2–4 context-derived tasks to choose from. One foreground run — it surfaces Codex's output and the resulting git diff (attributing Codex's edits vs any pre-existing changes) and leaves the edits uncommitted and unstaged. It does NOT commit, stage, branch, retry, or auto-fix; it does NOT apply edits as Claude when Codex is unavailable (it reports and stops, fail-open); and it is NOT for read-only review/Q&A (use review-codex / ask-codex). Needs an OpenAI-authenticated Codex CLI./review-codexHand the current diff or a named target to OpenAI Codex for one read-only, cross-model code review that reports only blocking (P0) and must-fix (P1) findings, each with evidence or marked unproven. Use when the user wants Codex to review their work — "have Codex review this", "get Codex's take on the diff", "cross-model review of my changes", "what does Codex think of this code" — or to recheck fixed findings ("recheck these with Codex", `--recheck <findings file>`), which runs in a fresh Codex session that sees the evidence, not the author's argument. With no argument it reviews the uncommitted working tree. Surfaces the findings verbatim, then stops. It does NOT fix anything, does NOT loop review rounds, and does NOT run Claude and Codex side by side. When Codex is unavailable it runs the same review once in a fresh read-only Claude subagent and labels it as the fallback.