From ask-codex
Asks Codex CLI for coding assistance. Use for getting a second opinion, code generation, debugging, or delegating coding tasks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ask-codex:ask-codexThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Executes the local `codex` CLI to get coding assistance.
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
Use exec resume --last to continue the most recent session with a follow-up prompt:
codex exec resume --last "Your follow-up prompt"
Note:
exec-level flags such as-Cand--full-autoare not accepted byexec resume— the resumed session inherits the original session's working directory. To adjust the sandbox on resume, use-c sandbox_mode="workspace-write";-m MODELremains available.
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 gpt-5.3-codex "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 specifiednpx claudepluginhub hiroro-work/claude-plugins --plugin ask-codexRuns OpenAI Codex CLI for code analysis, refactoring, and automated editing. Handles model selection, sandbox mode, session resumption, and error handling.
Use when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, refactoring, or automated editing
Delegates coding tasks (debug, implement, refactor) to OpenAI Codex CLI via codex exec, skipping the Node companion runtime for faster execution. Codex writes code; Claude verifies.