If you use MCP servers with Claude Code, you have probably installed a skill or two by hand: copy a SKILL.md into ~/.claude/skills, restart, and hope it's the latest version. Since 2026-11-24 a server can publish its skills itself, and Claude Code treats them like installed skills.
I run two MCP servers and moved both of them this week. Below is how it looks to a user, what I had to change on the servers, and a curl that tells you whether your own server is ready.
What it is, in plain words
An MCP server gives an agent tools, like "start a timer" or "search stories". A skill gives it the method: when to call which tool and what to ask the user first.
A server could already carry that method text before, and mine did. My goal tracker, AimYear, served it in two forms:
- As an MCP prompt named
aim. Claude Code shows server prompts as slash commands, so it appeared as/mcp__aimyear__aim. Nothing to install, but a prompt only runs when you type it. The model doesn't see prompts in its list of skills, so it never picked the method up on its own when I said "what should I work on?". - As a resource,
aimyear://skill/aim, with a line in the server instructions asking the agent to read it before planning. Agents sometimes (really not often) followed that line.
The version that worked every time was the installed skill: the same text copied into ~/.claude/skills/aim. Claude Code lists installed skills, with their descriptions, for the model, so it loads them by itself when they fit. But every user had to install it, and every copy went stale after the next change on the server.
Skills over MCP (the io.modelcontextprotocol/skills extension, which Anthropic announced on 2026-11-24 as a public beta) closes that gap. The server publishes the skill, and Claude Code treats it like an installed one: the name and description go into the model's skill list, and it shows up as a slash command named <server>:<skill>. Anyone who connects mcp.aimyear.com now gets /aimyear:aim without installing anything. The old prompt and resource are still there for clients that don't support the extension yet.
What happens when you pick the command
- When Claude Code connects, it sends the server
server/discover, sees the skills extension, and callsskills/list. It gets only the name and the one-line description. That line goes into the menu and into the model's list of skills; the full text stays on the server. - When you select it (or when the model decides the skill fits what you're doing), Claude Code reads
skill://aim/SKILL.mdfrom the server, checks it against the sha256 from the list, and puts the text into the chat as your command, with a line saying which server it came from. - From there it's an ordinary skill. No code runs on your machine.
What I like most is that the server now holds the only copy. After the deploy I had two commands: /aim, my own installed file from October, and /aimyear:aim. When I compared them, the local one was missing two rules I had added on the server since. Everyone who had installed the skill by hand had the same stale copy and no way to notice. I deleted mine. A deploy now reaches every user within 5 minutes, the cache time I set.
Try it as a user
You need Claude Code 2.1.331 or later and a server that already publishes skills.
- Add one, for example
claude mcp add --transport http aimyear https://mcp.aimyear.com/mcporclaude mcp add --transport http worklore https://worklore.dev/mcp. Listing and reading the skill needs no account; the tools themselves ask you to sign in. - Open a new session and type
/. Look for/aimyear:aimor/worklore:worklore. - Pick it and look at what lands in the chat. That text is the whole skill, so you can read every line your agent is about to follow.
If you already had the same skill installed locally, you'll see two commands. Delete the local one, or you may keep running an old version.
Ship it from your own server
This part took most of the time, and three things surprised me.
Skills need a new protocol version
Skills require MCP revision 2026-07-28, the stateless one that starts with server/discover instead of initialize and puts the protocol version into every request. The TypeScript SDK 1.x (up to 1.32.2) can't serve it. The v2 package, @modelcontextprotocol/server 2.4, can, and it includes the skills extension. I didn't want to move every old client (ChatGPT, claude.ai connectors, my own apps) to a new SDK at once, so the server runs both. v2's isLegacyRequest() decides: old requests go to the 1.x handler exactly as before, and new ones go to createMcpHandler from v2. Publishing the skill is one call:
import { SkillsExtension, memorySkillFiles } from '@modelcontextprotocol/server/ext/skills';
const skills = SkillsExtension.load(
memorySkillFiles({ 'aim/SKILL.md': SKILL }), // the same string my old prompt serves
{ strict: true, cacheHint: { ttlMs: 300_000, cacheScope: 'public' } },
);
My other server is a Python Lambda with no MCP SDK at all, so there I wrote it by hand: answer server/discover, implement skills/list and skills/get, serve the file through resources/read, and compute the sha256 and size from the exact bytes resources/read returns. That came to one module of about 140 lines, some changes to the request handler, and tests.
Both servers were already refusing these requests
Before changing anything, I counted server/discover requests in both servers' logs for November 1 to 26:
| AimYear | worklore | |
|---|---|---|
server/discover requests |
about 2,400 | about 2,000 |
| Answered | 0 (all 401) | 0 (all "method not found") |
| Different callers | about 40 | about 40 |
AimYear refused them because discovery wasn't on its list of methods that work without a sign-in. Worklore didn't know the method at all.
Most callers were MCP directories and crawlers that index servers; one collector sent over 800 requests to each server by itself. Real clients were in there too: Claude Code since 2026-11-16 (version 2.1.323, a week before the announcement), Devin CLI, OpenAI's MCP client and Anthropic's Claude-User agent. Seven minutes after the AimYear deploy, my own Claude Code 2.1.332 called server/discover, then skills/list, and got the skill on the first try.
The crawlers don't read skills yet. They only call server/discover, to see which protocol versions a server speaks. Before the deploy, one caller in all of November asked AimYear for skills/list (a plain Python script, 39 times). In the first half hour after the deploy, two directory crawlers got a good server/discover answer and neither asked for the skill. Claude Code was the only client that did.
If your server runs MCP over HTTP, search your logs for server/discover; the same traffic is probably there. Discovery and skill reading have to answer without a sign-in, while tools/call stays behind it on both versions.
After discovery answers, every call switches
Claude Code then sends every call on that server the new way, including your tools. On the Python server I added an environment switch that turns the new path off without a deploy, and I'd add one from the start.
Is your server ready? One curl
curl -s -X POST https://YOUR-SERVER/mcp \
-H 'content-type: application/json' -H 'accept: application/json, text/event-stream' \
-H 'mcp-protocol-version: 2026-07-28' -H 'mcp-method: server/discover' \
-d '{"jsonrpc":"2.0","id":1,"method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28","io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"check","version":"1"}}}}'
A 401 or "method not found" means Claude Code users can't see any skill you publish yet. If the result lists 2026-07-28 in supportedVersions and io.modelcontextprotocol/skills under capabilities.extensions, you're done.
The step-by-step version
I wrote the whole process up as a worklore story your agent can follow on your own server, with the curl above as a "check mine" button: Skills over MCP: serve your agent skill from the server, not a local file. It is also a step on the free worklore path Build and ship your own MCP server, right after the step about which methods answer without a token.
Claude Code's limits are smaller than the spec's: 100 skills per server, 100 KB per text file, 400 KB per skill. My SKILL.md is 22 KB.
Top comments (5)
Shipping the skill with the server fixes the version drift problem, but it also moves the trust boundary. The method text now comes from the same endpoint that exposes the tools, so a server update changes agent behaviour with no review step. Pinning the skill version and diffing it in CI is worth doing before turning this on.
The stale copy drift is the exact reason I ended up having my local notes app write and refresh SKILL.md directly inside the vault folder on startup instead of asking users to copy it into ~/.claude/skills. That works fine when the app already owns a local folder, though it doesn't help for remote HTTP MCP servers. Having the server serve skill:///SKILL.md with a sha256 check on discover is a much cleaner boundary.
Writing the file on startup is a neat fix when the app already owns the folder: it updates itself, and it works with any agent that reads skills from disk, not only clients that support the new extension. For a remote server I had no folder like that, so the stale copy was the only option until now.
One question: what does your app do if the user has edited the SKILL.md in the vault? Overwrite it on the next start, or keep their changes?
The SHA-256 check is useful for detecting a mismatch between the listing and the fetched file, but it does not establish that the instructions themselves are trustworthy: the same server supplies both. I would treat server-provided skills as versioned external instructions, review changes when they update, and keep authorization for tool calls separate from the skill text.
Agreed: the digest only shows that the file matches what the list announced. Both come from the same server, so it checks integrity and says nothing about whether the instructions are safe.
Two things in the design point the same way. The spec says hosts should treat skills served over MCP as a higher-risk surface than tool calls, and that frontmatter can't widen what the model may do. In Claude Code, approving a skill approves that version: when the server changes the files (a new digest), manual and acceptEdits modes ask again. The default auto mode doesn't ask, and Anthropic scans each version only for directory connectors added on claude.ai. So the review you describe exists, but only if you turn it on. On my servers reading the skill needs no sign-in, every tool call still does, and the skill text grants nothing on its own.