Claude Code 2.1.332 Adds MCP Skills, Blocking Hooks
Anthropic shipped Claude Code v2.1.332 on November 25, 2026, adding beta support for skills supplied by MCP servers alongside a hook that can refuse shell commands those skills try to execute, according to the project's GitHub release page, which was later updated November 30, 2026 (GitHub).
Why this matters to builders
The update matters for anyone wiring third-party extensions into an agent workflow. MCP server skills now surface directly inside Claude Code's `/` menu in the format `server:skill`, distinct from locally defined skills, which keep their existing names (GitHub). That means a developer pulling in a skill from an external MCP server can now see, at a glance, that it did not come from their own codebase — a basic but previously missing signal of provenance.
The more consequential change is the new `PreSkillShellCommand` hook event. Anthropic's release notes describe it as a hook that "can refuse a skill or command's inline shell commands as it loads" (GitHub). In practice, that gives teams a concrete enforcement point: before an MCP-provided skill's shell command runs, a hook can intercept and block it, rather than developers having to trust the skill's publisher outright.
How MCP skills differ from local ones
Anthropic's documentation specifies that MCP-provided skills read supporting files from their server as MCP resources, rather than from the local filesystem (Claude Code docs). That architecture also means several frontmatter options available to locally defined skills — including `allowed-tools`, `disallowed-tools`, `hooks`, `model`, `effort`, `context`, `agent`, `background`, `shell`, `paths`, and `metadata` — are ignored when the skill comes from an MCP server (Claude Code docs). For developers used to configuring those fields locally, that is a meaningful limitation: an MCP skill's behavior can't be tuned the same way a local one can, which raises the stakes for the new blocking hook as a fallback control.
Compatibility note
Anthropic flagged one backward-compatibility issue: on Claude Code 2.1.331 and earlier, simply naming `PreSkillShellCommand` in a settings file triggers a dialog box at startup (GitHub). Teams running mixed versions across a codebase or CI pipeline should account for that before adopting the new hook name in shared configuration files. The release notes do not describe any broader breaking change, and Anthropic has not published adoption or installation figures for the update, nor specified a licence or platform list for this release (GitHub).
The hooks mechanism itself builds on Anthropic's existing hooks framework, documented separately for developers configuring event-based controls across Claude Code sessions (Claude Code docs).


