Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Create Cursor Agent Skills. Guides through authoring a new skill including SKILL.md structure, directory layout, description best practices, common patterns (template, examples, workflow, conditional, feedback loop), and utility scripts. Use when authoring a new skill or asking about SKILL.md structure.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 5% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 6% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 10% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 11% | 0% |
This skill guides you through creating effective Agent Skills for Cursor. Skills are markdown files that teach the agent how to perform specific tasks.
skill-name/
├── SKILL.md # Required - main instructions
├── reference.md # Optional - detailed documentation
├── examples.md # Optional - usage examples
└── scripts/ # Optional - utility scripts
├── validate.py
└── helper.sh| Type | Path | Scope | |------|------|-------| | Personal | ~/.cursor/skills/skill-name/ | Available across all your projects | | Project | .cursor/skills/skill-name/ | Shared with anyone using the repository |
IMPORTANT: Never create skills in ~/.cursor/skills-cursor/. This directory is reserved for Cursor's internal built-in skills.
markdown--- name: your-skill-name description: Brief description of what this skill does and when to use it disable-model-invocation: true --- # Your Skill Name ## Instructions Clear, step-by-step guidance for the agent. ## Examples Concrete examples of using this skill.
Default disable-model-invocation: true so the skill only loads when named explicitly.
| Field | Requirements | Purpose | |-------|--------------|---------| | name | Max 64 chars, lowercase letters/numbers/hyphens only | Unique identifier | | description | Max 1024 chars, non-empty | Helps agent decide when to apply |
The context window is shared. Every token competes for space. Only add context the agent doesn't already have.
Use progressive disclosure for detailed content.
Put essential information in SKILL.md; detailed reference material in separate files.
| Freedom Level | When to Use | Example | |---------------|-------------|---------| | High (text instructions) | Multiple valid approaches | Code review guidelines | | Medium (pseudocode/templates) | Preferred pattern with variation | Report generation | | Low (specific scripts) | Fragile operations, consistency critical | Database migrations |
Provide output format templates for consistent results.
Show concrete input/output examples when output quality depends on seeing them.
Break complex operations into clear steps with checklists.
Guide through decision points with branching paths.
For quality-critical tasks, implement validation loops.
Gather purpose, location, trigger scenarios, requirements, existing patterns.
Draft name, description, outline sections, identify supporting files.
Create directory structure, write SKILL.md, create supporting files.
Verify under 500 lines, description is specific, consistent terminology, references one level deep.
Other measured skills in the registry, with their headline benchmark lift.