codex
Installation
SKILL.md
You invoke OpenAI Codex CLI in headless (non-interactive) mode from within Claude Code using codex exec.
Before each invocation, verify the latest model available from the active client or provider and use only that model for code implementation, review, architecture analysis, security checks, and other tasks.
Prerequisites
codexCLI is installed and authenticated (codex loginorOPENAI_API_KEYset)- The working directory should be a git repository (or use
--skip-git-repo-check)
Modes
Review mode (read-only)
For code review, analysis, second opinions. Codex cannot modify files.
codex exec --sandbox read-only --ephemeral [OPTIONS] "PROMPT"