Agentic AI

Agent Skills vs MCP vs Tools: What Each Does and When to Use It

Short answer

A tool is one action an AI agent can take, such as running a SQL query. An MCP server is a standard way to package tools and data from an outside system so any AI app can use them. An agent skill is a folder with a SKILL.md file that teaches the agent how to do a task: rules, steps and optional scripts. Tools and MCP give the agent access; skills give it know-how. Use MCP or a tool when the agent can't reach something, and a skill when it can reach it but does the job wrong.

Here is a failure I see often. A team connects its AI agent to the analytics database through an MCP server. The agent can list tables and run SQL. Someone asks for last week's revenue, and the agent confidently replies with a number that is 54% too high. It counted cancelled orders, returned orders, test orders and the GST collected for the government.

Nothing was broken. The agent had access. What it did not have was know-how: the finance team's rules for what "revenue" means. Giving it more tools would not have fixed that. What fixes it is a skill.

That is the whole idea behind three terms that now appear in Claude Code, GitHub Copilot, Codex, Cursor and Gemini CLI: tools, MCP servers and agent skills. People often compare them as rivals. They are better understood as three different things an agent needs: something to act with, a standard way to reach outside systems, and instructions for doing a job well.

In this guide I define each one in plain words, show how they fit together, explain the SKILL.md format, and build a tested skill loader in Python with real output that reproduces the revenue mistake and fixes it. You will also get a decision table, a security checklist and a section on SKILL.md vs AGENTS.md vs CLAUDE.md. If MCP is new to you, read MCP Explained first. This guide builds on it.


What is a tool in an AI agent?

A tool is a single function an AI model can call: it has a name, a description and a schema for its inputs, and your code runs it when the model asks. It is the smallest unit of action: look up an order, run a SQL query, send an email.

The model never runs the tool itself. It proposes a call such as run_sql({"query": "SELECT ..."}), your code (the agent harness) checks it, runs it and returns the result. Providers call this function calling or tool use; they mean the same thing.

Two facts about tools matter for this guide:

  • Tools give ability, not judgement. A run_sql tool lets the agent query the database. It does not tell the agent which filters finance expects.
  • Tool definitions usually sit in the context on every call. Each definition costs tokens whether or not it is used. With a handful of tools that is fine. With hundreds, it adds up quickly.

What is an MCP server?

An MCP server is a program that packages tools, resources and prompts from an outside system behind the Model Context Protocol, so any MCP-compatible AI app can use them without custom integration code. It is the standard way to give an agent access: to your database, your CRM, GitHub, Slack or a file system.

Without MCP, every AI app needs its own connector for every system. With MCP, the company that owns the system writes one server, and Claude, ChatGPT, Copilot, Cursor and the rest can all connect to it. Anthropic created MCP in November 2024 and donated it to the Linux Foundation's Agentic AI Foundation in December 2025.

An MCP server mostly provides tools, so in practice "MCP vs tools" is a question of packaging. A tool written directly in your agent's code works for that agent only. A tool served over MCP works for any MCP client, comes with authentication and can be shared across a team. I cover hosts, clients, servers and a working Python server in MCP Explained.

What MCP does not do is teach the agent your process. A database MCP server exposes run_sql. It does not know that your finance team excludes test orders.

What are agent skills?

An agent skill is a folder containing a SKILL.md file, with a short name and description at the top and step-by-step instructions below, plus optional scripts, reference documents and templates. It teaches an agent how to do a specific task the way you want it done. If tools and MCP give the agent hands, a skill gives it a playbook.

Anthropic introduced skills in Claude Code in October 2025 and published them as an open standard at agentskills.io in December 2025. On 22 October 2026 Anthropic donated the standard to the Agentic AI Foundation, the same Linux Foundation home as MCP. In that announcement Anthropic said more than 70 agent platforms had integrated Agent Skills, and that 1 million skills had been published.

What does a SKILL.md file look like?

This is the real skill from the Python example later in this guide. The part between the --- lines is YAML frontmatter. Everything below it is plain Markdown instructions.

---
name: weekly-revenue-report
description: Builds the weekly net revenue report from the orders table using finance rules. Use when the user asks for weekly revenue, net sales, a revenue report or week-on-week sales numbers.
metadata:
  owner: finance-analytics
  version: "1.2"
---
# Weekly revenue report

Finance reports **net revenue**, not the sum of all orders. Follow these rules exactly.

