Cursor skills

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. 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. 2

    Add a SKILL.md file: a name and a description in 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. 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.

Skill folders Cursor loads
FolderScopeNotes
.cursor/skills/ProjectCommitted with the repo, so everyone who opens the project gets the skill.
.agents/skills/ProjectSame 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 ~/ versionsProject or userLoaded 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.

SKILL.md frontmatter fields in Cursor
FieldRequiredWhat it does
nameYesLowercase letters, numbers and hyphens only. Must match the skill's folder name.
descriptionYesWhat the skill does and when to use it. The Agent reads this to decide whether the skill is relevant.
pathsNoGlob patterns. The skill only surfaces when the Agent works with matching files.
disable-model-invocationNoWhen true, the skill runs only when you type /skill-name. The Agent never picks it on its own.
icon, colorNoThe badge shown when the skill is used as a Custom Mode.
metadataNoAny 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.

Cursor skills compared with project rules and AGENTS.md
SkillProject ruleAGENTS.md
Where it lives.cursor/skills/<name>/SKILL.md.cursor/rules/*.mdcAGENTS.md in the project root or any subfolder
Best forMulti-step procedures: deploy, review, debug, releaseShort guidelines and constraintsSimple project instructions in plain markdown
When it appliesWhen the Agent finds it relevant, or when you type /skill-nameAlways, by file pattern, by description, or when you @-mention itAutomatically. 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.

Terminal (run in your project)
npx skills add 0xGizmolab/alchemy-web3-skill -a cursor

For 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.

On ClawHub

Alchemy Web3

Query blockchain data, NFTs, token balances, transfers and webhooks through Alchemy's APIs. Needs your own Alchemy API key.

View on ClawHub
On ClawHub

GizmoLab 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 ClawHub

More 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?

A rule is a short guideline that Cursor adds to the Agent's context, either in every conversation or when its file pattern, description or an @-mention calls for it. A skill is a longer, multi-step workflow that the Agent loads only when it is relevant or when you invoke it with /skill-name. Use a rule for constraints and a skill for procedures.

Where are Cursor skills stored?

Project skills live in .cursor/skills/ or .agents/skills/ inside your repository. Personal skills that apply to every project live in ~/.cursor/skills/ or ~/.agents/skills/ on your machine. Each skill is its own folder with a SKILL.md file inside.

Do Claude Code skills work in Cursor?

Yes. Agent Skills is an open standard, and Cursor also loads skills from Claude Code's folders (.claude/skills/ and ~/.claude/skills/) and from Codex's folders (.codex/skills/ and ~/.codex/skills/). A SKILL.md written for one tool usually works in the other, unless it depends on a feature only one of them has.

How do I share a Cursor skill with my team?

Commit project skills in .cursor/skills/ to your repository, and everyone who opens the repo in Cursor gets them. For a personal skill, open Customize, go to Skills, open the skill and choose Publish. Cursor adds it to your team's marketplace, where teammates can install it.

Does Cursor come with built-in skills?

Yes. Cursor ships a set of built-in skills that it manages, including /create-skill, /create-rule, /review and /migrate-to-skills. Type / in Agent chat to see the full list. The Agent may also use some of them on its own when your request clearly matches.

Related guides

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.