# Claude Code Skills: The Complete Setup and Creation Guide

Summary: Claude Code skills, set up end to end. Install pre-built skills, then write your own custom workflows with SKILL.md. Hands-on, no prior setup assumed.

Claude Code skills, set up end to end. Install pre-built skills, then write your own custom workflows with SKILL.md. Hands-on, no prior setup assumed.

By [Mark Fershteyn](https://www.masteringai.io/about) January 3, 2026 Updated January 10, 2026

![Claude Code Skills: The Complete Setup and Creation Guide](https://www.masteringai.io/images/generated/guide-claude-code-skills.webp)

Key takeaways

-   A skill is a folder containing a SKILL.md file that tells Claude Code how to perform a repeatable procedure, so you stop re-explaining the same workflow every session.
-   Skills hold procedures; CLAUDE.md holds standing project context. If it is a set of steps, it belongs in a skill; if it is a fact that always applies, it belongs in CLAUDE.md.
-   Skills live in a known directory and are picked up automatically — installing a pre-built skill is mostly a matter of putting the folder in the right place.
-   A good SKILL.md names when the skill should trigger, the steps to follow, the expected output format, and what to avoid.
-   Skills execute instructions from a file, so review any third-party skill before installing it the same way you would review a script.

This **Claude Code skills setup guide** teaches you everything about installing, creating, and managing skills-the reusable instruction sets that make Claude work _your_ way, automatically.

You've been using Claude Code for a while. You've written the same prompt five times this week. You've explained your company's formatting rules again. You've re-typed your code review checklist for the third PR today.

**There's a better way.**

Skills are how you teach Claude to work _your_ way-once. Instead of repeating yourself, you create a skill that captures your process. Claude applies it automatically whenever relevant.

This Claude Code skills tutorial walks you through everything: installing pre-built skills, creating your own, and organizing skills for your team.

Context

**Prerequisites:** This guide assumes you have Claude Code installed and working. If you haven't set it up yet, start with our [Claude Code Setup Guide](https://www.masteringai.io/guides/claude-code-setup-mac) first.

* * *

## What Are Skills?

Claude Code skills are reusable instruction sets stored as markdown files (SKILL.md) that Claude follows automatically when relevant to your task. Skills let you define workflows once-brand voice guidelines, code review checklists, report formatting-and have Claude apply them automatically without re-explaining every time.

A skill is a set of instructions that Claude follows automatically when relevant to your task.

Think of skills as teaching Claude how _you_ work:

-   Your brand voice guidelines
-   Your code review checklist
-   Your report formatting template
-   Your data cleaning process

**Key characteristics:**

-   **Persistent** - Set them once, use them forever
-   **Automatic** - Claude applies them when relevant (no need to invoke manually)
-   **Shareable** - Export and share with teammates
-   **Stackable** - Multiple skills can apply to the same task

Tip

**The core idea:** Skills turn your one-time explanations into permanent knowledge. Instead of writing "Please use our brand voice: confident but not arrogant, simple words, active voice" every time, you teach Claude once. It remembers.

### Real Examples: What People Actually Build

Skills aren't just for developers. Here's what real users are doing:

**Marketing & Content**

-   **SEO Content Optimizer:** "A full SEO workflow, equivalent to 2+ hours of junior writer time, packaged into a single Skill that delivers in minutes."
-   **Newsletter Repurposing:** Transform one blog post into LinkedIn posts, Twitter threads, and email snippets-all matching your voice.
-   **Brand Voice Checker:** Scan any content for off-brand language before publishing.

**Internal Communications**

-   **Status Reports:** "A set of resources to help me write all kinds of internal communications using the formats my company likes-status reports, leadership updates, incident reports, project updates."
-   **Meeting Prep:** Before client calls, automatically pull recent support tickets, usage metrics, and outstanding issues into a 2-minute briefing.

**Finance & Operations**

-   **Management Accounting:** "Skills streamline our finance workflows. Claude processes multiple spreadsheets, catches anomalies, and generates reports using our procedures. What once took a day, we accomplish in an hour."
-   **Contract Review:** Scan agreements for specific clauses, compare against your standard terms, flag items for legal review.

**Writing & Research**

-   **Brainstorm Headlines:** Generate and critique headline alternatives for any piece.
-   **Research Assistant:** Conduct supporting research, act as thesaurus, make SEO recommendations-one user reported "writing way more" as a result.

Context

**You don't need to code.** Skill creation is done in plain English. Claude can even help you create them-describe your workflow, and Claude generates the SKILL.md file.

* * *

## Skills vs. CLAUDE.md: Which Do You Need?

Before creating a skill, make sure you actually need one. Both skills and CLAUDE.md give Claude context-but they serve different purposes.

| Use Case | Use This |
| --- | --- |
| Project architecture, tech stack | CLAUDE.md |
| How to run tests, deploy | CLAUDE.md |
| Your personal writing style | Skill (personal) |
| Team code review standards | Skill (project) |
| Brand voice guidelines | Skill |
| Database schema location | CLAUDE.md |
| Report formatting template | Skill |

**Rule of thumb:** CLAUDE.md is _what this project is_. Skills are _how to do things_.

-   **CLAUDE.md** = Project documentation that Claude reads. Lives in your repo, visible to everyone.
-   **Skills** = Reusable workflows that Claude applies automatically. Can be personal or shared.

Key insight

**They work together.** CLAUDE.md tells Claude about your project. Skills tell Claude your preferences for completing tasks. Use both for the best results.

If you just need Claude to know about your tech stack or project structure, add it to CLAUDE.md. If you want Claude to _do something a specific way_ every time, create a skill.

* * *

## Where Skills Live

Skills can exist in two locations:

### Personal Skills (Global)

```
~/.claude/skills/
├── brand-voice/
│   └── SKILL.md
├── code-review/
│   └── SKILL.md
└── weekly-report/
    └── SKILL.md
```

Personal skills apply **everywhere you use Claude Code**\-any project, any folder.

**Use personal skills for:**

-   Your individual preferences
-   Workflows you use across multiple projects
-   Personal productivity patterns

### Project Skills (Local)

```
your-project/
├── .claude/
│   └── skills/
│       ├── pr-template/
│       │   └── SKILL.md
│       └── testing-standards/
│           └── SKILL.md
├── src/
└── package.json
```

Project skills apply **only within that project folder** and its subfolders.

**Use project skills for:**

-   Team conventions specific to this codebase
-   Project-specific templates and workflows
-   Standards you want version-controlled with your code

Key insight

**Versioned with your code:** Project skills live in `.claude/skills/`, which means they can be committed to git. Your whole team gets the same skills automatically when they clone the repo.

* * *

## Installing Pre-Built Skills

You don't need to create skills from scratch. We've curated a library of production-ready skills you can install in seconds.

### Browse the Skills Library

Our [Skills Library](https://www.masteringai.io/marketplace) has skills organized by category:

**Popular starting points:**

-   **[PDF Skill](https://www.masteringai.io/marketplace/pdf)** - Extract text, analyze contracts, summarize documents
-   **[Frontend Design](https://www.masteringai.io/marketplace/frontend-design)** - Generate polished UI components and pages
-   **[DOCX Skill](https://www.masteringai.io/marketplace/docx)** - Create and edit Word documents with proper formatting
-   **[Skill Creator](https://www.masteringai.io/marketplace/skill-creator)** - Let Claude build custom skills for you
-   **[Theme Factory](https://www.masteringai.io/marketplace/theme-factory)** - Generate a design system, dark mode, and design tokens
-   **[Algorithmic Art](https://www.masteringai.io/marketplace/algorithmic-art)** - Creative coding for generative patterns and visuals
-   **[Test a web app in your browser](https://www.masteringai.io/marketplace/webapp-testing)** - Click through pages and catch bugs before users do
-   **[Build interactive React components](https://www.masteringai.io/marketplace/artifacts-builder)** - Prototype UI with Tailwind and shadcn, shareable as a working page

Each skill page includes installation instructions, example prompts, and use cases.

Tip

**[Browse All Skills →](https://www.masteringai.io/marketplace)** - Filter by category (analyze, design, develop, write, etc.) to find skills that match your workflow.

### Method 1: Direct Download

The simplest approach-download the SKILL.md file directly. Each skill in our [Skills Library](https://www.masteringai.io/marketplace) shows the exact command.

Terminal

$mkdir -p ~/.claude/skills/pdf

$curl -o ~/.claude/skills/pdf/SKILL.md [https://raw.githubusercontent.com/anthropics/skills/main/skills/pdf/SKILL.md](https://raw.githubusercontent.com/anthropics/skills/main/skills/pdf/SKILL.md)

Downloaded: SKILL.md

Now Claude can analyze PDFs. Test it:

claude - ~/Documents

$claude

You: Analyze the contract in proposal.pdf and find the termination clause

Using skill: PDF

I found the termination clause on page 12, section 8.2...

### Method 2: Plugin Marketplace

Claude Code has a plugin system for installing skill bundles:

claude - ~

$claude

You: /plugin marketplace add anthropics/skills

Added marketplace: anthropics/skills

You: /plugin install document-skills@anthropic-agent-skills

Installed: document-skills (includes pdf, docx, xlsx, pptx)

### Method 3: Clone and Customize

For exploring or modifying skills:

Terminal

$git clone [https://github.com/anthropics/skills.git](https://github.com/anthropics/skills.git) ~/anthropic-skills

$cp -r ~/anthropic-skills/skills/pdf ~/.claude/skills/

Skill installed

* * *

## Creating Your First Custom Skill

Pre-built skills are great, but the real power comes from creating your own. You have two paths: let Claude help you (easier) or write it yourself (more control).

### The Easy Way: Use Skill Creator

Don't want to write SKILL.md files by hand? Use the **Skill Creator** skill to generate them through conversation.

claude - ~

You: Help me create a skill for my weekly status report

Using skill: Skill Creator

I'll help you create a status report skill. Let me ask a few questions:

1\. What sections does your report typically include?

2\. Who's the audience (manager, team, stakeholders)?

3\. What format do you need (Slack, email, document)?

Answer Claude's questions, and it generates a complete SKILL.md file tailored to your workflow.

Install Skill Creator:

Terminal

$mkdir -p ~/.claude/skills/skill-creator

$curl -o ~/.claude/skills/skill-creator/SKILL.md [https://raw.githubusercontent.com/anthropics/skills/main/skills/skill-creator/SKILL.md](https://raw.githubusercontent.com/anthropics/skills/main/skills/skill-creator/SKILL.md)

Tip

**Learn more:** See the [Skill Creator skill page](https://www.masteringai.io/marketplace/skill-creator) for detailed examples and use cases.

### Voice-First Skill Creation

Here's an unconventional tip from power users: use voice to create skills faster.

**The setup:**

-   Use a local whisper model (or any speech-to-text)
-   Speak your workflow description instead of typing

**Why it works:**

1.  **Faster than typing** - Describing a workflow verbally takes 2 minutes; writing it takes 10
2.  **More natural capture** - You explain processes more completely when talking than when writing
3.  **Claude handles transcription errors** - Mistranscriptions like "ExcelElanishMark" get interpreted correctly as "exclamation mark" from context

claude - ~

You: \[Speaking via voice input\] Help me create a skill for my weekly report. Every Friday I pull data from our dashboard, summarize the key metrics, highlight wins and blockers, and send it to my manager in Slack. The format should be bullet points, no more than 300 words, and I always include next week's priorities at the end.

Using skill: Skill Creator

Based on your description, here's a SKILL.md for your weekly report...

This approach is especially valuable for non-technical users who find writing structured documents tedious. Speak your workflow, let Claude structure it.

### The Spec-Based Approach: Let Claude Interview You

Instead of writing your SKILL.md from scratch, let Claude interview you about your workflow first. This technique comes from developers who build large features with Claude Code.

**How it works:**

claude - ~

You: I want to create a skill for my weekly status report. Interview me about my workflow first-ask questions about what I need, then generate the SKILL.md.

Claude: I'll help you create a comprehensive status report skill. Let me understand your workflow:

1\. Who reads these reports? (manager, team, stakeholders, executives?)

2\. What sections do you typically include?

3\. Where does the source data come from? (project board, git commits, notes?)

4\. What format do you deliver in? (Slack, email, doc?)

5\. What's your biggest pain point with the current process?

After answering these questions, Claude generates a SKILL.md that captures your actual workflow-not a generic template.

**Why this works:**

-   Surfaces requirements you'd forget to write down
-   Captures edge cases through follow-up questions
-   Produces skills that match how you _actually_ work
-   Takes 5 minutes of conversation instead of 30 minutes of writing

Tip

**Pro tip:** Start a fresh session to execute the skill after Claude generates it. This prevents the interview context from interfering with the skill's clean execution.

### Creating Skills Manually

Want full control? Here's how to write skills yourself.

**The Anatomy of a Skill**

At minimum, a skill is a folder containing a `SKILL.md` file:

```
my-skill/
└── SKILL.md
```

The SKILL.md file has two parts:

1.  **YAML frontmatter** - Metadata that Claude reads first
2.  **Markdown content** - Instructions Claude follows

Here's the simplest possible skill:

```
---
name: friendly-tone
description: Makes all responses warm and conversational
---

# Friendly Tone

When responding:
- Use "you" and "I" instead of formal language
- Add occasional encouragement ("Great question!")
- Keep sentences short and scannable
- Avoid corporate jargon
```

That's it. This skill will activate whenever you ask Claude to write something where tone matters.

**Step-by-Step: Build a Code Review Skill**

Let's create something more useful-a code review skill that applies your team's standards.

**Step 1: Create the skill folder**

Terminal

$mkdir -p ~/.claude/skills/code-review

**Step 2: Create SKILL.md with your requirements**

```
---
name: code-review
description: Reviews code changes for security, tests, documentation, and style following team standards
---

# Code Review Checklist

When reviewing code, check each of these areas systematically.

## Security
- [ ] No hardcoded secrets, API keys, or credentials
- [ ] User input is validated and sanitized
- [ ] SQL queries use parameterized statements
- [ ] Authentication checks are in place for protected routes

## Testing
- [ ] New functionality has corresponding tests
- [ ] Edge cases are covered (null, empty, boundary values)
- [ ] Tests are independent and don't rely on execution order

## Documentation
- [ ] Public functions have clear docstrings
- [ ] Complex logic has inline comments explaining "why"
- [ ] README updated if behavior changes

## Code Style
- [ ] Follows existing patterns in the codebase
- [ ] No commented-out code left behind
- [ ] Variable names are descriptive
- [ ] Functions do one thing well

## Output Format

Provide feedback as a markdown checklist with:
- ✅ for passing items
- ❌ for issues with specific line numbers and suggestions
- ⚠️ for minor concerns or suggestions

End with a summary: "Ready to merge" or "Needs changes: [list]"
```

**Step 3: Save and test**

Save this file to `~/.claude/skills/code-review/SKILL.md`, then:

claude - ~/my-project

$claude

You: Review the changes in my last commit

Using skill: code-review

\## Code Review: commit abc123

\### Security

✅ No hardcoded secrets detected

❌ Line 47: User input passed directly to SQL query...

Claude automatically used your code review skill because the task matched the skill's description.

### Common Mistakes to Avoid

These gotchas trip up even experienced users. Learn from the community's hard-won lessons.

**Prettier Breaking Your SKILL.md**

Prettier or other formatters reformat your YAML frontmatter, breaking Claude Code's parsing. Skills silently don't appear.

Fix: Add a prettier-ignore comment:

```
<!-- prettier-ignore -->
---
name: my-skill
description: Reviews code for security vulnerabilities and suggests fixes
---
```

Or keep descriptions on a single line. Multi-line descriptions are the usual culprit.

**The Silent Character Limit**

Skill descriptions exceeding 15,000 characters fail silently. No warning, no error-skills just stop working.

Fix: Set a higher budget or keep SKILL.md lean:

```
export SLASH_COMMAND_TOOL_CHAR_BUDGET=30000
```

**Vague Descriptions That Never Trigger**

Generic descriptions don't give Claude enough signal to activate your skill.

```
# Won't trigger reliably
description: Helps with writing

# Triggers consistently
description: Applies Acme Corp brand voice when writing customer-facing emails, documentation, blog posts, and marketing copy
```

Include specific trigger terms-the types of tasks, content, or contexts where this skill applies.

**Deeply Nested File References**

Claude partially reads files when references are nested too deep (A → B → C → D). Keep references flat-link directly from SKILL.md to reference files.

* * *

## Making Skills Work Reliably

Here's something the documentation doesn't emphasize: skills are _supposed_ to activate automatically, but they often don't.

Community testing found that with basic setup, skills activate only about **20% of the time**\-essentially a coin flip. This section covers techniques that dramatically improve activation rates.

### Why Skills Don't Activate

Claude decides whether to use a skill based on matching your request against skill descriptions. This semantic matching is imperfect. Without reinforcement, Claude often "blags its way through" with general knowledge instead of loading your carefully crafted skill.

### The Forced Evaluation Pattern (84% Success)

This technique forces Claude to explicitly evaluate each skill before proceeding. It's verbose, but it works.

When you want to ensure skills activate, include this in your prompt:

```
Before responding, evaluate each available skill:
1. List each skill with YES/NO and brief reasoning
2. Activate relevant skills using the Skill() tool immediately
3. Only then proceed with the task

CRITICAL: The evaluation is worthless unless you ACTIVATE the skills.
```

**Why it works:** Forcing Claude to "show its work" before proceeding makes it harder to skip skill activation. The explicit evaluation step creates a commitment mechanism.

### The Explicit Mention Approach

Simpler than forced evaluation-just mention the skill by name:

```
Use my code-review skill to review these changes.
```

vs.

```
Review these changes.
```

The first activates the skill reliably. The second might or might not.

### Validation Scripts in Skills

For critical workflows, add validation to your skills:

```
## Validation

After completing the task, verify:
1. Run the validation script: `./validate-output.sh`
2. If validation fails, report specific errors
3. Fix issues and re-validate

Make validation verbose. Include specific error messages like:
"Field 'signature_date' not found. Available fields: customer_name,
order_total, signature_date_signed"
```

Verbose validation helps Claude self-correct when skills partially activate or miss instructions.

Warning

**The trade-off:** These techniques add overhead. For casual use, basic skills work fine. For critical workflows where consistency matters, invest in reliability patterns.

### Troubleshooting

**Skill Not Being Used**

_Symptoms:_ Claude ignores your skill even when relevant.

_Fixes:_

1.  Check the `description` field-is it specific enough?
2.  Verify the skill is in the right location (`~/.claude/skills/` or `.claude/skills/`)
3.  Check that SKILL.md has valid YAML frontmatter
4.  Try explicitly mentioning the skill: "Use my code-review skill to..."

**Skill Loading but Wrong Behavior**

_Symptoms:_ Claude uses the skill but doesn't follow all instructions.

_Fixes:_

1.  Simplify instructions-shorter and clearer beats comprehensive
2.  Add examples of good output
3.  Put the most important instructions first
4.  Use headings to organize sections Claude can reference

**Conflicting Skills**

_Symptoms:_ Two skills seem to fight each other.

_Fixes:_

1.  Make descriptions more specific so only one applies
2.  Combine related skills into one
3.  Use conditional sections: "When doing X, follow these rules..."

* * *

## Advanced Patterns

Once you're comfortable with basic skills, these patterns unlock more power.

### Multi-File Skills

Skills can reference additional files. Put them in the same folder:

```
brand-voice/
├── SKILL.md
├── examples.md
├── words-we-use.md
└── words-we-avoid.md
```

In your SKILL.md, reference them:

```
---
name: brand-voice
description: Applies company brand voice guidelines to all written content
---

# Brand Voice Guidelines

Apply our brand voice to all content. When writing:

1. Check `words-we-use.md` for preferred terminology
2. Check `words-we-avoid.md` for banned words
3. See `examples.md` for before/after comparisons

## Core Principles
...
```

Claude loads the additional files only when needed, keeping things fast.

### Skills with Scripts

Skills can include executable code. This is powerful for automation:

```
deploy-checker/
├── SKILL.md
├── check-tests.sh
└── validate-env.sh
```

```
---
name: deploy-checker
description: Validates deployment readiness by running pre-flight checks
---

# Deployment Readiness Check

Before any deployment, run these validation scripts:

1. Run `./check-tests.sh` to verify all tests pass
2. Run `./validate-env.sh` to check environment variables
3. Report any failures with specific remediation steps
```

Warning

**Security note:** Only install skills from sources you trust. Skills with scripts can execute code on your machine. Review bundled scripts before using skills from unknown sources.

### Conditional Instructions

Make skills smarter with conditional logic:

```
---
name: response-format
description: Formats responses appropriately for different contexts
---

# Response Formatting

Adjust format based on context:

## For Slack messages
- Keep under 300 words
- Use emoji sparingly (1-2 max)
- Break into short paragraphs

## For documentation
- Use full sentences
- Include code examples
- Add cross-references to related docs

## For email
- Start with the main point
- Use bullet points for lists
- End with clear next steps
```

### Skill Stacking: Combining Multiple Skills

Skills are composable-Claude can use several skills together on a single task. But there are limits.

**How skill stacking works:**

Claude scans all available skills, evaluates relevance, and loads the ones that apply. For a task like "write a customer email about our new feature," Claude might activate:

-   Your brand-voice skill
-   Your email-format skill
-   Your product-knowledge skill

**The reality check:**

Community testing reveals important constraints:

| Skills Active | Quality | Notes |
| --- | --- | --- |
| 1-2 skills | Excellent | Claude handles this well |
| 3 skills | Good | Some quality dip, occasional instruction conflicts |
| 4+ skills | Degraded | Long thinking pauses, may miss instructions |

One user reported: "Watching the thinking bubble for five minutes while Claude juggled three instruction sets. It worked, but the quality dipped."

**Best practices for stacking:**

1.  **Design complementary skills** that chain rather than overlap
2.  **Keep each skill focused** on one domain
3.  **Avoid redundant instructions** across skills
4.  **Test combinations** before relying on them for critical work

```
# Good: Complementary skills
- brand-voice (how to write)
- email-format (structure)
- customer-data (what to reference)

# Problematic: Overlapping skills
- writing-style-a (formal tone)
- writing-style-b (casual tone)
- general-writing (mixed guidance)
```

Tip

**Design for composition:** When creating skills, assume they'll be used with others. Keep instructions focused and avoid contradicting common patterns.

* * *

## Long Projects & Teams

These patterns help when you're working on multi-day projects or collaborating with others.

### The HANDOFF.md Pattern for Long Projects

Skills work within a single session, but what about multi-day projects? Here's a pattern from power users that preserves context across sessions.

**The problem:** You're building something complex over several days. Each new Claude session starts fresh-you lose the context of what you've built, what's working, and what's next.

**The solution:** Before ending a session, create a `HANDOFF.md` that summarizes the state:

```
# Project Handoff: Auth System Refactor

## What's Done
- Migrated user model to new schema
- Updated login endpoint
- Tests passing for basic auth flow

## Current State
- Working on: Password reset flow
- Blocked on: Email service integration (need API key)
- Last file edited: src/auth/reset.ts

## Next Steps
1. Get email API key from team
2. Implement reset token generation
3. Build reset confirmation page

## Key Decisions Made
- Using JWT for reset tokens (not database sessions)
- 24-hour expiry on reset links
- Rate limiting: 3 requests per hour per email
```

**How to use it:**

1.  End each session by asking Claude: "Create a HANDOFF.md summarizing our progress"
2.  Start the next session by pointing Claude at the handoff: "Read HANDOFF.md and continue from where we left off"

This preserves institutional knowledge without burning tokens on context that might get compacted away.

Key insight

**Combine with skills:** Create a `project-handoff` skill that standardizes your handoff format. Claude will generate consistent handoffs every time, making session transitions smoother.

### Organizing Skills for Teams

When working with teams, organization matters.

**Project Skills for Team Standards**

Put shared standards in your project's `.claude/skills/` folder:

```
your-project/
├── .claude/
│   └── skills/
│       ├── api-design/
│       │   └── SKILL.md
│       ├── test-patterns/
│       │   └── SKILL.md
│       └── commit-format/
│           └── SKILL.md
├── src/
└── README.md
```

Commit these to git. Now everyone who works on the project gets the same skills automatically.

**Naming Conventions**

Use consistent naming to keep things organized:

| Pattern | Example | Use For |
| --- | --- | --- |
| `verb-noun` | `review-code`, `format-report` | Action-oriented skills |
| `domain-task` | `api-design`, `data-cleaning` | Domain-specific skills |
| `team-process` | `pr-template`, `deploy-checklist` | Team workflows |

**Documentation Template**

Include this in your skill for maintainability:

```
---
name: my-skill
description: What this skill does and when Claude should use it
---

# Skill Name

## Purpose
Brief description of what this skill accomplishes.

## When This Applies
- Trigger condition 1
- Trigger condition 2

## Instructions
[Your actual instructions here]

## Examples
[Good input/output examples]

## Maintainer
Created by: [Name]
Last updated: [Date]
Questions: [Contact]
```

### Best Practices from Anthropic

Anthropic's engineering team shares these guidelines for effective skills:

**1\. Start with Evaluation**

Before building a skill, test Claude on the task without one. Note where it falls short. Build skills to fill those specific gaps-not to over-specify things Claude already handles well.

**2\. Write Clear Descriptions**

The `description` field is critical. Claude uses it to decide when to apply the skill. Be specific about triggers.

**3\. Structure for Scale**

If your SKILL.md gets long (over ~500 lines), split it:

```
complex-skill/
├── SKILL.md           # Core instructions, references other files
├── examples.md        # Detailed examples
├── edge-cases.md      # Special handling
└── templates/
    ├── format-a.md
    └── format-b.md
```

**4\. Iterate Based on Usage**

Skills improve with feedback. When Claude misapplies a skill or misses something:

1.  Note the specific failure
2.  Add clarifying instructions
3.  Test again

Ask Claude: "What would have helped you handle that better?" and update the skill accordingly.

**5\. Keep Instructions Claude-Centric**

Write instructions as if briefing a capable colleague:

```
# Good
Check for SQL injection vulnerabilities. Flag any query where user input
is concatenated directly into the SQL string.

# Less effective
SQL INJECTION IS BAD. NEVER ALLOW IT. CHECK EVERYTHING CAREFULLY!!!
```

Claude responds better to clear, professional instructions than to emphasized warnings.

* * *

## Quick Reference

### Skill File Structure

```
---
name: skill-name          # Required: lowercase with hyphens
description: When to use  # Required: triggers skill matching
---

# Your Instructions Here

Write clear, direct instructions that Claude will follow.
```

### File Locations

| Location | Scope |
| --- | --- |
| `~/.claude/skills/` | All projects (personal) |
| `./.claude/skills/` | This project only |

### Installation Commands

```
# Direct download
curl -o ~/.claude/skills/NAME/SKILL.md [URL]

# Plugin marketplace
/plugin marketplace add anthropics/skills
/plugin install document-skills@anthropic-agent-skills
```

### How Skills Work Under the Hood

Skills use a design pattern called **progressive disclosure**:

| Level | What Loads | When |
| --- | --- | --- |
| **Level 1** | Skill name + description | Always (at startup) |
| **Level 2** | Full SKILL.md content | When Claude thinks it's relevant |
| **Level 3+** | Referenced files | Only when needed for specific tasks |

You could have a skill with 50 pages of documentation. Claude doesn't load all 50 pages upfront. It reads the name and description, decides if it's relevant, then loads more only when needed.

This means:

-   You can create very detailed skills without context bloat
-   Claude stays fast because it loads just-in-time
-   Skills can reference entire folders of examples, templates, and scripts

* * *

## What's Next?

You now know how to install and create Claude Code skills. Here's how to keep building:

**Immediate actions:**

1.  Install one pre-built skill from the [Skills Library](https://www.masteringai.io/marketplace)
2.  Create one simple skill for something you repeat often
3.  Try the [Skill Creator](https://www.masteringai.io/marketplace/skill-creator) for a guided experience

**Keep learning:**

-   **[Agents, Skills, Hooks & MCP Explained](https://www.masteringai.io/guides/claude-code-agents-explained)** - Understand how skills fit with other Claude Code concepts
-   **[Claude Code Plan Mode Tutorial](https://www.masteringai.io/guides/claude-code-plan-mode-guide)** - The 5-minute habit that saves hours
-   **[Claude Code Context Management](https://www.masteringai.io/guides/claude-code-context-management)** - Why results degrade and how to fix it
-   **[Skills Library](https://www.masteringai.io/marketplace)** - Browse all available pre-built skills
-   **[Ultimate Beginner's Guide](https://www.masteringai.io/guides/claude-code-tutorial)** - Full Claude Code fundamentals

**Official resources:**

-   [Anthropic Skills Repository](https://github.com/anthropics/skills) - Official pre-built skills
-   [Claude Code Documentation](https://code.claude.com/docs/en/skills) - Technical reference
-   [Agent Skills Engineering Blog](https://anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills) - Design principles deep dive

Success

**The key insight:** Every time you explain something to Claude twice, that's a skill waiting to be created. Start capturing your workflows today-your future self will thank you.

* * *

## Ready to Master Claude Code?

Skills are just one part of becoming a Claude Code power user. In **[AI Essentials for Business Leaders](https://www.masteringai.io/ai-essentials-for-business-leaders)**, we go hands-on with skills, hooks, MCP, and more.

You'll leave with:

-   Custom skills built for your specific workflows
-   Practical experience with the full Claude Code toolkit
-   A network of professionals on the same journey

[Reserve Your Spot →](https://www.masteringai.io/ai-essentials-for-business-leaders)

### Ready to make this a skill instead of a tab you keep open?

AI Essentials for Business Leaders: 10 self-paced modules plus two live hands-on calls where you bring your own work. No code, no terminal.

-   10 modules + 2 live calls, Dec 1 + Dec 8
-   No code required

[See AI Essentials](https://www.masteringai.io/ai-essentials-for-business-leaders?utm_source=guide&utm_medium=guide_cta&utm_campaign=ai_essentials&utm_content=end) Live calls Dec 1 + Dec 8 · 7-day refund

## Common questions

### What are Claude Code skills?

Skills are reusable instruction sets stored as markdown files that Claude follows automatically when relevant. They let you teach Claude your workflows once-brand voice, code review checklists, report formatting-instead of re-explaining every time.

### How do I install a Claude Code skill?

Install skills using /install-skill followed by the skill path or URL. Skills can be personal (in ~/.claude/skills/), project-level (in your project's .claude/skills/ folder), or installed from external sources like GitHub.

### How do I create a custom Claude Code skill?

Create a SKILL.md file with YAML frontmatter (name and description) followed by your instructions in markdown. The easiest approach is to ask Claude to interview you about your workflow, then generate the skill file automatically.

### What is the difference between personal and project skills?

Personal skills live in ~/.claude/skills/ and apply everywhere you use Claude Code. Project skills live in your project's .claude/skills/ folder and only apply to that specific project. Use personal skills for your preferences, project skills for team standards.

### How do I trigger a Claude Code skill?

Skills can trigger automatically when Claude detects they're relevant, or you can invoke them explicitly with slash commands like /brand-voice or /code-review. The skill's description in the frontmatter determines when it auto-triggers.

Bonus resource

### Finished reading?
Take it with you.

Get a downloadable checklist from Claude Code Skills: The Complete Setup and Creation Guide, plus weekly AI tips.

Printable quick-reference guide

Step-by-step action items

Weekly AI insights newsletter

Guide checklist

PDF + email series

Email address

 Get free checklist

No spam. Unsubscribe anytime.

## Keep reading.

[All guides](https://www.masteringai.io/guides)

Level Up

### Claude Code Agents, Skills, Hooks, and MCP Explained

Understand Claude Code agents, subagents, skills, hooks, and MCP. Learn when to use each feature to get better results with less effort.

[Claude Code Agents, Skills, Hooks, and MCP Explained](https://www.masteringai.io/guides/claude-code-agents-explained)

Getting Started

### How to Set Up Claude Code on Mac (2026 Guide)

The easiest Claude Code Mac setup tutorial. Step-by-step from download to first prompt - works on M1, M2 & M3 chips. No coding needed.

[How to Set Up Claude Code on Mac (2026 Guide)](https://www.masteringai.io/guides/claude-code-setup-mac)

Getting Started

### Claude Code Tutorial for Beginners (No Coding Required) - Complete 2026 Guide

Complete Claude Code tutorial for beginners and non-coders. Learn prompts, CLAUDE.md, plan mode, skills, and agents. No coding experience required. Updated for 2026.

[Claude Code Tutorial for Beginners (No Coding Required) - Complete 2026 Guide](https://www.masteringai.io/guides/claude-code-tutorial)

## Make this a skill. Not a tab you keep open.

We train your people on their actual work. Then we build the agents that keep running after the workshop ends.

[Book free consultation](https://calendly.com/delusional/consultation-for-team-training) [See courses](https://www.masteringai.io/courses)

---

Canonical: https://www.masteringai.io/guides/claude-code-skills-setup
Published by MasteringAI (https://www.masteringai.io). Site index: https://www.masteringai.io/llms.txt
