PRODUCTION SCENARIO
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?
Answering here is anonymous. Nothing is saved unless you sign in.
Show answer and explanation
Answer: disable-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.
Official Source: https://code.claude.com/docs/en/skills ↗