Marketplace

ask-codex

Asks Codex CLI for coding assistance. Use for getting a second opinion, code generation, debugging, or delegating coding tasks.

allowed_tools: Bash(codex:*)

$ Installer

git clone https://github.com/hiroro-work/claude-plugins /tmp/claude-plugins && cp -r /tmp/claude-plugins/plugins/ask-codex/skills/ask-codex ~/.claude/skills/claude-plugins

// tip: Run this command in your terminal to install the skill


name: ask-codex description: Asks Codex CLI for coding assistance. Use for getting a second opinion, code generation, debugging, or delegating coding tasks. allowed-tools: Bash(codex:*)

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

OptionDescription
-m MODELSpecify model
-C DIRSet working directory
--full-autoEnable 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 exec subcommand
  • By default, output goes to stdout and no files are modified without approval
  • Use --full-auto for automatic execution within sandbox constraints
  • The command inherits the current working directory unless -C is specified