Skills is an experimental feature. Enable it in Settings → Features → Enable Skills.
How skills work
Skills use progressive loading to maximize efficiency:| Level | When loaded | Token cost | Content |
|---|---|---|---|
| Metadata | Always (at startup) | ~100 tokens per skill | name and description from YAML frontmatter |
| Instructions | When skill is triggered | Under 5k tokens | SKILL.md body with instructions and guidance |
| Resources | As needed | Effectively unlimited | Bundled files accessed via read_file or executed scripts |
use_skill tool, which loads the full instructions from SKILL.md.
Skill structure
Every skill is a directory containing aSKILL.md file with YAML frontmatter:
SKILL.md file has two parts: metadata and instructions.
namemust exactly match the directory namedescriptiontells Cline when to use this skill (max 1024 characters)
Creating a skill
Open the Skills menu
Click the scale icon at the bottom of the Cline panel, to the left of the model selector. Switch to the Skills tab.
Create a new skill
Click New skill… and enter a name (e.g.,
aws-deploy). Cline creates a skill directory with a template SKILL.md file..cline/skills/ (workspace) or ~/.cline/skills/ (global) and Cline will detect them automatically.
Toggling skills
Every skill has a toggle to enable or disable it without deleting the skill directory. Skills are enabled by default when discovered. For example, you might disable a CI/CD skill when working on local development, or enable a client-specific skill only when working on that client’s project.Where skills live
Skills can be stored globally or in a project workspace:| Location | Path |
|---|---|
| Project (recommended) | .cline/skills/ |
| Project (alternate) | .clinerules/skills/ |
| Global (macOS/Linux) | ~/.cline/skills/ |
| Global (Windows) | C:\Users\USERNAME\.cline\skills\ |
.cline/skills/ so your team can share, review, and improve them together.
Writing effective SKILL.md files
Naming conventions
The skill name appears in thename field and must match the directory name exactly. Use lowercase with hyphens (kebab-case).
Writing effective descriptions
The description determines when Cline activates the skill. A vague description means the skill won’t trigger when you expect it to.Keeping skills focused
KeepSKILL.md under 5k tokens. If your skill needs more content, split it into separate files in a docs/ directory and reference them from the main instructions. Cline loads referenced files only when needed.
Put the important information first. Cline reads the file sequentially, so front-load the common cases. Include real examples — show what commands to run, what output to expect, and what the result should look like.
Bundling supporting files
Skills can include additional files that Cline accesses only when needed:docs/ — reference material
docs/ — reference material
Use
docs/ for information that’s too detailed for SKILL.md or only relevant in specific situations:- Advanced configuration options
- Troubleshooting guides for edge cases
- Reference material (API schemas, database schemas)
- Platform-specific instructions
docs/aws.md, docs/gcp.md, and docs/azure.md. Cline loads only the relevant platform guide based on your request.templates/ — boilerplate files
templates/ — boilerplate files
Use
templates/ when your skill creates configuration files, boilerplate code, or structured documents:- Config files (Terraform, Docker Compose, CI/CD pipelines)
- Code scaffolding (component templates, test fixtures)
- Documentation templates (README, API docs)
templates/dockerfile, templates/docker-compose.yml, and templates/.env.example that Cline customizes for each new project.scripts/ — deterministic operations
scripts/ — deterministic operations
Use
scripts/ for operations where you want consistent, predictable behavior:- Validation (linting configs, checking prerequisites)
- Data processing (parsing, formatting, transforming)
- Complex calculations (cost estimation, resource sizing)
- API interactions (fetching data, running health checks)
Referencing bundled files
Reference supporting files directly in yourSKILL.md instructions:
4. Present results
- Lead with the most important finding
- Include relevant charts or tables
- Flag data quality issues that may affect conclusions