Plugins add commands, hooks and other features to Claude Code. Claude Code can now merge plugin settings from the machine and the organization into a session's user settings. These are the enabledPlugins and extraKnownMarketplaces settings. A marketplace is a catalog that plugins are installed from.
- Organization-supplied plugin settings are only applied when the environment variable
CLAUDE_CODE_MCP_SERVE_MACHINE_PLUGINSis set. An environment variable is a named value set outside Claude Code that it reads at startup. - None of this happens when
CLAUDE_CODE_REMOTE_HERMETIC_MODEis set. - If the plugins cannot be loaded, Claude Code reports that the machine's plugins were not taken in.
Claude Code can also now list the hooks that come from plugins, labelling each with the plugin it belongs to. Hooks are commands that run automatically at set points in a session.
This lays groundwork for runners and hosts, the machines that run Claude Code sessions for you, to supply plugins to the sessions they start.
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.
Until you save trust for the added directory, Claude Code skips its [`extraKnownMarketplaces`](https://code.claude.com/docs/en/permissions#what-runs-before-you-trust-a-folder) entries. In an interactive terminal session, it also skips `ena…plugins/loading see the edit
| [Settings](https://code.claude.com/docs/en/settings.md) in `.claude/settings.json` and `.claude/settings.local.json` | `enabledPlugins` and [`extraKnownMarketplaces`](https://code.claude.com/docs/en/settings-reference#extraknownmarketpla…permissions see the edit
Setting `enabledPlugins` in the repository doesn't install the plugin. Once the marketplace is registered, ask each contributor to run `claude plugin install <name>@<marketplace> --scope project`. Until they do, the `/plugin` **Errors** ta…plugins/org see the edit
> If the marketplace isn't on your machine yet, [add it](https://code.claude.com/docs/en/plugins/install.md#add-a-marketplace) before you install. Find its source in the `extraKnownMarketplaces` setting of `.claude/settings.json`, or ask y…plugins/loading see the edit
Anthropic's documentation has since written up extraKnownMarketplaces, on Plugin loading reference.