Metadata-Version: 2.4
Name: claude-marketplace-installer
Version: 0.1.1
Summary: Install Claude Code plugin marketplaces from a project's .claude/settings.json
License: MIT License
        
        Copyright (c) 2026 Mikkel Caschetto
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: claude,claude-code,marketplace,plugin
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# claude-marketplace-installer

A CLI tool that reads your project's `.claude/settings.json` and installs all Claude Code plugin marketplaces listed there.

## Why?

Claude Code supports [plugin marketplaces](https://docs.anthropic.com/en/docs/claude-code/plugins) — sources that distribute skills, slash commands, hooks, and other Claude Code extensions. This tool lets teams version-control which marketplaces a project uses by declaring them in `.claude/settings.json`, then running a single install command to set them all up.

This is useful when you want to:
- Keep skills, slash commands, and hooks in a shared repo and distribute them as a marketplace
- Ensure everyone on a team is running the same Claude Code plugins
- Onboard new contributors by running one command instead of manually adding each marketplace

## Installation

```bash
pip install claude-marketplace-installer
```

Or with `uv`:

```bash
uv tool install claude-marketplace-installer
```

## Usage

Add your marketplaces to `.claude/settings.json` in your project:

```json
{
  "extraKnownMarketplaces": {
    "my-team-plugins": {
      "source": {
        "source": "github",
        "repo": "my-org/claude-plugins"
      }
    }
  }
}
```

Then, from the project root, run:

```bash
claude-install-marketplaces
```

This will install each marketplace listed under `extraKnownMarketplaces` using `claude plugin marketplace add`.

## Settings format

Each entry under `extraKnownMarketplaces` must have a `source` object with:

| Field | Value |
|-------|-------|
| `source` | `"github"` (only supported source type currently) |
| `repo` | GitHub repo in `owner/repo` format |

## Requirements

- Python 3.9+
- [Claude Code CLI](https://claude.ai/code) (`claude` must be available on your `PATH`)
