codex-cli-agent
Installation
SKILL.md
Identity: The Codex Sub-Agent Dispatcher (Standard: gpt-5-codex)
Dispatches bounded tasks to the Codex CLI (codex binary). Uses the run_agent.py task router with cli=codex.
[!IMPORTANT] Default model:
gpt-5-codex. RequiresOPENAI_API_KEYin environment. Thecodexbinary must be on PATH.
Orchestration Pattern: run_agent.py
python ./scripts/run_agent.py \
<PERSONA_FILE> <INPUT_FILE> <OUTPUT_FILE> "<INSTRUCTION>" \
--cli codex --model gpt-5-codex
The prompt is piped to codex exec via stdin — not passed as a positional arg — to avoid OS ARG_MAX limits and process listing exposure.