What are Claude Agent Skills? How to install them in Claude Code, Claude.ai and the API

Agent Skills are folders of instructions, scripts and references that Claude loads on demand. How they work, when to use them, and how to install and test them everywhere Claude runs.

By ProvenCart8 min read#claude-skills#claude-code#ai-agents#guide

Claude Agent Skills are folders of instructions, scripts and reference files that Claude loads on demand. Each skill has a SKILL.md file with a short name and description. Claude reads only that description until a task matches, then pulls in the full instructions and any bundled files. You install a skill by copying the folder into ~/.claude/skills/ (Claude Code), uploading it as a zip in the Claude apps, or registering it through the Skills API. This guide explains how skills work, when they beat a long prompt, and how to install and test them in all three places.

What a skill actually is

A skill is plain files, nothing proprietary. The minimum is one folder with one file:

seo-surgeon/
├── SKILL.md            # required: frontmatter + instructions
├── references/         # optional: checklists, rubrics, examples
├── scripts/            # optional: code Claude can run
└── assets/             # optional: templates, report skeletons

SKILL.md starts with YAML frontmatter:

---
name: seo-surgeon
description: Run a technical and on-page SEO audit of a website and produce a prioritised fix list. Use when the user asks for an SEO audit, crawl check, Core Web Vitals review or "why is this page not ranking".
---

# SEO Surgeon

1. Ask for the start URL and the market (country, language).
2. Run `scripts/crawl.py <url>` and read the JSON summary.
...

Two fields matter most:

  • name: lowercase letters, numbers and hyphens. It becomes the skill's identifier.
  • description: what the skill does and when to use it. This is the only text Claude sees before it decides to load the skill, so it works like a trigger. "Helps with SEO" is weak; "Use when the user asks for an SEO audit, crawl check or Core Web Vitals review" is strong.

Progressive disclosure: why skills scale

The design idea behind skills is progressive disclosure. Claude does not stuff every skill into its context window. It works in three layers:

Layer What is loaded When
1. Metadata name + description of every installed skill At the start of a session
2. Instructions The body of SKILL.md When a request matches the description
3. Resources Files in references/, scripts/, assets/ Only when the instructions point to them

That is why you can install dozens of skills without slowing Claude down or confusing it. A 40-page brand guideline can sit in references/ and cost nothing until a task needs it. Scripts are even better: Claude runs them and reads only the output, so deterministic work (counting characters, parsing a sitemap, validating JSON) happens in code instead of in the model's head.

Skills vs. prompts, projects, MCP servers and subagents

Skills overlap with other Claude features. Here is how we decide what to build:

You need… Use Why
A repeatable procedure with checklists, templates or scripts Skill Loaded only when relevant, portable across Claude Code, apps and API
One-off context for a single conversation Prompt No setup; disposable
Live access to an external system (shop, analytics, CRM) MCP server Skills hold know-how; MCP servers hold connections and credentials
A separate worker with its own context window and tool limits Subagent (Claude Code) Keeps a long investigation out of the main thread
Always-on project rules (stack, commands, conventions) CLAUDE.md Loaded every session in that repository

The combinations are where it gets interesting. A skill can tell Claude how to run a technical audit, while an MCP server such as our PageSpeed MCP provides the live data. We cover that pairing in MCP servers explained.

How to install a skill in Claude Code

Claude Code discovers skills from two locations:

  • Personal skills: ~/.claude/skills/<skill-name>/SKILL.md, available in every project on your machine.
  • Project skills: .claude/skills/<skill-name>/SKILL.md inside a repository, shared with everyone who clones it.

Installing a downloaded skill takes one command:

# personal install
mkdir -p ~/.claude/skills
unzip seo-surgeon.zip -d ~/.claude/skills/

# or: project install, committed to git
mkdir -p .claude/skills
unzip seo-surgeon.zip -d .claude/skills/

Start a new Claude Code session and ask "What skills are available?". Claude lists them with their descriptions. You do not need to invoke a skill by name; describe the task and Claude picks the skill whose description fits. If it does not, the description is usually too vague. Fix the description before you touch the instructions.

Skills can also be distributed through plugins, which bundle skills, commands, subagents, hooks and MCP servers into one installable unit. For a team, a project skill in git is often simpler: it is versioned with the code and reviewed like any other file.

How to install a skill in the Claude apps (Claude.ai and desktop)

