Skip to content

fix: separate plugin source paths to prevent duplicate skill installation#551

Open
drewburchfield wants to merge 1 commit intoanthropics:mainfrom
drewburchfield:fix/marketplace-source-paths
Open

fix: separate plugin source paths to prevent duplicate skill installation#551
drewburchfield wants to merge 1 commit intoanthropics:mainfrom
drewburchfield:fix/marketplace-source-paths

Conversation

@drewburchfield
Copy link
Copy Markdown

Summary

I was checking whether my setup would auto-pull updates from this marketplace and noticed that all three plugins in marketplace.json have their source set to "./". This causes Claude Code to copy the entire repo into each plugin's cache, so every plugin ends up with all 17 skills regardless of what the skills array declares.

This has been broken since the marketplace was first published. PR #129 made it worse by consolidating all skills into a single skills/ directory while keeping "source": "./" on every plugin.

If the intent is to expose three separate installable plugins (which makes sense), the source path needs to point to a dedicated subdirectory per plugin. That's the pattern used by claude-plugins-official and every other marketplace I checked.

What changed

  • Moved skills into per-plugin subdirectories:
    • document-skills/skills/ (xlsx, docx, pptx, pdf)
    • example-skills/skills/ (algorithmic-art, brand-guidelines, canvas-design, etc.)
    • claude-api-plugin/skills/ (claude-api)
  • Updated marketplace.json source paths from "./" to "./document-skills", "./example-skills", and "./claude-api-plugin"
  • Updated README links to match new paths
  • Removed the now-empty top-level skills/ directory

Impact

Before: installing all 3 plugins gives you 51 skill entries (17 x 3). ~56 MB of redundant cached files. Every skill tripled in the context window.

After: installing all 3 plugins gives you 17 skill entries (4 + 12 + 1). Each plugin only contains its declared skills.

Fixes #189

cc @klazuka @kencheeto @zack-anthropic

…tion

All three plugins in marketplace.json had source set to "./" which causes
Claude Code to copy the entire repo into each plugin's cache. Every plugin
ended up with all 17 skills regardless of what the skills array declared.

Moved skills into per-plugin subdirectories and updated source paths to
match, following the pattern used by claude-plugins-official and other
marketplaces.

Fixes anthropics#189
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

document-skills and example-skills plugins install identical content, causing duplicate skills

1 participant