claude-code - 💡(How to fix) Fix claude plugin list shows all project-scoped installs globally, not just current project [2 comments, 2 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#57879Fetched 2026-05-11 03:22:58
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Author
Timeline (top)
labeled ×4commented ×2closed ×1

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.

Root Cause

Root cause (observed)

Code Example

cd ~/projects/foo
   claude plugin install myplugin@mymarketplace

   cd ~/projects/bar
   claude plugin install myplugin@mymarketplace

---

claude plugin list

---

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
RAW_BUFFERClick to expand / collapse

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

  1. 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
  2. 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

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…

FAQ

Expected behavior

Only the plugin installations relevant to the current project (and user-scoped installs) are shown. Each plugin appears once.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING