Skills
mcp-skills lets Claude use the skills your MCP servers serve: they appear in Claude's skill listing, Claude loads one when a task calls for it, and reads the files it refers to as it needs them. Nothing is installed locally, and you approve each skill once. It adds the client side of the MCP Skills extension, io.modelcontextprotocol/skills (SEP-2640, Final), which Claude Code does not support by itself yet.
Install
/plugin install mcp-skills --marketplace idosal/AgentPolyfillOr in a terminal, claude plugin install mcp-skills --marketplace idosal/AgentPolyfill. That is the whole install: no settings to fill in, nothing to configure per server. You need:
Claude Code 2.1.329 or newer (the version it was tested on), with mods.
Node 20 or newer, or Bun, to run the mod's helper. If your machine has either, it is found by itself. If it has neither, the mod says so, and one command sets it up:
/mcp-skills setupThat downloads the official Bun release for your platform (about 40 MB, from
github.com/oven-sh/bun) into the plugin's own data folder, for this mod only. Nothing else on your machine changes: no PATH entry, no shell profile.
The mod downloads nothing unless you type that command.
Try it
Add Hugging Face's public MCP server. It serves skills, and needs no account for this:
claude mcp add --transport http huggingface https://huggingface.co/mcpStart claude in the same folder and ask something one of its skills covers:
Which GGUF quantization should I use to run a 7B model on a 16 GB Mac?
Claude finds huggingface-local-models in its skill listing and loads it. Claude Code asks you once whether to load that skill. Claude then reads the skill's reference files from the server and answers from them.
| Command | What it does |
|---|---|
/mcp-skills | Lists the skills your servers serve, and says which servers were left alone and why. |
/mcp-skills show <skill> | Opens a skill's SKILL.md in a panel for you to read. Nothing is loaded, and Claude does not read the panel. |
/mcp-skills use <skill> [what to do] | Asks Claude to load a skill by name. |
/mcp-skills disable <skill> | Keeps a skill from Claude: it is not in Claude's skill listing, and cannot be loaded or read, in this session or another, until you type /mcp-skills enable <skill>. |
Also: /mcp-skills refresh looks at every server again, /mcp-skills forget [<skill>] drops your approvals, and /mcp-skills setup is for a machine with no Node and no Bun. <skill> is a name, server:name, the URI of a SKILL.md, or server:URI (which also names a skill its server does not list).
What to expect
- Nothing to set up per server. A server in your MCP configuration that declares the Skills extension has its skills listed: straight after the install, with no restart, and from the next session for a server you add later.
- One question per skill. The first time Claude loads a skill, Claude Code asks you. Your yes is remembered for that skill as it is now: every file's address and digest. If the server changes the skill, you are asked again and told that it changed.
- No other questions. Reading a loaded skill's files and listing skills raise none. After you approved a skill, the commands Claude runs go through your usual permissions, as they would for a skill on your disk.
- Skills you do not want.
/mcp-skills disable <skill>turns one skill off, by its server and the address of itsSKILL.md, in this session and every other that uses the same Claude Code configuration folder. It stays off whatever the server changes in it./mcp-skills enable <skill>turns it back on; only you can, by typing it. Turning a skill off takes nothing back from a conversation that loaded it already. - No slow starts. A server found not to serve skills is not connected to again for a day. A session waits for a first listing (at most 4 seconds) only for servers that serve skills or that it has not looked at yet.
Which servers work
| How the server is configured | Works |
|---|---|
| A local command (stdio) | Yes |
| A URL with no credentials (Hugging Face, TogoMCP) | Yes |
A URL with "headers": { "Authorization": "Bearer ${TOKEN}" } | Yes |
A URL with a "headersHelper" command | Yes: the mod runs the command as Claude Code does |
A URL you sign in to in the browser through /mcp (OAuth), with no header and no helper | No |
| A claude.ai connector, or a server that comes with a plugin | No |
A server on the older SSE transport ("type": "sse") | No |
Claude Code keeps a browser sign-in to itself, and gives a mod no way to send the extension's requests over its own connection. The mod therefore opens a connection of its own, with the credentials your configuration holds. It does not run a sign-in of its own and stores no tokens.
How it works
- Finding servers. The mod reads the servers Claude Code is configured with, asks Claude Code about each one, and connects only to those Claude Code itself uses. It keeps the ones that declare the extension and asks each for its list of skills.
- Listing. The skills are added to Claude's skill listing under their own heading, each with its server and the address of its
SKILL.md. - Approving. Before a skill is loaded, Claude Code asks you, in its own permission dialog.
- Loading. The mod fetches
SKILL.mdfrom that server, checks its size and SHA-256 digest against what the server published, compares its frontmatter with the published one field by field, and only then hands the text to Claude, marked with the server it came from. - Reading files. A file the skill refers to is read only from the skill's own server, only if the skill's manifest lists it, and checked the same way.
The mod does what the extension defines for a client and nothing else: no extra protocol, no vendor extension.
Limits
- Servers behind a browser sign-in, claude.ai connectors, plugin-provided servers and SSE servers are not supported.
- A second connection. The mod's connection to a server that serves skills is beside Claude Code's own, so a local (stdio) server that serves skills runs twice.
- Binary files of a skill are checked but not shown to Claude.
- No
/namecommand per skill. Use/mcp-skills use <name>, or just ask. - Unattended runs (
claude -p): nobody can be asked about a skill, so a skill that was not approved before loads only if your rules allow the tool, and then Claude can only read and search while it is loaded. Approve the skill once in an interactive session to use it unattended. - Managed machines. Where an organisation's policy says which MCP servers are allowed, the mod connects to nothing, because it cannot apply that policy.
- Not tried yet: Windows and Linux (everything was run on macOS); the desktop app and IDE extensions; bypass-permissions mode; Claude Code versions other than 2.1.329.
Security
A skill is text a server wrote, which a model may follow, and which may tell the model to run things on your machine. The mod treats it as untrusted data from that server, never as instructions from you.
- A skill is loaded only after you approved it, and your approval is bound to its content. An allow rule for the tool, or auto mode, does not answer in your place.
- Everything from a server is shown under the server's name as you configured it, never what the server calls itself.
- A skill's frontmatter grants nothing:
allowed-tools, hooks and the rest are ignored. - While a skill is loaded, Claude Code asks you before a resource read from any other MCP server.
- A skill you disabled is not offered to Claude, loaded or read until you enable it again, whatever a rule or mode allows; Claude cannot enable it.
- The mod never reads Claude Code's stored credentials, stores no tokens, and connects only to servers Claude Code itself uses.
It does not protect against a skill you approved whose instructions are harmful: those go through Claude Code's ordinary permissions. Read a skill you do not know before approving it (/mcp-skills show <skill>). Bypass-permissions mode has not been tested; do not use it with a server you do not trust.
The full account: SECURITY.md.
How it is tested
| What | Result |
|---|---|
| Two real public servers, Hugging Face (25 skills, 135 files) and TogoMCP (5 skills, 8 files): every skill loaded, every file verified | all verified |
| The official MCP conformance suite's client scenarios for SEP-2640 (it has four) | 4 of 4 pass |
| The client rules, one test per rule, against a hand-written server; discovery; the bundled helper; per-skill disable; property tests; the model of the gate | 128 pass |
| Approval, the permission questions, disable and enable, first-run behaviour and the runtime setup, in Claude Code's own test kit | 96 pass |
| A model of approval, loading, disabling and the gate, every reachable state to its bound (it checks the model, not the code) | every invariant holds |
| The same model in TLA+, every reachable state to the same bound, by TLC 1.7.4 | every invariant holds |
| The official TypeScript SDK's Skills server and client, over stdio and HTTP | 15 checks pass |
| Real Claude Code sessions, recorded | screens in live/ |
docs/conformance.md goes through every rule the Skills extension sets for a client (60 rules: 54 met, 3 met with a stated limit, 3 that do not apply), and docs/verification.md says what the model shows and what it does not.
Settings
There is nothing to set. To turn the mod off, disable the plugin in /plugin; do that once Claude Code serves MCP skills itself. The mod also turns itself off for a session in which it sees Claude Code load a skill from an MCP server.
| Variable | What it does |
|---|---|
MCP_SKILLS_OFF=1 | The mod does nothing, without being uninstalled. |
MCP_SKILLS_RUNTIME | What runs the helper: the full path of a Node 20+ or a Bun, or private for only the copy of Bun the mod fetched for itself. |
MCP_SKILLS_SOURCES | Which Claude Code configurations to read: project,local,user (default all three). |
MCP_SKILLS_SERVERS / MCP_SKILLS_SKIP | Only these server names, or never these (comma-separated). |
MCP_SKILLS_CONFIG | A servers file of your own instead of Claude Code's configuration, outside the project folder and its repository. |
MCP_SKILLS_STATE | Where the mod keeps its log and its note of which servers serve skills. |
The mod's own runtime
The helper is JavaScript, so it needs Node or Bun, and Claude Code comes with neither. On a machine with none, /mcp-skills setup fetches one:
- Only when you ask, and only after you say yes. The command counts only when you type it at the prompt, or send it from your own Remote Control. Claude Code's own dialog then asks whether to download; "Not now" is the first answer.
- What is fetched: one fixed Bun release, for macOS or Linux, arm64 or x64, from that release's page on GitHub, over HTTPS only.
- Checked before it is installed: its SHA-256 must equal the one written in the mod's source, copied from the release's own checksum file. A download that does not match is deleted. Only the copy of the pinned version is ever run.
- Where it goes: a
runtimefolder in the plugin's data folder, used for this mod's helper and nothing else./mcp-skills setup removedeletes it.
/mcp-skills setup has been tested in parts, not yet as one run on a machine with no Node and no Bun: the download command against the release, the unpacking, the checksum code inside Claude Code, the refusals, and the helper on Bun were each run for real; the sequence as a whole is covered by tests with stand-ins.
More
On GitHub, in polyfills/claude-code/skills: the full README.md, docs/host-changes.md (what Claude Code would need to offer for this mod to work with every server), and the evidence of each test run in docs/evidence/.