How to write an AI skill
A skill is a saved procedure an AI assistant can use when a task matches it: "turn meeting notes into our task table", "draft a reply to a review in our voice", "check an invoice against our rules". Instead of explaining the job every time, you write it down once. Several AI tools now support skills, often as a short text file the assistant reads when it needs it.
The skill template
A good skill answers five questions:
Name: a short name for the job When to use: the situations that should trigger it, in one or two sentences Input: what the user gives (notes, a review, a file) Steps: what to do, in order Output: the exact format of the result Example: one short input and the output you want
- When to use is the most important line. Assistants usually decide whether to load a skill from its name and description, so this line must say clearly which tasks it is for.
- Steps should be the way you really do the job, including the checks.
- Output should be specific: columns, length, headings.
- Example shows the result better than any description.
A worked example
Name: meeting-tasks When to use: when the user shares meeting notes or a transcript and wants tasks, owners or a follow up. Input: rough notes or a transcript. Steps: 1. List every task mentioned. 2. Take the owner and due date only from the notes. If missing, write "not set". 3. List decisions separately, with the sentence they come from. 4. List open questions. Output: a table with columns Task, Owner, Due date; then Decisions; then Open questions. Under 200 words. Example: Notes: "Sam to update client. Ana budget by Wed." → | Update client | Sam | not set | / | Budget numbers | Ana | Wednesday |
This skill builds in the rule from AI meeting notes: no invented owners or dates.
Skill, prompt or custom instructions?
| You need | Use |
|---|---|
| A one time task | A prompt |
| Your role and style in every chat | Custom instructions |
| The same procedure for the same kind of task, again and again | A skill |
| Live data from an app | A connector |
A skill is like a recipe card the assistant pulls out when it needs it. Custom instructions are more like a note on the fridge it reads every time.
Examples of useful skills
Review replies in your voice
When: a customer review is shared. Steps: thank, name the issue, state the offer from the policy, no customer data, under 80 words. Example: one real reply you liked.
Invoice check
When: an invoice is shared. Steps: compare amount, date and supplier with the purchase order; flag differences; never approve, only report. Output: a three line summary and a list of differences.
Weekly update
When: the user shares weekly notes. Steps: group into done, in progress, blocked; one line each. Output: under 150 words.
Variants
- Files with the skill: some tools let a skill include a template, a style guide or a small script. Keep them short and relevant.
- Team skills: shared skills make a whole team follow the same procedure.
- Test it: run the skill on three real examples, including a messy one, and fix the steps where it goes wrong.
- Version it: when the procedure changes, update the skill and note the date.
Common mistakes
A vague "when to use"
"Helps with documents" is too broad. The assistant either never uses it or uses it everywhere. Name the exact tasks.
Steps that describe a wish, not a procedure
"Make it great" is not a step. Write what to do and what to check.
No example
Without an example the output drifts. One short input and output fixes most of it.
Letting a skill take actions without approval
If a skill can send emails or change records through a connector, keep a human approval step. See what is MCP in AI.
Practice
The level "Write a skill" has you put the parts of a skill in order (when, input, steps, output, example) and choose between versions of a skill: which one is clear enough for the assistant to use reliably. Before it, the level on skills, projects and connectors explains where each kind of instruction belongs.
Free, in your browser, no sign up. Opens level “Write a skill”.
FAQ
What are AI skills?
Saved procedures an AI assistant loads when a task matches them, with instructions for when to use them, the steps and the output. Some tools store them as a short text file, such as a SKILL.md file, with a name and description at the top.
How is a skill different from a prompt?
A prompt is for one task, typed each time. A skill is written once and reused whenever the same kind of task comes up.
Do I need to code to write a skill?
No. Most skills are plain text instructions. Some tools allow optional files or scripts, but a clear text procedure is enough for most jobs.
For learning only. Nothing here is legal, financial or tax advice. Sample AI replies in the practice are written in advance, and all names and numbers are made up.