claude-code - 💡(How to fix) Fix Plugin skills loaded twice: from marketplace clone and installed cache

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…

Root Cause

After installation, the plugin exists in two locations that are both scanned for skills:

  • Marketplace clone: ~/.claude/plugins/marketplaces/<marketplace>/plugins/<plugin>/skills/ — the full git clone of the marketplace repo, which includes the plugin source
  • Installed cache: ~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/skills/ — the actual installed copy

Both directories contain the same skills/ tree with identical SKILL.md files, so every skill registers twice.

Fix Action

Workaround

Removing the skills/ directory from the installed cache (~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/skills/) eliminates the duplicates, since the marketplace clone still provides the skills. However, this may be reversed on plugin update.

RAW_BUFFERClick to expand / collapse

Bug Description

When a plugin is installed from a custom marketplace, its skills are loaded twice — once from the marketplace git clone directory and once from the installed plugin cache. This causes every skill from the plugin to appear duplicated in the skill list.

Steps to Reproduce

  1. Publish a plugin to a custom marketplace (e.g., khaosdoctor/sigil on GitHub)
  2. Add the marketplace via /plugin-marketplace-add
  3. Install the plugin via /plugin-install
  4. Start a new Claude Code session (in any directory, not just the plugin repo)
  5. Observe that all skills from the plugin appear twice in the available skills list

Root Cause

After installation, the plugin exists in two locations that are both scanned for skills:

  • Marketplace clone: ~/.claude/plugins/marketplaces/<marketplace>/plugins/<plugin>/skills/ — the full git clone of the marketplace repo, which includes the plugin source
  • Installed cache: ~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/skills/ — the actual installed copy

Both directories contain the same skills/ tree with identical SKILL.md files, so every skill registers twice.

Expected Behavior

Skills should only be loaded from the installed plugin cache (~/.claude/plugins/cache/...), not from the marketplace clone directory. The marketplace clone should only be used as a catalog/index for discovering and installing plugins.

Workaround

Removing the skills/ directory from the installed cache (~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/skills/) eliminates the duplicates, since the marketplace clone still provides the skills. However, this may be reversed on plugin update.

Environment

  • Claude Code CLI on Arch Linux
  • Plugin: sigil@sigil v1.1.2
  • Custom marketplace source: GitHub repo khaosdoctor/sigil

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

claude-code - 💡(How to fix) Fix Plugin skills loaded twice: from marketplace clone and installed cache