You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gh skill install --all: identical skills under skills/ and plugins/<name>/skills/ are rejected as conflicting names #14827
A repository that ships its Agent Skills both at the root (skills/<name>/SKILL.md, the Agent Skills convention) and inside a Claude Code / Cursor plugin folder (plugins/<plugin>/skills/<name>/SKILL.md, a byte-identical copy the plugin needs to be self-contained) cannot be installed with --all: discovery finds both and refuses.
Note: found 5 skill(s) using the plugins/ convention
cannot install skills with conflicting names; they would overwrite each other:
archlang: [plugins] archlang/archlang, archlang
archlang-export: [plugins] archlang/archlang-export, archlang-export
...
Installing by path (gh skill install ChanMeng666/archlang skills/archlang) works.
Expected behavior
When two discovered skills share a name and their contents are identical, install one of them (or prefer the root skills/ copy over the plugins/ one) instead of failing. Shipping the same skills as a standalone set and as part of a plugin is common, since plugin folders must be self-contained.
Thanks for the detailed report. I traced this through the source: FindNameCollisions in internal/skills/discovery/collisions.go groups discovered skills purely by their Name field and flags any group of size > 1 as a conflict — it has no logic to check whether the colliding entries have identical content, and no preference between the skills/ convention and the plugins/*/skills/ convention. So the behavior you're seeing is the current code working as designed, not a bug: it's conservative by treating any name collision as unsafe to install, even when the sources are byte-identical copies (a common pattern for self-contained plugin bundles). I didn't find an existing duplicate issue for this. I'm suggesting enhancement (a request for smarter collision handling, e.g. content-equality dedup or preferring the root skills/ copy over plugins/) and gh-skill since it's scoped to gh skill install. Leaving priority to maintainers since this is a workaround-available edge case (installing by explicit path already works).
Thank you for your issue! We have categorized it as an enhancement (feature or improvement) request, and it has been added to our backlog. In doing so, we are not committing to implementing this feature at this time, but, we will consider it for future releases based on community feedback and our own product roadmap.
Unless you see the
help wantedContributions welcome
label, we are not currently looking for external contributions for this feature.
If you come across this issue and would like to see it implemented, please add a thumbs up! This will help us prioritize the feature. Please only comment if you have additional information or viewpoints to contribute.
Activity
cli-triage commentedon Oct 27, 2026
Thanks for the detailed report. I traced this through the source:
FindNameCollisionsininternal/skills/discovery/collisions.gogroups discovered skills purely by theirNamefield and flags any group of size > 1 as a conflict — it has no logic to check whether the colliding entries have identical content, and no preference between theskills/convention and theplugins/*/skills/convention. So the behavior you're seeing is the current code working as designed, not a bug: it's conservative by treating any name collision as unsafe to install, even when the sources are byte-identical copies (a common pattern for self-contained plugin bundles). I didn't find an existing duplicate issue for this. I'm suggestingenhancement(a request for smarter collision handling, e.g. content-equality dedup or preferring the rootskills/copy overplugins/) andgh-skillsince it's scoped togh skill install. Leaving priority to maintainers since this is a workaround-available edge case (installing by explicit path already works).github-actions commentedon Nov 2, 2026
Thank you for your issue! We have categorized it as an enhancement (feature or improvement) request, and it has been added to our backlog. In doing so, we are not committing to implementing this feature at this time, but, we will consider it for future releases based on community feedback and our own product roadmap.
Unless you see the help wantedContributions welcome
label, we are not currently looking for external contributions for this feature.
If you come across this issue and would like to see it implemented, please add a thumbs up! This will help us prioritize the feature. Please only comment if you have additional information or viewpoints to contribute.