[BUG] Claude code does not support non github repositories for plugin marketplaces
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
~~~
claude --version
2.0.27 (Claude Code)
~~~
When I supply a git url to claude code, it prefixes git@github.com before cloning and fails.
~~~
claude --verbose plugin marketplace add git@work.com/proj/marketplace
Adding marketplace...
Cloning via SSH: git@github.com:git@work.com/proj/marketplace.git
Cloning repository: git@github.com:git@work.com/proj/marketplace.git
✘ Failed to add marketplace: Failed to clone marketplace repository: Cloning into '/home/vmandela/.claude/plugins/marketplaces/git@work.com-proj/marketplace'...
fatal: remote error:
git@work.com/proj/marketplace is not a valid repository name
Visit https://support.github.com/ for help
~~~
What Should Happen?
~~~
claude --verbose plugin marketplace add git@work.com/proj/marketplace
Adding marketplace...
Cloning via SSH: git@work.com/proj/marketplace.git
Cloning repository: git@work.com/proj/marketplace.git
~~~
Error Messages/Logs
git@work.com/proj/marketplace is not a valid repository name
Visit https://support.github.com/ for help
Steps to Reproduce
See the issue description
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.27
Platform
AWS Bedrock
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