← ClaudeAtlas

codexlisted

Run OpenAI Codex (the `codex` CLI, GPT models) as a managed subagent from Claude Code — start work in the background and get a run handle back immediately, watch its live event log at a controlled level of detail, interrupt and redirect a run, resume any earlier Codex thread including ones started in the Codex TUI, and collect results as text or schema-validated JSON. Use whenever work is being handed to Codex or GPT, when a second independent model should look at something, when an external agent should keep working while Claude does something else, or when an earlier Codex session needs continuing. Also covers Codex CLI setup, auth, sandbox and config diagnosis. Triggers include: codex, 코덱스, 코덱스로, 코덱스한테, ���덱스에게, GPT, GPT한테, GPT에게 시켜, delegate to codex, run with codex, ask GPT, resume codex. Not for Claude's own subagents, the Task tool, or background Bash — those are Claude doing the work itself. Not for Codex Cloud or `codex mcp-server` / `app-server`.
tjdwls101010/Codex-in-Claude · ★ 0 · AI & Automation · score 73
Install: claude install-skill tjdwls101010/Codex-in-Claude
# Codex as a managed subagent One CLI wraps the whole surface. Your context already carries a line reading **`Base directory for this skill: <dir>`** — the bridge is `<dir>/scripts/codex_bridge.py`. Use that absolute path, double-quoted, in every call: ```bash python3 "<base directory>/scripts/codex_bridge.py" status ``` Below, `$CODEX` is shorthand for that literal `python3 "<base directory>/scripts/codex_bridge.py"` — write it out in full when you run it. **Do not build the path from an environment variable.** `$CLAUDE_PLUGIN_ROOT` and `$CLAUDE_SKILL_DIR` are both empty in the Bash environment, even for a plugin install — `$CLAUDE_PLUGIN_ROOT` is expanded in permission rules, which is a different layer from the process environment. And because this skill's pre-approved permission pattern matches the command *text*, a call written as `python3 "$SOMEVAR/…"` is not covered by it and raises an approval prompt every time, which is exactly what makes background work unusable. **Write each call on one line.** The same text matching means a command broken across lines with a trailing `\` does not match the pattern either, and gets refused. This bites where it is least convenient: `batch start` with several `--task` flags is long, long commands invite line continuations, and a refused `batch start` is the whole batch. `$CODEX --help` lists the commands. `$CODEX <command> --help` is the option surface — every flag, its default, what it refuses and why. None of that is repeated