Hooks
Hook configuration (events, properties, matchers, exit codes, environment variables, and HTTP hooks) is maintained in a dedicated repository:
claude-code-hooks — Complete hook reference with sound notification system, all 28 hook events (including
PreModelSwitchandPostModelSwitchadded in v2.1.252), HTTP hooks, matcher patterns, exit codes, and environment variables.
Hook-related settings keys (hooks, disableAllHooks (also disables any custom status line), allowManagedHooksOnly, allowedHttpHookUrls, httpHookAllowedEnvVars) are documented there.
For the official hooks reference, see the Claude Code Hooks Documentation.