Asks Codex CLI for coding assistance. Use for getting a second opinion, code generation, debugging, or delegating coding tasks.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
Executes the local codex CLI to get coding assistance.
Note: This skill requires the codex CLI to be installed and available in your system's PATH.
Run a single query with codex exec:
codex exec "Your question or task here"
| Option | Description |
|---|---|
-m MODEL | Specify model |
-C DIR | Set working directory |
--full-auto | Enable automatic execution with workspace-write sandbox |
For all available options, run
codex exec --help
Ask a coding question:
codex exec "How do I implement a binary search in Python?"
Analyze code in a specific directory:
codex exec -C /path/to/project "Explain the architecture of this codebase"
Use a specific model:
codex exec -m o4-mini "Write a function that validates email addresses"
Let Codex make changes automatically:
codex exec --full-auto "Add error handling to all API endpoints"
exec subcommand--full-auto for automatic execution within sandbox constraints-C is specified