Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

Plugin hooks can block or rewrite a subagent before it starts

Starting a forked subagent now runs a plugin hook that can deny it or change its prompt and description

You'll notice No documentation found Improvements
JSON All of v2.1.326
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release

Unclear It is not clear whether plugins can use this hook in normal Claude Code sessions.

What

A subagent is a separate Claude worker that Claude starts to handle part of a task. Starting a forked subagent used to happen directly. It now runs a plugin hook first, a check supplied by a plugin, which can refuse the start or rewrite the subagent's prompt and description. A refusal is reported as subagent_spawn_denied_by_hook.

Resuming an agent that is still stopping is now refused with a message saying it is still stopping.

Why

Plugins gain a say over when subagents start and what they are told.

Read from
Names in the bundlesubagent_spawn_denied_by_hook
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether plugins can use this hook in normal Claude Code sessions.

See this entry in the whole of v2.1.326 →

Feedback