Cursor Skills: What They Are and How to Set Them Up
A Cursor skill is a folder containing a SKILL.md file, usually saved in .cursor/skills/ in your project, that teaches Cursor's Agent how to do one specific task. The Agent uses a skill on its own when the skill's description matches your request, or when you type / and the skill's name in Agent chat.
Last updated By Gizmolab
Set up a Cursor skill in three steps
- 1
Create a folder for the skill in
.cursor/skills/. The folder name is the skill's name.Terminal mkdir -p .cursor/skills/pr-description - 2
Add a
SKILL.mdfile: anameand adescriptionin YAML frontmatter, then the instructions in plain markdown..cursor/skills/pr-description/SKILL.md --- name: pr-description description: Writes a pull request description from the changes on the current branch. Use when the user asks for a PR description, a PR summary or release notes for their branch. --- # PR description ## Steps 1. Run `git diff main...HEAD --stat` to see which files changed. 2. Read the changed files that matter. Skip lockfiles and generated code. 3. Write the description using the format below. ## Format - **Summary**: one or two sentences on what changed and why. - **Changes**: a short bullet list grouped by area. - **Testing**: what was run, and what a reviewer should try. - **Risks**: anything that could break, or "None known". Keep it under 300 words. Do not invent tests that were not run. - 3
Check that Cursor found it, then use it.
Open Customize in the sidebar and go to Skills. Then ask the Agent to "write a PR description for this branch", or type
/pr-description. If the skill is not listed, see How to reload Cursor skills.
Prefer not to write it by hand? Type /create-skill in Agent chat and describe the skill you want. Cursor's built-in skill creates the folder and the SKILL.md file for you.
Where Cursor looks for skills
Cursor discovers skills automatically from these folders. Each skill is a subfolder with a SKILL.md inside, and it can also hold scripts/, references/ and assets/ folders.
| Folder | Scope | Notes |
|---|---|---|
.cursor/skills/ | Project | Committed with the repo, so everyone who opens the project gets the skill. |
.agents/skills/ | Project | Same as above, under the tool-neutral folder name. |
~/.cursor/skills/ | User (all projects) | Stays on your machine unless you turn on Sync Skills for Cloud Agents. |
~/.agents/skills/ | User (all projects) | Stays on your machine. Not copied to Cloud Agents. |
.claude/skills/, .codex/skills/ and their ~/ versions | Project or user | Loaded for compatibility with Claude Code and Codex. |
You can group skills in category folders, such as .cursor/skills/shipping/deploy-staging/SKILL.md. The skill's name comes from the folder that holds SKILL.md, not the category. In a monorepo, a .cursor/skills/ folder inside a package, such as apps/web/, only applies when the Agent works on files in that package.
What goes in the SKILL.md frontmatter
The block between the two --- lines at the top of SKILL.md is YAML. Only name and description are required.
| Field | Required | What it does |
|---|---|---|
name | Yes | Lowercase letters, numbers and hyphens only. Must match the skill's folder name. |
description | Yes | What the skill does and when to use it. The Agent reads this to decide whether the skill is relevant. |
paths | No | Glob patterns. The skill only surfaces when the Agent works with matching files. |
disable-model-invocation | No | When true, the skill runs only when you type /skill-name. The Agent never picks it on its own. |
icon, color | No | The badge shown when the skill is used as a Custom Mode. |
metadata | No | Any extra key-value data, such as an author or a version. |
How Cursor's Agent uses a skill
The Agent picks it
Cursor shows the Agent the name and description of every skill it found. When your request matches a description, the Agent loads that skill's instructions and follows them.
You call it
Type / in Agent chat and choose the skill. It attaches to that one message. Typing @ and selecting the skill attaches it as context instead.
It stays on for a session
Any skill with valid frontmatter can back a Custom Mode (Option+Enter on Mac, Alt+Enter on Windows), which keeps it in context for the whole session.
It loads in stages
Only the name and description are always in context. The body, and any files in scripts/, references/ or assets/, load when the skill is used.
Skills, rules or AGENTS.md: which to use
Use a rule when a short instruction is enough, and a skill when the Agent needs a detailed, repeatable process. Many projects use all three.
| Skill | Project rule | AGENTS.md | |
|---|---|---|---|
| Where it lives | .cursor/skills/<name>/SKILL.md | .cursor/rules/*.mdc | AGENTS.md in the project root or any subfolder |
| Best for | Multi-step procedures: deploy, review, debug, release | Short guidelines and constraints | Simple project instructions in plain markdown |
| When it applies | When the Agent finds it relevant, or when you type /skill-name | Always, by file pattern, by description, or when you @-mention it | Automatically. A nested file applies to work inside its folder |
Rule types, .mdc templates and AGENTS.md are covered in Cursor AI rules.
Gizmolab skills you can add to Cursor
Both skills use the SKILL.md format. The Alchemy Web3 skill is also on GitHub, so the open-source skills CLI can install it into your project's .agents/skills/ folder, which Cursor reads. The CLI needs Node.js 22.20 or later.
npx skills add 0xGizmolab/alchemy-web3-skill -a cursorFor GizmoLab Tools, copy the skill's files from its ClawHub page into .cursor/skills/<skill-name>/, keeping the folder name the same as the name field. Both skills were written with OpenClaw in mind, so adapt any OpenClaw-specific setup steps.
Alchemy Web3
Query blockchain data, NFTs, token balances, transfers and webhooks through Alchemy's APIs. Needs your own Alchemy API key.
View on ClawHubGizmoLab Tools
Points the Agent at the free tools on this site, such as the transaction decoder, contract explorer, ENS lookup and Solana token tools.
View on ClawHubMore chain-specific skills, with full SKILL.md files, are in Cursor skills for Web3 developers.
Still using a .cursorrules file?
A .cursorrules file in the project root is the older way to give Cursor instructions. Cursor's help center calls it legacy and says it will be deprecated.
To migrate, run New Cursor Rule from the command palette, paste in the old contents, set the rule type to Always Apply (which matches the old behavior) and delete .cursorrules. If parts of the old file describe step-by-step workflows, move those into skills instead.
FAQ
What is the difference between a Cursor skill and a Cursor rule?
Where are Cursor skills stored?
Do Claude Code skills work in Cursor?
How do I share a Cursor skill with my team?
Does Cursor come with built-in skills?
Related guides
- How to create a Cursor skill
Build a skill step by step, from the folder and frontmatter to testing it in Agent chat.
- Cursor skill examples
Complete SKILL.md files for edits, debugging, refactors, reviews and planning.
- Cursor AI rules
Project rules in .cursor/rules, the four rule types, .mdc templates and AGENTS.md.
- How to reload Cursor skills
What to check when a skill or rule does not load, and how to reload Cursor safely.
- Cursor skills for Web3 developers
SKILL.md examples for wallet flows, Solidity reviews, testnet deploys and Anchor programs.
Using a different tool? See Claude Code skills, OpenClaw skills or the AI skills hub.
Sources
This guide was checked against the official documentation on 5 November 2026. Cursor changes quickly, so when something here differs from the docs, the docs win.