Claude Skills guide: Anthropic Claude logo and skill-related symbols on an orange background illustrating AI workflow automation

Building Skills for Claude: The Complete Guide

From planning to a working SKILL.md - practical patterns, MCP integration and distribution

A skill is a folder containing instructions that teach Claude how to handle specific tasks or workflows. Instead of re-explaining your context, preferences and expertise in every conversation, you teach Claude once and benefit every time. This guide covers everything you need to build effective skills from scratch.

What is a Claude Skill?

A skill is a folder that provides Claude with structured process knowledge. It consists of a few files that together define when and how Claude should execute a particular workflow.

Anatomy of a Skill

  • SKILL.md (required): Instructions in Markdown with YAML frontmatter - the core of the skill
  • scripts/ (optional): Executable code (Python, Bash, etc.) for deterministic tasks
  • references/ (optional): Documentation loaded on demand
  • assets/ (optional): Templates, fonts, icons for output generation

Skills are the opposite of ad-hoc prompting. They make workflows reproducible, testable and suitable for team use. They work best for recurring processes where consistency and quality matter more than improvisation.

15-30 min
to build your first working skill using skill-creator
3 levels
Progressive Disclosure - from YAML to reference files
1 skill
works on claude.ai, Claude Code and the API without modification

The Three Core Principles

Effective skills are built on three principles. They determine how you structure your skill and how Claude uses it.

Progressive Disclosure

A three-level system: YAML frontmatter is always loaded. SKILL.md content is loaded when relevant. Linked files are loaded only when needed. This keeps token usage low while preserving full expertise.

Composability

Claude can load multiple skills simultaneously. Your skill should work well alongside others, not assume it is the only one active. Keep the focus precise and avoid overlap with other skills.

Portability

Skills work identically on claude.ai, in Claude Code and via the API - provided the environment supports all dependencies. Build once, use everywhere.

Skills and MCP Servers: The Combination

If you already operate a working MCP server, you have done the hard part. Skills are the knowledge layer on top. They capture workflows and best practices so Claude can apply them consistently.

The Kitchen Analogy

MCP provides the professional kitchen: tools, ingredients and equipment. Skills provide the recipes: step-by-step instructions for creating something valuable. Together they enable complex tasks without users needing to figure out every step themselves.

MCP: Connectivity

Connects Claude to your services (Notion, Asana, Linear). Provides real-time data access and tool invocation.

Skills: Knowledge

Teaches Claude how to use your services effectively. Captures workflows and best practices in every interaction.

Without Skills

Users connect MCP but do not know what to do next. Support tickets, inconsistent results, frustrated users.

With Skills

Pre-built workflows activate automatically. Lower learning curve, consistent results, lower support burden.

For teams building agentic AI integrations , skills are the logical next step - turning raw tool access into reliable, optimised workflows.

Planning: How to Start Right

Before writing a single line, identify two to three concrete use cases. A well-defined use case describes precisely what a user wants to accomplish, which tools are required and what domain knowledge should be embedded.

"Good skills come from real problems, not abstract capabilities."

The Three Skill Categories

Category 1: Documents and Assets

Creating consistent, high-quality output: documents, presentations, apps, designs, code. Embedded style guides and templates. No external tools required.

Category 2: Workflow Automation

Multi-step processes with consistent methodology. Coordination across multiple MCP servers. Step-by-step validation and iterative refinement loops.

Category 3: MCP Enhancement

Workflow guidance on top of existing MCP access. Embedded domain expertise. Error handling for common MCP issues specific to your integration.

Technical Requirements

Folder structure and naming follow strict rules you should apply from the start:

Mandatory Rules

  • File name: Exactly SKILL.md (case-sensitive - no variations accepted)
  • Folder name: kebab-case: my-skill-name - no spaces, no capitals, no underscores
  • No README.md inside the skill folder (only at repository root for GitHub users)
  • No "claude" or "anthropic" in the skill name (reserved by Anthropic)

The YAML Frontmatter: The Most Important Part

The YAML frontmatter determines whether Claude loads your skill at all. Claude reads the name and description and then decides whether the skill is relevant to the current task.

Minimal Required Format