## Rules
1. Count only orders with `status = 'delivered'`. Exclude `cancelled` and `returned`.
2. Revenue is `amount - gst` (GST is collected for the government, not earned).
3. Exclude test orders: `customer_id` starting with `TEST`.
4. A week runs Monday to Sunday in India time (dates in the table are already IST).

## Steps
1. Run the query below with the week's start and end dates.
2. Report the total in rupees with thousands separators, plus the order count.
3. If the user asks what a term means, read `references/metric-definitions.md`.

```sql
SELECT COUNT(*) AS orders, SUM(amount - gst) AS net_revenue
FROM orders
WHERE status = 'delivered'
  AND customer_id NOT LIKE 'TEST%'
  AND order_date BETWEEN :start AND :end;
```

A skill folder can hold more than the one file:

weekly-revenue-report/
├── SKILL.md                  # required: frontmatter + instructions
├── references/               # optional: docs the agent reads when needed
│   └── metric-definitions.md
├── scripts/                  # optional: code the agent can run
└── assets/                   # optional: templates, lookup tables, schemas

The specification has only two required fields:

FieldRequired?Rules from the spec
nameYes1 to 64 characters; lowercase letters, numbers and single hyphens; no hyphen at the start or end; must match the folder name
descriptionYes1 to 1,024 characters; should say what the skill does and when to use it
licenseNoA license name or a bundled license file
compatibilityNoUp to 500 characters on environment needs, such as "Requires git and docker"
metadataNoAny extra key-value pairs, such as owner or version
allowed-toolsNoExperimental: tools the skill is pre-approved to use. Support varies between agents

How do agent skills load? (progressive disclosure)

The reason skills scale is progressive disclosure: the agent loads a skill in three levels, and pays for each level only when it needs it.

Progressive disclosure in agent skills. Level 1: at startup only each skill's name and description load, about 100 tokens per skill, for every installed skill. Level 2: when a task matches a description, the agent reads the full SKILL.md body, recommended under 5,000 tokens. Level 3: files in references, scripts or assets load only if the instructions point to them. In the tested example, three skills cost about 136 tokens at startup, the revenue skill added 212 tokens when activated and the reference file added 80 tokens only when asked.
Only the descriptions are always in context. Instructions and files load when a task needs them. Numbers are from the tested example below. Tap to enlarge.
LevelWhat loadsWhenTypical size
1. Metadataname + description of every skillAt startupAbout 100 tokens per skill
2. InstructionsThe full SKILL.md bodyWhen a task matches the descriptionUnder 5,000 tokens recommended
3. ResourcesFiles in references/, scripts/, assets/Only if the instructions point to themAs needed; scripts can run without being read

So you can install dozens of skills and the agent only carries a one-line summary of each. This is context engineering built into a file format: the agent decides what to read based on the description, just as a person scans a list of document titles before opening one.

Agent skills vs MCP vs tools: what is the difference?

A tool is one action the agent can take. An MCP server is a standard package of tools and data from an outside system. An agent skill is a set of instructions and files that teaches the agent how to do a task. Tools and MCP give the agent access; skills give it know-how.

How agent skills, MCP servers and tools fit together. The user asks the agent for the weekly revenue report. The skill layer provides know-how: a SKILL.md with finance rules, steps and a reference file, answering how should this be done. The access layer is an MCP server for the analytics database exposing two tools, list_tables and run_sql, answering what can the agent reach. Tools are the actions the model calls. The skill tells the agent which tool to call and with which query; the MCP server runs it against the database.
The skill decides how the job is done. MCP and tools decide what the agent can reach and do. Tap to enlarge.
ToolMCP serverAgent skill
What it isOne callable functionA program serving tools, resources and prompts over a standard protocolA folder with SKILL.md, plus optional scripts and docs
Gives the agentAn actionAccess to an outside systemKnow-how: a procedure, rules, domain knowledge
Written asCode + JSON schemaCode (Python, TypeScript and others)Mostly Markdown; scripts optional
Who can write itDevelopersDevelopersAnyone who knows the process, including analysts and domain experts
When it loadsDefinition usually in every callTool definitions usually load when the session startsDescription at startup; body and files on demand
Context costGrows with every tool addedCan be large for servers with many toolsAbout 100 tokens per installed skill until used
Runs code?Yes, your functionYes, on the serverOnly if it bundles scripts and the agent has a code tool
Portable across agentsNo, tied to your codeYes, any MCP clientYes, any client that supports the Agent Skills standard
Typical failureWrong arguments, unsafe actionToo many tools crowd the context; auth and permission gapsVague description, so it never triggers; outdated rules

