Plugin dependencies changedplugins/dependencies
Nearest release: v2.1.329, published 2 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 19 Nov 2026 21:14 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 19 Nov 2026 21:37 UTC.
Upstream edited
Recorded here
Lines+12added
Lines−9removed
From line
51
where the diff opens
First seen
25 Sep 2026
this site's first read of the page
Recorded edits8to this page, all time
### When a dependency installs automatically
The whole hunk
from line 51, old and new numbered
/
from line 51
5151
5252### Bundle plugins for a team
5353
54To let engineers install a curated set of plugins with one command, publish a plugin whose manifest contains a `name` and a `dependencies` array. A plugin manifest needs only `name`, so this is a valid plugin, and installing it installs every dependency.
54To let users install a curated set of plugins with one command, publish a plugin whose manifest contains a `name` and a `dependencies` array. A plugin manifest needs only `name`, so this is a valid plugin.
5555
56For example, a platform team can publish role-specific bundles in an internal marketplace so engineers run one `claude plugin install` instead of installing each plugin separately:
56For example, a platform team can publish role-specific bundles in an internal marketplace so users run one `claude plugin install` instead of installing each plugin separately:
5757
5858```json .claude-plugin/plugin.json theme={null}
5959{
from line 69
6969}
7070```
7171
72To add a plugin to the standard set later, publish a new `backend-standard` version with the extra dependency. When the marketplace doesn't [auto-update by default](https://code.claude.com/docs/en/plugins/loading.md#which-marketplaces-and-plugins-auto-update), engineers either turn on auto-update for the marketplace or update manually:
72To add a plugin to the standard set later, publish a new `backend-standard` version with the extra dependency. When the marketplace doesn't [auto-update by default](https://code.claude.com/docs/en/plugins/loading.md#which-marketplaces-and-plugins-auto-update), users either turn on auto-update for the marketplace or update manually:
7373
74* **Turn on auto-update for the marketplace**: the next auto-update moves the bundle to the new version and installs any dependencies it adds.
74* **Turn on auto-update for the marketplace**: the next auto-update moves the bundle to the new version and installs [the added dependency](#when-a-dependency-installs-automatically). That install requires Claude Code v2.1.319 or later.
7575* **Update manually**: run `claude plugin update backend-standard` in a shell, then `/reload-plugins` in an open session to install the newly added dependencies.
7676
77For the engineer-side steps, see [Keep plugins updated](https://code.claude.com/docs/en/plugins/install.md#keep-plugins-updated).
77Your users follow the steps in [Keep plugins updated](https://code.claude.com/docs/en/plugins/install.md#keep-plugins-updated).
7878
7979To deploy a bundle to everyone in an organization, an administrator adds it to `enabledPlugins` in managed settings. See [Pre-install and require plugins](https://code.claude.com/docs/en/plugins/org.md#pre-install-and-require-plugins).
8080
from line 125
125125* **You disabled the local copy**: your plugin is disabled at the next plugin load, with an error that ends `is disabled — enable it or remove the dependency`. When the error names the dependency as `<name>@inline`, that identifier refers to the `--plugin-dir` copy.
126126* **You started a session without the dependency's `--plugin-dir` flag**: the error reports the dependency as not installed. Pass the flag again, or install the dependency from its marketplace.
127127
128When both plugins are in one parent folder, you can pass that folder to `--plugin-dir` once. If the folder isn't itself a plugin, Claude Code loads each child folder that has a `.claude-plugin/plugin.json`. Requires Claude Code v2.1.265 or later.
128When both plugins are in one parent folder, you can pass that folder to `--plugin-dir` once. If the folder isn't itself a plugin, Claude Code loads it as a [folder of plugins](https://code.claude.com/docs/en/plugins/create.md#load-a-folder-of-plugins). Requires Claude Code v2.1.265 or later.
129129
130130## Release a plugin that others depend on
131131
from line 167
167167
168168Claude Code never installs a dependency with a `command` source itself, so users [install it first](https://code.claude.com/docs/en/plugins/marketplace-reference.md#command-plugin-source). It also never runs a dependency's [`headersHelper`](https://code.claude.com/docs/en/plugins/host-marketplace#authenticate-archive-downloads), so users also install a dependency whose marketplace entry sets one before they install your plugin.
169169
170Besides `claude plugin install`, these operations also install any missing declared dependency, and the `command` and `headersHelper` limits apply to them too:
170### When a dependency installs automatically
171171
172Besides `claude plugin install`, these operations also install a missing declared dependency, and the [`command` and `headersHelper` limits](#constrain-a-dependency-that-has-a-non-git-source) apply to them too:
173
172174* `/reload-plugins`
173175* Auto-update of the dependent plugin's marketplace
174176* Re-running `claude plugin install` on the dependent plugin
177* Updating the dependent plugin with `claude plugin update` or **Update now** in `/plugin`, unless [non-essential traffic is turned off](https://code.claude.com/docs/en/plugins/troubleshooting.md#dependency-errors). Requires Claude Code v2.1.319 or later
175178* `claude plugin marketplace add`
176179
177180## How dependencies behave for your users
No line in this hunk matches that.