/conjure:codex-delegationfrom conjure
Delegates tasks to OpenAI's Codex CLI via `codex exec`. Useful when delegation-core selects Codex for a second opinion from a non-Anthropic model.
Ships in conjure. 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.
None: SKILL.md is the whole skill.
OpenAI's Codex CLI ships as npm @openai/codex and installs a codex
binary. Its headless entry point is codex exec, which takes the
prompt as a positional argument and reuses saved CLI credentials.
delegation-core selected codex for the taskcodex login has never succeeded there.
See the login caveat belownpm install -g @openai/codex
Homebrew and a curl installer are also documented upstream.
Either persist an API key or log in interactively:
printenv OPENAI_API_KEY | codex login --with-api-key
Verification runs codex login status, which reports one of "Logged
in using an API key", "Logged in using ChatGPT", "Logged in using
Agent Identity", or "Not logged in". The service uses that probe
rather than checking a single variable, because either credential
path is valid and only the probe sees both.
CODEX_API_KEY scopes a credential to a single codex exec run.
uv run python scripts/delegation_executor.py codex "Explain this module" \
--files src/
make -C plugins/conjure delegate-codex PROMPT='Explain this module'
codex exec "Explain the retry logic in this package"
codex declares the code_execution strength and ranks behind gemini,
qwen, minimax, glm and muse in the candidate order. It declares no
model ids, so smart_delegate leaves model selection to the CLI.
| Property | Value |
|---|---|
| Binary | codex |
| Package | @openai/codex |
| Headless form | codex exec <prompt> |
| Prompt delivery | positional, stdin also supported |
| Version probe | codex --version |
| Auth probe | codex login status |
| Structured output | codex exec --json |
Login caveat worth knowing before scripting this: an open issue
(openai/codex#9253) reports that codex login fails outright on
headless hosts, over SSH or in containers, unless a workspace
administrator has separately enabled device-code auth. That is a
single reporter's account with no maintainer confirmation, but it is
the failure mode to check first when codex exec will not run
unattended. Persisting an API key beforehand avoids it.
codex resolves on PATH and answers codex --versioncodex login status reports a logged-in state rather than "Not
logged in"codex exec <prompt> with the prompt last
and no prompt flag before itdelegations/codex/YYYYMMDD_HHMMSS.mddelegation-core selected codexWhat SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/agent-teamsCoordinates Claude agent teams over a filesystem protocol. Use for parallel agents with task dependencies./delegation-coreDelegates execution to external CLIs (Gemini, Qwen, MiniMax, GLM, Muse, Codex, OpenCode, Glimmer). Use for execution tasks. Do not use for secrets./gemini-delegationDelegates to the Gemini CLI. Use when delegation-core selects Gemini or 1M+ token context is needed./glimmer-delegationDelegates to a local Muse Glimmer via ollama. Use when the prompt must not leave the machine./glm-delegationDelegates tasks to Z.ai GLM-5.x via the stock claude binary and an endpoint swap. Use when delegation-core selects GLM or a 1M-token context is needed./minimax-delegationDelegates to the MiniMax CLI (mmx). Use when delegation-core selects MiniMax or for large-context batch work.npx claudepluginhub athola/claude-night-market --plugin conjureOther plugins' skills for the same job