Write your first skill
How to structure a SKILL.md file, write a name and description Claude will match, write instructions it follows, and test the result. 8 min
Watch it done: write a meeting-notes skill and test it
Step 1 of 7
Make a folder named after the skill. In Claude Code the name becomes the command, so this skill runs as /meeting-notes.
- Make a folder named after the skill. In Claude Code the name becomes the command, so this skill runs as /meeting-notes. Type: mkdir -p ~/.claude/skills/meeting-notes.
- Write the SKILL.md. The frontmatter starts on the first line, and the description says what the skill does and when to use it, written in the third person. Create ~/.claude/skills/meeting-notes/SKILL.md containing: --- name: meeting-notes description: Turns rough meeting notes or transcripts into a summary of decisions, actions and owners. Use when the user pastes meeting notes or a transcript, or asks to write up a meeting. --- # Meeting notes ## Steps 1. Read the notes and list every decision and every action. 2. Give each action an owner and a due date. If either is missing, write "Owner needed" or "Date needed". Never guess a name. 3. Write the summary in the format below. 4. Check that every action from step 1 appears in the summary. ## Format **Meeting:** title and date **Decisions:** numbered list, one line each **Actions:** table with columns Action, Owner, Due **Open questions:** bullets, or "None" ## Rules - British English, no more than 250 words. - Leave out small talk and anything marked "off the record".
- Start Claude Code in any project. Personal skills load in every session. Type: claude.
- Check it loaded. If it is missing, check the folder name and that the file is called SKILL.md. Type: /skills. meeting-notes appears in the list of skills Claude Code can see.
- Test that it triggers, worded the way a colleague would type it. Try a request that should not load it too. Type: Can you write up these notes from this morning? We agreed to move the launch to March. Priya will update the plan by Friday.. If the description matches, Claude loads the meeting-notes skill before it replies and the summary follows its format.
- Test that it behaves. Feed it messy notes on purpose and check it follows your rules. Type: /meeting-notes We chose a new supplier for printer paper. Someone needs to cancel the old contract.. No owner or date is given, so the actions table should say "Owner needed" and "Date needed" rather than an invented name.
- Fix the right part. If it never triggers, rewrite the description; if it triggers but gets things wrong, fix the instructions, then test again. Claude Code picks up edits to SKILL.md in the session you already have open, with no restart.
File format from the official Claude Code skills docs and Anthropic's skill authoring best practices, checked 18 November 2026. Lines marked Note describe what happens and are not real output.
Read
The whole file
A skill is a folder with one required file, SKILL.md. It opens with YAML frontmatter between two --- lines, followed by plain Markdown instructions. The frontmatter must start on the very first line of the file.
Here is a complete skill for an office manager who writes up the same weekly meeting. Save it as ~/.claude/skills/meeting-notes/SKILL.md for Claude Code, or zip the meeting-notes folder to upload it to the app.
--- name: meeting-notes description: Turns rough meeting notes or transcripts into a summary of decisions, actions and owners. Use when the user pastes meeting notes or a transcript, or asks to write up a meeting. --- # Meeting notes ## Steps 1. Read the notes and list every decision and every action. 2. Give each action an owner and a due date. If either is missing, write "Owner needed" or "Date needed". Never guess a name. 3. Write the summary in the format below. 4. Check that every action from step 1 appears in the summary. ## Format **Meeting:** title and date **Decisions:** numbered list, one line each **Actions:** table with columns Action, Owner, Due **Open questions:** bullets, or "None" ## Rules - British English, no more than 250 words. - Leave out small talk and anything marked "off the record".
Lesson notes: Write your first skill
Everything in this lesson as text, for revision or to read without the interactive steps. By the end you will be able to: You have written a working skill and tested that it triggers and behaves.
Step 1 of 6 · Read
The whole file
A skill is a folder with one required file,
SKILL.md. It opens with YAML frontmatter between two---lines, followed by plain Markdown instructions. The frontmatter must start on the very first line of the file.Here is a complete skill for an office manager who writes up the same weekly meeting. Save it as
~/.claude/skills/meeting-notes/SKILL.mdfor Claude Code, or zip themeeting-notesfolder to upload it to the app.meeting-notes/SKILL.md --- name: meeting-notes description: Turns rough meeting notes or transcripts into a summary of decisions, actions and owners. Use when the user pastes meeting notes or a transcript, or asks to write up a meeting. --- # Meeting notes ## Steps 1. Read the notes and list every decision and every action. 2. Give each action an owner and a due date. If either is missing, write "Owner needed" or "Date needed". Never guess a name. 3. Write the summary in the format below. 4. Check that every action from step 1 appears in the summary. ## Format **Meeting:** title and date **Decisions:** numbered list, one line each **Actions:** table with columns Action, Owner, Due **Open questions:** bullets, or "None" ## Rules - British English, no more than 250 words. - Leave out small talk and anything marked "off the record".
Step 2 of 6 · Read
Rules for the name and description
name: lowercase letters, numbers and hyphens only, up to 64 characters, and it cannot contain the reserved words
anthropicorclaude. In Claude Code it also becomes the slash command, someeting-notesruns as/meeting-notes. Anthropic suggests names that describe the activity, such asprocessing-invoices, and warns against vague ones likehelperorutils.description: this is the only part Claude sees before deciding whether to load the skill, so it must say what the skill does and when to use it, in the words people really type. Write it in the third person ("Turns notes into...") rather than "I can help you...". The API allows 1,024 characters, but the help centre caps app uploads at 200, so stay under 200.
Claude Code adds optional fields.
disable-model-invocation: truestops Claude loading the skill by itself, which suits anything with side effects, such as a deploy: you then run it only with its slash command.Step 3 of 6 · Quiz
Check your understanding
Which description gives Claude the best chance of loading the skill at the right moments?
- Helps with meetings.
- I can help you write up your meetings nicely.
- Turns meeting notes or transcripts into a summary of decisions and actions. Use when the user pastes notes or asks to write up a meeting.
- Meeting skill v2, final, use this one.
Show the answer
Turns meeting notes or transcripts into a summary of decisions and actions. Use when the user pastes notes or asks to write up a meeting. It says what the skill does and when to use it, using words people actually type.
Step 4 of 6 · Read
Write instructions Claude follows
Only add what Claude does not already know. It knows what a meeting is. It does not know your format, your rule about off the record items, or that it must never guess an owner. Every line competes for space once the skill loads.
Steps for order, rules for limits. Numbered steps give the sequence. A short rules list holds the musts and nevers. Finish with a check step, such as confirming every action reached the table. A self-check is the simplest feedback loop you can build in.
Match freedom to risk. Loose guidance is fine where many answers are acceptable, such as tone. Be exact where mistakes hurt, such as a command that must run with fixed flags. Keep the body under 500 lines and move long reference material into separate files.
Step 5 of 6 · Improve a prompt
Write the instructions for a skill
Write the body of a skill that turns a customer complaint email into a reply draft for a small online shop.
Starting prompt:
Reply to complaints nicely.
Hint: Give the steps in order, the shape of the draft, what it must never do, one example line you like, and a number such as a word limit.
Show a strong version
Draft a reply to the customer complaint the user pastes, for our small online homeware shop. Steps: 1. Find the order number, the problem and what the customer wants. 2. Write a reply that apologises once, says exactly what we will do, and gives a date. 3. Check the order number appears in the reply. Format: a subject line, then 3 short paragraphs, under 150 words. Never promise a refund over £50 or blame the courier; write "I will check with our team" instead. Sign off as "The Customer Care Team". Example opening I like: "Thank you for telling us about the chipped mug in order 4471."
Step 6 of 6 · Read
Test it before you trust it
Does it trigger? Try three or four requests that should load it, worded the way colleagues would type them, plus one that should not. In Claude Code, run
/skillsto confirm it loaded and call it directly with/meeting-notes. In the app, read Claude's reasoning to see whether it opened the skill.Does it behave? Feed it real notes, including a messy set with a missing owner, and check that it wrote "Owner needed" instead of inventing a name.
Fix the right part. If it never triggers, rewrite the description. If it triggers but gets things wrong, fix the instructions. Anthropic also suggests testing with each model you plan to use, because a skill that works well with Opus may need more detail for Haiku.