Skip to content
Back to blog
AI Agents 7 min read

Agent Skills: Are SKILL.md Files Enough to Teach an AI Agent?

B
Breifex Team
Engineering
Agent Skills: Are SKILL.md Files Enough to Teach an AI Agent?

Skills load instructions only when a task needs them, which is a clever way to save context. We look at what works, where the security and reliability gaps are, and what instructions alone can never guarantee.

What a skill is

An agent skill is a folder containing a SKILL.md file: a short header with a name and description, followed by instructions, and optionally scripts, templates and reference documents. Anthropic introduced the idea in October 2025 and released it as an open standard in December 2025, and since then other agent products have adopted the format.

The key idea is progressive disclosure. The agent keeps only each skill's name and description in context, a few dozen tokens apiece. When a task matches, it loads the full instructions, and only if those point to scripts or reference files does it read those too. A library of fifty skills costs almost nothing until one is needed.

Why it works

Skills solve a real problem. Putting every instruction an agent might ever need into its prompt wastes context and confuses the model. Skills keep the always-on part tiny and the deep knowledge on demand.

They are also plain files. They can be reviewed in a pull request, diffed, versioned, copied between projects and written by people who are not engineers. For teams that want agents to follow a house style or a multi-step procedure consistently, that is a much lower barrier than fine-tuning a model.

The gaps that are real

First, routing. The agent decides whether to use a skill from its short description alone. A vague description means the skill is missed, and an over-broad one means it fires when it should not. Skill quality is therefore partly an evaluation problem, and few teams test it.

Second, trust. Skills can bundle scripts, so installing one can mean running someone else's code. One 2026 survey of the ecosystem reports that 26.1% of community-contributed skills contain vulnerabilities, and security researchers have documented supply-chain attacks through skill marketplaces. Treat a skill from the internet like a dependency, not like a document.

Third, portability. The format is shared, but agents differ in which tools a skill can assume, so a skill written for one product often needs changes for another.

What can be improved

Review skills as code before using them. Pin the version you reviewed. Run any bundled script only inside an isolated sandbox, never on the host. Limit which tools a skill is allowed to unlock, so a text-formatting skill cannot also reach the network. Write descriptions that say both what the skill does and when to use it, and test them with realistic prompts, including ones that should not trigger it.

The ecosystem also needs what package managers took years to build: signed publishers, version history and a standard permission declaration. The format does not provide these yet.

The gap instructions cannot close

A skill is written in natural language, and a model follows natural language probabilistically. A rule like "never email customer data" in a SKILL.md is a strong suggestion, not an enforcement. The model can misread it, forget it in a long task, or be talked out of it by text it reads along the way.

The practical rule is to put anything that must never happen into code and permissions, not prose. Instructions shape how the agent works. Sandboxes, scoped tool access and human approval decide what it is able to do.

How we use skills at Breifex

In Breifex AI, a skill is a SKILL.md file plus the list of tools it is allowed to use, and agents receive skills rather than raw tool access. Administrators can edit or disable the shipped skills, and users can add their own, within limits. A user's skill can only unlock built-in or shared tools and that user's own tools, and a shared agent can never use a user's private skill. Scripts only run through the sandbox described in our post on microVMs.

Our verdict: skills are a good way to keep an agent's context small and its behaviour consistent, as long as you pair them with real permissions. They are a teaching tool, not a security boundary.