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
Installing plugins from a specific branch or tag #1296
Describe the feature or problem you'd like to solve
Add support to the /plugin commands for installing plugins from a specific branch or tag of a github repo
Proposed solution
Currently there is support for installing plugins or configuring marketplaces based on git repos using the simple owner/repo syntax. In the case of plugins they can be installed from a particular folder as well using owner/repo:path/to/plugin.
It would be nice to be able to specify a branch or tag as well. I believe the marketplace spec already supports a ref field for specifying the branch or tag. But that is not exposed to the command and isn't relevant for the direct plugin install scenario either.
One option would be to support @{ref} in the syntax, so you could end up with something like owner/repo@branch:path/to/plugin or owner/repo:path/to/plugin@branch. Though those might conflict with the plugin@marketplace syntax, at least visually, if not syntactically.
It looks like the spec for marketplace also supports sha for a specific commit as well. I don't specifically have that need now, but for completeness that could be a part of it.
Reacted by MATYSIAK Herve, Gediminas Zlatkus, smiklos-pandora, Maciej Karaś, Matt Van Stone, Freddie Frydkjær, ricardo-smarzaro, Stuart Smith, dalebennettaveva, Kuzey and 12 more
It seems like right now when you specify a repo, it just pulls from whatever is served, in GitHub that would be the default branch, typically "main".
The problem that causes is that the default branches is also the default target for PR's. But repos may want to "ship" out of a branch different to their branch of active development. Perhaps to give time to try out and prove the skills, and to check for conflicts between skills.
Proposal above would not directly fix this, because we can assume most users won't specify a branch. One idea would be to look for some specially named branch first (if none is specified) and use that if it's present. That would be the release branch for repos that want to differentiate from the active development branch where PR's go.
From offline discussion, what I described is a different scenario, possibly solved by using the ref property on github in the marketplace.json schema. Then the default branch (say, main) would have the marketplace.json as usual, but its ref would point to the branch you actually release from.
Activity
danmoseley commentedon Mar 4, 2026
It seems like right now when you specify a repo, it just pulls from whatever is served, in GitHub that would be the default branch, typically "main".
The problem that causes is that the default branches is also the default target for PR's. But repos may want to "ship" out of a branch different to their branch of active development. Perhaps to give time to try out and prove the skills, and to check for conflicts between skills.
Proposal above would not directly fix this, because we can assume most users won't specify a branch. One idea would be to look for some specially named branch first (if none is specified) and use that if it's present. That would be the release branch for repos that want to differentiate from the active development branch where PR's go.
@tlmii thoughts? are my assumptions correct
danmoseley commentedon Mar 4, 2026
From offline discussion, what I described is a different scenario, possibly solved by using the
refproperty ongithubin the marketplace.json schema. Then the default branch (say, main) would have the marketplace.json as usual, but its ref would point to the branch you actually release from.Not tested.
lewing commentedon Mar 4, 2026
I believe Claude supports:
/plugin marketplace add https://gitlab.com/company/plugins.git#v1.0.0
/plugin marketplace add https://github.com/owner/repo.git#my-branch
it needs to be the full url but it that is the pattern