Harness Notes

Skill discovery

Updated 2026-11-25,

On this page

Where each harness finds skills and what the model is told about them before one is used. Exact directories for every scope are on the Locations page.

QuestionCursor Agentchecked at 2026.10.12-d47ca18
Where it looks for skills

Project skills load from .cursor/skills/ and .agents/skills/, user skills from ~/.cursor/skills/ and ~/.agents/skills/, and for compatibility it also reads .claude/skills/, .codex/skills/, ~/.claude/skills/ and ~/.codex/skills/; skills from installed plugins (/plugin, --plugin-dir) load too. Each skill is a folder with a SKILL.md; roots are walked recursively, and .cursor/skills/ or .agents/skills/ folders inside subdirectories of the repo are picked up and scoped to that subdirectory. In CLI 2026.10.12 the scan also reads .grok/skills/, follows symlinks, goes at most 10 levels deep, skips hidden folders plus node_modules, __pycache__, dist and build, and ignores Codex's own system skills (skill-creator, skill-installer, imagegen, openai-docs, plugin-creator) under .codex/skills/.

Built-in Cursor skills (/create-skill, /review, /loop and others) live in ~/.cursor/skills-cursor/ and are managed by Cursor.

Only ~/.cursor/skills/ syncs to Cloud Agents; ~/.agents/skills/ and project skills stay local.

In CLI 2026.10.12, the .claude and .codex folders load only while third-party configuration support is on, which is the default.

Nested folders and scan limits

CLI 2026.10.12-d47ca18 scans recursively through skill directories at depth 10 (root = 0). It skips hidden folders, node_modules, __pycache__, dist and build. Directory symlinks are followed, with canonical directory identities deduplicated. Finding SKILL.md does not stop descent.

This describes the CLI; the Cursor editor may behave differently.

Stop scanning below a folder containing SKILL.md?

No. The recursive CLI scanner continues into subdirectories after finding SKILL.md, subject to its depth limit and folder exclusions.

This describes Cursor CLI 2026.10.12; the editor may behave differently.

What the model sees before using one

At startup the agent is given the list of available skills with each skill's description and the path to its SKILL.md, and decides from the description when one is relevant. Skills with paths globs, or skills in a nested subdirectory, are listed only while the agent works with matching files. In CLI 2026.10.12 each description is cut to 1,536 characters before it is sent, there is no cap on the number of skills, and the list is ordered built-in, user, project, then plugin skills.

description is required unless the skill sets disable-model-invocation: true; a skill without one is reported as a parse error.

Many skills or long descriptions

Partly

Skills are not dropped for being numerous or long, but /skills shows a yellow warning count for skills that break the Agent Skills limits: a name over 64 characters or not lowercase-hyphen, a name that doesn't match the folder, a description over 1,024 characters, or a body over about 5,000 tokens. In CLI 2026.10.12 descriptions sent to the model are silently cut at 1,536 characters, and the / menu skips a SKILL.md larger than 1 MB.

Use paths or nested skill folders to keep file-specific skills out of the list for unrelated work.

Two skills with the same name

Partly

The docs require name to match the folder, and a skill's identity is its folder name, not any category folder above it; there is no documented collision rule. In CLI 2026.10.12 the / menu is keyed by folder name: two same-named folders under one root get path-based names (for example shipping-land-it), and across roots the later one wins, so a user-level skill replaces a project skill with the same folder name. The model's list keeps both copies and only drops exact duplicates of the same file (such as the same skill reached through a symlink).

New or edited skills mid-session

Partly

Skills are discovered when Cursor starts, so restart cursor-agent (or --resume the chat) to make the agent aware of new or renamed skills. /add-dir and reloading a plugin refresh the / skill menu immediately, but the changelog says to restart when you want the agent to discover new skills automatically; in CLI 2026.10.12 the CLI does not watch skill folders for changes.

Disable or hide a skill

Set disable-model-invocation: true to keep a skill out of the model's automatic choices so it only runs when you type /skill-name, or user-invocable: false to hide it from / autocomplete and typed /skill-name while the model can still use it. paths globs limit when a skill is surfaced at all; to remove a skill entirely, delete or move its folder or uninstall its plugin.

In CLI 2026.10.12 a skill whose metadata.surfaces list is set but doesn't include cli is hidden from the CLI.

Notes and sources

Cursor Agent, 3 sources
  • The reviewed Cursor contract does not establish a user-invocable equivalent for independently disabling explicit slash invocation.
Where it looks for skills, 3
Nested folders and scan limits, 3
Stop scanning below a folder containing SKILL.md?, 3
What the model sees before using one, 1
Many skills or long descriptions, 2
Two skills with the same name, 1
New or edited skills mid-session, 2
Disable or hide a skill, 2