Before the November 25 release, a skill and an MCP server were two separate installs. Claude Code 2.1.332 joins them: a server can now ship its skills along with its tools, and Claude Code picks them up when it connects. Here's what you'll see, where it works, what a skill from a server can't do, and how to control it.
Key Takeaways
- An MCP server can now ship skills. They show up as
server:skill, such asdocs:pdf. Update to Claude Code 2.1.332 or later; it's in public beta. - It doesn't work in
claude -p, CI or the Agent SDK. Only interactive sessions. We confirmed the headless case ourselves. - A server's skill can't run shell commands as it loads, and its
allowed-toolsfield is ignored. - In auto mode it loads without a prompt, and skills from servers you add with
claude mcp addaren't scanned. Anaskrule puts you back in the loop. - The new
PreSkillShellCommandhook is for local skills, not server skills. With a script you write, it lets you block the shell commands that local skills run as they load.
What Changed in 2.1.332
Until now, a server gave your agent access to a service, and a skill, copied into .claude/skills/, taught it how to use that access well. Now the server can deliver both. GitHub's MCP server is one that already does: since v2.2.0 it bundles 18 workflow skills, such as exploring a codebase and handing a task to Copilot, which you turn on when you start it.
Claude Code lists skills that a server provides in the / menu and in /skills, under the server's name. A pdf skill from a server you named docs becomes docs:pdf, and you run it like any skill:
/docs:pdf report.pdfYou can also just ask Claude to use it. Skills you installed yourself keep their names. Servers from claude.ai connectors and plugins get a longer prefix, such as claude_ai_Docs:pdf.
There's nothing new to install. If a server you already use starts serving skills, they appear the next time it connects. Update to Claude Code 2.1.332 or later.
We tested it. We served one test skill from a local server built on the official TypeScript MCP SDK and ran it from an interactive Claude Code 2.1.332 session as /demo:hello-check. It loaded and followed its instructions. A shell line inside it arrived as plain text and did not run.
How a Server Delivers a Skill
This isn't MCP prompts renamed. Servers implement the Skills extension to MCP (SEP-2640, now final). The server lists its skills, each with its frontmatter. For an ordinary skill, the listing also carries a manifest of every file, with each file's size and SHA-256 digest. Claude Code fetches the SKILL.md and any supporting files only when the skill is used, and checks each file against the manifest.
The spec also allows skills generated on the fly, marked "resources": "dynamic", which have no file digests. A saved approval can't be tied to their content, and clients may refuse to load them.
For a skill with a manifest, a saved approval (Allow this version) applies to exact file versions. If the server changes, adds or removes a file, the saved approval no longer covers it. In the spec's words, the digests “establish consistency with the server's manifest, not trust in its content.” A matching digest tells you the file is the one that was approved. It doesn't tell you the file is safe.
Servers need MCP protocol revision 2026-07-28 or later, over stdio or HTTP.
Who Has It, and Where It Works
It's on by default if you sign in with /login on a Pro, Max or Ultra plan. On Team and Enterprise, it's off until your organization turns it on. With an API key or a Console login, it's still rolling out: off now, and on when the rollout reaches you. You also need a current Claude model; the docs list the minimum versions.
It works in an interactive terminal, including in JetBrains IDEs, and in local sessions you start in the Desktop app. In the VS Code extension it's still rolling out. It also needs a direct connection to Anthropic with feature flag fetching on. Servers you add in the Desktop app's own connector settings aren't supported.
It doesn't work in headless or hosted runs. The docs list claude -p, GitHub Actions, the Agent SDK, cloud sessions and Remote Control server mode as unsupported, along with custom API endpoints and some compliance setups. We confirmed claude -p: the server connected, but Claude Code never asked it for skills, and the skill's name came back as an unknown command. If your plan was to rely on a server's skills in CI, it won't work yet.
What a Skill From a Server Can't Do
A skill that comes from a server has less reach than one in your .claude/skills/ folder:
- No
!shell commands. In a local skill, a line like!`git status`runs while the skill loads, and its output goes to Claude. In a skill from a server, those lines don't run. In our test, Claude received the line as literal text, and the file it would have created never appeared. - Its
allowed-toolsfield is ignored, along withhooks,model,context,agentand the other frontmatter fields that change how Claude Code behaves. A skill from a server can't pre-approve tools for itself. - No
@file references, and${CLAUDE_PROJECT_DIR}and${CLAUDE_SESSION_ID}aren't filled in.
That removes the riskiest parts of a local skill. It doesn't make a server's skill harmless: a skill is still instructions Claude follows, and it can tell Claude to run commands through the normal tools. Your permission rules still apply to those. Three things to know before you rely on it:
- In auto mode, a skill loads without a prompt. Auto is the built-in default for terminal and VS Code sessions on Claude Code 2.1.283 or later. A classifier decides whether it loads, and it decides “without reading it.” In Manual or
acceptEditsmode, you get a prompt and can choose Allow this version. Typing a skill's name yourself never needs approval. - Most skills aren't scanned. Anthropic scans skills from third-party Directory connectors added on claude.ai, and Enterprise custom connectors when scanning is on. It doesn't scan skills from servers you add with
claude mcp add. - Servers can change their skills at any time. A change cancels a saved Allow this version approval. In auto mode, though, a changed skill goes back to the classifier, which doesn't read it, so you may not see a prompt at all. The docs' advice is the right one: “Add only servers you trust.”
For what to look for in any skill before you trust it, see how to vet an agent skill before you install it.
How to Control It
Use permission rules, added with /permissions or in settings. For a server named docs:
| To | Add to | Rule |
|---|---|---|
| Block its skills, including typed commands | deny | Skill(mcp__docs__*) |
Block only its pdf skill | deny | Skill(docs:pdf) |
| Block its skills and its tools | deny | mcp__docs |
| Ask every time Claude loads one | ask | Skill(mcp__docs__*) |
| Approve all versions without asking | allow | Skill(mcp__docs__*) |
The table uses two forms on purpose, both from the docs: mcp__docs__* matches every skill from the server, and docs:pdf names one skill the way it appears in the / menu.
Two things the table doesn't show:
- The
allowrule doesn't work for every server. It works for servers added at user or local scope and for managed servers, but not for claude.ai connectors,.mcp.jsonservers or plugin servers. - An
askrule wins over auto mode, and even overbypassPermissions: you approve each time Claude loads one of that server's skills on its own. Typing a skill's command yourself still doesn't need approval, so the rule covers the loads you didn't start.
A deny on a server's skills still lets Claude read the server's other resources. To stop that too, deny ReadMcpResourceTool. Organizations can turn skills off for servers other than connectors with the disableDirectMcpSkills managed setting.
The Other Change: A Hook for Local Skills
The same release added a hook event, PreSkillShellCommand, which is often described as protection for server skills. It isn't. Server skills can't run ! commands at all. The hook is for local skills and commands, whose ! lines do run.
Those lines run before Claude sees the skill, and they “never prompt for permission while the skill renders”: Claude Code checks them against your permission rules, and a regular PreToolUse hook doesn't see them. PreSkillShellCommand is the hook that does. It runs before each injected command, receives the command and the skill's name, and can block it. When it blocks, the skill still loads, and Claude reads [not run: blocked by hook: <reason>] where the output would have been.
If you want no inline shell at all, there's a simpler switch: set "disableSkillShellExecution": true in settings. Claude Code then replaces each ! command in user, project, plugin and additional-directory skills with [shell command execution disabled by policy] instead of running it. Bundled skills and skills deployed through managed settings aren't affected. The hook is for when you want to block some commands and keep the rest.
What the hook can and can't do:
- It can block, but it can't approve or rewrite a command. An
askordeferanswer, or any change to the command's input, is treated as a block. - It doesn't cover what happens next. If Claude runs a command afterward as a normal tool call, that fires
PreToolUse, not this event. Put your script on both. - Update before you add it. It needs Claude Code 2.1.332 or later, and older versions run injected commands without calling the hook at all.
This is the docs' example entry for .claude/settings.json, which runs a blocking script on both shells and blocks the command if the hook itself fails. It uses ${CLAUDE_PROJECT_DIR}, which hooks and local skills do fill in; only skills from servers don't:
{
"hooks": {
"PreSkillShellCommand": [
{
"matcher": "Bash|PowerShell",
"hooks": [
{ "type": "command", "command": "${CLAUDE_PROJECT_DIR}/.claude/hooks/block-rm.sh", "args": [], "onFailure": "block" }
]
}
]
}
}The entry points at a script, block-rm.sh, which you create yourself; the hooks reference has it under “How a hook resolves.” Install the script before you add the entry. Because the entry uses onFailure: "block", a missing or failing script blocks every injected command it matches.
Which Servers Serve Skills Today
Support is new, and most servers don't serve skills yet. GitHub's MCP server, mentioned above, is the clearest example: its 18 skills arrived in v2.2.0 (November 16). They're off by default: you start the local server with --features=skills, and the skills on offer depend on which toolsets you enable.
The MCP project keeps a community list of servers and SDKs that support the extension. For anything not on a vendor's own release notes, treat it as a lead, not a promise.
Skills and MCP servers still do different jobs, even when one connection delivers both. Our comparison of skills and MCP servers covers when you need which.
Frequently Asked Questions
How We Verified This
Checked on November 29, 2026, against Claude Code's MCP, skills, hooks and settings pages, its changelog (2.1.332, November 25), the MCP Skills extension spec and GitHub's v2.2.0 release and README. Quotes are copied from the pages' own text.
For the hands-on test, we served one skill from a local stdio server built on the official TypeScript MCP SDK (2.4.0). The SDK's own client listed the skill and verified its digest. Then we loaded it in Claude Code 2.1.332: in an interactive session the typed command ran, and its shell line didn't; in claude -p, Claude Code never requested the server's skills. The feature is in beta, so details may change.
Now It's Your Turn
The change is small to use and big for how skills get to you: the team that runs a service can now ship the instructions for using it, and update them, through the same connection. That convenience is also the risk, so the rule hasn't changed. Run /skills to see which of your servers already ship skills, then add an ask rule for any server you don't fully trust.
Browse All Skills