---
name: your-skill-name
description: What it does. Use when user mentions [specific phrase].
---

The description must contain TWO things: what the skill does AND when to use it (trigger conditions). Maximum 1024 characters, no XML angle brackets.

name (required)

kebab-case only. No spaces or capitals. Should match the folder name exactly.

description (required)

What + When. Include trigger phrases. Mention relevant file types. Stay under 1024 characters.

metadata (optional)

Custom fields: author, version, mcp-server, category, tags, documentation, support contact.

Good description (example): "Analyses Figma design files and generates developer handoff documentation. Use when user uploads .fig files, asks for 'design specs', 'component documentation', or 'design-to-code handoff'."

Writing Effective Instructions

The content of the SKILL.md body determines output quality. Concrete, actionable instructions are essential - vague guidance produces inconsistent results.

Be Specific and Actionable

Instead of "validate the data": "Run python scripts/validate.py --input {filename} . If validation fails, common issues include missing required fields and invalid date formats (use YYYY-MM-DD)."

Include Error Handling

Document common errors and their solutions. Particularly for MCP integrations: what to do on "Connection refused" or expired API keys? Give users a clear recovery path.

Reference Bundled Files Clearly

Move detailed documentation to references/ and link to it explicitly. Keep the main SKILL.md focused on core instructions and quick to load.

Apply Progressive Disclosure

Keep SKILL.md under 5,000 words. Put details in references/ . Claude loads sub-files only when needed - this saves context and improves accuracy on long tasks.

Testing and Iteration

Skills are living documents. Plan for iteration from the start. The most effective skill builders iterate on a single challenging task until Claude succeeds, then extract the winning approach into a skill.

1) Trigger Tests

Test 10-20 queries that should trigger the skill, and queries that should not. Aim for 90% correct recognition across varied phrasings.

2) Functional Tests

Run the complete workflow with real test data. Check output quality, API error rate and token consumption compared to baseline.

3) Performance Comparison

Compare the same task with and without the skill. Count messages, API calls, tokens and how often the user needs to correct or redirect Claude.

4) Use skill-creator

The built-in skill-creator skill helps you build, review and refine skills. Ask: "Help me build a skill for [use case] using skill-creator."

5) Read the Signals

Under-triggering: refine description, add more trigger phrases. Over-triggering: add negative triggers, be more specific. Execution errors: improve instructions, add error handling.

"Ask Claude: When would you use the [skill name] skill? It will quote the description back - that reveals exactly what is missing."

Proven Practical Patterns

These patterns emerged from early adopters and internal teams building skills across a wide range of industries and use cases.

Sequential Workflow Orchestration

Multi-step processes in a specific order. Explicit step dependencies. Validation at each stage. Rollback instructions on failure.

Multi-MCP Coordination

Workflows spanning multiple services. Clear phase separation. Data passing between MCPs. Centralised error handling for the full pipeline.

Iterative Refinement

Initial draft, quality check via script, improvement loop, finalisation. Output quality improves with each iteration cycle.

Domain-Specific Intelligence

Embedded expertise beyond tool access: compliance checks, industry-specific rules, institutional decision logic baked into every run.

Skills for European Organisations: Governance and Compliance

Skills offer European organisations a concrete path to making AI workflows reproducible, auditable and compliant. This is particularly relevant in the context of GDPR and the EU AI Act.

GDPR
Auditable, documented workflows instead of black-box prompting
EU AI Act
Skills as a foundation for risk-based AI governance frameworks
Git
Version control and peer review of AI process knowledge

Security Requirements

What You Should Ensure

  • Never embed API keys or passwords in SKILL.md or reference files
  • Verify and document third-party packages in scripts before deployment
  • Configure least-privilege with allowed-tools in Claude Code
  • Define an internal approval process and complete it before production use
  • Code execution runs in a sandbox without cross-session persistence

Concrete Use Cases for European Enterprises

Document Creation

Reports, proposals, meeting minutes in your corporate style - automatically and consistently.

Data Analysis

Reproducible pipelines for recurring analyses instead of one-off prompt experiments.

Process Playbooks

Onboarding, quality checks, customer correspondence - standardised and auditable.

Scale Team Knowledge

