Setup
A Claude Code hook event, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
When you start Claude Code with --init-only, or with --init or --maintenance in -p mode. For one-time preparation in CI or scripts
Anthropic's own wording. Read off Hooks reference, captured 2026-10-22.
In the changelogs
3Releases whose published page names Setup.
-
v2.1.281
mcp_tool hooks wait for an MCP server that is still connecting
mcp_tool hooks now wait for an MCP server that is still connecting instead of being skipped straight away
found in this entry's text
-
v2.1.265
New hook-timing guard message for classic hooks calling turn.complete-style APIs
New warning explains why calling certain APIs from most hooks would freeze, and tells you to use turn.complete instead
found in this entry's text
-
v2.1.265
New
classic.*hook turn-block guidance distinguishes SessionStart/Setup/SessionEnd from other classic hooksClearer error guidance when a classic hook other than SessionStart/Setup/SessionEnd tries to block the turn
found in this entry's text
First cited
0No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the hook event does. All hook events.