fix: separate plugin source paths to prevent duplicate skill installation#551
Open
drewburchfield wants to merge 1 commit intoanthropics:mainfrom
Open
fix: separate plugin source paths to prevent duplicate skill installation#551drewburchfield wants to merge 1 commit intoanthropics:mainfrom
drewburchfield wants to merge 1 commit intoanthropics:mainfrom
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
I was checking whether my setup would auto-pull updates from this marketplace and noticed that all three plugins in
marketplace.jsonhave theirsourceset 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 theskillsarray 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
sourcepath needs to point to a dedicated subdirectory per plugin. That's the pattern used byclaude-plugins-officialand every other marketplace I checked.What changed
document-skills/skills/(xlsx, docx, pptx, pdf)example-skills/skills/(algorithmic-art, brand-guidelines, canvas-design, etc.)claude-api-plugin/skills/(claude-api)marketplace.jsonsource paths from"./"to"./document-skills","./example-skills", and"./claude-api-plugin"skills/directoryImpact
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