In the Claude apps, skills run inside Claude's code execution environment, so that capability has to be on. The flow at the time of writing:

  1. Open Settings → Capabilities and make sure code execution and file creation is enabled.
  2. In the Skills section, upload the skill as a zip file whose root contains the skill folder.
  3. Toggle the skill on. It is now available in your chats.

Availability depends on your plan, and on Team and Enterprise plans an admin may need to enable skills for the organisation first. Anthropic also ships built-in skills, for example for creating Word, Excel, PowerPoint and PDF files. Your own skills sit alongside them.

How to use skills through the Claude API

On the API, skills run in the code execution container. The workflow:

  1. Upload the skill once through the Skills API (client.skills in the official SDKs). You get a skill ID and versions.
  2. Reference it in a Messages request through the container parameter, together with the code execution tool.
  3. Claude decides per request whether to load it, exactly like in the apps.
import anthropic

client = anthropic.Anthropic()

response = client.beta.messages.create(
    model="claude-opus-5-5",                      # any current model ID
    max_tokens=16000,
    betas=["code-execution-2025-08-25"],
    container={"skills": [{"type": "custom", "skill_id": "skill_01...", "version": "latest"}]},
    tools=[{"type": "code_execution_20260521", "name": "code_execution"}],
    messages=[{"role": "user", "content": "Audit https://example.com and give me the top 10 fixes."}],
)

The Skills API itself has left beta, but tool versions, beta flags and model IDs keep moving, so check the current API reference before you ship. The principle stays the same: upload once, reference by ID, let Claude load on demand.

Writing a skill that triggers reliably

Most "my skill does nothing" problems come from three mistakes.

1. The description describes, but does not trigger

Write the description like a routing rule: capability first, then explicit trigger phrases. Include the words users actually type ("audit", "check", "rewrite", "Google Ads").

2. SKILL.md tries to be a book

Keep SKILL.md short and procedural: numbered steps, decision points, links to references. Move long material (style guides, rubrics, examples) into references/ and tell Claude when to read which file. Anthropic's own guidance recommends keeping the main file compact (a few hundred lines at most).

3. The model does work a script should do

If a step has one correct answer (character limits, schema validation, deduplication), write a script. Language models are bad at counting characters and great at deciding what to do with the result. Our free Prompt Linter is a good example: the rules live in code, Claude explains and fixes the findings.

A quick test protocol

  1. Fresh session, no hints: describe a task in user language. Does the skill load?
  2. Ask an unrelated question. Does it stay out of the way?
  3. Run the procedure end to end and check every referenced file is actually read.
  4. Hand the skill to a colleague. If they need to ask you something, the instructions are missing it.

Security: treat skills like code

A skill can contain scripts that Claude executes, and instructions that steer what Claude does with your files and tools. Only install skills from sources you trust, read SKILL.md and the scripts before you enable them, and be careful with skills that fetch content from the internet at runtime. Every ProvenCart skill ships as readable source with no network calls you cannot see.

Which skills to start with

If you work in marketing or run client projects, these are the skills our customers install first:

  • SEO Surgeon: technical and on-page audits with a crawl script, Core Web Vitals checks and fix recipes.
  • GEO Visibility: checks how ready a brand is to be cited by AI assistants. Background in our GEO guide.
  • Brand Voice and Shop Copy: consistent on-brand copy, from product pages to newsletters.
  • Prompt Linter (free): catches vague, contradictory or unbounded prompts before they cost you tokens.

Want all of them, plus every new release? All-Access includes every skill, prompt pack, MCP server and agent kit for one yearly price.

FAQ

Do skills work with models other than Claude?

The skill format is plain Markdown plus files and has been published as an open specification, so other agent tools can and do read it. How well a skill works still depends on the model and on whether the tool can run its scripts.

Do skills cost extra?

Skills themselves are files. They consume tokens when loaded and compute when scripts run, which is billed like any other usage on your plan or API account.

Can a skill use my MCP servers?

Yes. A skill can tell Claude which MCP tools to call and in what order. The skill holds the procedure; the MCP server holds the connection.

Tools from this article

Skill

SEO Surgeon

Technical SEO audits that end in a prioritized fix list.

€49

Skill

GEO Visibility

Get found, understood and cited by AI assistants and AI search.

€59

Skill

Brand Voice

Turn "sounds like us" into rules people and AI can follow.

€39

Skill

Shop Copy

Product pages, feeds and email flows that sell and stay legal in Germany.

€39
All articles