Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Private Marketplace Helper

A Claude Code plugin to install private GitHub marketplace plugins using your shell's git authentication.

Why?

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.

Installation

# 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

Usage

Add a Marketplace

/private-marketplace-helper:add <github-url>

Update a Marketplace

/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).

Supported URL Formats

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

Examples

# 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.git

After Adding

Once the marketplace is added, install plugins normally:

claude plugin install my-plugin@my-private-marketplace

How It Works

  1. Clones the repository using your shell's git authentication (SSH keys, credential helper, etc.)
  2. Registers the marketplace in ~/.claude/plugins/known_marketplaces.json
  3. Makes the marketplace available for claude plugin install

Requirements

  • Git configured with access to the private repository
  • For SSH: SSH keys set up for GitHub
  • For HTTPS: Git credential helper configured

Nested Plugin Sources

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!

Acknowledgements

This plugin implements the manual workaround described by @lindner in claude-code#9756.

Contributing

Found a bug or have an improvement? Contributions are welcome!

License

MIT

About

A Claude Code plugin to install private GitHub marketplace plugins using your shell's git authentication

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors