ask-codex
18
总安装量
18
周安装量
#19499
全站排名
安装命令
npx skills add https://github.com/hiroro-work/claude-plugins --skill ask-codex
Agent 安装分布
claude-code
16
codex
16
gemini-cli
13
github-copilot
12
opencode
12
kimi-cli
11
Skill 文档
Ask Codex
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.
Quick start
Run a single query with codex exec:
codex exec "Your question or task here"
Common options
| 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
Examples
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"
Notes
- Codex runs non-interactively with
execsubcommand - By default, output goes to stdout and no files are modified without approval
- Use
--full-autofor automatic execution within sandbox constraints - The command inherits the current working directory unless
-Cis specified