← Claude Skills

Your first Claude skill

What a skill is, why it saves you time, and how to make one in about five minutes

Written 2026-11-11 · the /rewriteemail runs shown here were real, on linuxserver.lan with Claude Code 2.1.322

1. What is a skill?

A skill is a short set of written instructions that teaches Claude how to do one job your way. You write it once, save it as a file, and from then on you can ask for that job with a single short command.

Think of a recipe card. You could explain how you like your coffee to every new helper, every single morning. Or you could write it on a card once and say “make it like the card says.” A skill is that card, written for Claude.

On disk, a skill is just a folder with one text file inside, always named SKILL.md:

rewriteemail/          ← the folder name is the skill's name
  SKILL.md             ← the instructions, in plain English

The top of the file has two labels: a name and a one sentence description of when to use it. Everything below that is ordinary writing, the same words you would say to a smart new coworker. No programming is needed.

2. Why use skills?

🔁

Stop repeating yourself

Your preferences live in the file. You no longer retype “keep it short, be friendly, no jargon” every time.

🎯

Same result every time

Claude follows the same written rules on Monday and on Friday, in every project.

🤝

Easy to share

A skill is one file. Put it in a shared place and your whole team works the same way.

🧠

Doesn't clutter Claude's memory

At startup Claude reads only each skill's name and description. The full instructions are read only when the skill is used, so you can have dozens.

✨

Claude can use it by itself

If you ask for something that matches a skill's description, Claude picks that skill without being told.

✏️

Easy to improve

Not quite right? Edit the file and try again. No code and no deploy.

The difference in practice

Without a skillWith a skill
“Rewrite this email. Write at a 12th grade level, be clear, be cheerful, don't use double dashes, keep every date and name, put the ask up front, keep it short…” and then paste the email. Every time. /rewriteemail and paste the email.
You forget a rule on a busy day and the result drifts. The rules are always there, because they are in the file.

3. How to use a skill

There are two ways, and both work with the same skill.

Way 1: type its name with a slash

In Claude Code, type / followed by the skill's name, then whatever you want it to work on:

/rewriteemail Hi team -- the deadline moved to Friday...

Typing just / opens a menu of everything available. Keep typing a few letters to narrow it down. Skills that come from the team's shared collection show where they came from in front of the name, for example /claude-shared:qatests. Pick it from the menu and you don't have to type the prefix yourself.

Way 2: just ask in plain words

Can you rewrite this email so it reads better? 'Hello all -- the office will be closed Monday...'

Claude compares your request to every skill's description. When one fits, it uses that skill on its own. Tested: this exact request made Claude choose rewriteemail without the slash command.

Skills you already have. This server already gives every administrator and developer a set of ready-made skills from the team's repos. They are all listed, grouped by who gets them, on Skills by repo.

4. Build one: /rewriteemail

Here is a complete, working skill. It rewrites an email draft in a personal writing style: a 12th grade reading level, clear, cheerful, and never using --. You will swap in your own style rules later. First, get this one working as is.

  1. Make the folder. In a terminal on the server:
    mkdir -p ~/.claude/skills/rewriteemail

    ~/.claude/skills/ is your personal skills folder. Skills there work for you in every project.

  2. Create the file ~/.claude/skills/rewriteemail/SKILL.md with exactly this text. Use any editor, or ask Claude to create the file for you and paste this in.
    ~/.claude/skills/rewriteemail/SKILL.md
    ---
    name: rewriteemail
    description: Rewrite an email draft in my personal writing style, which is clear, cheerful, at a 12th grade reading level, with no double hyphens. Use when I type /rewriteemail or ask to rewrite, polish, or clean up an email.
    argument-hint: <paste your email draft>
    ---
    
    # Rewrite an email in my style
    
    Rewrite the email draft below. Keep every fact, name, date, number, and request.
    Change only how it is said.
    
    ## My style rules
    - Write at a 12th grade reading level. Use everyday words and short sentences.
    - Be clear. Put the main point or the ask in the first two sentences.
    - Be cheerful and warm, but not over the top. One friendly line is plenty.
    - Never use a double hyphen (--) or a long dash (—). Use a comma, a period,
      or a new sentence instead.
    - Keep it the same length as the draft, or shorter.
    
    ## What to give back
    1. A subject line, if the draft has one or clearly needs one.
    2. The rewritten email, ready to paste.
    
    Nothing else. Do not explain what you changed unless I ask.
    If no draft was given, ask me to paste one.
    
    ## The draft
    $ARGUMENTS
    
  3. Use it. In Claude Code, type /rewriteemail, a space, and paste your draft. In our test the new skill showed up in the / menu right away. If you don't see it, start a new Claude Code session.

