Explore skills

Blog / Basics

Claude Skills vs MCP Servers vs Plugins: What Each Is For

A skill is a SKILL.md folder, an MCP server is a tool connection, a plugin is a package of both. Where each lives, what it costs in context, and which to use.

Claude Skills vs MCP Servers vs Plugins logos side by side

A skill teaches Claude how to do a job, an MCP server gives Claude a tool to call, and a plugin is the box that ships either one (or both) to your machine.

Table of contents

The short answer

These three words describe different layers, so "skills vs MCP vs plugins" is less of a three-way contest than it looks. A skill is a folder with a SKILL.md file that holds instructions. An MCP server is a running program that exposes tools over the Model Context Protocol. A plugin is a directory that Claude Code installs as one unit and that can contain skills, subagents, hooks and MCP servers.

Claude Code's own plugin documentation says it plainly: "Skills, subagents, hooks, and MCP servers all work on their own, without a plugin." You reach for a plugin when you want several of those pieces packaged together (Claude Code plugins overview, checked 2026-11-23).

I build AI agents full-time, and the question I hear most is which of the three to write first. My rule of thumb is below, and the rest of the article backs it up with what the docs actually say.

  • If the job is "do this task the way we do it," write a skill.
  • If the job is "reach a system Claude has no access to today," connect an MCP server.
  • If the job is "give my team this whole setup in one command," package a plugin.

Everything here is built from the official Anthropic and OpenAI docs and the Ragspaces catalog pages, and every number comes from those sources.

What a skill is

A skill is a folder. The folder holds a SKILL.md file with YAML frontmatter and a markdown body, plus any scripts or reference files the instructions point to. Anthropic's Agent Skills documentation lists two required fields, name and description, and describes the loading model in three levels: metadata at startup, the SKILL.md body when the skill triggers, and bundled files only when they are read (Agent Skills overview, checked 2026-11-23).

Here is the smallest useful skill:

---
name: release-notes
description: Draft release notes from merged pull requests. Use when the user asks for a changelog, release notes, or "what shipped this week".
---

# Release notes

1. Run `gh pr list --state merged --limit 50 --json title,number,labels`.
2. Group the pull requests by label.
3. Write one bullet per pull request, past tense, no marketing words.

The file lives in ~/.claude/skills/release-notes/SKILL.md for every project on your machine, or in .claude/skills/release-notes/SKILL.md inside a repository, and committing it gives your team the skill too. Claude Code's docs also list a plugin location, <plugin>/skills/<skill-name>/SKILL.md, where the skill is invoked as /plugin-name:skill-name (Claude Code skills docs).

Two properties define a skill. It is plain text you read in a minute, and it works through the tools Claude already has. A skill that formats release notes does not need a server; it tells Claude to run gh and how to arrange the output.

Claude Code skills follow the Agent Skills open standard, which the docs describe as working "across multiple AI tools." OpenAI's Codex documentation says the same thing from its side: "Skills build on the open agent skills standard" (Codex skills docs). That is why one skill folder can often serve both agents, which I cover in a separate post.

Custom commands were folded into skills. The Claude Code docs say "Custom commands have been merged into skills. Your existing .claude/commands/ files keep working," and a skill wins when both share a name. If you have an old .claude/commands/deploy.md, nothing breaks, but new work belongs in a skill because a skill can carry supporting files.

Real skills you can read

The Ragspaces catalog is "an open catalog of 5,299 agent skills for Claude Code and Codex" (home page count on 2026-11-23). Every skill page shows the description, README and reviews without an account. A few examples of the range, all checked on 2026-11-23:

None of those needs a server. They are instructions, and some bundle scripts.

What an MCP server is

MCP is the Model Context Protocol. Claude Code's docs describe it as "an open source standard" through which Claude "can connect to hundreds of external tools and data sources." An MCP server is a process, local or remote, that advertises tools (and sometimes resources and prompts) that Claude can call. The tool does the work. Claude only sees the name, the schema and the result.

You add one with a command:

claude mcp add --transport http my-server https://example.com/mcp
claude mcp add my-local-server -- npx -y some-mcp-package

The docs call HTTP the recommended transport and give three scopes: local (the default), project (stored in .mcp.json, shareable through version control) and user. Project-scoped servers prompt for approval before they run (Claude Code MCP docs).