A rule of thumb I use with teams: if the agent cannot reach something, you need a tool or an MCP server. If the agent can reach it but does the job wrong, you need a skill.

Are agent skills replacing MCP?

No. They solve different problems and work best together. A skill can tell the agent to "use the run_sql tool from the analytics MCP server with this query", which is exactly what the example below does. The real overlap is narrower: some teams used to write MCP servers just to inject instructions or prompts. A skill is a lighter way to do that, because it is a Markdown file instead of a running server.

How do you build and test an agent skill in Python?

To show the difference in practice, I built a small agent with two read-only SQL tools (the access an MCP server would give) and a folder of three skills. The loader follows the specification: it reads only the frontmatter at startup, checks the required fields, loads a skill's body only when a task needs it, and reads reference files only on request.

The database is a seeded SQLite table of 60 orders for the week of 16 to 22 November 2026, so the numbers are real query results. A scripted model picks the skill by matching the task against each description. A real model also decides from the description alone, so the run shows why descriptions matter. It uses only the Python standard library and needs no API key.

"""Agent Skills vs tools, side by side: a tiny skill loader with progressive disclosure, two SQL tools and a test.

Run:  python3 skills_demo.py   (standard library only; no API key: a scripted model keeps the output repeatable)
Swap ScriptedModel for a real provider: give it the catalog in the system prompt and the tools below.
"""
import json, random, re, sqlite3, pathlib

HERE = pathlib.Path(__file__).parent
def tokens(text):
    return len(text) // 4                       # rough estimate; use your provider's tokenizer in production

# ---------- 1. Tools: what the agent can ACCESS (an MCP server would serve these) ----------
def make_db():
    random.seed(7)
    db = sqlite3.connect(":memory:")
    db.execute("CREATE TABLE orders (id INTEGER, customer_id TEXT, order_date TEXT, status TEXT, amount REAL, gst REAL)")
    statuses = ["delivered"] * 7 + ["cancelled", "returned"]
    for i in range(1, 61):
        amount = random.choice([499, 999, 1499, 2499, 4999])
        cust = "TEST-01" if i % 15 == 0 else f"C{random.randint(100, 999)}"
        day = f"2026-11-{random.randint(16, 22)}"
        db.execute("INSERT INTO orders VALUES (?,?,?,?,?,?)",
                   (i, cust, day, random.choice(statuses), amount, round(amount * 18 / 118, 2)))
    return db

DB = make_db()
TOOLS = [
    {"name": "list_tables", "description": "List tables and their columns in the analytics database.",
     "input_schema": {"type": "object", "properties": {}}},
    {"name": "run_sql", "description": "Run a read-only SQL SELECT on the analytics database and return rows.",
     "input_schema": {"type": "object", "properties": {"query": {"type": "string", "description": "A single SELECT"},
                      "params": {"type": "object", "description": "Named parameters"}}, "required": ["query"]}},
]

def run_sql(query, params=None):
    if not query.lstrip().upper().startswith("SELECT"):
        return {"error": "read-only: only SELECT is allowed"}
    return DB.execute(query, params or {}).fetchall()

# ---------- 2. Skills: what the agent KNOWS how to do (folders with SKILL.md) ----------
NAME_RE = re.compile(r"^[a-z0-9]+(-[a-z0-9]+)*$")        # spec: lowercase, digits, single hyphens

def parse_skill(path):
    """Read SKILL.md frontmatter (simple key: value YAML) and body; check the spec's required fields."""
    text = path.read_text()
    m = re.match(r"^---\n(.*?)\n---\n(.*)$", text, re.S)
    if not m:
        raise ValueError(f"{path}: missing YAML frontmatter")
    meta = dict(re.findall(r"^(\w[\w-]*):[ \t]*(.+)$", m.group(1), re.M))
    name, desc = meta.get("name", ""), meta.get("description", "")
    problems = []
    if not (1 <= len(name) <= 64 and NAME_RE.match(name)):
        problems.append(f"bad name {name!r}")
    if name != path.parent.name:
        problems.append(f"name {name!r} must match folder {path.parent.name!r}")
    if not (1 <= len(desc) <= 1024):
        problems.append("description must be 1-1024 characters")
    if problems:
        raise ValueError(f"{path.parent.name}: " + "; ".join(problems))
    return {"name": name, "description": desc, "dir": path.parent, "body": m.group(2)}

