Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
We are building our own plugin including skills and commands to share internally within company. It is an approach that we want to implement to keep it consistent between AI tools (as we use plugins for Claude Code as well). We were able to define marketplace and plugin according to Plugins | Cursor Docs and successfully side load locally before publishing it on the Github (commands and skills are accessible and can be used). However, we encountered issues when installing the plugin from Github - we were able to add a Marketplace (which is our internal GH repository), then Cursor plugin was visible as an option to install (with listing of all skills/commands visible). After adding the plugin, a popup showed up:
git ls-remote did not return a resolvable commit for ref “main” (https://github.com/<our_org>/<our_repo>)
This tracks, as we are using master as HEAD ref branch and we would like to keep using it - it is default policy in our company. I checked the docs for plugin creation and installation, but nothing indicates that it’s possible to select referenced branch and it always defaults to “main”.
Steps to Reproduce
- Define a plugin and push it to branch name other than “main”
- Add a marketplace targetting this repository, while adding a branch name at the end (or do not add any branch at all - just have other branch than “main” as HEAD)
- Add plugin
- Wait up to ~10 minutes until automatic reload of plugin hits.
Expected Behavior
The plugin loads correctly
Operating System
MacOS
Version Information
Version: 3.24.12
VS Code Extension API: 1.128.0
Commit: 37b865941ccb31e2fc90c685157534efca87f960
Date: 2026-10-09T20:56:41.904Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 27.0.0
Additional Information
It’s either missing feature, or missing documentation
Does this stop you from using Cursor
No - Cursor works, but with this issue