codex-exec
Installation
SKILL.md
Codex Exec Skill
Execute OpenAI Codex CLI prompts in non-interactive mode and return structured results. Enables Claude + Codex hybrid workflows.
Options
<prompt> Required. The prompt to send to Codex CLI
--json Return structured JSON Lines output
--output <path> Save final message to file
--model <name> Model override (default: Codex CLI default model)
--timeout <ms> Execution timeout (default: 120000, max: 600000)
--full-auto Enable auto-approval mode (codex -a full-auto)
--working-dir Working directory for Codex execution
--effort <level> Set reasoning effort level (minimal, low, medium, high, xhigh)
Maps to Codex CLI's model_reasoning_effort config
Default: uses Codex CLI's configured default
Recommended: xhigh for research/analysis tasks