def load_skills(root):
    skills, errors = {}, []
    for p in sorted(root.glob("*/SKILL.md")):
        try:
            s = parse_skill(p)
            skills[s["name"]] = s
        except ValueError as e:
            errors.append(str(e))
    return skills, errors

def catalog(skills):
    """Level 1: only name + description go into the system prompt at startup."""
    return "\n".join(f"- {s['name']}: {s['description']}" for s in skills.values())

def activate(skills, name):
    """Level 2: the full SKILL.md body is read only when a task needs it."""
    return skills[name]["body"]

def read_resource(skills, name, rel):
    """Level 3: files in references/, scripts/ or assets/ are read only if the body points to them."""
    return (skills[name]["dir"] / rel).read_text()

# ---------- 3. A scripted model, so the run is repeatable ----------
STOP = {"the", "a", "for", "and", "or", "of", "to", "me", "what", "was", "is", "use", "when", "asks", "user", "from"}
def words(t):
    return {w for w in re.findall(r"[a-z]+", t.lower()) if w not in STOP}

class ScriptedModel:
    """Picks a skill the way a real model would have to: from the description alone."""
    def choose_skill(self, task, skills):
        best = max(skills.values(), key=lambda s: len(words(task) & words(s["description"])), default=None)
        return best["name"] if best and len(words(task) & words(best["description"])) >= 2 else None

    def write_sql(self, skill_body):
        if skill_body:                                           # follow the skill's query exactly
            return re.search(r"```sql\n(.*?)```", skill_body, re.S).group(1)
        return ("SELECT COUNT(*), SUM(amount) FROM orders "       # a reasonable guess with no house rules
                "WHERE order_date BETWEEN :start AND :end")

def run(task, skills, model, week):
    log = {"task": task, "catalog_tokens": tokens(catalog(skills)) if skills else 0}
    name = model.choose_skill(task, skills) if skills else None
    body = activate(skills, name) if name else ""
    log.update(skill=name, body_tokens=tokens(body))
    n, total = run_sql(model.write_sql(body), week)[0]
    log["answer"] = f"{n} orders, Rs {total:,.0f}"
    return log

# ---------- 4. Try it ----------
if __name__ == "__main__":
    week = {"start": "2026-11-16", "end": "2026-11-22"}
    task = "What was net revenue for last week? I need the weekly revenue report."
    skills, errors = load_skills(HERE / "skills")
    model = ScriptedModel()

    print("1. Same tools, no skill")
    r = run(task, {}, model, week)
    print(f"   answer: {r['answer']}   <- sums every order, including cancelled, returned, test and GST")

    print("2. Same tools + skills")
    r = run(task, skills, model, week)
    print(f"   catalog in prompt: {len(skills)} skills, ~{r['catalog_tokens']} tokens")
    print(f"   skill activated:   {r['skill']} (+{r['body_tokens']} tokens, loaded only now)")
    print(f"   answer: {r['answer']}   <- delivered, non-test, net of GST")
    ref = read_resource(skills, "weekly-revenue-report", "references/metric-definitions.md")
    print(f"   reference file read only on request: +{tokens(ref)} tokens")

    print("3. Same skill, vague description ('Helps with reports.')")
    vague = {k: dict(v) for k, v in skills.items()}
    vague["weekly-revenue-report"]["description"] = "Helps with reports."
    r = run(task, vague, model, week)
    print(f"   skill activated:   {r['skill']}   answer: {r['answer']}   <- the skill never triggers")

    print("4. Validation")
    bad = HERE / "bad-skills" / "Revenue_Helper"
    bad.mkdir(parents=True, exist_ok=True)
    (bad / "SKILL.md").write_text("---\nname: Revenue_Helper\ndescription: Revenue things.\n---\nDo revenue.\n")
    print("   " + load_skills(HERE / "bad-skills")[1][0])

    print("5. What sits in the context before the user types anything")
    tool_defs = json.dumps(TOOLS)
    bodies = sum(tokens(s["body"]) for s in skills.values())
    print(f"   {len(TOOLS)} tool definitions (always loaded):  ~{tokens(tool_defs)} tokens, ~{tokens(tool_defs) // len(TOOLS)} per tool")
    print(f"   {len(skills)} skill descriptions (always loaded): ~{tokens(catalog(skills))} tokens, ~{tokens(catalog(skills)) // len(skills)} per skill")
    print(f"   {len(skills)} skill bodies (loaded on demand):    ~{bodies} tokens, paid only for the skill in use")

