PRODUCTION SCENARIO
Your platform team writes a /release skill that tags a version, pushes to the registry, and posts to a Slack channel. During routine refactors Claude has started invoking it on its own once unrelated changes are finished.
Which frontmatter setting fits this skill?
Answering here is anonymous. Nothing is saved unless you sign in.
Show answer and explanation
Answer: Set disable-model-invocation to true so only a person can trigger the skill
Workflows with side effects, such as commit, deploy, or message-sending skills, are exactly the case the disable-model-invocation flag exists for: a person can still invoke the skill, but Claude can no longer decide to run it. Setting user-invocable to false does the reverse and leaves Claude as the only caller.
Official Source: https://code.claude.com/docs/en/skills ↗