How Cursor finds and reads skills

Where Cursor looks for SKILL.md files, the frontmatter it reads, and how the indexed skills do on the rules built from its docs.

Where Cursor looks for skills

From the Cursor docs: Agent Skills, as of 2026-11-26. See what changed in these docs.

FolderLoads in
.agents/skills/

Project

.cursor/skills/

Project

~/.agents/skills/

User: all projects on this machine

~/.cursor/skills/

User: all projects on this machine

Monorepos. A .cursor/skills/ or .agents/skills/ folder anywhere in the repository is picked up, and its skills only show up for files in that folder.

Claude and Codex folders. Cursor also loads skills from .claude/skills/, .codex/skills/, ~/.claude/skills/ and ~/.codex/skills/.

What Cursor reads, and when

Skills load in three steps, so a skill costs little until it runs. From the Cursor docs: Agent Skills, as of 2026-11-26; token counts are medians across the index.

1 · listing

name and description

Cursor keeps these in context for every installed skill, so it can tell which one fits the task.

~68 tokens per skill

2 · SKILL.md body

the instructions

Loaded only when the skill is picked, or called by name.

~1,651 tokens

3 · bundled files

references/, scripts/, assets/

Read only when the body points to them, so a skill can carry long references at little cost.

55% of skills have them

Frontmatter fields Cursor reads

FieldWhat it does
namerequired

Lowercase letters, numbers and hyphens. Must match the folder name.

descriptionrequired

What the skill does and when to use it. The agent reads it to decide relevance.

paths

Glob patterns. The skill only shows up for matching files. Replaces the legacy globs field.

disable-model-invocation

Set to true and the skill is used only when you call it with /skill-name.

icon

Badge icon when the skill is used as a Custom Mode.

color

Badge color when the skill is used as a Custom Mode.

metadata

Any key-value data of your own.

  • Call it by name. Type / in Agent chat and search for the skill. It applies to that one message.
  • Keep it manual. Set disable-model-invocation: true and the skill works like a slash command.
  • Broken frontmatter. In Cloud Agents, a skill with unreadable SKILL.md, frontmatter that doesn't parse or no description shows a warning that names it.

Lines from the Cursor docs the validator checks against

5 lines, quoted word for word and re-checked every week.

"… whose SKILL.md can't be read, has frontmatter that doesn't parse, or has no description shows a warning in the run that names the skill."
Cursor: Agent Skills, frontmatter fields
"Skill identifier. Lowercase letters, numbers, and hyphens only. Must match the parent folder name."
Cursor: Agent Skills, frontmatter fields
"Describes what the skill does and when to use it. Used by the agent to determine relevance."
Cursor: Agent Skills, frontmatter fields
"The legacy globs field is still accepted as a fallback for older skills, but new skills should use paths."
Cursor: scoping a skill to specific files
"Set disable-model-invocation: true to make a skill behave like a traditional slash command"
Cursor: disabling automatic invocation

How the indexed skills do on Cursor's rules

3,099 of 4,462 scored skills pass all 8 rules based on the Cursor docs.

No skill fails the other 1: Uses paths, not the legacy globs field.

Most installed skills, with the Cursor command

Browse all 4,462 skills
npx skills add <owner/repo> --skill <name> -a cursor

The skills CLI copies a skill into .agents/skills/, or ~/.cursor/skills/ with -g. Agent ids and paths come from the skills CLI docs.