Plugin loading reference changedplugins/loading
Nearest release: v2.1.335, published 5 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 03:26 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 03:37 UTC.
Upstream edited
Recorded here
Lines+1added
Lines−1removed
From line
243
where the diff opens
First seen
25 Sep 2026
this site's first read of the page
Recorded edits31to this page, all time
The whole hunk
from line 243, old and new numbered
/
from line 243
243243
244244Claude Code loads some plugins in place from where you keep them and copies the rest into the cache, according to their origin:
245245
246* **`--plugin-dir` and skills-directory plugins**: the directory loads in place and is never copied. A `--plugin-url` archive or a `--plugin-dir` `.zip` is extracted into a session temp directory first
246* **`--plugin-dir` and skills-directory plugins**: on your machine, the directory loads in place. A `--plugin-url` archive or a `--plugin-dir` `.zip` is extracted into a session temp directory first
247247* **Relative-path plugins in a marketplace you added from a local path**: the plugin loads in place from its path inside the marketplace folder. Your edits to the source directory take effect at the next session start or `/reload-plugins`, and you don't need to increase the version. The plugin's hook processes and MCP and LSP servers receive a `CLAUDE_PLUGIN_ROOT` that points at the source directory. For its Node.js package dependencies, see [When the dependency install runs](#when-the-dependency-install-runs)
248248* **`command`-source plugins in [link mode](https://code.claude.com/docs/en/plugins/marketplace-reference.md#command-plugin-source)**: the directory the command printed loads in place, through links in the cache entry
249249* **Every other marketplace plugin**: Claude Code copies the plugin into `cache/<marketplace>/<plugin>/<version>/` at install and loads that copy. Files outside the plugin directory aren't copied, so when a script inside a copied plugin reads a path above the plugin root, such as `../shared`, it doesn't find them
No line in this hunk matches that.