Real output from python3 skills_demo.py:

1. Same tools, no skill
   answer: 60 orders, Rs 123,940   <- sums every order, including cancelled, returned, test and GST
2. Same tools + skills
   catalog in prompt: 3 skills, ~136 tokens
   skill activated:   weekly-revenue-report (+212 tokens, loaded only now)
   answer: 44 orders, Rs 80,471   <- delivered, non-test, net of GST
   reference file read only on request: +80 tokens
3. Same skill, vague description ('Helps with reports.')
   skill activated:   None   answer: 60 orders, Rs 123,940   <- the skill never triggers
4. Validation
   Revenue_Helper: bad name 'Revenue_Helper'
5. What sits in the context before the user types anything
   2 tool definitions (always loaded):  ~116 tokens, ~58 per tool
   3 skill descriptions (always loaded): ~136 tokens, ~45 per skill
   3 skill bodies (loaded on demand):    ~334 tokens, paid only for the skill in use

What the output shows

  • Access without know-how gives a wrong answer. With the same two tools and no skill, the agent reports Rs 123,940. The finance-correct figure is Rs 80,471, so the first answer is 54% too high. It counted 14 cancelled or returned orders, 2 test orders and the GST.
  • The skill fixes it without new tools. Same database and tools. The only change is a Markdown file with the rules and the query.
  • Loading is progressive. Three skills cost about 136 tokens at startup. The revenue skill added 212 tokens only when it was used, and the reference file added 80 tokens only when it was asked for.
  • The description decides everything. With the vague description "Helps with reports." the skill never activated and the wrong answer came back. The instructions were still perfect, but the agent never read them.
  • Validate before you ship. A skill named Revenue_Helper is rejected because names must be lowercase with hyphens. The official skills-ref validate tool performs the same checks.

What changes with a real agent

In Claude Code, Copilot, Codex and the other clients, you do not write the loader. You drop the folder into the client's skills directory, and the client puts the catalog in the system prompt and reads the files when needed. For example, Claude Code reads project skills from .claude/skills/ and personal skills from ~/.claude/skills/; check each client's docs for its paths. In your own agent, the pattern above is the whole job: a catalog in the system prompt plus a way for the model to read a skill's files, usually a file-read tool. Add this to the first agent you build and you get skills without any framework.

How do you write a good SKILL.md?

Most skill problems are description problems. The agent sees only the description until it decides to open the skill, so the description has to do the work of a search result.

  • Say what it does and when to use it. "Builds the weekly net revenue report from the orders table using finance rules. Use when the user asks for weekly revenue, net sales or a revenue report." The spec gives "Helps with PDFs." as an example of a poor description.
  • Use the words your users use. If people say "sales number", put "sales" in the description, not only "revenue".
  • One job per skill. A "finance" skill that covers revenue, invoicing and budgets will trigger on the wrong tasks and load instructions the agent does not need.
  • Keep SKILL.md short. The spec recommends under 500 lines and under 5,000 tokens. Move long definitions and examples into references/, one level deep.
  • Write rules the agent can follow exactly. Numbered steps, a query or template to copy, and what to do when something is missing. Avoid "be careful with revenue".
  • Put deterministic work in scripts. If a step must always produce the same result, such as a date calculation or a file conversion, a script in scripts/ is more reliable than prose.
  • Give it an owner and a version. Use metadata so people know who updates the rules when finance changes them.

SKILL.md vs AGENTS.md vs CLAUDE.md: what is the difference?

AGENTS.md and CLAUDE.md are project instruction files that the agent loads at the start of every session. A SKILL.md loads only when a task needs it. Use the always-loaded files for rules that apply to everything, and skills for procedures that apply sometimes.

AGENTS.mdCLAUDE.mdSKILL.md
What it isAn open, tool-neutral instructions file for coding agents, now hosted by the Agentic AI FoundationClaude Code's project memory fileOne skill's instructions, inside its own folder
LoadedEvery sessionEvery session in Claude CodeOnly when the description matches the task
Best forBuild and test commands, coding conventions, repo layoutThe same, for Claude Code usersSpecific workflows: reports, reviews, releases, data checks
Cost of a long filePaid on every callPaid on every callPaid only when used

