Claude Code 2.1.332 adds MCP Skills and a Shell-command guard hook
Released on November 25, Claude Code 2.1.332 lets MCP servers provide beta Skills and adds a hook that can reject inline Shell commands during loading. Gateway users should review versions, trust and tool permissions.
The short version
Claude Code 2.1.332 changes how teams can bring tools into their workflow in two ways: it can load Skills from MCP servers (currently in beta), and it adds PreSkillShellCommand, a hook that can reject inline Shell commands as a Skill or command loads. Anthropic's release record is dated November 25, 2026. For teams using Claude through an API gateway, this is a client-tooling change, not a model endpoint or pricing change. Requests may continue to succeed while the local boundaries around Skills, MCP tools and Shell actions still need review. 1
What changed
The first addition is MCP server skills. An MCP server can now provide Skills as well as tools. In Claude Code's / menu, these entries appear as server:skill; ordinary Skills keep their existing names. The naming helps identify a source, but a visible name is not a security check. Administrators should still verify who maintains the MCP server, where it comes from, what it can access and whether server-side updates can change its behavior.
The second addition is PreSkillShellCommand. It runs as a Skill or command loads and can refuse inline Shell commands contained in it. This creates another policy checkpoint—for example, to block unapproved script behavior. It is not a sandbox and does not replace operating-system permissions, human review, credential isolation or network controls. Teams should govern whether a command may run separately from what it can access after it starts.
Anthropic specifically warns that settings files naming PreSkillShellCommand open a dialog at startup in version 2.1.331 and earlier. Do not distribute one shared configuration to every developer without checking the version they actually run. Confirm the client version first, then enable version-appropriate settings. 1
What API gateway users should expect
These features belong to the Claude Code client. They are not new SalpX API parameters, and they do not mean the gateway will execute local commands on a user's behalf. Claude Code's model requests remain subject to the selected model, API key, account balance, rate limits and supported gateway protocol. MCP servers and local Shell actions are handled at the client-tool layer; a client update should not be advertised as a gateway capability.
The practical concern for teams is supply-chain visibility and audit coverage. Skills supplied by MCP can expand the set of available tools, while the Shell hook adds a more granular loading-time control. Teams that check only base_url, model ID and key may miss a gap: model requests can be logged at the gateway while local tool behavior is governed elsewhere.
A safe upgrade checklist
- Check versions first. Confirm Claude Code is 2.1.332 or newer on a test machine. Do not let older versions consume a shared configuration containing the new hook name. 1
- Inventory MCP sources. Record each server's name, maintainer, version, Skills, tool permissions and update mechanism. A name appearing in the
/menu does not prove that the source is trusted.
- Test with low privileges. Do not validate an unfamiliar Skill in a development environment holding production credentials. Apply least privilege separately to file access, command execution and network access.
- Define the hook policy. Document which Shell behaviors are allowed, denied or require human approval. Retain rejection reasons and periodically review both false positives and missed cases.
- Test the model path separately. Send a non-sensitive request through the API gateway and verify model, response and billing. Then test MCP tools and local Shell policy independently. A successful text request is not an acceptance test for the tool layer.
- Keep a rollback path. Record the previous client version and settings. Enable the update for a small group first, then return to the verified version and configuration if the rollout causes problems.
What not to infer
This release does not declare every MCP Skill safe, promise that the hook can block every command, or automatically change the Claude model or API protocol. It adds client capabilities and a control point. Teams still need to review Skill content, MCP permissions and configuration compatibility, while troubleshooting API availability and billing separately from client-side tool risks.
1: Claude Code v2.1.332 official release record, Anthropic, November 25, 2026. It labels MCP server skills as beta, adds PreSkillShellCommand, and warns that settings naming this hook open a startup dialog in 2.1.331 and earlier.
Sources & attribution
This article references the public materials listed below. Analysis and wording are SalpX's own; quoted material remains the property of its original authors and publishers.
- Claude Code v2.1.332 release — Anthropic (GitHub) · accessed 2026-11-29Note:Anthropic's official release record dates v2.1.332 to November 25, 2026. It adds MCP server skills (beta) and the PreSkillShellCommand hook, with a compatibility warning for older versions.
One key for Claude, GPT and 50+ models
The SalpX gateway is OpenAI-SDK compatible. Point base_url at https://www.salpx.com/v1 and you are done.