Skip to content

AI · 9 min read

Agent Skills Explained: What They Are, How to Build Them and When to Use Them

What Agent Skills are, how SKILL.md works, which agents load them, how they differ from MCP and prompts, and how we build and test them.

Zain Khalid MalikZain Khalid MalikCTO & Co-founder, Innovation InsightPublished
Close-up of colour-highlighted source code on a screen

Short answer

Agent Skills are folders that teach an AI agent how to do a specific task. Each one holds a SKILL.md file with a name, a description and instructions, plus optional scripts and reference files. The agent reads only the name and description at startup and loads the rest when a task needs it. Anthropic introduced the format in October 2025 and published it as an open standard in December 2025; Claude, ChatGPT and Codex, Cursor, GitHub Copilot and Gemini CLI are among the agents that support it.

What an Agent Skill is

A skill is a folder. At minimum it contains one file, SKILL.md, which starts with a short block of metadata (a name and a description) followed by plain Markdown instructions. The folder can also hold scripts the agent may run, reference documents it may read and assets such as templates. The Agent Skills site describes the format as "a lightweight, open format for extending AI agent capabilities with specialized knowledge and workflows".

Think of a skill as the onboarding pack you would give a new colleague for one recurring job: how your team writes a release note, reviews a pull request against your conventions, prepares a board report from the finance export or triages a support ticket. The model already knows how to write and code. The skill tells it how your team does this particular task, and gives it the scripts to do the mechanical parts reliably.

Where the format came from

Anthropic announced Skills for Claude on 16 October 2025, working across the Claude apps, Claude Code and the API. On 18 December 2025 it published Agent Skills as an open standard "for cross-platform portability", together with organisation-wide skill management and a directory of partner-built skills. The specification now lives at agentskills.io and is open to outside contributions.

Adoption followed quickly. The standard's client list, read on 17 November 2026, includes Claude and Claude Code, ChatGPT and Codex, Cursor, GitHub Copilot, VS Code, Gemini CLI, Goose, OpenHands, Junie, Kiro, Roo Code, Snowflake Cortex Code, Databricks Genie Code and Spring AI: 46 agents in all. A skill written once can be loaded by any of them.

How a skill is structured

PartRequiredWhat goes in it
SKILL.md frontmatter: nameYesUp to 64 characters, lowercase letters, numbers and hyphens, matching the folder name
SKILL.md frontmatter: descriptionYesUp to 1,024 characters saying what the skill does and when to use it; this is what the agent matches tasks against
SKILL.md bodyYesStep-by-step instructions, examples of inputs and outputs, edge cases
scripts/NoCode the agent can run for steps where a program is more reliable than generated text
references/NoLonger documentation the agent opens only when the instructions point to it
assets/NoTemplates, sample files and other resources

Optional frontmatter fields cover a licence, compatibility notes, metadata such as the author, and the tools a skill is allowed to use. The reference library validates a folder with one command (skills-ref validate ./my-skill), which is worth running in CI.

Why skills stay cheap: progressive disclosure

The format is designed so an agent can carry dozens of skills without filling its context window. It loads them in three steps:

  1. Metadata, about 100 tokens per skill: every skill's name and description is loaded at startup.
  2. Instructions: the full SKILL.md is loaded only when the agent decides the skill fits the task. The specification recommends keeping it under 5,000 tokens and 500 lines.
  3. Resources: scripts, references and assets are opened only when the instructions call for them.

This is the practical difference from pasting a long system prompt into every request. You pay for the detail only on the tasks that need it, and a library of skills grows without making every other request slower or more expensive.

Skills, MCP, tools and prompts: which one you need

Teams often ask whether skills replace MCP servers or custom tools. They do not; they sit at different layers. MCP and tools give an agent access. Skills give it know-how.

ApproachWhat it gives the agentUse it whenExample
System promptStanding rules for every requestThe rule applies to everything the agent doesTone of voice, refusal rules
Tools (function calling)Actions inside one applicationThe agent lives in your product and calls your APICreate an invoice, look up an order
MCP serverTools and data exposed to any MCP clientSeveral agents, or your customers' agents, need the same accessA CRM or ticketing system exposed to Claude, ChatGPT and Cursor
Agent SkillA packaged procedure with scripts and referencesThe agent has access but needs your team's way of doing a taskMonthly close checklist, PR review against house rules

