Rescope Claude Code plugins across projects.
Claude Code has a bug where installing a plugin at the local or user scope prevents you from reinstalling it into a different project (anthropics/claude-code#14202). plugin-rescope works around this by rescoping plugins across projects.
npm install -g plugin-rescopenpx plugin-rescope [add|remove] [options] <plugin> [<plugin> ...]
Run from the project directory where you want the plugin.
| Command | Description |
|---|---|
add |
Register plugin(s) for the current project (default) |
remove |
Unregister plugin(s) from the current project |
When no command is specified, add is used.
| Option | Description |
|---|---|
--scope <scope> |
Override the plugin scope (e.g. local, global) |
--help |
Show the help message |
The easiest way to run plugin-rescope is with npx, which comes bundled with Node.js. It downloads and runs the package on the fly -- no global install required and you always get the latest version:
npx plugin-rescope my-plugin@marketplaceAdd a single plugin to the current project:
npx plugin-rescope my-plugin@marketplaceExplicitly use the add command with a scope override:
npx plugin-rescope add --scope local my-plugin@marketplaceAdd multiple plugins at once:
npx plugin-rescope my-plugin@marketplace another-plugin@marketplaceRemove a plugin from the current project:
npx plugin-rescope remove my-plugin@marketplaceShow help:
npx plugin-rescope --helpIf you prefer not to use npx, install globally:
npm install -g plugin-rescopeThen run the command directly:
plugin-rescope my-plugin@marketplace
plugin-rescope remove my-plugin@marketplace- Node.js >= 18.0.0
Apache-2.0 -- see LICENSE for details.