SKILL.md Template

A SKILL.md template gives you the structure for an Agent Skill: a short file that teaches an AI agent how to do one specific job, and tells it when that job applies. Use this free SKILL.md template (it works as a Claude skill template too) to write the name, description, and instructions, then point to any scripts or reference files the agent needs.

AI prompt
I need to write a SKILL.md. Act as an expert technical writer and draft one for me.

Use this structure, keeping each section clear, concise, and genuinely useful to the reader:

1. Frontmatter
2. Purpose
3. When to use it
4. Inputs and prerequisites
5. Instructions
6. Rules and constraints
7. Examples
8. Bundled files
9. Output
10. Ownership and changes

Before you begin, ask me for the details you need: the product, team, or audience this is for, and anything specific I should include. Then write the full SKILL.md in clean, well-formatted Markdown.

Connected HelpDocs over MCP? Add "save this as an unpublished HelpDocs article" to the prompt and the draft lands in your knowledge base, ready to review.

The SKILL.md template

Give your skill its own folder, then put a SKILL.md file inside it. Follow the layout below, swapping the guidance in each section for details on the task your agent should handle.

TemplateDownload for Word

1. Frontmatter

This is the YAML section at the very top of your file. Agents read these fields first, so they decide whether your skill ever gets used.

FieldRequiredWhat to write
nameYesA short, lowercase, hyphenated name for the skill (for example, release-notes)
descriptionYesWhat the skill does and when to use it, in one or two sentences

Write this description for the agent rather than for a human reader. Spell out the task, the inputs it expects, and the phrases or situations that should trigger it.

2. Purpose

Use a sentence or two to say what job this skill handles and what a good outcome looks like. One skill, one job. If you catch yourself writing “and also,” that’s your cue to split the skill into separate pieces.

3. When to use it

Spell out when the agent should reach for this skill and when it shouldn’t. Name the concrete signals: what the request looks like, which file types are involved, and which tools are at play.

4. Inputs and prerequisites

Spell out what the agent requires before beginning: files, access, tools, or details you need to request from the user. Then say what happens when something is missing.

5. Instructions

List what the agent does, one step after another. Make each step a straightforward instruction.

  1. Step name. What the agent does, and where it does it.
  2. Step name. Any choice the agent needs to make, plus the rule that guides it.
  3. Step name. How to confirm the outcome before going to the next step.

6. Rules and constraints

The must-do and never-do rules for the agent while using this skill: which formats to follow, which files to leave alone, how far it can go, and when it should pause and ask.

7. Examples

Give one or two quick examples pairing a request with the result you want. An agent learns from examples far quicker than from descriptions.

8. Bundled files

Write down every script, reference document, template, and asset that lives in the skill folder, and note when the agent should use each one. If a reference runs long, keep it in its own file so the agent doesn’t read it until the task calls for it.

FileWhat it containsWhen to use it
TODOTODOTODO

9. Output

Spell out what the final deliverable looks like. Cover its format, where it gets saved or handed back, and what the agent needs to tell you when it’s done.

10. Ownership and changes

Name the owner of the skill and the date of its most recent review. Log any changes worth calling out, so you can figure out what made the agent behave differently.

VersionDateOwnerChange
1.0TODOTODOInitial version

Tip

Skills deliver their best results when the knowledge behind them stays current. Start a free HelpDocs trial and give the documentation your agents lean on one searchable home.

How to fill in this SKILL.md template

Your skill won’t do much good if the agent can’t find it and follow along. These habits help:

  • Give the description the most attention. That’s what determines whether the skill loads at all. State the task and what sets it off, in plain terms.
  • Scope each skill to a single job. Tight skills fire more reliably and stay simpler to keep up with.
  • Give steps, not prose. Brief, direct directions outperform rambling explanations.
  • Push the heavy content into bundled files. Leave SKILL.md brief and have it point to reference files for the details, so the agent only reads those when necessary.
  • Run it against actual requests. Have an agent tackle the task several different ways and correct anything it gets wrong.
  • Leave the source of truth somewhere else. Link to documentation that stays current instead of copying it in, so the skill doesn’t go stale.

Agent instructions for your repository start with our AGENTS.md template. To see how agents put documentation to work, check out how AI uses your knowledge base.

SKILL.md template FAQ

What is a SKILL.md file?

The SKILL.md file is the core piece of an Agent Skill. A skill is a folder, and inside it you'll find that file. It starts with YAML frontmatter that names the skill and describes it, then continues with markdown instructions for the agent to follow. The folder can also include scripts, reference documents, and any other files those instructions point to.

Is this a Claude skill template?

Yes. Anthropic built Agent Skills for Claude, so this counts as a Claude skill template. Since the format is now an open standard, other agent tools can adopt it too, and the SKILL.md structure is made to travel between any tool that supports it.

Why does the description matter so much?

Agents start with just the skill name and description in hand. The full SKILL.md only gets read once a task seems to fit. That pattern goes by the name progressive disclosure. If your description skips either the what or the when, the agent might never bother opening it.

What is the difference between SKILL.md and AGENTS.md?

AGENTS.md hands a coding agent the basics for a single repo: how to set things up, which commands to run, and the conventions in play. A skill bundles the steps for a task you'll repeat, and you can reuse it across projects. Plenty of teams use both.

Can a skill use our existing documentation?

Yes. A skill can point at reference files, and an agent hooked into your knowledge base over MCP can pull the latest articles instead of working from a saved copy. Keeping that source documentation accurate counts for more than anything you load into the skill.

Turn your template into a living knowledge base.

Create, organize, translate, and connect your docs without the admin sprawl of a support suite.

Start free 14-day trial

No credit card required.

Migrate from