What each part of the file does

PartWhat it does
The --- linesFence off the labels at the top (called “frontmatter”). Keep them exactly as shown.
nameWhat you type after the slash. Use lowercase letters, numbers and hyphens, no spaces. Make it match the folder name.
descriptionThe most important line. Claude reads it to decide when to use the skill by itself. Say what the skill does and the words people will use when they want it (“rewrite, polish, or clean up an email”).
argument-hintOptional. The gray hint shown next to the name in the / menu, reminding you what to type after it.
Everything under the second ---Your instructions, in plain English. This is where your style rules live.
$ARGUMENTSA placeholder. Claude Code replaces it with whatever you typed after /rewriteemail, which here is your draft.

5. See it work

This is a real run of the skill above, not a mock up. We typed /rewriteemail followed by the draft on the left. The right side is exactly what came back.

Rule in the skillDid it hold?
No -- and no long dashesYes. Both -- in the draft are gone.
Main point firstYes. The new date is in the first sentence.
Keep every factYes. Friday the 14th, the 21st, Dana, 3pm, and the risk of delays are all there.
Everyday words, short sentencesYes. “It has been determined that” and “failure to comply” are gone.
Cheerful and warmPartly. It is friendly and polite, but not very cheerful. If you want more, make the rule more concrete, for example - Open with one upbeat line.

Notice one small flaw: it says “thanks” twice. That is normal on a first try, and it shows how you improve a skill. Add one line to the rules, such as - End with a single sign-off., save, and run it again. Writing a skill is a loop: try it, notice what you don't like, add a rule.

Each run words things a little differently, but the rules hold. That is the point: the rules stay fixed, even when the exact wording changes.

6. Make it yours

The four style rules above came from one person: 12th grade level, clear, cheerful, no --. Replace them with yours. Some other examples:

Tips for skills that work well

7. Where to keep it

The folder you put a skill in decides who gets it.

ForPut the folder inGood to know
Just you ~/.claude/skills/rewriteemail/ Works in every project for you, in Claude Code. This folder is not in git and not shared, so keep your own copy of anything you care about.
One project <project>/.claude/skills/rewriteemail/ Available to anyone working in that project folder once you commit it to the project's git repo.
The whole team skills/rewriteemail/ in the claude-shared repo, sent as a merge request Everyone gets it in Claude Code and Codex after their next pull. Antigravity also needs ./setup.py run once more. Team skills follow a few extra house rules; read claude-skills/CLAUDE.md first.

Fine print for team skills

8. Skill, CLAUDE.md, or agent?

Claude can be taught in three places. Pick the one that matches the job.

UseWhenExample
CLAUDE.md Facts that are always true for a project. Claude reads them at the start of every session. “This app uses PostgreSQL. Tests live in tests/.”
Skill A job you do now and then, done your way. Read only when needed. /rewriteemail, a code review checklist, how to publish a page.
Agent A separate helper Claude hands a whole task to, which works on its own and reports back. “Have the test-writing agent cover this module.”

Rule of thumb: if you catch yourself typing the same instructions a second time, make it a skill.