{"version":"2.1.333","anchor":"plugin-hooks-files-named-in-marketplace-entries-are-pre-chec","canonical_anchor":"plugin-hooks-files-named-in-marketplace-entries-are-pre-chec","heading":"Plugins whose hook files contain guard hooks lose their pre-approved tools","tier":"notice","area":"Plugins","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/plugin-hooks-files-named-in-marketplace-entries-are-pre-chec","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Plugins whose hook files contain guard hooks lose their pre-approved tools\n\nIf a marketplace plugin's hooks file holds a guard hook or can't be read, the plugin still loads but its pre-approved tools are switched off\n\n**Unclear.** What the feature check depends on, and so whether this check runs for a given user, is not stated.\n\n**What**\n\nA plugin from a marketplace (a catalog Claude Code installs plugins from) can list its hooks (scripts that run automatically at set points) as a path to a file. Before, a hooks entry given as a file path only produced a general error saying that form was not supported yet.\n\nClaude Code now reads that file and checks it first:\n\n- If the file holds a guard hook, the plugin still loads but its pre-approved tools (tools it may use without asking you) are switched off.\n\n- If the file cannot be read, the same thing happens.\n\nIn either case Claude Code reports that the hooks failed to load, with a message saying \"This plugin loaded, but its pre-approved tools are off\" and pointing you to `\/reload-plugins`. This check only runs when an internal feature check passes.\n\n**Why**\n\nIf you write or use a plugin whose marketplace entry points to a hooks file, some of its tools may now ask for permission instead of running straight away. Running `\/reload-plugins` after fixing the file reloads the plugin without restarting Claude Code.\n\n- Area: Plugins\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}