Learning what is a skill.md file is the fastest way to understand Claude’s Skills feature, because the whole idea sits inside one small text file. If you have spent time around Claude recently, you will have heard people mention Skills, and at the centre of every Skill sits a SKILL.md. Understanding that file explains the feature, because a SKILL.md is where a reusable capability is actually defined: what it is for, when it should be used, and exactly how Claude should carry it out.
This guide explains the file’s structure, how Claude reads it, how it differs from neighbouring ideas like plugins and plain prompts, and why such a simple format has become so popular. By the end you will know how to read one, how to write one, and how to decide whether a task you repeat is worth turning into a skill.
What Is a SKILL.md File, in Plain English?
A SKILL.md file is a markdown document that packages a reusable skill for Claude. A skill might be “format meeting notes into our house style”, “prepare this spreadsheet as a client-ready report”, or “review code against our security checklist”. The file contains a short metadata header, called frontmatter, that names the skill and describes when it applies, followed by written instructions that tell Claude how to perform the task, step by step, in the same plain language you would use to brief a capable colleague. It can sit alongside supporting files, scripts, or templates that the instructions refer to.
- A SKILL.md defines one reusable capability in plain markdown.
- Frontmatter names the skill and describes when it should be used.
- The body holds step-by-step instructions written like a colleague brief.
- Supporting files, scripts, and templates can live alongside it.
The important idea is packaging. Before skills, this kind of know-how lived in scattered prompts people copied from documents and chat threads, each person holding a slightly different version. A SKILL.md turns that fragile folklore into a file: versionable, shareable, and editable like any other text in your project. When someone improves the process, they edit the file once, and everyone using that skill gets the improvement. It is less a new kind of AI and more a filing system for expertise that AI can read.

How Claude Uses the File: Progressive Disclosure
Claude does not read every skill you own at the start of every conversation; that would waste context and money. Instead, the system first sees only each skill’s name and short description, a table of contents of your capabilities. When your request matches a description, for example you ask for meeting notes formatted for clients, Claude loads that skill’s full instructions and follows them. This pattern is called progressive disclosure, and it is why the description line in the frontmatter matters so much: it is the trigger that decides whether the skill ever wakes up.
- Claude sees skill descriptions first and loads full instructions only on match.
- This progressive disclosure keeps context lean and costs low.
- The frontmatter description is the trigger, so it must be written precisely.
- A skill supplies your process, not new intelligence, so quality follows authorship.
Once loaded, the instructions act like a trusted playbook layered over Claude’s general abilities. They can direct it to use particular tools, follow your organisation’s templates, run included scripts for deterministic steps, and check its work in specified ways. The skill does not give Claude new raw intelligence; it gives it your process. That distinction explains both the power and the limit of the format: a skill written from real expertise produces strikingly consistent results, while a vague skill produces vagueness at scale, consistently.
The cost angle is worth spelling out. Every word loaded into a conversation costs context, and context is the most expensive part of running a model. A setup with forty skills would be unaffordable if Claude read all forty files before answering every message. Progressive disclosure solves that by loading only the one or two files that match, which is why people can keep large skill libraries without paying for them on every prompt.

Anatomy of a Typical SKILL.md
Open a typical file and you will see three layers. First, the frontmatter between two sets of dashes at the very top: the skill’s name and its description, the two fields the loader depends on, sometimes with optional extras. Second, the instruction body: a clear statement of purpose, the steps in order, rules and edge cases, and examples of good output where they help. Third, references to companions: templates to fill in, checklists to verify against, or scripts in the same folder that perform mechanical steps exactly the same way every time.
- Frontmatter holds the name and description the system triggers on.
- The body states purpose, ordered steps, rules, and examples.
- Companion templates, checklists, and scripts live in the same folder.
- One focused job per skill beats one sprawling do-everything file.
A minimal frontmatter block looks like this:
--- name: meeting-notes description: Format raw meeting notes into the standard client summary with decisions, owners, and deadlines ---
Good files share habits. They are written in direct imperative language, because instructions like “always include the date in the header” survive contact with real tasks better than essays about why dates matter. They describe the finished product concretely. They handle the obvious variations, such as what to do when source material is missing a section. And they stay focused on one job: a skill that tries to do five unrelated things triggers unreliably and instructs mushily, while five small skills compose beautifully, because Claude can load exactly the ones a task needs.

