What Are Agent Skills? Reusable Instructions for AI Agents
Agent skills are folders of instructions, with optional scripts, that an AI agent loads only when a task needs them. See an example SKILL.md and how skills compare with system prompts, MCP and AGENTS.md.
Short answer: Agent skills are reusable packages of instructions, and optionally scripts and reference files, that an AI agent loads only when a task needs them. A skill is typically a folder with a SKILL.md file that says what the skill does and when to use it. The format was introduced by Anthropic for Claude.
What are agent skills and why do they exist?
Agent skills exist because putting every instruction into one huge prompt does not scale. An AI agent might need to know your report format, your deployment checklist and how to fill a particular spreadsheet, but rarely all at once. Loading everything every time wastes the context window and makes it harder for the model to focus.
A skill solves this with loading on demand. At the start, the agent sees only each skill's short name and description. When a task matches a description, the agent reads that skill's full instructions, and it opens extra files or runs scripts only if the instructions call for them. Anthropic describes this as progressive disclosure.
What does an agent skill look like?
An agent skill looks like an ordinary folder. Here is an example skill for writing a weekly report:
weekly-report/
├── SKILL.md
├── template.md
└── scripts/
└── check_report.pyThe SKILL.md file starts with a short header holding the name and description, followed by plain Markdown instructions:
---
name: weekly-report
description: Use when writing or reviewing the weekly sales report. Explains the required sections, tone and number format.
---
# Weekly report
1. Start with a three-line summary of the week.
2. Use the sections in template.md, in the same order.
3. Write numbers with thousands separators and one decimal place.
4. Before finishing, run scripts/check_report.py on the draft
and fix anything it reports.The description is the most important line, because it is what the agent reads when deciding whether the skill applies. It works much like the description of a tool in function calling: vague descriptions lead to skills being ignored or used at the wrong time.
Agent skills vs system prompts, MCP and AGENTS.md: what is the difference?
Agent skills, system prompts, MCP servers and project instruction files all shape what an agent does, but they load at different times and solve different problems:
Mechanism | What it is | When it is loaded | Best for |
|---|---|---|---|
System prompt | Instructions set by the app or developer | On every request | Role, tone and rules that always apply |
Project instruction file (AGENTS.md-style, CLAUDE.md) | A file in a code repository that coding agents read | When the agent works in that project | Build commands, code style, project conventions |
MCP server | A standard connection to external tools and data | Tools are listed; called when needed | Live data and actions, such as a database or ticket system |
Agent skill | A folder of instructions, plus optional scripts and files | Description always; full content only when relevant | Repeatable procedures and know-how |
A simple way to remember it: MCP gives an agent new abilities, while a skill teaches it how to do a task well. The two work together; a skill can tell the agent which MCP tool to use and in what order. Rules that must apply to every reply still belong in the system prompt.
When should you write an agent skill?
Write an agent skill when the same know-how is needed again and again but not in every conversation. A quick checklist:
You keep pasting the same instructions into chats.
The task has steps a newcomer would get wrong.
It needs a template, an example file or a checking script.
It is needed only for some tasks, not all of them.
If the rule applies to everything, put it in the system prompt or project file instead. If the task is a one-off, just write a normal prompt.
Are agent skills safe to use?
Agent skills are as safe as their source. A skill can include scripts that the agent may run on your computer, so treat installing one like installing software: use skills from people you trust, read the SKILL.md and scripts first, and keep risky actions behind human approval. The chapter on human approval and multi-agent boundaries shows how to set those limits.
Common mistakes
A vague description such as "helps with reports". Say exactly when to use the skill.
One giant skill that tries to cover everything. Several focused skills are easier to choose between.
Putting secrets in skill files. Passwords and API keys belong in a secure store, not in instructions.
Duplicating rules that already live in the system prompt or project file, so they drift apart.
Frequently Asked Questions
Do agent skills only work with Claude?
The SKILL.md format was introduced by Anthropic for Claude, but the idea of a folder of instructions an agent loads on demand is simple, and other agent tools may support the same or a similar format. Check your tool's documentation.
Do I need to know how to code to create an agent skill?
No. A basic skill is just a folder with a Markdown file of instructions. Scripts are optional and only needed when a step is better done by code.
Is an agent skill the same as a prompt template?
They are related, but an agent skill is chosen by the agent itself when a task matches its description, and it can bundle extra files and scripts. A prompt template is pasted in by a person.
How many agent skills can an agent have?
Because only the short descriptions are loaded up front, an agent can have many skills installed. The practical limit is clarity: if several descriptions overlap, the agent may pick the wrong one.
Key Takeaway
Agent skills are folders of reusable instructions that an agent loads only when a task needs them. Write a precise description, keep each skill focused, and treat third-party skills with the same care as any software.
Ready to start? You will build AI agents with tools, MCP, memory and human approval, and learn to keep them reliable and safe. Begin with the free course AI Engineering with LLMs: Advanced.
Related articles
More in AI Agents
RPA vs AI Agents: What's the Difference?
RPA replays fixed scripts; AI agents pursue a goal and choose their own steps. Compare them in one table, see when to use each, and how to combine them safely.
5 min readDec 1, 2026What Is an AI Voice Agent and How Does It Work?
An AI voice agent talks with callers and takes actions such as booking. See the speech-to-text, LLM and text-to-speech pipeline, a worked call turn, and the risks.
6 min readNov 29, 2026LangChain vs LangGraph
LangChain gives you components for LLM apps; LangGraph models agent workflows as graphs with loops and shared state. See the difference, a plain-Python sketch of a graph and how to choose.
4 min readNov 18, 2026What Is AI Automation? Real Examples
AI automation puts a language model inside a workflow to handle messy, text-heavy steps. See real examples, a small code pattern and the risks to watch.
4 min readNov 14, 2026What Is MCP (Model Context Protocol)?
MCP is an open protocol that lets AI apps connect to tools and data through servers. Learn how it works, with an example and safety tips.
4 min readNov 1, 2026What Is Context Engineering? Going Beyond Prompts
Context engineering decides everything a model sees: instructions, history, documents and tool results. Learn how it differs from prompt engineering, with a runnable example.
6 min readNov 29, 2026
Comments
Sign in to join the discussion.



