Agent Upstart

Cool things people are building with agents — and practical help getting the most out of them.

Playbooks · Coding tasks

Claude Code 2.1.332 adds MCP skills and a shell hook

Written November 25, 2026

Claude Code 2.1.332 adds skills from MCP servers, a PreSkillShellCommand hook, and fixes login, named-pipe and compaction hangs that could stall a session.

Claude Code 2.1.332 adds two ways to extend and control skills, plus fixes for sessions that hung, froze, or failed to compact. Skills can now come from an MCP server, and a new hook can refuse the shell commands inside a skill or command as it loads.

Skills from MCP servers

Skills from MCP servers are now supported, in beta. They show as server:skill in the / menu, while other skills keep their names.

For a team that already runs an MCP server, a skill served from it can sit alongside local skills in the same menu. The server:skill form makes the source visible in the name.

A hook that can refuse a skill's shell commands

The release adds a PreSkillShellCommand hook event. The hook can refuse a skill or command's inline shell commands as the skill or command loads.

That gives a settings author a check at load time, before those commands run. On 2.1.331 and older, a settings file naming this hook opens a dialog at start, so a shared settings file using it should go out with, or after, the update.

Held messages and a model footer

The prompt for held messages from other sessions gains an "Always deliver" option.

A new footer line stays while a flagged message has your session on a different model. It remains until you pick a model with /model, so the mismatch stays visible until it is resolved.

Warnings in VS Code and Desktop

VS Code and Desktop's Code tab now warn when part of a session could not be saved. The warning says how to save it with /compact.

The same surfaces now show a notice when a resumed session's earlier messages were not loaded, as the terminal already shows.

The startup header also shows your Cyber Verification Program access tier, beside the model name, when your tier applies to that model and you are signed in with a claude.ai account.

Login failure no longer reports success

claude auth login no longer reports Login successful. when a claude.ai login could not be saved. It now exits with code 1 and says what to check, such as a leftover lock file or a full disk.

A false success leaves the next failure unexplained. An exit code of 1 can be caught by a script, and the message points at the storage problem.

Reads and compaction that no longer hang

Read, @-mentions, and compaction no longer hang on a named pipe that nothing writes to, such as a .env mounted by a locked secrets manager. The read now fails after 20 seconds.

Turns no longer end in "Prompt is too long" after repeated auto-compaction failures when one more compaction at the context limit could have kept them going. Compaction also handles a summary that runs past the output limit: after three cut-off replies, the last try asks for a shorter summary.

Freezes from hooks, permissions, and MCP servers

Several freezes are fixed. A permission rule or hook condition with several wildcards no longer freezes when checked against a long command. A hook that prints output without end no longer causes freezes and runaway memory use in most cases. A hook that blocks or fails during a turn, or after /compact, with a very large log no longer freezes the session or overflows context, because text over about 50,000 characters is now shortened.

The terminal no longer freezes, or ignores Ctrl+C, while a local MCP server floods its standard output. A prompt or piped input holding an @ followed by a very long unbroken string, such as minified CSS with an embedded font, no longer freezes the session. SSE MCP servers no longer hang, or refuse every tool call, after their event stream was cut and came back on a new endpoint or not at all.

Model fallback fixes

A family name such as sonnet in --fallback-model is no longer dropped when availableModels allows only an older version of that family. On Bedrock, Google Cloud's Agent Platform, and Foundry behind a gateway, opus now steps down to an older model that answers.

The sonnet alias on Bedrock Mantle now means Sonnet 5, not Haiku 4.5 and not Sonnet 5.5. An account without Sonnet 5 gets an error, so Sonnet 5 needs to be enabled first.

Response logging and dictated text

An OpenTelemetry assistant_response event is added for text Claude sends through SendUserMessage or Cowork's message tool, when response logging is on.

Dictated text past 10,000 characters is no longer lost.

What to do

Related playbooks

Sources

Back to: Coding playbooks hub · Also: Claude Code 2.1.331 brings Code Mode to cloud hosts