claude plugin list shows all project-scoped installs globally, not just current project
Summary
claude plugin list displays all project-scoped plugin installations across every project, rather than filtering to the current project's context. This makes the output misleading — a plugin installed in 3 different projects appears 3 times in the list, all showing Scope: project.
Steps to reproduce
- Install a plugin with project scope in two or more projects:
```
cd ~/projects/foo
claude plugin install myplugin@mymarketplace
cd ~/projects/bar
claude plugin install myplugin@mymarketplace
```
- From either project, run:
````
claude plugin list
Expected behavior
Only the plugin installations relevant to the current project (and user-scoped installs) are shown. Each plugin appears once.
Actual behavior
Every project-scoped entry in ~/.claude/plugins/installed_plugins.json for that plugin is shown, one line per project. Example with 3 projects:
claude plugin list
Installed plugins:
❯ myplugin@mymarketplace
Version: 0.1.0
Scope: project
Status: ✔ enabled
❯ myplugin@mymarketplace
Version: 0.1.0
Scope: project
Status: ✔ enabled
❯ myplugin@mymarketplace
Version: 0.1.0
Scope: project
Status: ✔ enabled
Root cause (observed)
~/.claude/plugins/installed_plugins.json stores one entry per (plugin, projectPath) pair. The list command appears to render all entries for a plugin without filtering by the current working directory.
Context
- Platform: Linux (Gentoo)
- Shell: bash
Generated with Claude Code
3 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Duplicate of https://github.com/anthropics/claude-code/issues/14202
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.