Problem
Commands with disable-model-invocation: true in their frontmatter (e.g., review.md, adversarial-review.md, cancel.md, result.md, status.md) are completely hidden from the skill list presented to Claude at conversation start. This means Claude has no awareness these commands exist.
When a user explicitly types /codex:review in conversation, Claude cannot route to it because it's not in the visible skill list. In practice, Claude either:
- Silently reroutes to a different command (e.g.,
codex:rescue) that IS visible, or
- Tells the user the command doesn't exist
Both outcomes are wrong. The user asked for a specific command by name and didn't get it.
Root Cause
disable-model-invocation: true conflates two separate concerns:
- Preventing proactive model invocation (Claude shouldn't spontaneously decide to run a review)
- Making the model aware a command exists (so it can route explicit user requests)
Currently one flag controls both. Commands with the flag set are invisible to the model entirely, even when the user explicitly requests them.
Affected Commands
| Command |
Has flag |
In skill list |
review |
yes |
no |
adversarial-review |
yes |
no |
cancel |
yes |
no |
result |
yes |
no |
status |
yes |
no |
rescue |
no |
yes |
setup |
no |
yes |
Suggested Fix
Separate the two concerns. Options:
- Option A: Add commands with
disable-model-invocation: true to the skill list but mark them as user-initiated only, so Claude knows they exist but won't proactively call them.
- Option B: Ensure the Skill tool resolver can match user-typed
/codex:review to the command file even when the command isn't in the proactive skill list.
- Option C: Introduce a second frontmatter key (e.g.,
hidden: true vs disable-model-invocation: true) to distinguish "hide from model entirely" from "don't let model call proactively."
Environment
- codex-cli 0.117.0
- Plugin version 1.0.3
- Claude Code on Windows 11
Problem
Commands with
disable-model-invocation: truein their frontmatter (e.g.,review.md,adversarial-review.md,cancel.md,result.md,status.md) are completely hidden from the skill list presented to Claude at conversation start. This means Claude has no awareness these commands exist.When a user explicitly types
/codex:reviewin conversation, Claude cannot route to it because it's not in the visible skill list. In practice, Claude either:codex:rescue) that IS visible, orBoth outcomes are wrong. The user asked for a specific command by name and didn't get it.
Root Cause
disable-model-invocation: trueconflates two separate concerns:Currently one flag controls both. Commands with the flag set are invisible to the model entirely, even when the user explicitly requests them.
Affected Commands
reviewadversarial-reviewcancelresultstatusrescuesetupSuggested Fix
Separate the two concerns. Options:
disable-model-invocation: trueto the skill list but mark them as user-initiated only, so Claude knows they exist but won't proactively call them./codex:reviewto the command file even when the command isn't in the proactive skill list.hidden: truevsdisable-model-invocation: true) to distinguish "hide from model entirely" from "don't let model call proactively."Environment