Keeping Claude from triggering a deploy skill by itself
CCDV-F
Claude Code
Medium
Question 42 of 105
A team packages a production deploy workflow as a skill. Claude has started invoking it on its own when a conversation mentions releases, and the team wants only a human typing /deploy to trigger it.
Which frontmatter setting achieves this?
Show answer and explanation
Bdisable-model-invocation: true, so only a person typing /deploy starts it
disable-model-invocation keeps the skill's description out of context so Claude cannot load it, reserving it for manual invocation, which the docs recommend for workflows with side effects such as deploys. user-invocable: false does the opposite, removing the slash command and leaving invocation to Claude. fork changes where the skill runs, not who starts it. Dropping allowed-tools makes each command prompt, but Claude still invokes the skill unasked.
Source: code.claude.com/
Anonymous, no account needed. Your tally stays in this browser.
Practice by topic: Claude Code questions