File structure
A skill is a singleSKILL.md file:
Frontmatter reference
The YAML frontmatter block at the top ofSKILL.md defines skill metadata.
| Field | Required | Description |
|---|---|---|
name | Yes | Unique identifier in slug format (lowercase, hyphens, no spaces). Example: security-review-checklist |
description | Yes | Short summary of what the skill does. Displayed on the skill card in the UI. |
Writing effective instructions
Every token counts
Agents process skill instructions alongside their own system prompt and task context. Keep instructions concise—write only what the agent doesn’t already know.Degrees of freedom
Match your instruction style to how much flexibility the agent should have:| Freedom | Style | Use case |
|---|---|---|
| High | Guidelines and principles | Creative tasks, architectural advice, exploratory reviews |
| Medium | Checklists with examples | Standard code reviews, security audits, compliance checks |
| Low | Exact templates and rules | Regulatory compliance, formatting standards, mandatory fields |
Examples beat explanations
Agents follow concrete examples more reliably than abstract rules. When possible, show the expected behavior instead of describing it.Complete example
A realistic skill for enforcing PR review standards:Troubleshooting
Skill name rejected
Skill name rejected
The
name field must be in slug format: lowercase letters, numbers, and hyphens only. No spaces, underscores, or special characters.security-checklist— validSecurity Checklist— invalidsecurity_checklist— invalid
Agent ignores skill instructions
Agent ignores skill instructions
- Verify the skill is enabled (toggle is on)
- Verify the skill is assigned to the correct feature
- Check that instructions are specific and actionable—vague guidance is often deprioritized
- Shorter, focused skills are applied more reliably than long, broad ones
Instructions are too long
Instructions are too long
If your skill exceeds a few hundred lines, consider splitting it into multiple focused skills. Agents handle several short skills better than one massive skill.Split by domain: separate security rules, performance guidelines, and style conventions into individual skills.
Next steps
Custom Skills
Learn how to create, upload, and manage skills in your workspace.
Skills Overview
Understand how skills fit into the CloudThinker platform and agent workflow.