Why a Claude Code Skill Works Manually but Won’t Auto-Trigger
Check invocation settings, test the skill description with realistic prompts, and isolate differences between Claude Code clients.
If a Claude Code skill runs when you call it by name but rarely activates on its own, first check whether its frontmatter permits Claude to invoke it. Then give it a description that says when it applies and test one matching request in a fresh session. A successful slash command confirms that the manual path works in that session. Automatic selection still depends on the instructions Claude receives and the task you give it.
Check the skill in the session that misses it
Open the same project and client where you saw the problem. Invoke the skill by its exact slash-command name using a harmless task. If the command is missing there, inspect where the skill is installed before rewriting its description. For project skills, check the project's skill folder and the spelling of the skill file. A skill installed on your laptop may be absent in another checkout or a remote workspace. See our project skill discovery guide for that case.
If manual invocation works, open the active SKILL.md and inspect its YAML frontmatter. Anthropic documents that disable-model-invocation set to true makes a skill manual-only. Keep that setting for actions you want a person to initiate explicitly, such as deployments. If the skill only reviews text and you want Claude to choose it, remove an unintended manual-only restriction. The user-invocable setting controls whether users can invoke the skill. It serves a different purpose.
Make the description match a real request
Put the task, inputs and expected result in the description. “Helps with releases” is broad. “Review a draft changelog for missing migration notes and user-visible behavior changes” gives Claude a clearer reason to choose the skill. Keep the procedural checklist in the body. Avoid descriptions that claim every task in a repository.
Use a fresh session in the affected workspace. Send one realistic task without naming the skill, and check for invocation evidence in the client if it exposes it. Then try a nearby task that should leave the skill idle. If the matching prompt regularly misses, change one thing at a time and rerun both requests. A response resembling the skill’s output is weak evidence on its own. If no client signal distinguishes the two paths, record selection as unverified.
Fictional example
A developer's release-note skill works when called directly. In a fresh terminal session, “Check this draft changelog for missing migration notes” produces a generic copyedit. She replaces the broad description with one that names the review's purpose and expected findings. She repeats the same prompt and also tries “Summarize these meeting notes,” which should leave the release-note skill idle. She records the client version and whether the client shows an invocation for each trial.
Questions people ask
Can the same skill behave differently in the terminal and VS Code?
Compare them with the same project, skill file, and test prompt. Record the CLI and extension versions separately. A GitHub report describes a client-specific problem, but a report alone does not identify the cause in your setup. If a difference persists, save a small example using a harmless skill and keep private project data out of the report.
Can I guarantee a skill triggers every time?
For a workflow that requires the skill, call it explicitly and verify that its expected checklist or output is present. Automatic selection is useful for occasional help. For an action that changes files, sends messages, or deploys code, keep any manual review and permission checks you need.
What should I check if several skills seem to match?
Give each description a distinct job and test the boundary with two related prompts. For example, use one skill to review a changelog and another to draft release announcements. A short description with a recognizable input and outcome is easier to validate than a broad list of overlapping tasks.
Sources
Claude Code documentation — skill discovery and invocation
GitHub community report — manual invocation versus automatic selection