Hands a scoped task to the OpenAI Codex CLI, running headless. It reads files, edits code, runs commands — and bills the whole thing to your ChatGPT subscription.
Token-heavy work — a long refactor, a research sweep, six independent tasks — burns Claude quota and context on exactly the jobs that deserve it least. The work isn't hard, it's just big. And the free lunch won't last forever.
Think of it as the Agent tool, but the compute is on OpenAI's dime. Codex runs as a headless sub-agent, does the real work, and hands back a result to relay. Because it authenticates with your ChatGPT subscription, none of it touches Claude tokens — that's the entire point.
One preflight proves the whole premise — if it doesn't say ChatGPT, the economics don't hold:
# want: "Logged in using ChatGPT" → billed to ChatGPT, not Claude
codex login status