Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

16 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… Deploy managed settings Claude Code CLI · in the page managed-settings …e cases don't fail closed: * A `null` removes the key. * An invalid `disableAllHooks`, even a quoted Boolean, is dropped with a warning, because enforcing `true` would also unload the hooks your own… 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… Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …nstalled mods and no hooks at all, your managed hooks included | Set `disableAllHooks` to `true` | | Only your organization's mods | Set the guard's [`allowManagedModsOnly` option](#stop-user-installe… Create a mod Claude Code CLI · in the page plugins/mods/create …are disabled**: you started with `--safe-mode` or `--bare`, you set `disableAllHooks`, or your organization's [managed settings block it](/docs/en/plugins/mods/admin#choose-how-much-to-allow) ## Wri… Mods overview Claude Code CLI · in the page plugins/mods/overview …ustomizations * **Every mod you installed, in every session**: set [`"disableAllHooks": true`](/docs/en/settings-reference#disableallhooks) in `~/.claude/settings.json`. Your settings hooks and custom… Mods reference Claude Code CLI · in the page plugins/mods/reference …cs/en/settings-reference#what-runs-under-allowmanagedhooksonly). | | `disableAllHooks` | Any settings file | In managed settings, no mod or hook from an installed plugin runs. In your own settings, wh… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …ooks modules are turned off here` | A setting is blocking your mods: `disableAllHooks` in your own settings, or your organization's policy | | `hooks modules are turned off in this process: the rollou… 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… All settings Claude Code CLI · in the page settings-reference …ocs/en/agent-view) | Agents, sessions, and worktrees | Any file | | [`disableAllHooks`](#disableallhooks) | Turn off [hooks](/docs/en/hooks), a custom [status line](/docs/en/statusline), and a custom… 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… MCP, plugins, skills, and hooks Claude Documentation · in the page third-party/claude-desktop/extensions …on the device govern these hooks as they do in the Claude Code CLI: `disableAllHooks` turns them off, and `allowManagedHooksOnly` keeps only the hooks those managed settings define. ### Hooks on Win…
Feedback