The difference from a skill is what crosses the boundary. A skill is words that steer Claude. An MCP server is a live connection to something outside the conversation: a database, a ticket tracker, a browser, a SaaS API with OAuth. If the capability needs credentials, a persistent connection or a service that exposes only an API, a skill cannot supply it on its own. A skill can tell Claude to call gh or curl, which works when a CLI exists. When there is no CLI, an MCP server is the clean route.

What MCP does to your context

Early MCP setups were criticized for loading every tool definition into context on every turn. Current Claude Code handles this with tool search. The docs state: "Tool search keeps MCP context usage low by deferring tool definitions until Claude needs them. Only tool names and server instructions load at session start." The costs page repeats it and adds that CLI tools such as gh and aws "are still more context-efficient than MCP servers because they don't add any per-tool listing" (Claude Code costs docs).

I want to be exact about what that means. Tool search is on by default in the docs, and the same page lists configurations without it, such as setting ENABLE_TOOL_SEARCH=false. If you run a setup without it, an MCP server's tool schemas are the expensive part.

What a plugin is

A plugin is a package. The docs define it as "a directory of skills, agents, hooks, MCP servers, or other components that Claude Code installs and loads as one unit." The manifest sits at .claude-plugin/plugin.json and gives the plugin its name. Most plugins come from a marketplace, "a repository or directory with a .claude-plugin/marketplace.json file that lists plugins and where to fetch each one."

A plugin directory can look like this:

my-plugin/
  .claude-plugin/plugin.json
  skills/review/SKILL.md
  agents/reviewer.md
  hooks/hooks.json
  .mcp.json

Once installed, the skill runs as /my-plugin:review, the agent is a subagent Claude can delegate to, the hooks fire on lifecycle events and .mcp.json adds an MCP server. The install command is:

/plugin install commit-commands@claude-plugins-official

or from your shell, claude plugin install <name>@<marketplace> --scope project. There are three scopes. User scope enables the plugin for you in every project, project scope writes to the committed .claude/settings.json so collaborators get it (each still installs it locally), and local scope is you in one repository (install docs).

So a plugin does not replace skills or MCP servers. It carries them. If you only ever want one skill, installing a plugin for it adds ceremony. If you want a skill, a subagent, two hooks and an MCP server to arrive together and update together, a plugin is the right container.

Fact table

Skill MCP server Plugin
What it is Folder with SKILL.md and optional scripts (Agent Skills overview) Process that exposes tools over MCP (MCP docs) Directory of skills, agents, hooks, MCP servers loaded as one unit (plugins docs)
Where it lives ~/.claude/skills/, .claude/skills/, or inside a plugin (skills docs) Local scope, project .mcp.json, or user scope (MCP docs) ~/.claude/plugins/ on disk, enabled per scope in settings (plugins docs)
Add it with Create the folder; changes are picked up in-session, /reload-skills if not (skills docs) claude mcp add ... (MCP docs) /plugin install name@marketplace (install docs)
Always in context Name and description Tool names and server instructions (with tool search) Name and description of each skill, agent and command Claude can invoke on its own
Loaded on use SKILL.md body, then bundled files as read Tool definitions when Claude needs them Full text of a skill or agent when used
Runs code on your machine Only through tools Claude already has, plus bundled scripts Yes, the server process Yes, hooks and bundled MCP servers run as you
Works in Codex Yes, same open standard (Codex docs) Yes, with its own setup: codex mcp add or ~/.codex/config.toml (Codex MCP docs, checked 2026-11-26) Codex has its own plugins, from one directory shared with ChatGPT, that can add skills and MCP tools; the Codex IDE extension does not support them (Codex plugins docs, checked 2026-11-26)

The "Always in context" row comes from three separate pages. The skills docs say "Every skill in the skill listing adds to your context on every turn, whether or not Claude ever uses it." The plugins page says the same about each skill, agent and command Claude can invoke on its own, adding that those tokens "count toward your usage and leave less room in the context window even in sessions where nothing from the plugin runs."

Context cost

Skills are cheap per unit and the docs give the shape of the cost. Anthropic's overview table says Level 1 metadata is "~100 tokens per Skill," Level 2 instructions are "under 5k tokens," and Level 3 resources cost "none until accessed." Scripts are the sharpest example: "the script code itself never enters context," only its output does.

