A Claude Code plugin to install private GitHub marketplace plugins using your shell's git authentication.
Claude Code currently doesn't support private repository authentication when adding marketplaces. This plugin works around that limitation by using your shell's existing git credentials.
# Add this marketplace
claude plugin marketplace add cooco119/claude-plugin-private-marketplace-helper
# Install the plugin
claude plugin install private-marketplace-helper@private-marketplace-helper/private-marketplace-helper:add <github-url>
/private-marketplace-helper:update [marketplace-name]
If no name is provided, lists all installed marketplaces and lets you choose which to update (or update all).
| Format | Example |
|---|---|
| GitHub shorthand | github:org/repo |
| Short format | org/repo |
| HTTPS URL | https://github.com/org/repo.git |
| SSH URL | git@github.com:org/repo.git |
# Using GitHub shorthand (same as native Claude Code format)
/private-marketplace-helper:add github:myorg/my-private-marketplace
# Using short format
/private-marketplace-helper:add myorg/my-private-marketplace
# Using SSH (if HTTPS fails)
/private-marketplace-helper:add git@github.com:myorg/my-private-marketplace.gitOnce the marketplace is added, install plugins normally:
claude plugin install my-plugin@my-private-marketplace- Clones the repository using your shell's git authentication (SSH keys, credential helper, etc.)
- Registers the marketplace in
~/.claude/plugins/known_marketplaces.json - Makes the marketplace available for
claude plugin install
- Git configured with access to the private repository
- For SSH: SSH keys set up for GitHub
- For HTTPS: Git credential helper configured
This workaround also helps with nested plugin source issues where marketplace.json references external private repositories.
Tested and working: GitHub with gh auth (keyring) authentication.
Note: If you encounter issues with GitLab or other providers, please open an issue or submit a PR!
This plugin implements the manual workaround described by @lindner in claude-code#9756.
Found a bug or have an improvement? Contributions are welcome!
MIT