Download for MacApple silicon, macOS 14+
Skill

codex-subagent

@davidondrej Updated 2026-10-28

Launch OpenAI Codex CLI as a subagent (ChatGPT subscription auth, no API key). Use when delegating a self-contained coding task to Codex from another agent — parallel implementation work, a second opinion, or an independent verification pass.

Install

With your agent

Install OMGSkills skill "davidondrej/skills:codex-subagent" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/davidondrej/skills /tmp/skills && ln -s /tmp/skills/skills/agent-orchestration/codex-subagent ~/.claude/skills/codex-subagent

From README

Codex CLI as a Subagent Codex CLI is OpenAI's terminal coding agent. codex exec runs it non-interactively: it works autonomously in a sandbox, streams progress to stderr, and prints only the final message to stdout. Auth reuses the user's ChatGPT subscription — never an API key. When to delegate Self-contained coding task with clear success criteria (fix, feature, refactor, review). Parallel work: several independent tasks at once (see Parallel runs). Second opinion / independent verification of your own changes. Do NOT delegate tasks that need conversation context you can't fully write into the prompt. Preflight Not logged in → stop and tell the user to run codex login (one-time browser OAuth). Never read, print, or copy credentials (/.codex/auth.json). Launch Always use GPT 5.6 Sol (gpt-5.6-sol). Default reasoning effort to high. Pass both flags explicitly on every new Codex run. Do NOT use Codex fast mode.