Why your Claude Code or Cursor skill isn't triggering (and 9 fixes)
On this page
You wrote a skill. It has a SKILL.md, a name and a description. You ask for exactly what it does, and the agent improvises instead.
You're not alone. In Vercel's evals, a skill was never invoked in 56% of runs (Vercel). Some of that is the model's judgment, but most skipped skills we see have a fixable cause. Here are the nine we hit most, roughly in the order you should check them.
1. It isn't loaded at all
Before blaming the description, confirm the tool sees the skill:
| Tool | Check |
|---|---|
| Claude Code | /skills, or ask "What skills are available?" |
| Codex | /skills |
| Antigravity CLI | /skills (and /skills reload after adding one) |
| Cursor, Devin Desktop | The Customize page |
| Cline | The skills list and its on/off toggles |
| Copilot in VS Code | Chat: Open Customizations |
If it isn't listed, the problem is the location or the file, not the wording.
2. Wrong folder for the tool
Each tool reads specific folders, and they don't all overlap:
- Claude Code reads
.claude/skills/. It doesn't read.agents/skills/. - Codex reads
.agents/skills/, from your start folder up to the repo root. - Antigravity CLI reads
.agents/skills/one level deep:.agents/skills/<name>/SKILL.md, not.agents/skills/group/<name>/SKILL.md. - Copilot reads
.github/skills/,.claude/skills/or.agents/skills/. - Cursor reads
.cursor/skills/and.agents/skills/(plus.claude/skills/and.codex/skills/for compatibility).
Using one shared folder for several tools? vercel/next.js keeps skills in .agents/skills/ and makes .claude/skills a symlink to it.
3. Broken frontmatter
Two silent killers:
---isn't the first line. A blank line or a comment above it and Claude Code treats the whole file as content with no metadata.- YAML that doesn't parse. An unquoted colon in a description is the usual culprit. Claude Code then loads the skill with empty metadata:
/namestill works, but automatic matching can't, because there's no description to match.
Quote your description, and in Claude Code run claude plugin validate .claude/skills to find parse errors (Claude Code docs).
4. name doesn't match the folder
The Agent Skills spec requires name to match the parent folder, using lowercase letters, numbers and single hyphens. Cursor and Cline require it too. PR-Review in a pr-review/ folder is two problems in one.
5. A description written like a title
"Next.js helper" gives the agent nothing to match. Use three parts: what it does, when to use it (in your users' words), and when not to.
description: "Review a Next.js App Router change for structure, Server Actions, data fetching, security, and tests. Use for a Next.js code review or a pre-merge check. Do not use for a CSS-only tweak, a non-Next.js repository, or a major upgrade nobody asked for."
Front-load the key job. Codex shortens descriptions when many skills are installed, and Claude Code cuts the combined description at 1,536 characters in the listing.
6. Trigger words only in the body
The agent sees only the name and description until it decides to load the skill. "Use when the user says 'ship it'" buried in step 4 of the body never helps it decide. Move trigger phrases into description (or when_to_use in Claude Code).
7. Automatic use is turned off, or scoped away
disable-model-invocation: true(Claude Code, Cursor, VS Code Copilot) means only you can run it.allow_implicit_invocation: falsein Codex'sagents/openai.yamldoes the same.- A
pathsfield means the skill only surfaces when the agent is working with matching files. A request made before the agent has touched any matching file may not surface it. - In Cline, the skill's toggle may be off.
8. Something else wins
Two overlapping skills ("code-review" and "pr-review") compete, and the agent may pick the other one or neither. Duplicate names in different folders cause confusion too; in Cline, a global skill beats a project skill with the same name. Built-in commands can also win: Claude Code bundles its own /code-review.
Give each skill a distinct job and a distinct name.
9. The agent thinks it doesn't need help
Sometimes everything is correct and the model still decides it can handle the task alone. This is the 56% in Vercel's data. Two fixes:
Add a pointer to your always-on file.
## Skills
- For a code review or pre-merge check, explore the changed files, then use the `nextjs-code-review` skill.
Vercel saw invocation rise above 95% and the pass rate go from 53% to 79% with an instruction like this. "Explore first, then use the skill" beat "you MUST use the skill".
Invoke it by name when it must run: /nextjs-code-review in Claude Code, Cursor, Copilot, Cline, Devin and Antigravity CLI; $nextjs-code-review in Codex.
Test it properly
Write ten prompts the way your team talks, five that should trigger and five that shouldn't, and run each in a fresh session. Change one thing at a time. A full method is in Write skills that actually trigger.
Or start from skills built to trigger
Every presets.dev skill follows this checklist: spec-valid frontmatter, a description in "what / when / not" form, and the right folder for each tool.
npx presets-dev add nextjs --only skill