// Use OpenAI Codex CLI to answer questions about code, analyze files, or perform read-only codebase exploration. Invoke this skill when the user asks to use Codex, wants a second opinion from another AI agent, or wants to compare Claude's answer with Codex's response.
| name | codex-qa |
| description | Use OpenAI Codex CLI to answer questions about code, analyze files, or perform read-only codebase exploration. Invoke this skill when the user asks to use Codex, wants a second opinion from another AI agent, or wants to compare Claude's answer with Codex's response. |
Use OpenAI's Codex CLI to answer questions about the codebase.
Codex CLI must be installed and configured:
npm install -g @openai/codex
# or
brew install --cask codex
An OpenAI API key must be configured (OPENAI_API_KEY environment variable or via codex initial setup).
Spawn the codex-qa subagent to handle the question:
Use the Task tool to spawn the codex-qa agent with the user's question.
The subagent will:
codex exec "question" in read-only modeIf you prefer to run Codex directly:
codex exec "your question here"
codex exec "question"codex -i image.png exec "question about image"codex exec --json "question"codex exec --timeout 300000 "complex question"