Definition · AI agents
Skills
Skills are folders of instructions, scripts and resources that an AI agent loads only when a task needs them. Each skill has a SKILL.md file with a name and a description. The agent reads the short description first, and reads the full instructions when a task matches. Anthropic made the format and published it as the Agent Skills open standard.
Last reviewed
Key points
- A skill is a folder with a SKILL.md file. The file has a name, a description and instructions. The folder can also hold scripts and reference files.
- The agent reads only the name and description of each skill at startup, about 100 tokens for each skill. It reads the full instructions only when a task matches the description.
- Anthropic announced Skills on 16 October 2025. On 18 December 2025, it published the format as the Agent Skills open standard. OpenAI Codex also uses it.
- A skill can tell the agent to start code. Anthropic says a malicious skill can make the agent use tools or code for a hidden purpose.
- Use a skill as you use software that you install. Get skills from trusted sources only, and read all of their files first.
How it works
The Agent Skills specification gives the folder one required file, SKILL.md, and three optional folders: scripts, references and assets. The agent loads a skill in three steps.
| Step | What the agent loads | When | Cost in the context window |
|---|---|---|---|
| 1. Discovery | Name and description | At startup, for all skills | About 100 tokens for each skill |
| 2. Activation | The full SKILL.md text | When a task matches the description | Less than 5,000 tokens, as recommended |
| 3. Execution | Reference files and scripts | Only when the instructions tell it to | Only the output of a script |
Source: Agent Skills specification and Anthropic documentation, read 1 December 2026.
A user can also start a skill by its name, for example /deploy in Claude Code.
Why it matters
A skill is code that comes in with text. Snyk says skills “operate with the full permissions of the AI agent they extend”.
- A malicious skill can make the agent use tools or code for a hidden purpose (Anthropic).
- A skill that gets text from the web can put prompt injection into the agent.
- A trusted skill can change when its dependencies change (Anthropic).
In practice
Snyk scanned 3,984 skills from ClawHub and skills.sh on 5 February 2026. It found a security problem in 1,467 skills (36.82%) and 76 malicious payloads. The attack has its own page: Agent skill poisoning.
| Product | Where skills live | How a skill starts |
|---|---|---|
| Claude Code | ~/.claude/skills/ or .claude/skills/ |
Automatically, or by /skill-name |
| Claude API | Sent through the /v1/skills endpoints |
Named in the API message, with the code execution tool |
| OpenAI Codex | .agents/skills in the repository or the home folder |
Automatically, or by $skill |
Source: Anthropic and OpenAI documentation, read 1 December 2026.
In Claude, the names and descriptions go into the system prompt. The network access of a skill changes with the product:
- Claude API. Skills have “No network access”.
- Claude Code. A skill has the same network access as all other software on the computer of the user.
Thus the same skill is a larger risk on a laptop than in a sandbox.
Controls that the products give you:
- Stop automatic use. In Claude Code,
disable-model-invocation: truelets only a user start the skill. Anthropic gives a deploy skill as an example. In Codex,allow_implicit_invocation: falsedoes the same. - Examine the
allowed-toolsfield. This field approves tools for the skill before use. Claude Code says that a skill can give itself broad tool access. Examine this field in all skills in a repository before you start Claude Code there.
Trade-offs
- Skills vs prompts. A prompt works for one conversation. A skill loads when necessary in each session. Nobody types the same instructions again.
- Skills vs MCP. An MCP server gives the agent tools. A skill teaches a workflow. Anthropic says it will “explore how Skills can complement” MCP servers.
- Description vs control. The agent selects a skill from its description. A loose description can start an incorrect skill. A skill with side effects can start when nobody told it to. For such skills, stop automatic use.
Questions and answers
What is the difference between a skill and a prompt?
A prompt gives instructions for one conversation. A skill keeps instructions in a folder. The agent loads the skill when a task matches its description. The Anthropic documentation says "Skills load on demand", unlike prompts for one-off tasks. A skill can also hold scripts that the agent starts.
What is the difference between a skill and an MCP server?
An MCP server gives an agent tools through the Model Context Protocol. A skill is a folder of instructions and scripts that the agent reads and starts itself. Anthropic says it will explore how skills can complement MCP servers.
Are third party skills safe to install?
Not by default. A skill can tell the agent to start code with the permissions of the agent. Snyk scanned 3,984 public skills in February 2026 and found 76 malicious payloads. Anthropic says to use skills only from trusted sources and to read all bundled files before use.
Sources
- Equipping agents for the real world with Agent SkillsAnthropic, 16 Oct 2025
- Introducing Agent SkillsAnthropic, 16 Oct 2025
- Agent Skills OverviewAgent Skills
- Agent Skills SpecificationAgent Skills
- Agent Skills (Claude Platform documentation)Anthropic
- Extend Claude with skillsAnthropic
- Build skills (Codex documentation)OpenAI
- ToxicSkills: Malicious AI Agent Skills on ClawHubSnyk, 5 Feb 2026
Guides that use this term
Related topics
In the news
- Databricks adds agent skills to its Marketplace, with NVIDIA first
- Anaconda gives free safety scans for chatbots and MCP servers
- SkillSec-Eval tests agent skill security at 5 steps of the lifecycle
- Study of 48,682 agent skills finds flaws in their own code
- SkillPrivus finds privacy risks in 307 of 563 AI agent skills
- Agents that change skills with no feedback get 15 points less
- Microsoft Foundry gives many agents one toolbox of tools
- Attackers put a credential stealer in a Microsoft agent package
- Three agent runtimes go to the CNCF but agent control is behind
- Attacks on AI coding tools come from 22 GitHub links
- Hacker News job posts fall 37% as AI is in 51.6%
- Google AI Studio lets developers get Cloud credits in the tool
- Dropbox adds an AI agent that plans and runs file tasks
- Cloudsmith adds a registry that controls AI agent skills
- Amazon adds its Agent Registry to a US government cloud
- Apple opens Siri AI to all app developers in a preview
- A model that finds agent faults well can monitor agents badly
- Google releases 11 Gemini features, 7 of them in Japan
- About 1 in 17 agent skills tells the AI agent to skip approval
- Agents that change from feedback obey attackers more frequently
- The top AI coding agent solves 38.9% of AI infrastructure tasks
- Google opens Android Studio to more than 40 external AI agents
- Ripple releases a starter kit for AI agents to pay on the XRP Ledger
- A new test finds which agent skills to remove for a model
- Anthropic tells companies to use one agent, not many helper agents
- Cognition releases free agent skills that patch flaws from this week
- Google releases Data Agent Kit to all users with 2 types of control
- 56% of companies cut security roles because of AI, Barracuda reports
- AWS lets teams write their own model training loop in SageMaker
- 4 agent projects go to the Agentic AI Foundation
- BeyondTrust says each AI instruction sends almost 10 commands
- FedSkillGit lets clients change one agent skill and keep data local
- Skill drift erases 52 to 93 percent of the gain in agent tests