Claude Code adds a budget on top of that. The skill listing "always contains every skill name," but if you have many skills it "drops some descriptions to fit the listing's character budget." The budget "scales at 1% of the model's context window," and when the listing overflows, descriptions go first from the skills you invoke least. Each entry's combined description and when_to_use text is also capped at 1,536 characters. These are documented behaviors, and they mean a pile of installed skills does not grow your context without limit. It also means a skill you rarely use can lose its description, and then Claude may not match it to your request.

Two commands help here. /skill-doctor reports what each skill costs and how often it is used. claude plugin details <name> prints an "Always-on" token figure for an installed plugin, and plugins from the official marketplace show a "Context cost" estimate in the install pane before you commit. Run them on your own setup to see your real numbers.

The practical conclusion is about habits. A skill whose body is short and whose heavy reference material sits in separate files costs almost nothing until it fires. An MCP server with tool search on is similar. A plugin adds up whatever it bundles, so check its footprint before keeping it enabled all the time. Context size is one of several habits that burn through Claude Code usage limits, and the others are worth knowing too. I go deeper on the numbers and the documented limits in the token-cost article later in this series.

Trust and security

All three can run code with your permissions, so the trust question is the same shape each time, with different surfaces.

For skills, Anthropic's guidance is direct: "Use Skills only from trusted sources: those you created yourself or obtained from Anthropic." It tells you to audit every bundled file, including scripts, and warns about skills that fetch external URLs. A skill is text, so reading it is practical. Reading SKILL.md and the scripts/ folder before first use takes minutes.

For MCP, the docs say: "Verify you trust each server before connecting it. Servers that fetch external content can expose you to prompt injection risk." A server is a program you did not write, and its output goes straight into the model's context.

For plugins, the docs state that "a plugin you install can run code with your user privileges" and point to a security page for reviewing before install. Marketplaces fall into official, community and third-party tiers, and auto-update is off by default for third-party ones, which gives you a chance to read a change before it lands.

A free skill from a public catalog is the lightest of the three to audit, because it is files you can open. That is one reason Ragspaces shows the description and README on every skill page before you install anything.

Pick a skill if, pick an MCP server if, pick a plugin if

Pick a skill if:

  • The knowledge is a procedure, a checklist, a house style or a set of conventions.
  • A CLI or Claude's built-in tools already reach everything the job touches.
  • You want teammates to read and edit it as a plain file in the repository.
  • You want the same folder to work in Claude Code and Codex.

Pick an MCP server if:

  • The job needs a live connection: OAuth, a persistent session, a hosted API with no CLI.
  • Another team already ships an MCP server for the service, and writing your own would repeat their work.
  • You need tools that return structured results Claude can chain.

Pick a plugin if:

  • You are distributing a bundle (skills plus a subagent plus hooks) to a team or to the public.
  • You want versioned releases and updates from a marketplace.
  • You want one install command, one scope choice and one switch to turn it all off.

I will add a caution on the plugin side. Because an enabled plugin is part of every session, the docs recommend checking its footprint and disabling what you do not use. The Installed tab in /plugin groups plugins you have not used recently under a "Not used recently" header for exactly this reason.

How they combine

The three layers work together, which is why the question keeps coming up. A common pattern is a skill that tells Claude how to use an MCP server well. The server supplies the tools: query the ticket system, create an issue. The skill supplies the judgment: which fields to fill, what the team's severity labels mean, when to ask first. Neither is complete without the other, and a plugin can ship both so they stay in step.

Another pattern is a skill that wraps a CLI. The skill holds the commands and the order of operations, and the CLI does the work. This is the cheapest option in context terms, and the costs documentation points the same way when it suggests preferring CLI tools to MCP servers where one exists.

A third pattern is distribution. You write a skill locally in ~/.claude/skills/, it proves useful, and then you decide who else should have it. For a team of one or two, sharing the folder is enough. For a wider audience, publish it as a public skill on a catalog, or wrap it in a plugin with a marketplace entry.

Ragspaces is one such catalog, and a sync layer for skills. Free skills install into your own Claude Code or Codex with one command, and a hook uploads a skill when your agent saves it so a watcher on another computer pulls it down "within a minute" (how it works). Ragspaces also adds itself as an MCP server during install so shared skills appear as tools, which is one more example of the layers composing: the catalog is a skill store, and the delivery path for protected skills is MCP.

