Authoring guide
How to Create a Claude Skill
A practical, source-backed authoring workflow for creating a focused Claude Skill that triggers reliably and stays maintainable.
Primary source takeaway: skill creator guidance emphasizes focused scope, clear descriptions, and iterative testing over giant instruction dumps.
1. Choose one recurring job
Start with the work, not the format. A good skill candidate is a task you can name in one sentence, repeat across projects, and judge with a recognizable definition of done. "Create investor-ready board deck charts from this spreadsheet" is a candidate. "Help with business" is not.
Write the non-goals beside the goal. If the skill writes launch copy, say whether it should also generate images, post to social media, or inspect analytics. Clear exclusions improve both safety and trigger accuracy.
2. Write the trigger description
The description field does double duty: it tells humans what the skill is for and gives the agent a matching rule. Include the task, the domain, and the signal that should cause activation. Leave out grand claims, adjectives, and implementation details that do not help matching.
---
name: invoice-audit
description: Use when reviewing vendor invoices against contract terms, purchase orders, and known exception rules.
---
If you cannot write a specific description, the skill is probably not scoped tightly enough.
3. Write the procedure
Use imperative steps. Tell the agent what to inspect first, which files to open, which assumptions to avoid, and what output shape to produce. Give examples only when they remove ambiguity. For complicated tasks, route to a reference file instead of overloading the entrypoint.
Strong procedures include stop conditions. A skill that might touch credentials, legal claims, medical advice, external deploys, or customer data should tell the agent when to ask for confirmation or perform a read-only review.
4. Package references, scripts, and assets
Add files because they reduce error. If the agent needs a current schema, put the schema in the skill. If the job needs a parser, put a script in scripts/. If the output must match a format, include a template in assets/.
Every bundled file should have a reason to exist. If a reference file duplicates the same instruction in three places, cut it down. If a script makes a network call or writes to disk, document that behavior in SKILL.md so reviewers can spot it quickly.
5. Evaluate before sharing
Test positive prompts, near-miss prompts, and adversarial prompts. A positive prompt should trigger the skill. A near-miss prompt should not. An adversarial prompt should not make the skill ignore its own safety boundaries.
Keep a small eval log next to the skill while it is young. The log does not need a full framework on day one; a table of prompt, expected behavior, actual behavior, and fix is enough to improve the description and instructions.
FAQ
Is this site affiliated with Anthropic?
No. Claude Has Skills is an independent editorial guide. It links to Anthropic and Agent Skills primary sources so readers can verify product details directly.
Does a skill replace normal prompting?
No. A skill packages repeatable instructions and resources so the agent can load them when a task matches. The user still asks for a task, and the agent still decides what to read and run.
How long should `SKILL.md` be?
Long enough to route and execute the core procedure, but short enough that variant-specific details can live in named references.
Can I create a skill from an existing prompt?
Yes, but rewrite it as an operating procedure. Add trigger metadata, remove one-off context, and package any reusable files.
Primary Sources
Creating custom Skills
Claude Help Center
App-facing custom skill packaging guidance.
Agent Skills quickstart
Agent Skills
Reference flow for creating a first portable skill.
Best practices for skill creators
Agent Skills
Source for scoping, trigger descriptions, and progressive disclosure guidance.
Agent Skills specification
Agent Skills
Portable format reference for SKILL.md and bundled files.
anthropics/skills repository
GitHub
Official example repository with template and production-grade reference skills.