A useful test: if a rule would be wrong to forget on any task, it belongs in AGENTS.md or CLAUDE.md. If it only matters for one kind of task, make it a skill and keep the always-loaded file short.

Which AI tools support agent skills?

The Agent Skills format is supported well beyond Claude. The client showcase on agentskills.io listed 46 products when I checked on 26 November 2026, including:

  • Coding agents and IDEs: Claude Code, ChatGPT and Codex, GitHub Copilot and VS Code, Cursor, Gemini CLI, JetBrains Junie, Kiro, OpenCode, Amp, Goose, Roo Code and OpenHands.
  • Data and platform tools: Databricks Genie Code, Snowflake Cortex Code, Pulumi Neo and Spring AI.
  • Assistants and agent frameworks: Claude, Letta, Mistral AI Vibe and OpenClaw.

Anthropic's own count is higher, at more than 70 platforms, because not every integration is listed on the showcase. The practical point is the same: a skill you write once is a portable file, not something locked to one vendor. The format is portable, but details such as skill folder paths and allowed-tools support differ between clients, so test a skill in each agent your team uses.

Are agent skills safe?

Agent skills are as safe as their source. A skill is instructions plus code that your agent will follow and run with your permissions, so installing one is like installing a software package.

Public skill marketplaces grew very quickly in early 2026, and attackers followed. Snyk's security team analysed 3,984 skills from ClawHub and skills.sh in February 2026. They confirmed 76 malicious payloads, including credential theft, backdoor installation and data exfiltration. They also found that 13.4% of all skills had at least one critical-level security issue. Many of the attacks used prompt injection hidden in the instructions, which classic malware scanners often miss. Later research from the Cloud Security Alliance and Trail of Bits showed that malicious skills can be packaged to get past marketplace scanners.

Before you or your team install a skill:

  • Install only from an allowlist of reviewed sources, ideally an internal repository. Do not let agents browse and install from open marketplaces.
  • Read the whole skill, including every script and reference file, not just SKILL.md. Look for downloads, curl | bash, encoded text and instructions unrelated to the stated purpose.
  • Pin versions and review changes, as you would for a code dependency.
  • Limit what the agent can do, not what the skill says. Permissions, approval gates and read-only credentials belong in the harness, because a skill cannot be trusted to restrict itself.
  • Never put secrets in a skill. Keys belong in a secrets manager that the tool or MCP server reads.

The same caution applies to MCP servers: a third-party server runs code and sees your data. I cover agent security controls in detail in Prompt Injection and AI Agent Security.

When should you use a skill, an MCP server or a tool?

Your situationUseWhy
The agent needs live data or must act in an outside systemMCP serverStandard access with authentication, reusable by every MCP client
A small action only your own agent needsTool in your codeSimplest option; no server to run
The agent can reach the data but does the task the wrong waySkillAdds your rules and steps without new access
A repeatable workflow: a report, a review, a release, a data checkSkill, often calling MCP toolsKnow-how plus access, loaded only when needed
A rule that applies to every task in a projectAGENTS.md / CLAUDE.mdAlways loaded, so it is never missed
A step that must give the same result every timeScript inside a skill, or a toolCode is more reliable than prose for exact work
A one-off questionJust a promptPackaging a one-time instruction is overhead

For most data and analytics teams, the setup that works is a small number of MCP servers for access (warehouse, BI tool, ticketing) and a growing library of skills for know-how (metric definitions, report formats, data quality checks). I describe more of these workflows in Agentic AI for Data Analytics.

What are the most common mistakes?

  • Adding tools to fix a know-how problem. If the agent can already reach the data, another tool will not stop it from using the data wrongly.
  • Vague descriptions. The skill exists but never loads, as test 3 showed.
  • One giant skill. Split by task so each one loads only when relevant.
  • Putting everything in AGENTS.md. A 2,000-line always-loaded file costs tokens on every call and buries the rules that matter.
  • Treating a skill as a permission boundary. "Never delete data" in a SKILL.md is advice. A read-only database credential is a control.
  • Installing skills without reading them. Scripts and hidden instructions run with your agent's access.
  • Never testing skills. Keep a few real tasks with known correct answers, like the revenue example, and run them whenever a skill or the model changes.

