Skip to content

How to Create a Claude Skill: 6 Steps + SKILL.md Example

A Claude skill is a folder with a SKILL.md file: a description that tells Claude when to load it, plus the steps to follow. This Claude skills tutorial builds a working marketing skill, reports the 51 trigger tests we re-ran in four languages on November 6, 2026, and shows how to upload, install and fix skills.

By Yotam DahanUpdated 17 min readClaude Code

How to create a Claude skill that works: Claude Code loading the campaign-brief skill on its own and asking for the missing inputs first

Here is how to create a Claude skill: make a folder named after the skill, put a SKILL.md file inside with a name, a description of when to use it and plain-English instructions, then ask for the task in your own words. In Claude Code the folder goes in ~/.claude/skills/; in the Claude web and desktop apps you upload it as a zip or let Claude write it for you in a chat. This Claude skills guide then walks through a working marketing skill, our logged trigger tests from November 6, 2026, installing other people's skills and fixing what breaks.

Skills in one minute

Slash commands are now skills: an old custom command such as .claude/commands/review.md still works, and moving it to .claude/skills/review/SKILL.md lets it carry examples and scripts too. The practical gain is that you write a procedure once instead of pasting it into every chat.

Skills use the open Agent Skills format, so the same folder works in Claude Code, the Claude apps and the Claude API. This guide covers Claude skills you make yourself; for ready-made ones, browse our Claude skills directory, and for the wider picture see lesson 3 of our free Claude course.

How to use Claude skills

You don't open a skill: ask for the task in your own words, and Claude loads the skill whose description matches. To run one yourself, type / and its name, such as /campaign-brief. Anything you type after the name is passed to the skill, so /campaign-brief spring sale, Instagram only hands it that brief (inside SKILL.md the placeholder $ARGUMENTS receives it).

Three habits make skills easier to live with:

  • See what is loaded. In Claude Code, run /skills to list every skill the session can use, including ones synced from claude.ai.
  • Switch skills on in the Claude app. On claude.ai and the desktop app, skills live under Customize > Skills, where you upload a zip or toggle one on and off.
  • Keep risky skills manual. Add disable-model-invocation: true to the frontmatter and Claude never loads the skill by itself; it runs only when you type its name. Use this for anything that sends, posts or deletes.

