Cursor Rules Vs Skills: Which One To Use
Cursor rules vs skills comes down to one question, which is when your guidance should load. A rule goes into the model's context whenever its condition is met. A skill waits until Agent decides a task needs it.
Short Answer
A rule suits a short convention with a clear trigger, like a style that every component file should follow. Longer playbooks with steps and scripts belong in a skill. Our guide to Cursor rules covers rules in full.
| Question | Rules | Skills |
|---|---|---|
| Where do they live? | They live in .cursor/rules. | They live in .cursor/skills or .agents/skills. |
| What is the file? | Each one is an .mdc file. | Each one is a folder with a SKILL.md file. |
| When do they load? | They load when their rule type says so. | They load when Agent finds them relevant. |
| How do you call one by hand? | You mention it, such as @my-rule. | You type / and the skill's name. |
Format
A rule is a Markdown file with an .mdc extension. Its header holds a description, file globs and an alwaysApply flag. Cursor ignores a plain .md file in .cursor/rules, because that file has no header. Cursor's docs suggest you keep each rule under 500 lines.
A skill is a folder with a SKILL.md file inside. The folder can also hold scripts and templates that Agent may use. Project skills go in .agents/skills/ or .cursor/skills/. For every project on your machine, use ~/.agents/skills/ or ~/.cursor/skills/. Cursor also loads skills from the Claude and Codex folders.
Loading
Rule text goes at the start of the model's context. Each rule has one of four types:
- An Always Apply rule joins every chat session.
- An Apply Intelligently rule loads when Agent decides that its description fits.
- An Apply to Specific Files rule loads when a file matches its pattern.
- An Apply Manually rule loads when you mention it in chat, such as @my-rule.
Skills follow the open Agent Skills standard, so other agents can read the same folder. Cursor finds every skill when it starts. Agent sees the list and loads a skill only when it looks relevant, which keeps the context small. You can also type / in Agent chat to call a skill by name, and that skill then attaches to one message. A skill can set a paths glob, so it shows up only when Agent works on matching files.
Migrating
Cursor 2.4 includes a /migrate-to-skills skill. Type /migrate-to-skills in Agent chat, and it turns your Apply Intelligently rules and your slash commands into skills. Then review the new skills in .cursor/skills/.
Some rules stay as they are. The tool leaves out any rule set to always apply or tied to file globs, since those have their own triggers. User rules stay too, because Cursor does not store them as files.
To see which skills Cursor can load and where it looks, read our Cursor skills page.