claude-code - 💡(How to fix) Fix Discover tab shows plugins that are already installed at project scope [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#45454Fetched 2026-04-09 08:05:02
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×3closed ×1

When plugins are installed with project scope (recorded in .claude/settings.json under enabledPlugins), they still appear in the /plugin Discover tab. Expected behavior is that already-installed plugins should be hidden from Discover results.

Root Cause

When plugins are installed with project scope (recorded in .claude/settings.json under enabledPlugins), they still appear in the /plugin Discover tab. Expected behavior is that already-installed plugins should be hidden from Discover results.

RAW_BUFFERClick to expand / collapse

Description

When plugins are installed with project scope (recorded in .claude/settings.json under enabledPlugins), they still appear in the /plugin Discover tab. Expected behavior is that already-installed plugins should be hidden from Discover results.

Steps to Reproduce

  1. Install multiple plugins at project scope (they appear in .claude/settings.json enabledPlugins)
  2. Run /plugin and open the Discover tab
  3. Observe that installed plugins still appear in the list

Expected Behavior

Plugins already installed in the current project should not appear in Discover results (or should be clearly filtered out by default).

Actual Behavior

All marketplace plugins appear in Discover regardless of installation status at project scope, making it difficult to find new/uninstalled plugins.

Related Issues

  • #19743 — Discover hides plugins installed at project scope in other projects
  • #28739 — Discover tab hides locally-scoped plugins installed in other projects
  • #14185 — Project-scoped plugins: Discovery tab incorrectly hides plugin

These issues describe the inverse problem (plugins hidden when they shouldn't be). This issue is about plugins shown when they should be hidden — both stem from the Discover tab's filtering logic not correctly handling project-scoped installations.

Environment

  • Claude Code CLI
  • Plugins installed via project-level .claude/settings.json

🤖 Generated with Claude Code

extent analysis

TL;DR

The Discover tab in the /plugin section should filter out plugins already installed at the project scope, which can be achieved by modifying the filtering logic to account for project-scoped installations recorded in .claude/settings.json.

Guidance

  • Review the filtering logic in the Discover tab to ensure it correctly handles project-scoped plugin installations by checking the enabledPlugins section in .claude/settings.json.
  • Verify that the enabledPlugins list in .claude/settings.json is correctly updated when plugins are installed at the project scope.
  • Compare the implementation with the inverse issues (#19743, #28739, #14185) to identify potential discrepancies in the filtering logic.
  • Consider adding a default filter or sorting mechanism to prioritize uninstalled plugins in the Discover results.

Example

No explicit code example is provided due to the lack of specific implementation details, but the filtering logic might involve checking the enabledPlugins list in .claude/settings.json and excluding matching plugins from the Discover results.

Notes

The solution may require adjustments to the Claude Code CLI or the plugin installation mechanism to ensure correct handling of project-scoped installations. The provided related issues suggest that the filtering logic has been problematic in the past, so careful review and testing are necessary.

Recommendation

Apply a workaround by modifying the filtering logic in the Discover tab to correctly handle project-scoped plugin installations, as upgrading to a fixed version is not explicitly mentioned in the issue. This approach allows for a targeted fix without relying on external updates.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING