/ask-codex
Consult Codex as an independent expert. Sends a question or task to codex exec and returns the response.
$ npx -y skills add PolyArch/humanize --skill ask-codex --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/ask-codex
Context preview
The summary Claude sees to decide when to auto-load this skill.
Consult Codex as an independent expert. Sends a question or task to codex exec and returns the response.
SKILL.md
ask-codex.SKILL.mdname: ask-codex
description: Consult Codex as an independent expert. Sends a question or task to codex exec and returns the response.
argument-hint: "[--codex-model MODEL:EFFORT] [--codex-timeout SECONDS] [question or task]"
allowed-tools: "Bash(${CLAUDE_PLUGIN_ROOT}/scripts/ask-codex.sh:*)"Ask Codex
Send a question or task to Codex and return the response.
How to Use
Do not pass free-form user text to the shell unquoted. The question or task may contain spaces or shell metacharacters such as `(`, `)`, `;`, `#`, `*`, or `[`.
If the user only supplied a question or task, execute:
"${CLAUDE_PLUGIN_ROOT}/scripts/ask-codex.sh" "$ARGUMENTS"If the user supplied flags such as `--codex-model` or `--codex-timeout`, reconstruct the command so those flags remain separate shell arguments and the remaining free-form question is passed as one quoted final argument.
Example:
"${CLAUDE_PLUGIN_ROOT}/scripts/ask-codex.sh" --codex-model gpt-5.5:high "Review the following round summary (M4)..."Never run this unsafe form:
"${CLAUDE_PLUGIN_ROOT}/scripts/ask-codex.sh" $ARGUMENTSbecause the shell will re-parse the question text and can fail before `ask-codex.sh` starts.
Interpreting Output
- The script outputs Codex's response to **stdout** and status info to **stderr**
- Read the stdout output carefully and incorporate Codex's response into your answer
- If the script exits with a non-zero code, report the error to the user
Error Handling
| Exit Code | Meaning | |-----------|---------| | 0 | Success - Codex response is in stdout | | 1 | Validation error (missing codex, empty question, invalid flags) | | 124 | Timeout - suggest using `--codex-timeout` with a larger value | | Other | Codex process error - report the exit code and any stderr output |
Notes
- The response is saved to `.humanize/skill/<timestamp>/output.md` for reference
- Default model is `gpt-5.5:high` with a 3600-second timeout
Read more
name: ask-codex
description: Consult Codex as an independent expert. Sends a question or task to codex exec and returns the response.
argument-hint: "[--codex-model MODEL:EFFORT] [--codex-timeout SECONDS] [question or task]"
allowed-tools: "Bash(${CLAUDE_PLUGIN_ROOT}/scripts/ask-codex.sh:*)"Ask Codex
Send a question or task to Codex and return the response.
How to Use
Do not pass free-form user text to the shell unquoted. The question or task may contain spaces or shell metacharacters such as `(`, `)`, `;`, `#`, `*`, or `[`.
If the user only supplied a question or task, execute:
"${CLAUDE_PLUGIN_ROOT}/scripts/ask-codex.sh" "$ARGUMENTS"If the user supplied flags such as `--codex-model` or `--codex-timeout`, reconstruct the command so those flags remain separate shell arguments and the remaining free-form question is passed as one quoted final argument.
Example:
"${CLAUDE_PLUGIN_ROOT}/scripts/ask-codex.sh" --codex-model gpt-5.5:high "Review the following round summary (M4)..."Never run this unsafe form:
"${CLAUDE_PLUGIN_ROOT}/scripts/ask-codex.sh" $ARGUMENTSbecause the shell will re-parse the question text and can fail before `ask-codex.sh` starts.
Interpreting Output
- The script outputs Codex's response to **stdout** and status info to **stderr**
- Read the stdout output carefully and incorporate Codex's response into your answer
- If the script exits with a non-zero code, report the error to the user
Error Handling
| Exit Code | Meaning | |-----------|---------| | 0 | Success - Codex response is in stdout | | 1 | Validation error (missing codex, empty question, invalid flags) | | 124 | Timeout - suggest using `--codex-timeout` with a larger value | | Other | Codex process error - report the exit code and any stderr output |
Notes
- The response is saved to `.humanize/skill/<timestamp>/output.md` for reference
- Default model is `gpt-5.5:high` with a 3600-second timeout
Derived from the GAAC (GitHub-as-a-Context) project. A Claude Code plugin that provides iterative development with independent AI review. Build with confidence through continuous feedback loops.
Other skills on humanize.
- /ask-gemini
Consult Gemini as an independent expert with deep web research. Sends a question or task to Gemini CLI and returns a research-backed response.
Open skill - /humanize-gen-plan
Generate a structured implementation plan from a draft document. Validates input, checks relevance, analyzes for issues, and generates a complete plan.md with acceptance criteria.
Open skill - /humanize-refine-plan
Refine an annotated implementation plan into a comment-free plan and a QA ledger while preserving the gen-plan schema.
Open skill - /humanize-rlcr
Start RLCR (Ralph-Loop with Codex Review) on Codex using the native Stop hook.
Open skill - /humanize
Iterative development with AI review. Provides RLCR (Ralph-Loop with Codex Review) for implementation planning and code review loops.
Open skill

