The hardest engineering tasks often take more than just good prompts. They might require reference scripts, templates, checklists, and other supporting files. Skills let you bundle all of these together into folders that Cascade can invoke (read and use). Skills are a great way to teach Cascade how to execute multi-step workflows consistently. Cascade uses progressive disclosure: only the skill’sDocumentation Index
Fetch the complete documentation index at: https://docs.windsurf.com/llms.txt
Use this file to discover all available pages before exploring further.
name and description are shown to the model by default. The full SKILL.md content and supporting files are loaded only when Cascade decides to invoke the skill (or when you @mention it). This keeps your context window lean even with many skills defined.
For more details on the Skills specification, visit agentskills.io.
How to Create a Skill
Using the UI (easiest)
- Open the Cascade panel
- Click the three dots in the top right of the panel to open up the customizations menu
- Click on the
Skillssection - Click
+ Workspaceto create a workspace (project-specific) skill, or+ Globalto create a global skill - Name the skill (lowercase letters, numbers, and hyphens only)
Manual Creation
Workspace Skill (project-specific):- Create a directory:
.windsurf/skills/<skill-name>/ - Add a
SKILL.mdfile with YAML frontmatter
- Create a directory:
~/.codeium/windsurf/skills/<skill-name>/ - Add a
SKILL.mdfile with YAML frontmatter
SKILL.md File Format
Each skill requires aSKILL.md file with YAML frontmatter containing the skill’s metadata:
Example skill
Required Frontmatter Fields
- name: Unique identifier for the skill (displayed in UI and used for @-mentions)
- description: Brief explanation shown to the model to help it decide when to invoke the skill
deploy-to-staging, code-review, setup-dev-environment
Adding Supporting Resources
Place any supporting files in the skill folder alongsideSKILL.md. These files become available to Cascade when the skill is invoked:
Invoking Skills
Automatic Invocation
When your request matches a skill’s description, Cascade automatically invokes the skill and uses its instructions and resources to complete the task. This is the most common way skills are used—you simply describe what you want to do, and Cascade determines which skills are relevant. Thedescription field in your skill’s frontmatter is key: it helps Cascade understand when to invoke the skill. Write descriptions that clearly explain what the skill does and when it should be used.
Manual Invocation
You can always explicitly activate a skill by typing@skill-name in the Cascade input. This is useful when you want to ensure a specific skill is used, or when you want to invoke a skill that might not be automatically triggered by your request.
Skill Scopes
| Scope | Location | Availability |
|---|---|---|
| Workspace | .windsurf/skills/ | Current workspace only. Committed with your repo. |
| Global | ~/.codeium/windsurf/skills/ | All workspaces on your machine. Not committed. |
| System (Enterprise) | OS-specific (see below) | All workspaces, deployed by IT. Read-only. |
For cross-agent compatibility, Windsurf also discovers skills in
.agents/skills/ and ~/.agents/skills/. If you have enabled Claude Code config reading, .claude/skills/ and ~/.claude/skills/ are scanned as well.System-Level Skills (Enterprise)
Enterprise organizations can deploy skills that are available across all workspaces and cannot be modified by end users:| OS | Path |
|---|---|
| macOS | /Library/Application Support/Windsurf/skills/ |
| Linux/WSL | /etc/windsurf/skills/ |
| Windows | C:\ProgramData\Windsurf\skills\ |
SKILL.md file, just like workspace skills.
Example Use Cases
Deployment Workflow
Create a skill with deployment scripts, environment configs, and rollback procedures:Code Review Guidelines
Include style guides, security checklists, and review templates:Testing Procedures
Bundle test templates, coverage requirements, and CI/CD configs:Best Practices
- Write clear descriptions: The description helps Cascade decide when to invoke the skill. Be specific about what the skill does and when it should be used.
- Include relevant resources: Templates, checklists, and examples make skills more useful. Think about what files would help someone complete the task.
-
Use descriptive names:
deploy-to-stagingis better thandeploy1. Names should clearly indicate what the skill does.
Skills vs Rules vs Workflows
All three customize Cascade, but they differ in structure, invocation, and context cost:| Skills | Rules | Workflows | |
|---|---|---|---|
| Purpose | Multi-step procedures with supporting files | Behavioral guidelines (“how to behave”) | Prompt templates for repeatable tasks |
| Structure | Folder with SKILL.md + any resource files | Single .md file with frontmatter | Single .md file |
| Invocation | Model decides (progressive disclosure) or @mention | always_on / glob / model_decision / manual | Manual only via /slash-command |
| In system prompt? | No — only name + description until invoked | Depends on activation mode | No — listed as available commands |
| Best for | Deployments, code review, testing procedures that need scripts/templates | Coding style, project conventions, constraints | One-shot runbooks you trigger explicitly |
Related Documentation
If Skills aren’t what you’re looking for, check out these other Cascade features:- Workflows - Automate repetitive tasks with reusable markdown workflows invoked via slash commands
- AGENTS.md - Provide directory-scoped instructions that automatically apply based on file location
- Memories & Rules - Persist context across conversations with auto-generated memories and user-defined rules