Search the documentation
9 pages for disableallhooks.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Keep Claude working toward a goal
Claude Code CLI · in the page
goal
…uator is part of the hooks system. `/goal` is also unavailable when [`disableAllHooks`](/docs/en/hooks#disable-or-remove-hooks) is `true` after settings precedence applies, or when [`allowManagedHooks…
Hooks reference
Claude Code CLI · in the page
hooks
…settings add their own hooks without removing managed ones, and the [`disableAllHooks`](#disable-or-remove-hooks) setting can't disable managed hooks from outside managed settings. The [HTTP hook all…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…rowse all configured hooks grouped by event. To disable hooks, set `"disableAllHooks": true` in your settings file. Claude Code reads the value left after [settings precedence](/docs/en/hooks#disable…
Configure permissions
Claude Code CLI · in the page
permissions
…ode reads `apiKeyHelper` only from `--settings` * Pass `--settings '{"disableAllHooks": true}'` to [turn hooks off](/docs/en/hooks#disable-or-remove-hooks) for that run. Setting it in your user settin…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…uration, not the managed tier, so your managed settings still apply. `disableAllHooks` disables them, and they are not among the categories [`allowManagedHooksOnly`](/docs/en/settings-reference#allowm…
Self-hosted environments reference
Claude Code CLI · in the page
self-hosted-environments-reference
…ator's sandbox or hooks posture, such as `sandbox.enabled: false` or `disableAllHooks`. The default `warn` logs the violation and still starts the session, `enforce` refuses the session, and `off` dis…
Claude Code settings
Claude Code CLI · in the page
settings
…| | `disableAllHooks` | Disable all [hooks](/docs/en/hooks#disable-or-remove-hooks), any custom [status line](/docs/en…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…| Agents, sessions, and worktrees | Any file | | [`disableAllHooks`](#disableallhooks) | Turn off [hooks](/docs/en/hooks),…
Customize your status line
Claude Code CLI · in the page
statusline
…hat row; emit an empty `content` string to hide it. The same trust, `disableAllHooks`, and [`allowManagedHooksOnly`](/docs/en/settings-reference#allowmanagedhooksonly) gates that apply to `statusLine…