claude-code v2.1.332
- Source
- github.com
- Author
- claude-code-publisher[bot]Top Viber
- Date

Context
Claude Code 2.1.332 lets servers give Claude skills as well as tools, in a public beta (release notes). Skills are packages of instructions and supporting files that Claude loads when a task calls for one, and Anthropic's has so far loaded them from local folders, plugins, managed settings and the user's claude.ai account. MCP, the Model Context Protocol, is the standard way an outside server offers Claude tools to call. According to the MCP documentation, a server that implements the protocol's Skills extension can now list skills beside its tools, whether it is a claude.ai connector, a server the user added or one that came with a plugin. Each appears in the `/` menu under the server's name, so a `pdf` skill from a server called `docs` runs as `/docs:pdf`, while local skills keep their plain names.
The documentation warns that a server can change a skill at any time and that skills can direct Claude to run code, and it gives a server's skills fewer powers than local ones. Claude Code ignores frontmatter fields such as `allowed-tools`, `hooks` and `model` in a server's skill, so the skill cannot pre-approve tools for itself, and it does not run the skill's inline commands, per the skills documentation. In auto mode, the default, a classifier decides whether a skill loads without reading it and without asking the user. In Manual or accept-edits mode the user sees a prompt, and choosing Allow this version holds only until the server changes the skill's files. Permission rules can block one server's skills, block a single skill or require a prompt every time. Anthropic scans skills from third-party Directory connectors added on claude.ai, and from custom connectors where an Enterprise organization keeps scanning on, but not skills from other servers, including Directory servers added with `claude mcp add`.
Who gets the beta depends on how they sign in. The MCP documentation says skills are on for Pro, Max and Ultra users who sign in with `/login`, and off for Team and Enterprise members until their organization turns them on. They do not work in cloud sessions, `claude -p`, GitHub Actions or the Agent SDK, through cloud providers, or in organizations with HIPAA or zero data retention settings. To turn them off on managed devices, where people can also sign in with a personal plan or an API key, administrators can set `disableDirectMcpSkills` to true for servers other than connectors, and `disableClaudeAiConnectors` to true, which removes connectors along with their tools.
A second addition, the `PreSkillShellCommand` event, closes a gap in how teams vet commands in local skills. A local skill or custom command can include a shell command marked with `!` that runs while the skill loads, with its output pasted in before Claude reads the skill (skills documentation). The hooks reference says PreToolUse hooks, the scripts that check Claude's ordinary tool calls, never fire for these commands. The new event runs before each one and can block it, though it cannot approve or rewrite a command. A blocked command's output is left out and the skill still loads. The reference says to set `onFailure: "block"`, because a hook that fails or times out otherwise lets the command run, and to keep the same script on PreToolUse. Versions 2.1.331 and older run these commands without calling the hook, and the release notes say a settings file naming it makes them open a dialog at start.
- Claude Code now loads skills from MCP servers as a beta; they appear in the / menu as server:skill while other skills keep their names. A new PreSkillShellCommand hook can refuse a skill or command's inline shell commands as it loads.
- Model aliases moved on third-party clouds: sonnet now means Sonnet 5.5 on Google Cloud's Agent Platform and Microsoft Foundry, Foundry's opus means Opus 5.5 and its default model is Sonnet 5.5, while sonnet on Amazon Bedrock stays at Sonnet 4.5.
- --model default and a Default pick now step down to an older model when the chosen one is unavailable instead of stopping with an error, and in auto mode only to a model auto mode accepts. Foundry now counts Sonnet 4, Opus 4 and Opus 4.1 as retired.
- Monitoring may need updates: desktop Code tab sessions now report OpenTelemetry service.name claude-code-desktop, and self-hosted runner OAuth tokens can start with oat02- as well as oat01-, which proxy rules and log scrubbers keyed on oat01- will miss.
- The release fixes many freezes, including reads hanging on a named pipe nothing writes to (they now fail after 20 seconds), floods of hook or MCP server output, and failing compaction: after three cut-off summaries, the last try asks for a shorter one.
- Model Context Protocol (MCP) — A published agreement for an AI application to discover what a separate program offers and ask it to run one of those offerings.
- Agent mode — A mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.
- Terminal and shell — A text interface for navigating files and running programs.
- agent hook — A script the harness runs automatically at a fixed point in an agent's loop — before a tool call, after an edit, on session start.
Checking sign-in…
Loading comments…