For plain installs, plugin marketplaces and npx skills add do the job, and I compare those methods in npx skills add vs plugin install vs Ragspaces. If you only need one internal skill for one repository, a committed .claude/skills/ folder needs no catalog at all.

A worked decision

Take a concrete case: you want Claude to triage incoming support tickets in a tracker.

  1. The tracker has an API but no CLI. That is an MCP server, either one the vendor ships or a small one you write.
  2. The triage rules (what counts as P1, which team owns billing questions) are a skill, since they are procedure and they change often.
  3. You want the whole support team to have both. That is a plugin with skills/triage/SKILL.md and .mcp.json, installed at project scope.

Drop step 3 if only you will use it. Drop step 1 if the tracker has a CLI that Claude can run. The skill is the one piece you almost never drop.

Common mistakes

Treating a plugin as a fourth kind of capability. A plugin is a container, and the capability inside is still a skill, a subagent, a hook or an MCP server. Debugging goes faster once you ask which piece is misbehaving.

Putting procedures in CLAUDE.md. The memory docs say that if an entry "is a multi-step procedure or only matters for one part of the codebase," it should move "to a skill or a path-scoped rule instead." Instructions in CLAUDE.md load every session. Skill bodies load when relevant.

Writing a vague skill description. The description is the only part Claude sees before deciding to load the body. Anthropic's examples of what to avoid are "Helps with documents" and "Processes data." I cover the fix in the post on writing descriptions.

Installing everything. Each enabled skill and plugin adds a listing entry, and each MCP server adds its names and instructions. Run /context to see what is using space, and turn off what you do not need.

Frequently asked questions

Is a skill the same thing as an MCP server?

No. A skill is a folder of instructions that Claude reads; an MCP server is a program that exposes tools Claude calls. A skill can tell Claude to use an MCP server's tools, and a plugin can ship both.

Do skills replace MCP servers?

Not when the job needs a live connection such as OAuth or a service with only an API. They overlap when a CLI exists, because a skill can instruct Claude to run the CLI, and the Claude Code costs docs note that CLI tools add no per-tool listing to context.

Do I need a plugin to use a skill?

No. The plugins documentation says skills work on their own without a plugin. Put the folder in ~/.claude/skills/ for all projects or .claude/skills/ for one repository.

Which one uses the most context?

The documented always-on costs are names and descriptions for skills and plugin components, and tool names plus server instructions for MCP with tool search on. Anthropic's overview gives about 100 tokens of metadata per skill. Real totals depend on your setup, so use /context and /skill-doctor to measure your own.

Can the same skill work in Claude Code and Codex?

Often yes. Both follow the open Agent Skills standard, and both read a SKILL.md with name and description. They look in different folders, ~/.claude/skills/ for Claude Code and ~/.agents/skills/ for Codex, and each has its own extra frontmatter fields.

Are plugins safe to install?

They can run code with your user privileges, per the docs, so read what a plugin adds before installing. The install pane lists the commands, agents, skills, hooks and servers it will add.

Key takeaways

  • A skill is instructions in a folder, an MCP server is a tool connection, a plugin is a package of either.
  • Skills work without a plugin, and plugins are for distribution and versioning.
  • Always-on context cost for a skill is its name and description, about 100 tokens of metadata per the Anthropic overview.
  • MCP tool definitions are deferred by default through tool search, so tool names and server instructions are what load at start.
  • All three can execute code as you, so audit what you install.

The bottom line

Start with a skill. It is the cheapest to write, the easiest to read and review, and it moves between agents. Add an MCP server when the job needs a connection a CLI cannot give you. Wrap things in a plugin when other people need the bundle and its updates.

If you want to read real skills before writing your own, browse the Ragspaces catalog. Skill pages show the description, README and reviews with no account.

Related articles

About this research

Dmitry Makarenko co-founded Zipy as VP R&D, leading 50+ engineers across five countries, and now builds AI agents full-time. (LinkedIn)

This article is based on the Claude Code documentation (skills, plugins, MCP, memory, costs), Anthropic's Agent Skills documentation, OpenAI's Codex skills documentation and the Ragspaces catalog pages, all read on 2026-11-23, plus OpenAI's Codex MCP and plugins documentation, read on 2026-11-26. Where the docs give no number, this article says so.

Content reviewed and updated: 2026-11-26

Keep reading