With disable-model-invocation: true, does the description still take up context?
Per the official invocation-control table, no: the description is not in context, and the full Skill loads only when you invoke it. With the default and with user-invocable: false, the description stays in context.
What is user-invocable: false for?
It hides the Skill from the / menu while Claude can still load it automatically when relevant. It suits background knowledge that is not a "command", such as rules for a legacy system.
What happens if both fields are set?
The official table has no such row. A third-party summary says the Skill becomes unreachable, which also follows from the table (you cannot invoke it and Claude will not), but I did not test it. To turn a skill off, simply moving its folder away is cleaner.
I'm not an engineer. One-line version?
It decides who may call each helper Skill onto the stage: only you, only the AI, or both; and if you mistype a setting's name, the system will not warn you, it will just quietly follow the default.
Skill.md frontmatter has a dozen or so fields, but only two decide when a skill gets used: disable-model-invocation and user-invocable. Their combinations give three valid states, and each differs even in whether the description takes up your context. This article follows the official skills docs and adds a few easy-to-hit details. I did not build skills and run them myself; the behavior below is the docs' own wording and table.
| Frontmatter | You can invoke | Claude can invoke | When loaded into context |
|---|---|---|---|
| (default) | Yes | Yes | Description always in context, full skill loads when invoked |
disable-model-invocation: true | Yes | Not on its own | Description not in context, full skill loads when invoked by you |
user-invocable: false | No | Yes | Description always in context, full skill loads when invoked |
The docs add one line of background: in a regular session, skill descriptions are loaded into context so Claude knows what is available, while the full content loads only when invoked.
The first is a skill only people press, such as deploying or committing, where timing matters and there are side effects:
---
name: deploy
description: Deploy the current branch to staging
disable-model-invocation: true
argument-hint: [environment]
---
With disable-model-invocation: true, Claude does not decide to deploy on its own; and per the docs its description does not occupy context either, and it also keeps the skill out of Subagent preloading and session-scoped Scheduled Tasks. The second is background knowledge only Claude reads:
---
name: legacy-billing-rules
description: Background on how the legacy billing system rounds amounts
user-invocable: false
---
user-invocable: false hides it from the / menu, while Claude still loads it automatically when relevant. That suits content that is not a "command", such as rules for a legacy system, where nobody benefits from typing /legacy-billing-rules.
The official table has no row for it. A third-party summary at agentpatterns.ai says setting both makes the skill unreachable. Inferring from the table that also makes sense, since you cannot invoke it and Claude will not, but I did not test it. If you need to turn a skill off, move its folder away instead of setting both.
disable-model-invocation as disable-model-invokation, the skill runs with default behavior and Claude can still invoke it on its own.yes, no, on, off, 1 and 0 are accepted in any case; before v2.1.218 only true and false worked.allowed-tools is not a restriction: it lists tools that run without per-use approval while the skill is active, other tools remain usable, and the grant clears when you send your next message.model applies to the current turn only: it is not saved to settings; with context: fork, it sets the subagent's model instead.paths limits automatic activation: glob patterns restrict where the skill activates automatically, relative to Claude's current working directory.~/.claude/skills/ create three folders, each with a SKILL.md: one default, one with disable-model-invocation: true, one with user-invocable: false, each description naming a different trigger situation./ in Claude Code and confirm the third is absent from the menu and the first two are present.user-invocable: false should, and disable-model-invocation: true should not.This is my view, not official advice: for any skill with side effects (deploying, committing, sending mail, deleting), set disable-model-invocation: true first and decide later whether to loosen it; it also saves the context the description would take. Since a typo raises no error, add a line to your team's skill review checklist: check that each field name actually exists in the official field table, not just that the skill's content looks right.