(Details from Anthropic's skills docs and Help Center, checked November 22, 2026.)

Claude skills vs MCP, plugins and CLAUDE.md

Four ways to shape Claude, and when to use each

CLAUDE.md

Standing rules for every session, such as your brand name and folder layout. It loads every time.

Skill

A procedure Claude follows only when a matching task comes up. Until then, only its short description takes up space.

MCP server

A connection that gives Claude new tools in another app, such as Notion or HubSpot, rather than new instructions.

Plugin

An installable package that bundles skills with agents, hooks and MCP servers in one step.

Anthropic's Help Center draws the skills vs MCP line this way: MCP connects Claude to outside services and data, while a skill holds the procedure for a task, and you can use both together. For the other cards, see what to put in a CLAUDE.md file and what is an MCP server.

Prefer a guided path? The setup module of our Claude Code course, in early access, has a lesson on the CLAUDE.md file and one called "Skills and MCP".

How skills load, and when the description matters

Anthropic's Agent Skills overview describes a three-level loading system it calls progressive disclosure. A token, in these numbers, is the small chunk of text AI models count, often a short word or part of a longer one.

How a skill gets loaded
  1. Startup

    Claude reads every skill's name and description, about 100 tokens each

  2. Match

    Your request lines up with one description

  3. Instructions

    Claude reads the body of that SKILL.md

  4. Extras

    Examples and scripts load only if the task needs them

Claude decides whether to open a skill from its name and description alone, before reading the instructions. Every installed skill also costs a little attention on every turn, so a few well-used skills beat a long forgotten list.

The numbers that shape a skill
100

tokens per skill read at startup, roughly

5,000

tokens: suggested ceiling for the SKILL.md body

1,536

characters: where Claude Code cuts a description in its skill list

200

characters: description limit for skills uploaded to claude.ai

From Anthropic's Agent Skills overview, the Claude Code skills docs and the Help Center guide to custom skills, checked November 6, 2026.

Where Claude skills are stored

LocationPathWho gets it
Personal~/.claude/skills/<skill-name>/SKILL.mdYou, in every project on this computer
Project.claude/skills/<skill-name>/SKILL.md inside a project folderAnyone working in that project folder
Plugin<plugin>/skills/<skill-name>/SKILL.mdAnyone who installs the plugin, as /plugin-name:skill-name
claude.ai accountSkills turned on in your claude.ai settingsSigned-in Claude Code sessions and Cowork

The ~ sign means your home folder (/Users/yourname on a Mac, C:\Users\yourname on Windows). The hidden .claude folder shows in Finder with Cmd, Shift and the period key, or under View > Hidden items in File Explorer. If a personal and a project skill share a name, the personal one wins.

How to create Claude skills in Claude Code, step by step

Our example is one of the simplest Claude skills for marketing: a campaign brief writer that collects missing inputs first, writes the brief in a fixed structure and checks its own work.

Step 1: Write down the procedure you already follow

Step 2: Create the skill folder

The easiest route is to ask Claude Code to do it:

Ask Claude Code to create the folder
Create a personal skill folder called campaign-brief in my skills directory (~/.claude/skills/) with an empty SKILL.md file inside it.

Or type it yourself in Terminal on a Mac:

Terminal
mkdir -p ~/.claude/skills/campaign-brief

Or PowerShell on Windows:

PowerShell
New-Item -ItemType Directory -Force -Path "$HOME\.claude\skills\campaign-brief"

Step 3: Write the SKILL.md file

Create SKILL.md inside the folder and paste this in. The part between the two --- lines is the frontmatter, a small block of settings written in YAML (a simple "key: value" format), and everything after it is the instructions.

markdown
---
name: campaign-brief
description: Writes a one-page marketing campaign brief from rough notes. Use when the user asks for a campaign brief, a creative brief, or a plan for a launch, promotion or email campaign.
---

# Campaign brief

## Before writing
Check that you have these inputs. Ask for anything missing in one short list, then wait:
- Product or offer, and its price if there is one
- Audience: who they are and the problem they have
- Goal: one measurable result, such as demo bookings or first purchases
- Channels and deadline
- Budget, or "none"

## Write the brief
Use exactly these sections, in this order:
1. Summary (three sentences at most)
2. Audience and their main objection
3. Key message and three supporting points
4. Offer and call to action
5. Channels, with one line on the job of each
6. Timeline with dates
7. How we will measure success
8. Open questions

If brand/voice.md exists in this project, read it first and follow it.
Save the brief as briefs/YYYY-MM-DD-campaign-name.md.

## Rules
- Never invent numbers, prices, dates or testimonials. Write [TBD] instead.
- Keep it to one page, about 450 words.
- Use the words the audience would use, not marketing jargon.

## Before you finish
Re-read the brief and confirm that every section is filled or marked [TBD], the goal can be measured, and the call to action matches the offer. List every [TBD] at the end.

Claude Code itself only needs the description; without a name, the folder name becomes the command. The Claude app requires both, so write both and one file works everywhere.

Step 4: Add a supporting file

Paste a brief you were proud of into examples.md in the same folder, then add one line under "Write the brief": "For tone and depth, see examples.md." Claude reads the example only when it runs the skill, so it costs nothing the rest of the time. Anthropic suggests keeping SKILL.md under 500 lines and moving long reference material into files like this one.

text
campaign-brief/
  SKILL.md
  examples.md

Step 5: Test it two ways

Open Claude Code in any project folder; if it was already running and the skills folder is new, run /reload-skills first.

First, the automatic test: ask in plain words and watch Claude pick up the skill. Our first run, in October 2026, survives as screenshots rather than logs: Claude's first line showed the skill loading, and it asked for the missing inputs before writing anything (the image at the top of this guide). We answered with the offer, the goal and the send date, and it saved the brief and listed what was still open:

Claude Code after the campaign-brief skill saved a brief, listing every input still marked TBD
October 2026 session, screenshot only. It also questioned our own wording: an "end-of-year" email sent in October.

Then the direct test: type /campaign-brief end-of-year sale email. To check that Claude sees the skill at all, run /skills.

What happened in our trigger tests

On November 6, 2026 we ran this skill on Claude Code 2.1.303 with Claude Opus 5.5 and kept the logs. Each request ran in a fresh folder with the skill plus four competitors a marketer might have: an SEO brief writer, a caption writer, an email writer and a meeting-notes summarizer. Claude could load skills but not write files:

RequestSkill Claude loaded
"I need a brief for our end-of-year sale email to past customers."campaign-brief
"Write a creative brief for launching our new yoga class pack."campaign-brief
"Plan our Black Friday promotion."campaign-brief
"Put together a one-pager for the spring email campaign."campaign-brief
"Draft the campaign plan for our product launch next month."campaign-brief
"Write an Instagram caption announcing our sale."social-caption
"Write a thank-you email to the customers who bought from us in October."email-writer

Every brief request first got a short list of questions about the offer, goal, dates and budget: the "Before writing" section at work.

Then we cut the description to "Marketing document helper.", and in a third round also renamed the skill mkt-helper. Nothing changed: all 5 brief requests loaded it each time, and the caption and thank-you requests still went to the skills built for them, 21 of 21 runs as expected.

Working in another language? We sent the same brief requests in Spanish, Portuguese and French, and the English description loaded the skill 9 of 9 times. Claude answered in the language of the request, with local number formats such as R$ 71,20 and 25,60 €.

One thing stayed English: the [TBD] marker for missing facts, in 3 of 3 full briefs. A translated copy of the skill wrote [PENDIENTE], [A DEFINIR] and [À DÉFINIR] instead.

Step 6: Tune it

Expect a few rounds of edits; Claude Code picks up changes to a skill's files mid-session, so edit, save and try again.

  • It never triggers: add the words you actually use to the description, and check whether another skill claims the same job.
  • It triggers when you don't want it: narrow the description, or add disable-model-invocation: true so it runs only when you type its command.
  • It does two jobs badly: split it into one skill per job.
  • It forgets a rule late in a long session: move that rule near the top, since a compacted conversation re-attaches only the first 5,000 tokens of each skill.
  • It ignores a length limit: none of our six full test briefs kept to the "about 450 words" asked for; they ran 580 to 669. Put the limit in the "Before you finish" check.

For help, Anthropic's Skill Creator plugin installs with /plugin install skill-creator@claude-plugins-official; asked to evaluate your skill, it runs test prompts with and without it and suggests description edits.

Optional SKILL.md frontmatter settings

Skip these until your first skill works. Inside the instructions, $ARGUMENTS marks where the text typed after the command goes.

Frontmatter fieldWhat it does
disable-model-invocation: trueOnly you can start the skill, by typing its command
argument-hintShows a hint such as [campaign-name] when you type the command
allowed-toolsLets the listed tools run without a permission prompt while the skill runs

How to make a Claude skill without writing the file

You don't have to type SKILL.md yourself. Claude can draft it in three places:

Three ways to let Claude write the skill

In a Claude chat

Do the task on a real example until the result is right, then paste the prompt below. Switch the result on under Customize > Skills.

In Claude Code

The Claude skill creator plugin from Step 6 drafts the folder, then tests and tunes it.

By recording your screen

In Cowork on Claude for Mac, click +, choose Record a skill and talk through the task, for up to about 10 minutes. On Pro, Max, Ultra and Team plans.

Turn a finished chat into a skill
Turn what we just did into a skill called [SKILL-NAME]. Keep the steps that worked, add every correction I gave you as a rule, and write a description under 200 characters that lists the phrases I would use to ask for this. Show me the SKILL.md before you save it.

Doing the task first matters: your corrections become the skill's rules.

How to upload a skill to Claude (web and desktop app)

Skills also work in the Claude web and desktop apps on Free, Pro, Max, Ultra, Team and Enterprise plans (help article on using skills, checked November 6, 2026):

  1. Turn on code execution. On individual plans, open Settings > Capabilities and enable Code execution and file creation, called Create and edit files in the updated settings layout. On Team and Enterprise plans an owner enables it under Organization settings > Plugins & skills.
  2. Zip the folder itself, so campaign-brief.zip contains campaign-brief/SKILL.md: right-click the folder and choose Compress (Mac), Compress to ZIP file (Windows 11) or Send to > Compressed (zipped) folder (Windows 10). Zipping the files inside it is the most common reason an upload fails.
  3. Upload it. Open Customize > Skills, click +, choose Create skill, then Upload a skill, and pick the zip.
  4. Switch it on and test with a few prompts that should trigger it.

How to install Claude skills from GitHub and plugins

Three ways to get a ready-made skill

Browse a directory

The ai school Claude skills directory lists tested ones, such as Campaign Plan and Brand Voice Guidelines for marketers.

Install a plugin

Run /plugin in Claude Code to browse Anthropic's official marketplace, added the first time you start a session, or start from our best Claude Code plugins.

Copy a folder

Download a skill folder from GitHub and place it in ~/.claude/skills/, or in a project's .claude/skills/ folder.

Anthropic's public skills repository on GitHub also works as a marketplace; its example skills include document co-authoring and Canvas Design. These two commands add it and install the examples:

Type these inside Claude Code, one at a time
/plugin marketplace add anthropics/skills
/plugin install example-skills@anthropic-agent-skills

Claude Code then asks for a scope: just you, everyone on this project, or just you in this project. In the Claude app, the same examples switch on under Customize > Skills.

To copy a folder without downloading it by hand, the open-source installer npx skills add takes the folder's address and puts the skill where your AI tool looks for it. The clip below is an abridged recording of our run on October 26, 2026 (npx skills 1.7.4); we kept the recording, not a text log. In it, installing Anthropic's pdf skill for Claude Code cloned the repository, found 1 skill, showed a security summary (Gen Safe, Socket 0 alerts, Snyk Med Risk) and copied the folder to ~/.claude/skills/pdf.

Terminal replay of npx skills add installing Anthropic's pdf skill for Claude Code: it clones the repository, finds 1 skill, shows a security summary (Gen Safe, Socket 0 alerts, Snyk Med Risk) and copies the skill to ~/.claude/skills/pdf

Abridged from our recording of npx skills 1.7.4 on October 26, 2026 (recording only, no text log); pace not to scale.

Check a skill before you trust it

A skill can make Claude run commands and read files, so audit any skill you didn't write or get from Anthropic, as Anthropic's docs advise:

0 of 5 done

Claude skills not working? Common problems and fixes

What you seeLikely causeFix
Claude never uses the skillThe description lacks your words, or another skill claims the jobRewrite it, then ask "What skills are available?"
/campaign-brief is not recognizedUnusual characters in the folder name, or a new skills folder not yet loadedUse lowercase and hyphens, then run /reload-skills
/campaign-brief works but Claude never picks it on its ownThe YAML frontmatter didn't parse, so the skill has no descriptionRun claude plugin validate ~/.claude/skills in your terminal to see the broken file and error
The skill ignores everything in its headerThe file doesn't start with --- on line 1Delete any blank line or text above the first ---
Unexpected key(s) in SKILL.md frontmatter on uploadA Claude Code-only field such as argument-hintKeep only the six accepted fields
The upload fails without that messageFiles zipped without their folder, or a folder name unlike nameZip the folder itself, named like the skill

Quick check0 of 2 correct

What does Claude read from every installed skill at the start of a session?

Your skill upload to the Claude app fails. Which ZIP is right?

What to do next

Pick one task you have explained to Claude more than twice this month and turn it into a skill today, using the campaign brief above as your template. Test it with three different phrasings and one request it should ignore before you rely on it.

The free bonus below has three ready-to-install marketing skills and our 10-point test, and the workflows in Claude Code for marketers are good candidates for your next one. For a guided setup of skills, MCP and CLAUDE.md, the Claude Code course, in early access, covers all three in its setup module.

Three ready-to-install marketing skills

Complete SKILL.md files for a content repurposer, an ad variation writer and a brand voice checker, plus a 10-point test to run before you trust any skill.

Enter your email and the full section opens right here.

No spam. One click to unsubscribe. We use your email to send you this bonus, new guides and news about our courses.

Frequently asked questions

Are Claude skills free?

Yes. A skill is a folder of text files, so creating or installing one costs nothing extra, and Anthropic's Help Center lists skills on Free, Pro, Max, Ultra, Team and Enterprise plans, with code execution turned on. Running a skill uses your normal Claude plan or API usage, like any other request.

Do skills I upload to claude.ai work in Claude Code?

Yes, from Claude Code version 2.1.273. Sign in with the same claude.ai account and the skills enabled there download into ~/.claude/skills/synced/. The sync is one-way, so skills you create locally stay on your computer, and you change synced skills on claude.ai rather than in the local copy.

Can a Claude skill run code?

Yes. A skill folder can hold scripts, for example in Python or JavaScript, and SKILL.md tells Claude when to run them. The Claude apps need code execution turned on for this, and in Claude Code the scripts run on your computer with your permissions, so read them before you install someone else's skill.

What is the difference between a skill and a Claude Project?

A Project is a workspace in the Claude app whose instructions and files apply only to the chats inside it. A skill is available in every chat and in Claude Code, and Claude opens it only when a request matches its description.

How many skills can I install?

Claude Code sets no fixed number, but every skill's description sits in context on every turn. When the list outgrows its budget, about 1% of the model's context window, Claude Code drops the descriptions of the skills you use least, so prune unused ones with /skill-doctor.

Can I share a skill with my team?

In Claude Code, commit the project's .claude/skills/ folder to your Git repository or package your skills as a plugin. On claude.ai Team and Enterprise plans, you can share a skill with specific colleagues from Customize > Skills or publish it to your organization's library.

Keep reading