What Is a SKILL.md File Compared With Prompts, Plugins, and Memory Files?
A prompt is a one-off instruction inside a conversation; a skill is a standing instruction set that loads whenever relevant, across conversations and projects. Plugins and extensions are broader packaging: they can bundle multiple skills together with tool connections and configuration for easy installation, so a skill is often one ingredient inside a plugin rather than a rival to it. Memory files such as a project’s CLAUDE.md also hold standing instructions, but they apply to everything in that project all the time, while a skill applies to one task type wherever it occurs.
- Prompts are one-off; skills are standing, reusable, and trigger automatically.
- Plugins package skills with tools and configuration for easy installation.
- Project memory files apply always; skills apply per task type.
- The layers complement each other rather than competing.
The cleanest mental model is a workshop. The project memory file is the sign on the wall with house rules. Plugins are toolboxes you bring into the workshop. Skills are the individual labelled tools, each with its instruction card, taken down only when the job calls for them. All three layers can coexist in one setup, and mature users combine them deliberately: house rules always on, toolboxes installed for a domain, and skills loading just in time so the workspace, and Claude’s attention, never gets cluttered with instructions for jobs you are not doing today.
If you already use a project memory file, see our guide on how to write a CLAUDE.md file to keep the two layers working together instead of duplicating each other. Skills also pair well with automation: once a skill is solid, you can trigger it from a repeatable command — our guide on how to create custom slash commands in Claude Code shows how that works.
Writing Your First SKILL.md
Start from a task you have already explained to Claude at least three times; repetition is the signal that a skill wants to exist. Write the description first and make it concrete about triggers: not “helps with documents” but “formats raw meeting notes into the standard client summary with decisions, owners, and deadlines”. Then write the steps as you would for a smart new hire, including your quality checks and the output format you expect, and add one short example if the format is at all unusual. Save it where your setup discovers skills, and test it on a real task the same day.
- Pick a task you have explained to Claude three or more times.
- Write the frontmatter description first, naming the exact trigger.
- Draft the steps as a brief for a smart new hire, with quality checks.
- Add one short example of good output if the format is unusual.
- Save the file in your skills folder and run it on a real task the same day.
- Revise after the first run, then again after the third.
Expect two or three revision rounds, and treat them as the process working rather than failing. The first real run will expose a step you considered obvious and never wrote down; add it. A trigger phrase you use naturally may not match your description; widen it. This maintenance loop is quick because the artefact is just text you can read at a glance. Within a week, the tasks you formalised stop needing explanation entirely, which is the quiet, compounding payoff that makes people enthusiastic about such an unglamorous little file.
Two traps are worth avoiding from the start. The first is writing the skill as an essay about the topic instead of instructions for the task — Claude needs “do this, then check that”, not background reading. The second is stuffing everything into one file. If your skill covers formatting, reviewing, and emailing, split it into three skills that chain together. Small files trigger better, read faster, and are easier to fix when something goes wrong.
Where Skills Fit in a Real Workflow
Skills earn their keep in the boring middle of real work: the report you format every Friday, the code review checklist you run on every pull request, the client summary that follows the same template each month. They are not for one-off creative work, and they are not a replacement for judgement. They are for the parts of a job where consistency matters more than novelty, and where you already know what good looks like.
Developers get the most obvious value, because code review checklists, commit message formats, and test routines are easy to write down and painful to repeat. But the same logic covers writers with a house style guide, analysts with a reporting template, and managers with a meeting format. If you are building a coding workflow, our roundup of the best Claude skills for coding is a good place to see what well-written skills look like in practice, and if your skills need live documentation as context, read what Context7 MCP is to see how external docs can feed the same workflow.
Teams benefit even more than individuals. One person writes the skill, the whole team inherits the standard, and improvements land for everyone at once. That is the part people underestimate: a SKILL.md is a version-controlled document, so a team’s best practice stops living in one person’s head and starts living in a file the whole team can read, argue about, and improve.
Frequently Asked Questions
Is a SKILL.md file code?
Mostly no. It is a plain markdown text file with a small metadata header and instructions written in ordinary language. A skill folder can include optional scripts for mechanical steps, but the SKILL.md itself is meant to be readable and editable by non-programmers.
Where do SKILL.md files live?
They live in designated skills folders, which can be personal to you, shared with a project, or bundled inside a plugin, depending on your setup. Each skill gets its own folder named for the skill, with SKILL.md inside it.
How does Claude know when to use a skill?
It compares your request against each skill’s frontmatter description. When a request matches, the full instructions load and Claude follows them. Well-written, specific descriptions are what make triggering reliable.
Can I share a SKILL.md with my team?
Yes, and that is one of the format’s main purposes. Because it is plain text, you can share it through your normal code or document systems, version it, and improve it together, so everyone benefits from one person’s refined process.
How long should a SKILL.md file be?
Long enough to cover the task and its edge cases, short enough to read at a glance. Most good skills run from a few dozen lines to a few hundred. If yours passes five hundred lines, it is probably trying to do more than one job and deserves to be split.
Write One for the Task You Keep Re-Explaining
A SKILL.md file is a small idea with large consequences: your expertise about a recurring task, written once as frontmatter plus plain-language instructions, loaded by Claude exactly when a matching request appears. It differs from a prompt by lasting, from a plugin by being one ingredient, and from memory files by being task-shaped rather than always-on. Write one for the task you are tired of re-explaining, refine it twice, and you will understand the format better than any description, including this one, can teach.
The best first skill is the one you can test today. Pick the task, write the description, run it once, and fix what breaks. A week from now, that task will need no explanation at all — and that quiet saving, repeated across every task you formalise, is the whole point of the format.

