What a skill is
A skill is a folder containing:
SKILL.md: explains what the skill does, when to use it and how to execute it- Optional scripts: operations that need precise execution (parsing files, format conversion)
- Optional material: templates, reference documents, examples
At startup AI loads only each skill’s name and description; it reads the full text and attached files only when it judges them relevant to the current task.
Three layers of progressive disclosure
- Layer one: metadata (name + description) — always present, used to decide whether to use it
- Layer two: body (
SKILL.md) — read when relevant - Layer three: attached files — read only in specific situations
It works like a manual: look at the table of contents first, then the chapters, and check the appendix last.
Why it is designed this way
- Saves context: no need to stuff every process into the prompt
- Reusable: everyone shares the same copy of a process
- Maintainable: edit the skill file instead of editing the prompt every time
- Testable: skills are files, so they can be version-controlled and reviewed
When to write a skill
- The same process repeats several times a month
- Steps are fixed but detailed (such as “delivery check” or “weekly report preparation”)
- Deterministic operations are needed (if a script can do it, do not have the model generate it)
- Several people on the team need to use the same approach
How to write a good skill
- Start from evaluation: run representative tasks first, see where AI gets stuck, then write the skill around those points
- Name and description matter most: AI uses them to decide whether to use it
- Keep the body concise: move details into attached files
- Write deterministic operations as scripts: do not use generation for sorting, parsing or format conversion
- Iterate from AI’s perspective: observe how it actually uses the skill and fix ambiguities
Security notes
- Only install skills from trusted sources
- Read the files before use: which commands it runs, which addresses it accesses, which data it reads
- Do not grant unnecessary network and file permissions
- Review internal skills before sharing them too
How a team puts it into practice
- Pick the most repeated process (such as new-client onboarding or content review)
- Write it into a
SKILL.md: trigger conditions, steps, completion criteria - Validate with 3–5 real tasks and record where it gets stuck
- Add those gaps into attached files or scripts
- Share across the team and update regularly
Checklist
- There is a clearly repeated process
- The skill has a clear name and description
- The body is concise, with details in attached files
- Deterministic operations are executed by scripts
- It has been validated with real tasks
- Only skills from trusted sources are installed and audited
- There is version history and an update mechanism
Reference: key points adapted from Anthropic’s official engineering blog post “Equipping Agents for the Real World with Agent Skills”, rewritten for general tools.
Questions
What is the difference between a skill and a prompt template?
A template is a piece of text pasted each time; a skill is a package of files in a fixed directory, where AI preloads only the name and description at startup and reads the full text and attached files only when it judges them relevant, so it does not occupy context all the time.
Does a small team need skills?
If the same process has to be taught to AI more than three times a month, it is worth it. Start with the most frequently repeated process and write down its trigger conditions, steps and completion criteria.
Is installing someone else's skill safe?
Only install from trusted sources; for skills of unknown origin, read the files first to see which commands they have AI run and which network addresses they access, so data is not taken away.