[Bug] Plugin Manager UI ignores project scope boundaries in Marketplace view
Plugin Manager: Plugins installed in other project scopes are invisible but block Discover tab
Channel: GitHub Issue (Public)
Repository: https://github.com/anthropics/claude-code/issues
Submitted: [DATE]
---
Summary
When a plugin is installed with project scope in Project A, opening Project B shows the plugin as "installed" in the Marketplace view, but it's:
- Not listed in the "Installed" tab (correctly filtered by current project)
- Not shown in the "Discover" tab (incorrectly hidden because it's "installed" somewhere)
This creates a UI dead-end where users cannot find or install the plugin in their current project.
Environment
- Claude Code version: 2.1.31
- OS: macOS
Steps to Reproduce
- In Project A: Install any plugin with project scope (e.g., "superpowers")
- Open Project B (different directory)
- Open plugin manager (
/plugin) - Navigate to Marketplace → browse Anthropic marketplace
- Observe: Plugin shows "installed" badge
- Check "Installed" tab
- Observe: Plugin is NOT listed
- Check "Discover" tab
- Observe: Plugin is NOT shown
Result: Plugin is unreachable from current project's UI.
Root Cause
The plugin manager uses three data sources with inconsistent scope filtering:
| Component | Checks | Scope-Aware? |
|-----------|--------|--------------|
| Marketplace "installed" badge | installed_plugins.json | No (any scope triggers badge) |
| Installed tab listing | installed_plugins.json | Yes (filters by projectPath) |
| Discover tab visibility | installed_plugins.json | No (hides if installed anywhere) |
The Discover tab hides plugins present in installed_plugins.json regardless of whether they're installed in the current project scope.
Expected Behavior
Any of these would fix the issue:
- Discover tab should show plugins not installed in the current scope, with an "Install in this project" option
- Marketplace badge should indicate scope (e.g., "Installed in: other-project")
- Installed tab could show all installations grouped by scope
Workaround
Manually edit ~/.claude/plugins/installed_plugins.json or navigate to the original project to uninstall, then reinstall in the desired project.
Additional Context (for Anthropic Support Correlation)
Full details including file evidence submitted via /feedback Feedback ID: e5812f37-196d-4c80-965c-46d1b6fc9e7d
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