Claude-skill-registry ask-codex
Asks Codex CLI for coding assistance. Use for getting a second opinion, code generation, debugging, or delegating coding tasks.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/ask-codex" ~/.claude/skills/majiayu000-claude-skill-registry-ask-codex && rm -rf "$T"
manifest:
skills/data/ask-codex/SKILL.mdsource content
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 |
|---|---|
| Specify model |
| Set working directory |
| 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
subcommandexec - By default, output goes to stdout and no files are modified without approval
- Use
for automatic execution within sandbox constraints--full-auto - The command inherits the current working directory unless
is specified-C