Repository navigation
fix(skills): read skills from plugins rooted at a skill directory - #33
Merged
git-hulk merged 1 commit intoOct 23, 2026
Merged
Conversation
A Claude Code marketplace may root each plugin at the skill's own
directory, e.g. {"name": "alpha", "source": "./skills/alpha"}, with no
skills array and a plugin.json that lists no skills. Claude Code loads the
SKILL.md at the plugin root as the plugin's skill, but clime only looked
for a skills list in plugin.json, so it found none of these skills.
When a plugin has no skills array and its plugin.json lists none, treat
a SKILL.md at the plugin root as the plugin's skill.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
git-hulk
approved these changes
Oct 23, 2026
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.
Purpose
A Claude Code marketplace can root each plugin at the skill's own directory:
{"plugins": [{"name": "aha-react-ui-generator", "source": "./skills/aha-react-ui-generator"}]}The entry has no
skillsarray, and the plugin's.claude-plugin/plugin.jsoncarries onlyname,description, andversion. Claude Code loads theSKILL.mdat the plugin root as that plugin's skill.parseMarketplaceManifestonly looked for a skills list inplugin.json, so it skipped every such plugin.AfterShip/skillsrecently moved to this layout (one plugin per skill, 82 entries), andclime skills install AfterShip/skillsnow offers only the 5 skills that still come fromskillsarrays.Behavior change
For a plugin with no
skillsarray:plugin.jsonlists skills, use them, as before.SKILL.md, add the plugin root as one skill.A plugin rooted at the marketplace root (
"./") is not treated as a skill. Duplicate roots are listed once.Test evidence
New test
TestReadCatalogFromMarketplaceSkillRootedPluginscovers a plugin root with a generatedplugin.json, a nested root with noplugin.jsonand a trailing slash, a root withoutSKILL.md, and a duplicate entry. It fails onmaster(the catalog falls back toskills/unlisted) and passes with this change.gofmt -lis clean.go vet ./...andgo test ./...pass (LC_ALL=C).I ran
Manager.FetchandManager.Installagainst a local copy ofAfterShip/skillsmaster:clime-cli(skills/cli/clime-cli) andaha-react-ui-generatormaster~/.claude/skills🤖 Generated with Claude Code