How to Disable Automatic Skill Invocation in Claude Code
A Reddit post citing the Claude Code documentation explains that setting `disable-model-invocation: true` in a skill’s `SKILL.md` frontmatter prevents Claude from automatically loading that skill while keeping it available for manual invocation. The example defines a changelog skill that can be run with `/changelog`; the configuration is illustrated rather than independently tested.
This gives developers a concrete way to keep workflows such as changelog generation available on demand without having Claude load them automatically during unrelated work.
You might want a changelog or weekly-report skill available as a command, without Claude choosing to load it during other work.
Claude Code has a SKILL.md frontmatter field for that:
---
name: changelog
description: Format unreleased changes as a changelog entry
disable-model-invocation: true