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
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.
Your preferences live in the file. You no longer retype “keep it short, be friendly, no jargon” every time.
Claude follows the same written rules on Monday and on Friday, in every project.
A skill is one file. Put it in a shared place and your whole team works the same way.
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.
If you ask for something that matches a skill's description, Claude picks that skill without being told.
Not quite right? Edit the file and try again. No code and no deploy.
| Without a skill | With 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. |
There are two ways, and both work with the same skill.
In Claude Code, type / followed by the skill's name, then whatever you want it to work on:
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.
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.
/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.
mkdir -p ~/.claude/skills/rewriteemail
~/.claude/skills/ is your personal skills folder. Skills there work for you in
every project.
~/.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.
---
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
/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.
| Part | What it does |
|---|---|
The --- lines | Fence off the labels at the top (called “frontmatter”). Keep them exactly as shown. |
name | What you type after the slash. Use lowercase letters, numbers and hyphens, no spaces. Make it match the folder name. |
description | The 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-hint | Optional. 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. |
$ARGUMENTS | A placeholder. Claude Code replaces it with whatever you typed after /rewriteemail, which here is your draft. |
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 skill | Did it hold? |
|---|---|
No -- and no long dashes | Yes. Both -- in the draft are gone. |
| Main point first | Yes. The new date is in the first sentence. |
| Keep every fact | Yes. Friday the 14th, the 21st, Dana, 3pm, and the risk of delays are all there. |
| Everyday words, short sentences | Yes. “It has been determined that” and “failure to comply” are gone. |
| Cheerful and warm | Partly. 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.
The four style rules above came from one person: 12th grade level, clear, cheerful, no
--. Replace them with yours. Some other examples:
/rewriteemail, and also ask in plain words, to make sure the description triggers it.disable-model-invocation: true between the --- lines. Claude will then never use it by itself.The folder you put a skill in decides who gets it.
| For | Put the folder in | Good 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. |
/claude-shared:rewriteemail, in Antigravity as /rewriteemail, and in Codex as $rewriteemail.$ARGUMENTS is filled in only by Claude Code. Codex and Antigravity leave it as is, so shared skills that use it add one line telling those tools to read the text after the skill's name instead.name silently replace each other, so the setup script refuses duplicates.Claude can be taught in three places. Pick the one that matches the job.
| Use | When | Example |
|---|---|---|
| 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.