What problem does it solve? Orchestrating an autonomous coding agent from another agent or automation pipeline is error-prone: interactive prompts block execution, sessions lose context, and runaway loops burn budget. This Skill provides a complete operational guide for delegating coding work to the Codex CLI reliably. ## Core Features & Use Cases - Two Orchestration Modes: Non-interactive print mode (-p) for one-shot tasks and CI pipelines, plus tmux-based interactive PTY sessions for multi-turn iterative work. - Structured Output & Session Control: JSON output with --output-format json, schema-validated extraction via --json-schema, and session resumption with --resume and --fork-session. - Safety & Cost Controls: Permission modes, --allowedTools whitelists, --max-turns, --max-budget-usd, and PTY dialog handling for trust and permission prompts. - Use Case: Pipe a git diff into Codex for automated PR review, run three parallel tmux sessions to fix a bug, write tests, and update docs simultaneously, then capture results as JSON for downstream processing. ## Quick Start Ask the agent to run Codex in print mode with a task like fixing a bug in a specific file, limiting it to Read and Edit tools with a maximum of 10 turns.