OmniscioGuidesSkills vs plugins vs subagents vs MCP
Skills vs plugins vs subagents vs MCP: how to choose
Claude Code has many ways to extend it, and several of them read like the same idea described more than once. They are not: each one adds a different kind of help to a session, which is why the right question is not which is better but what is missing.
This page is the decision. Each section links the guide that owns the detail, because the mechanics of writing a skill or a hook do not belong in a comparison.
- What each one adds.
- Skill vs subagent, the pair people mix up most.
- MCP vs skill, tools against knowledge.
- Hook vs skill, enforcement against instruction.
- Where plugins fit.
- What to build first.
Checked against Anthropic's Claude Code documentation on November 25, 2026. By the Omniscio team. Updated .
What each one adds to a session
Anthropic draws the line by what the extension plugs into: one adds context Claude sees every session, another adds knowledge Claude uses sometimes, another runs work somewhere else, another reaches a system outside Claude Code, one sets how Claude responds, one runs at a lifecycle event, and one packages the rest. This page compares the ones people confuse.
- CLAUDE.md adds persistent context Claude sees every session: project conventions and “always do X” rules.
- Skill adds instructions, knowledge and workflows Claude can use, either as reference or as an invocable command.
- Output style sets Claude's role, tone and response format for a whole session, such as a shorter reply or a non-engineering voice.
- Subagent runs its own loop in an isolated context and returns a summary.
- MCP connects Claude to external services and tools, such as a database or Slack.
- Hook runs your script, HTTP request, MCP tool call, prompt or subagent when Claude Code reaches a lifecycle event, such as after every file edit.
- Plugin packages and distributes the rest.
Anthropic calls skills the most flexible of them, and the reason is worth noting: a skill is a markdown file whose content can be knowledge or a workflow, invoked as a command or loaded automatically, run in the current conversation or in an isolated context.
Where they live is the fastest way to tell them apart on disk. A skill is a folder with a SKILL.md under .claude/skills/ in a project, or ~/.claude/skills/ for every project. A subagent is a markdown file under .claude/agents/ or ~/.claude/agents/. A plugin is a directory with a manifest at .claude-plugin/plugin.json. The skills guide, subagents guide and plugins guide each take it from there.
Skill vs subagent
These two solve different problems, and the split is context. A skill is reusable content you load into a context. A subagent is an isolated worker that runs separately from your main conversation, and only its summary comes back.
So the choice is about what the work costs your conversation. A subagent that reads forty files costs you one summary; the same research as a skill would put those files in front of you. That is also why a subagent is the answer when your context window is filling, not when your instructions are missing.
They combine, and the two mechanisms are worth knowing before you pick one:
- A subagent can preload specific skills through its
skills:field, so the worker starts with the knowledge it needs. - A skill can run in an isolated context with
context: fork, when you want the workflow but not its output in your conversation.
A skill can also be reference or action. Reference skills are knowledge Claude uses throughout a session, such as your API style guide. Action skills tell Claude to do something specific, such as a /deploy that runs your deployment checklist.
The nearest confusion is a skill against CLAUDE.md, since both hold instructions. The split is when they load: CLAUDE.md loads every session, so it carries what must always be true, such as build commands and conventions. A skill loads on demand, so it carries reference material or a workflow you trigger with /name. If a file of the first kind keeps growing, Anthropic's rule of thumb is to move reference content out to skills rather than let it pass 200 lines.
MCP vs skill
MCP connects Claude to an external service; a skill extends what Claude knows, including how to use that service well. Anthropic's summary is that these solve different problems and work well together.
The division of labour: MCP gives Claude purpose-built tools for an outside system, with the connection and authentication handled by the server. A skill gives Claude your team's database schema and query patterns, or a /post-to-slack workflow with your message formatting rules.
In practice that means an MCP server alone often produces technically correct, stylistically wrong work: it can query the database, but without a skill it does not know your schema or your query patterns. The MCP setup guide covers the connection, and the MCP error guide covers a server that will not connect.
Hook vs skill
A hook runs at a lifecycle event; a skill loads into context for Claude to apply. The difference that matters is determinism: a hook fires on its event without Claude deciding, while Claude interprets a skill's instructions and the outcome can vary.
That makes the split about enforcement rather than topic. “Never edit .env” written in a skill or a CLAUDE.md is a request. A PreToolUse hook, which runs before Claude runs a tool and can refuse, is enforcement. Anthropic's rule is blunt: if a rule must hold every time, make it a hook rather than a prompt instruction.
The context cost differs too. A hook costs nothing unless it returns output, while a skill's description loads every session and its full content loads when used. The hooks guide covers the events and the exit-code behaviour.
Where plugins fit
A plugin is the packaging layer, not a competing option. It bundles skills, hooks, subagents and MCP servers into a single installable unit, and plugin skills are namespaced, like /my-plugin:review, so several plugins can coexist without fighting over a command name.
The manifest is a JSON file at .claude-plugin/plugin.json. The components are what it holds: skills as SKILL.md instructions, agents as subagent definitions, hooks as commands run at lifecycle points, and MCP servers as tool servers Claude Code connects to while the plugin is enabled.
Use one when you want the same setup in more than one repository, or when you want to hand it to somebody else. An enabled plugin is part of every session, not only the ones where you use it, so a heavy bundle costs context everywhere it is installed.
What to build first
Anthropic gives each extension a trigger, and in practice teams add them in roughly this order. If you are deciding what to make next, find the trigger that has already happened to you twice.
- Claude gets a convention or a command wrong twice: add it to
CLAUDE.md. - You keep asking for shorter answers, more explanation or the same format: set an output style.
- You keep typing the same prompt to start a task, or paste the same playbook a third time: save it as a skill.
- You keep copying data from a browser tab Claude cannot see: connect that system as an MCP server.
- Claude reads many files to find where a symbol is defined: install a code intelligence plugin for your language.
- A side task floods the conversation with output you will not reference again: route it through a subagent.
- You want something to happen every time without asking: write a hook.
- A second repository needs the same setup: package it as a plugin.
The same triggers tell you when to revise what you already have. A recurring review comment is a CLAUDE.md edit rather than a correction in chat, and a workflow you keep adjusting by hand is a skill that needs another revision.
Sources
Every factual line above rests on one of these pages, read on November 25, 2026.
- Anthropic's Extend Claude Code, for what each extension adds, the skill against subagent and MCP against skill and hook against skill comparisons, the plugin packaging rule, and the build-order triggers.
- Anthropic's Extend Claude with skills, for the
SKILL.mdfile and the.claude/skills/location. - Anthropic's Create custom subagents, for the
.claude/agents/and~/.claude/agents/locations. - Anthropic's Plugins overview, for the manifest, the components a plugin holds, and the cost of an enabled plugin.
No extension was built for this page. Every rule and file path is transcribed from those pages.
Common questions
What is the difference between a skill and a plugin in Claude Code?
A skill is one unit of knowledge or a workflow. A plugin is the packaging layer: it bundles skills, subagents, hooks and MCP servers into something one command installs. Plugin skills are namespaced, so a skill inside my-plugin runs as /my-plugin:review. Build a skill first; package it as a plugin when a second repository needs the same setup.
Should I use a skill or a subagent?
A skill is reusable content loaded into a context you already have; a subagent is an isolated worker whose work happens in its own context window and returns only a summary. Use a subagent when the task would flood your conversation, and a skill when you want Claude to know something or follow a workflow. They combine: a subagent can preload skills, and a skill can run in an isolated context.
What is the difference between MCP and a skill?
MCP connects Claude to an external service and gives it tools for that service, with the connection and authentication handled by the server. A skill gives Claude knowledge and workflows. They work together: the MCP server provides the tools, and a skill can carry your team's conventions for using them.
When should something be a hook instead of a skill?
When it must happen the same way every time. A hook fires on its lifecycle event without Claude deciding, while a skill is instructions Claude interprets, so the outcome can vary. If a rule must hold every time, put it in a hook rather than in a prompt instruction.
Where does each one live in the project?
A skill is a folder with a SKILL.md, under .claude/skills/ in a project or ~/.claude/skills/ for every project. A subagent is a markdown file under .claude/agents/ or ~/.claude/agents/. A plugin is a directory with a manifest at .claude-plugin/plugin.json.
One setup, every agent that reads it
Omniscio runs Claude Code, Codex, OpenCode, Devin, Pi and Hermes side by side and keeps your instructions in one place, so the skill you wrote is not trapped in one harness.