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

Claude Code v2.1.242 ·

Administrators and --bare can block plugin hooks from loading

Two managed settings can block plugin hooks entirely or allow only managed plugins.

Use it now Notable In Development
JSON All of v2.1.242
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
PluginsArea: what it touches
In DevelopmentKind: in v2.1.242,
What probably matters to youSection of the release
What

Even with the rollout flag on, the loader filters which plugins may contribute hooks. Two managed settings keys control it: disableAllHooks blocks every plugin, and allowManagedHooksOnly restricts loading to managed plugins.

Details
  • Running with --bare disables hooks entirely.
  • When two plugins share a name, only the first loads: the managed one, or otherwise the one from the earlier source.
  • Every exclusion is logged with the reason it was excluded.
Evidence

only managed plugins run (allowManagedHooksOnly / disableAllHooks)

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up disableAllHooks, on MCP, plugins, skills, and hooks. Claude Code [managed settings](/docs/third-party/claude-desktop/code#interaction-with-claude-code%E2%80%99s-own-managed-settings) deployed on the device govern these hooks as they do in the Claude Code CLI: `disableAllHooks` turns them off… third-party/claude-desktop/extensions see the edit
Confirmed since Anthropic's documentation has since written up allowManagedHooksOnly, on MCP, plugins, skills, and hooks. Claude Code [managed settings](/docs/third-party/claude-desktop/code#interaction-with-claude-code%E2%80%99s-own-managed-settings) deployed on the device govern these hooks as they do in the Claude Code CLI: `disableAllHooks` turns them off… third-party/claude-desktop/extensions see the edit
Added since A small documentation edit on CLI reference touched a line naming --bare after this was published. If you start Claude Code in [bare mode](/docs/en/headless#start-faster-with-bare-mode), by passing `--bare` or setting `CLAUDE_CODE_SIMPLE=1`, recording stays off unless you pass `--system-prompt-snapshot on`. Before v2.1.268, sessions tha… cli-reference see the edit
Confirmed since Anthropic's documentation has since written up --bare, on Modifying system prompts. If you start Claude Code in [bare mode](/docs/en/headless#start-faster-with-bare-mode) by passing `--bare` through `extraArgs` or setting `CLAUDE_CODE_SIMPLE=1`, recording stays off unless you set `snapshot: true` on the object form of `sy… agent-sdk/modifying-system-prompts see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --bare, on Modifying system prompts.

See this entry in the whole of v2.1.242 →

Feedback