Expert knowledge as shareable Project Skills via Git. No more knowledge silos or tribal prompting.

"Skills are not just a developer feature - they are the mechanism by which organisations control AI quality and scale institutional knowledge."

Distribution and Sharing

Skills can be distributed in several ways - for individual users, teams and entire organisations. Since December 2025, administrators can roll out skills workspace-wide.

Claude.ai and Claude Code

Download the skill folder, compress as ZIP and upload via Settings. Ideal for manual testing and individual workflows.

API Integration

Use the /v1/skills endpoint for programmatic management. The container.skills parameter in the Messages API targets production systems, automated pipelines and agent architectures.

Organisation-Wide Deployment

Admins deploy skills across the full workspace. Automatic updates, centralised management. Version control via the Claude Console.

As an open standard, Agent Skills is designed so that skills remain portable across AI platforms. Platform-specific requirements are documented in the compatibility field of the SKILL.md. For a deeper look at Claude Code and agentic software development , see our dedicated article.

Common Problems and Solutions

Most problems with skills trace back to a handful of root causes. Here is how to diagnose and fix them.

Skill Fails to Upload

File name must be exactly SKILL.md (case-sensitive). YAML frontmatter must open and close with --- delimiters. Skill name must be kebab-case only.

Skill Does Not Trigger

Description too generic ("helps with projects"). Missing trigger phrases that users actually say. Missing mention of relevant file types handled by the skill.

Skill Triggers Too Often

Add negative triggers: "Do NOT use for..." Make the description more specific. Explicitly name counterexamples that should not activate the skill.

Instructions Not Followed

Place critical instructions at the top. Use ## Critical headers. Replace vague phrasing with concrete steps. Move detail to references/ and keep SKILL.md focused.

Conclusion: Skills as the Foundation for Scalable AI

Claude Skills are more than a technical feature. They are the mechanism by which organisations structure AI work, make it auditable and scale it. With a clear use case, a precise description and well-considered instructions, you can have a first working skill up and running in 15-30 minutes.

Key Takeaways

  • Skills = folder with SKILL.md, optional scripts, references and assets
  • Progressive Disclosure: YAML always, SKILL.md when relevant, files when needed
  • The description determines whether the skill triggers - precision here is everything
  • Skills + MCP = tool access plus embedded process knowledge
  • Test, iterate, version - skills are living documents, not one-off configurations
  • Organisation-wide rollout possible since December 2025

Teams that start building skills today lay the groundwork for AI usage that does not depend on the luck of a clever prompt - but on solid, documented processes. For a broader view of agentic AI adoption in Europe , see our analysis article.

Further Reading

Frequently Asked Questions

What is a SKILL.md file? +
The SKILL.md file is the core of every Claude Skill. It contains YAML frontmatter with name and description, plus the actual instructions in Markdown. Claude loads this file when it determines the skill is relevant to a given task.
How long does it take to build a first working skill? +
Using the built-in skill-creator skill, you can build and test a first working skill in 15-30 minutes. The biggest time investment is defining the use case clearly and formulating the description precisely - that is where most of the work lies.
How do Skills and MCP servers work together? +
MCP servers give Claude access to external services and data. Skills teach Claude how to use that access efficiently and consistently. MCP provides the tools; skills define the workflows. Together they enable complex, multi-step automation without users needing to plan every step themselves.
Can I distribute Skills across my entire organisation? +
Yes. Since December 2025, administrators can deploy skills workspace-wide across a Claude organisation. The API also provides the /v1/skills endpoint for programmatic management and the container.skills parameter in the Messages API for production deployments at scale.
What security considerations apply to Skills? +
Never embed secrets (API keys, passwords) in skills. Verify third-party packages before use. Use allowed-tools in Claude Code for least-privilege configuration. Define an internal approval process before production use. Code execution runs in a sandbox without cross-session persistence - a meaningful security boundary.
What should I do if my skill does not trigger? +
Ask Claude directly: When would you use the [skill name] skill? Claude will quote the description back to you, revealing what is missing. Common causes: description too generic, missing trigger phrases that users actually say, or missing mention of relevant file types. Refine the description field in the YAML frontmatter and retest.