Checklist: are your skills, MCP servers and tools ready?

  • Every outside system the agent needs is reachable through a tool or MCP server
  • Tool and MCP credentials are least-privilege, read-only where possible
  • Large MCP servers are trimmed to the tools the agent actually needs
  • Each skill does one job and its folder name matches its name
  • Each description says what the skill does and when to use it, in users' words
  • SKILL.md stays under about 500 lines; long material is in references/
  • Exact, repeatable steps are scripts, not prose
  • Rules needed on every task are in AGENTS.md or CLAUDE.md, and that file stays short
  • Skills come from an allowlist, are read in full and are version-pinned
  • No secrets are stored inside skills
  • Permissions and approvals are enforced in the harness, not in skill text
  • Each skill has an owner and a few test tasks with known answers

Sources and further reading

Key takeaways

  • Tools are actions, MCP servers are standard access to outside systems, and skills are know-how.
  • If the agent cannot reach something, add a tool or MCP server. If it reaches it but does the job wrong, add a skill.
  • A skill is a folder with a SKILL.md: a name and description at the top, instructions below, and optional scripts and references.
  • Progressive disclosure keeps skills cheap: only the description is always loaded, and the rest loads when a task needs it.
  • The description is what triggers a skill, so write it like a search result.
  • Agent Skills is an open standard now run by the Linux Foundation's Agentic AI Foundation and supported by dozens of agents.
  • Treat skills like code dependencies: allowlist, read, pin and test them. Enforce permissions in the harness.

Frequently asked questions

What are agent skills in AI?

Agent skills are folders that teach an AI agent how to do a specific task. Each one contains a SKILL.md file with a name, a description and step-by-step instructions, plus optional scripts, reference documents and templates. The agent reads only the name and description at startup and loads the rest when a task needs it.

What is the difference between agent skills and MCP?

MCP gives an agent access to outside systems such as databases, GitHub or Slack through a standard protocol. Agent skills give it know-how: the rules and steps for doing a task well. They work together; a skill often tells the agent which MCP tool to call and how.

What is the difference between agent skills and tools?

A tool is a single function the model can call, such as run_sql or send_email. A skill is a set of instructions, and sometimes scripts, that tells the agent how and when to use tools to complete a job. Tools are actions; skills are procedures.

What is a SKILL.md file?

SKILL.md is the required file in an agent skill. It starts with YAML frontmatter containing a name (lowercase letters, numbers and hyphens, up to 64 characters, matching the folder name) and a description (up to 1,024 characters saying what the skill does and when to use it), followed by Markdown instructions.

What is the difference between SKILL.md and AGENTS.md or CLAUDE.md?

AGENTS.md and CLAUDE.md are project instruction files that load at the start of every session, so they suit rules that apply to every task. A SKILL.md loads only when its description matches the task, so it suits specific workflows such as reports, reviews or releases.

Do agent skills only work with Claude?

No. Agent Skills is an open standard published at agentskills.io and now hosted by the Agentic AI Foundation under the Linux Foundation. Supported products include Claude Code, ChatGPT and Codex, GitHub Copilot, VS Code, Cursor, Gemini CLI, JetBrains Junie and many others.

Are agent skills replacing MCP?

No. Skills and MCP solve different problems. MCP connects agents to systems and data; skills teach agents procedures. Skills can replace MCP servers that were built only to inject instructions or prompts, because a Markdown file is lighter than a running server.

What is progressive disclosure in agent skills?

Progressive disclosure means a skill loads in three levels: the name and description of every skill at startup (about 100 tokens each), the full SKILL.md body when a task matches, and bundled files only when the instructions point to them. It lets an agent have many skills installed while using little context.

Are agent skills safe to install?

Only from sources you trust. Skills contain instructions and code that run with your agent's permissions. Snyk's February 2026 analysis of 3,984 public skills confirmed 76 malicious payloads. Install from an allowlist, read every file, pin versions and enforce permissions in the agent's code.

How do I write a good agent skill?

Give it one job, a description that says what it does and when to use it in your users' words, numbered steps the agent can follow exactly, and a SKILL.md under about 500 lines. Put long reference material in a references folder and repeatable steps in scripts, then test it on real tasks with known answers.


Put skills to work for your team

The fastest wins I see come from writing down what experienced analysts already know, such as metric definitions, report formats and data checks, as skills, and giving agents read-only MCP access to the data. If you want help choosing which processes to turn into skills, setting up MCP access safely or training your team to do both, let's talk.

Next read: Prompt vs Context vs Harness Engineering, Explained

Book a free call →