Most production setups use all four. A support agent might call a ticketing MCP server for access, load a triage skill that encodes your escalation rules, and run under a system prompt that sets the tone. For the access layer, see our MCP server development service; for how agents differ from plain generative AI, see agentic AI vs AI agents vs generative AI, and for A2A and AGENTS.md as well, MCP vs A2A vs Agent Skills.

Good first skills for a team

  • Code review against your conventions: naming, error handling, test expectations and the checks your senior engineers repeat in every review.
  • Release notes and changelogs from merged pull requests, in your format.
  • Report generation from a CSV or database export, with a script that does the arithmetic so the model never invents a number.
  • Document drafting from templates: proposals, statements of work, incident reports.
  • Data clean-up and migration steps that follow a fixed sequence and need a script for validation.
  • Onboarding a new repository: how to run it, where the tests are and what not to touch.
A useful test: if a senior person on your team explains the same procedure more than twice a month, it is a candidate skill. If the agent lacks access to a system rather than knowledge of a process, you need a tool or an MCP server instead.

How we build and test skills

A skill is software. It can be wrong, it can trigger on the wrong tasks, and its scripts can do damage. We treat it the same way as any other code on a client project.

  1. Write the description first. It decides when the skill loads, so it names the task, the inputs and the words a user is likely to type.
  2. Keep SKILL.md short: the steps, one worked example and the edge cases. Long reference material goes into references/ and is linked from the steps that need it.
  3. Move anything that must be exact into scripts/: calculations, file conversions, validation. Scripts pin their dependencies, read no secrets from the skill folder and fail with a clear message.
  4. Test triggering both ways: a set of tasks that should load the skill and a set that should not. A skill that loads too often wastes context; one that never loads is dead weight.
  5. Test the output against sample tasks with known good answers before rollout, and again after each change.
  6. Version skills in Git, review changes in pull requests and validate the format in CI.

Our engineers already work this way with Claude Code on client repositories; the rules we follow are in how we use Claude Code on client projects.

Security: treat third-party skills like dependencies

Because a skill can include scripts the agent runs, installing one from the internet is closer to installing a package than to copying a prompt. Read the SKILL.md and every script before enabling it, prefer skills from known publishers, limit which tools a skill may use, and keep credentials out of skill folders. For skills you write, the same code review and secret scanning you use for the rest of the repository applies.

When skills are not the answer

  • The task needs live data or actions in another system: build a tool or an MCP server first, then a skill if a procedure sits on top of it.
  • The rule applies to every request: put it in the system prompt or project instructions, not a skill that has to be matched.
  • The behaviour must be the same every time and has no judgement in it: write a normal program or workflow and let the agent call it.
  • The model lacks domain knowledge across thousands of documents: that is a retrieval problem; see RAG vs fine-tuning.

Getting started

Pick one procedure your team repeats, write it as a SKILL.md with one worked example, add a script for any step that must be exact, and test it on ten real tasks. If you want engineers who have done this before, our AI agent developers build skills, MCP servers and the agents that use them, and our AI agent development team can take the whole workflow from pilot to production.

Sources

Need a number for your project?

Send a short brief and get a written estimate.

A senior engineer replies within one business day. No sales call required.

Zain Khalid Malik, CTO & Co-founder, Innovation Insight

Zain Khalid Malik

CTO & Co-founder, Innovation Insight

Zain owns architecture, engineering standards and the platform team at Innovation Insight. He sets the bar for code quality, security and the tooling every squad ships with.

LinkedIn
FAQ

Related questions.

What are Agent Skills?

Agent Skills are folders that package instructions, scripts and reference files for one task. An agent reads each skill's name and description at startup and loads the full instructions only when a task needs them. The format began at Anthropic and is now an open standard.

Are Agent Skills only for Claude?

No. Anthropic published the format as an open standard in December 2025. The standard's client list includes ChatGPT and Codex, Cursor, GitHub Copilot, VS Code, Gemini CLI and dozens of other agents, so one skill can be used across them.

What is the difference between an Agent Skill and an MCP server?

An MCP server gives an agent access to tools and data in another system. A skill gives it a procedure: how your team does a task, with scripts for the exact steps. Many setups use both: the MCP server for access and a skill for the process on top.

How long should a SKILL.md file be?

The specification recommends keeping the main file under 500 lines and about 5,000 tokens, and moving detailed reference material into separate files that the agent opens only when the instructions point to them.

Are third-party skills safe to install?

Treat them like software dependencies. Skills can include scripts the agent runs, so read every file before enabling one, prefer known publishers, restrict the tools a skill may use and keep credentials out of skill folders.