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.