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 user running /deploy can start it
The disable-model-invocation field prevents Claude from loading the skill automatically and reserves it for manual invocation, which the docs recommend for workflows with side effects such as deploys. Setting user-invocable to false does the opposite by leaving invocation to Claude only.
Official Source: https://code.claude.com/docs/en/skills ↗