Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Manage Claude Code plugins for your organization changedplugins/org

Nearest release: v2.1.335, published 6 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 3 Dec 2026 04:06 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 3 Dec 2026 04:07 UTC.

Upstream edited
Recorded here
Lines+18added
Lines−1removed
From line 184 where the diff opens
First seen 25 Sep 2026 this site's first read of the page
Recorded edits24to this page, all time

## Exempt plugin `allowed-tools` frontmatter from managed-only rules

The whole hunk

from line 184, old and new numbered
/
lines
from line 184
184184| `disableSideloadFlags` | Rejects `--plugin-dir`, `--plugin-url`, `--agents`, the Agent SDK `plugins` option, and folders named in the [`CLAUDE_CODE_PLUGIN_DIRS`](https://code.claude.com/docs/en/env-vars#variables) variable at startup, and `--mcp-config` too unless every server in it is an in-process `type: "sdk"` entry. Refuses plugin folders an Agent SDK application adds mid-session with the [`addPlugins`](https://code.claude.com/docs/en/agent-sdk/typescript#load-more-plugin-folders-with-addplugins) option | Doesn't restrict `.mcp.json`, `claude mcp add`, or servers a local Agent SDK application adds with the [`setMcpServers()`](https://code.claude.com/docs/en/agent-sdk/typescript#mcpsetserversresult) method. Pair it with the [`allowedMcpServers`](https://code.claude.com/docs/en/managed-mcp) setting |
185185| `disableCommandPluginSources` | Blocks plugins with a `command` source from installing, updating, or loading. A `command` source is one whose plugin directory is produced by running a command on the machine. When unset, it takes the value of `allowManagedHooksOnly` | Doesn't affect other source types |
186186| `allowManagedHooksOnly` | Restricts which hooks run. See [`allowManagedHooksOnly`](https://code.claude.com/docs/en/settings-reference#allowmanagedhooksonly) | Doesn't trust hooks from plugins users enable themselves |
187| [`allowManagedPermissionRulesOnly`](https://code.claude.com/docs/en/settings-reference#allowmanagedpermissionrulesonly) | Ignores the `allowed-tools` field in a plugin's skills and commands, apart from [exempt sources](#exempt-plugins-from-managed-only-rules) | Doesn't stop a plugin from loading |
187188| `strictPluginOnlyCustomization` | Blocks skills, agents, hooks, and MCP servers from user and project sources. It also stops [skills-directory plugins](#keep-skills-directory-plugins-loading) loading. Set `true` to cover all four types, or an array of `skills`, `agents`, `hooks`, and `mcp` values such as `["skills", "hooks"]` to cover some | Doesn't restrict which plugins users install, or reject the CLI flags that sideload plugins, agents, and MCP servers. Pair it with `strictKnownMarketplaces` and `disableSideloadFlags` |
188189| `pluginSuggestionMarketplaces` | Marketplaces whose plugins may appear as install suggestions in the terminal. See [Recommend plugins](#recommend-plugins) | Doesn't affect the built-in tips |
189190| `pluginTrustMessage` | Appends your text to the trust warning that `/plugin` shows before a plugin installs | Doesn't change the warning's own text |
from line 215
214215* **`github`**: `{ "source": "github", "repo": "your-org/approved-plugins" }`, with optional `ref` and `path`.
215216* **`github` owner wildcard**: `{ "source": "github", "repo": "your-org/*" }` matches every repository under that owner. The `*` must stand for the whole repository name. Claude Code ignores entries such as `*/plugins` and `your-org/tools-*` as invalid, so they match nothing. Requires Claude Code v2.1.223 or later.
216217* **`git`**: `{ "source": "git", "url": "https://gitlab.example.com/tools/plugins.git" }`, with optional `ref` and `path`.
217* **`url`**: `{ "source": "url", "url": "https://plugins.example.com/marketplace.json" }`, with optional `headers`.
218* **`url`**: `{ "source": "url", "url": "https://plugins.example.com/marketplace.json" }`.
218219* **`file` and `directory`**: `{ "source": "file", "path": "/opt/marketplace/marketplace.json" }` or `{ "source": "directory", "path": "/opt/marketplace/plugins" }`, with absolute paths.
219220* **`hostPattern`**: `{ "source": "hostPattern", "hostPattern": "^github\\.example\\.com$" }`, matched against the host of `github`, `git`, and `url` sources. The pattern matches anywhere in the hostname, so anchor it with `^` and `$` as shown to match the whole host. A `github` source always counts as `github.com`. Use a `hostPattern` entry for a GitHub Enterprise Server or GitLab host where developers create their own marketplaces. The [GHES page](https://code.claude.com/docs/en/github-enterprise-server.md#allowlist-ghes-marketplaces-in-managed-settings) has the worked example.
220221* **`pathPattern`**: `{ "source": "pathPattern", "pathPattern": "^/opt/approved/" }`, matched against the `path` of `file` and `directory` sources. The pattern matches anywhere in the path, so start it with `^` to pin a directory prefix. `".*"` allows every local path.
from line 307
306307* **The allowlist doesn't register anything**: an `extraKnownMarketplaces` entry does, and it must itself pass the allowlist. Claude Code refuses to register a managed marketplace whose source the allowlist doesn't match.
307308* **The official marketplace registers itself only in an interactive terminal session**: even there, it registers only when the allowlist permits it. A `-p` run or a terminal attached to a cloud session never registers it.
308309* **A blocked attempt is remembered**: if a machine ever ran under a policy that blocked the official marketplace, Claude Code records the blocked attempt and doesn't retry after the policy changes. An `[]` lockdown is one such policy. That machine registers it again only through an `extraKnownMarketplaces` entry such as the one in this policy, an `enabledPlugins` entry for one of its plugins, or a manual `/plugin marketplace add`.
310 
311## Exempt plugin `allowed-tools` frontmatter from managed-only rules
312 
313If you turn on the [`allowManagedPermissionRulesOnly`](https://code.claude.com/docs/en/settings-reference#allowmanagedpermissionrulesonly) setting, developers can get permission prompts for tools that a plugin's skills and commands pre-approve in their [`allowed-tools`](https://code.claude.com/docs/en/skills#pre-approve-tools-for-a-skill) field. To exempt that field in your own marketplace's plugins, declare that marketplace in the managed `extraKnownMarketplaces` setting, as [Allow the official marketplace and your own](#allow-the-official-marketplace-and-your-own) shows.
314 
315In Claude Code v2.1.284 or later, the `allowManagedPermissionRulesOnly` setting applies to that field in plugins from every source except these:
316 
317* **Marketplaces in your managed settings**: declared in `extraKnownMarketplaces`, or matched by a [`strictKnownMarketplaces`](#allowlist-with-strictknownmarketplaces) entry other than a `hostPattern` or `pathPattern` entry. Entries an embedding host supplies as [parent settings](https://code.claude.com/docs/en/managed-settings.md#let-an-embedding-host-add-policy) don't count
318* **Your organization's [claude.ai marketplaces](https://code.claude.com/docs/en/plugins/install.md#add-from-claude-ai)**: one your organization added, or a default marketplace that claude.ai hosts itself. It counts when the developer is signed in to that organization, with or without an `extraKnownMarketplaces` entry. A marketplace of a member's own uploads doesn't count
319* **Anthropic**: built-in plugins, and an [official marketplace](https://code.claude.com/docs/en/plugins/security.md#official-marketplace-names) registered from Anthropic's GitHub organization with no `ref` or `path` field. In cloud sessions, [synced plugins](https://code.claude.com/docs/en/plugins/loading.md#synced-plugins) that claude.ai marks as official count too
320* **Session-only plugins**: for example, one loaded with the `--plugin-dir` flag, apart from the [Claude Desktop and `anthropic-skills` cases](https://code.claude.com/docs/en/settings-reference#allowmanagedpermissionrulesonly). To block that flag, turn on the [`disableSideloadFlags`](#control-matrix) setting
321 
322If `/status` [lists a skill from your marketplace as ignored](https://code.claude.com/docs/en/skills.md#when-only-managed-permission-rules-apply), check that the marketplace's entry meets the conditions for its type, for example:
323 
324* **A `github` entry in `strictKnownMarketplaces`**: check that its `path` field matches the path the marketplace was added with, or that both omit it
325* **A marketplace you define inline with the `settings` source**: omit [`command`](https://code.claude.com/docs/en/plugins/marketplace-reference#command-plugin-source) plugin entries. Give each [`npm` plugin entry](https://code.claude.com/docs/en/plugins/marketplace-reference#npm-plugin-source) a `registry` field and a bare `package` name such as `@example/formatter`, with no version, URL, or `npm:` alias in it
309326 
310327## Set update policy
311328 
Feedback