Add a Claude Code Plugin Marketplace: Commands, Scopes and Trust
Add, list, update and remove a Claude Code plugin marketplace from the shell or a session, with every source form, scope flag, private repo setup, error fix and the trust you extend.
Updated · Markdown version
Short answer
Last checked 2026-11-23: to add a Claude Code plugin marketplace, run claude plugin marketplace add <source> in your shell, or /plugin marketplace add <source> inside a session. The source can be a GitHub owner/repo, a git URL, a local directory that holds .claude-plugin/marketplace.json, or the https:// URL of a hosted marketplace.json. Then install a plugin with claude plugin install <plugin>@<marketplace>. A marketplace is a catalog, and the plugins in it can run code on your machine, so adding one is also a decision about whom you trust.
The commands on Claude Code 2.1.330
I ran claude --version and the help commands on this machine, which does not call a model or change settings.
claude --version
claude plugin marketplace --helpExpected, and what I saw:
2.1.330 (Claude Code)
Usage: claude plugin marketplace [options] [command]
Manage Claude Code marketplaces
Commands:
add [options] <source> Add a marketplace from a URL, path, or GitHub repo
list [options] List all configured marketplaces
remove|rm [options] <name> Remove a configured marketplace
update [options] [name] Update marketplace(s) from their source - updates
all if no name specifiedclaude plugin marketplace add --help shows these options on 2.1.330: --scope <scope> (user, the default, project or local), --sparse <paths...> (limit the checkout to some directories for monorepos), --claudeai (add a marketplace hosted on claude.ai by its listed name) and --json (print one machine-readable result line last). list and update take --json too, and remove takes --scope and --json.
Add a marketplace
- Pick the source form. Anthropic's documentation lists four.
| Source | What you type | Example |
|---|---|---|
| GitHub repository | owner/repo, with #ref to pin a branch or tag | claude plugin marketplace add your-org/plugins#v1.2.0 |
| Git repository on any host | The full clone URL, with #ref to pin | claude plugin marketplace add https://gitlab.example.com/your-group/your-marketplace.git#v1.0.0 |
| Local directory or file | A path to a directory with .claude-plugin/marketplace.json, or to the JSON file. Start a relative path with ./ or ../ | claude plugin marketplace add ./my-marketplace |
Hosted marketplace.json | Its https:// URL | claude plugin marketplace add https://example.com/marketplace.json |
- Run the add command. The documentation says that in a terminal, a successful add prints
Added marketplace: <name> (declared in user settings)and that Claude Code prints the marketplace's name, which is thenamefield of itsmarketplace.json. That name is what you type after@when installing. Expected, from the documentation. - Confirm it registered.
claude plugin marketplace listOn this machine the output listed claude-plugins-official with Source: GitHub (anthropics/claude-plugins-official), which Claude Code adds by itself in an interactive terminal session. A marketplace you add yourself appears in the same list with its source. In a session, open /plugin and look at the Marketplaces tab.
- Install a plugin from it.
claude plugin install <plugin>@<marketplace> --scope projectWithout --scope, the install goes to user scope. The documentation says the command prints Installed plugin: <plugin>@<marketplace> (scope: project). Expected, from the documentation.
- Check the result. Run
claude plugin list, which printsVersion,ScopeandStatuslines for each plugin. In a session, type/and look for the plugin's skills as/<plugin>:<skill>.
Add and install in one command
To install from a marketplace you have not added, pass the source with --marketplace and give the plugin name alone:
claude plugin install deploy-helper --marketplace your-org/pluginsThe documentation says this needs Claude Code v2.1.292 or later, adds the marketplace without a confirmation step (declared in your user settings even if you pass --scope project), and reuses a marketplace already added from the same source. Since there is no prompt, read the source first. Inside a session, /plugin install deploy-helper --marketplace your-org/plugins shows the source and asks you to confirm; it needs v2.1.275 or later and the source cannot contain spaces. I confirmed --marketplace <source> is listed in claude plugin install --help on 2.1.330.
The official and community marketplaces
The official marketplace is claude-plugins-official, from anthropics/claude-plugins-official. If it is missing, run /plugin marketplace add anthropics/claude-plugins-official. The community marketplace is not registered until you add it, and its name is claude-community, not the repository name:
/plugin marketplace add anthropics/claude-plugins-community
/plugin install <plugin>@claude-communityThe same documentation says the claude-code-plugins marketplace in anthropics/claude-code is deprecated and that tutorials telling you to add anthropics/claude-code should be skipped in favor of claude plugin install <plugin>@claude-plugins-official. For a map of all the places to find skills, see Claude skills marketplace: where to find skills and what each place checks.
Private marketplaces
A private marketplace is one in a repository you need credentials to clone. You add it with the same command. Anthropic's documentation says Claude Code clones it with the git credentials already on your machine and never prompts, so the credentials must work without a prompt.
- HTTPS: your credential helpers apply, such as
gh auth login, the macOS Keychain orgit-credential-store. Git's prompts and askpass programs are off, includingGIT_ASKPASS, so the clone fails instead of asking. - SSH: the host must already be in your
known_hostsfile and the key must work without a passphrase prompt. - GitHub shorthand: Claude Code checks whether your SSH key authenticates to
github.comand clones over SSH if so, over HTTPS if not. SetCLAUDE_CODE_PLUGIN_PREFER_HTTPS=1to always use HTTPS.
Test the access outside Claude Code first with git ls-remote <url>; for SSH, ssh -T git@<host> must succeed without a passphrase prompt.
Pick the scope
User scope writes to enabledPlugins in ~/.claude/settings.json and applies in every project on the machine. Project scope writes to .claude/settings.json, which you commit. Local scope writes to .claude/settings.local.json and applies to you in that repository only. When the same plugin is set at several scopes, local overrides project, and project overrides user. Committing project scope turns the plugin on for collaborators but does not download it; each collaborator runs claude plugin install <name>@<marketplace> --scope project once per clone. The --scope flag on marketplace add decides where the marketplace is declared, which is separate from where plugins are enabled.
Update, refresh and remove
| Action | Shell command |
|---|---|
| List marketplaces | claude plugin marketplace list |
| Refresh a marketplace listing | claude plugin marketplace update <name> |
| Update one plugin | claude plugin update <plugin>@<marketplace> |
| Remove a marketplace | claude plugin marketplace remove <name> |
Running claude plugin marketplace update with no name refreshes every listing but leaves installed plugins at their current versions. There is no command that updates every plugin at once. In /plugin, the Marketplaces tab has an Update marketplace action that refreshes the listing, updates the plugins you installed from it and reports any it left for you. Removing a marketplace uninstalls every plugin you installed from it and removes their enabledPlugins entries, so list your plugins first with claude plugin list.
Auto-update is on by default for claude-plugins-official and the other official names except knowledge-work-plugins and first-party-plugins, and for marketplaces added from claude.ai. It is off by default for every other marketplace, including the community and third-party ones. Toggle it per marketplace on the Marketplaces tab.
Add a marketplace from claude.ai
If your claude.ai account or organization lists plugin marketplaces, Claude Code 2.1.273 or later can add one by name:
claude plugin marketplace list
claude plugin marketplace add --claudeai claudeai-organization-libraryThe first command prints these in a From claude.ai: section. The documentation says Claude Code registers the marketplace under a local name beginning claudeai-, and you install from it as <plugin>@claudeai-<name>. On this machine the list showed one such entry, listed as "Anthropic Directory", with no CLI name, so it cannot be added with --claudeai.
Build and test your own marketplace
A marketplace is a directory or repository with .claude-plugin/marketplace.json. The file requires name, owner and a plugins array, and each plugin entry needs a name and a source. Here is a small one that I validated:
{
"name": "my-marketplace",
"owner": { "name": "Test" },
"plugins": [
{ "name": "hello", "source": "./plugins/hello", "description": "Greeting" },
{ "name": "ghost", "source": "./plugins/ghost" }
]
}claude plugin validate ./my-marketplaceOn 2.1.330 the output ended with these lines, for a marketplace with no description and a plugin with no author:
⚠ Found 2 warnings:
❯ description: No marketplace description provided. Adding a description helps users understand what this marketplace offers
❯ plugins[0] plugin.json → author: No author information provided. Consider adding author details for plugin attribution
✔ Validation passed with warningsThe second entry points at ./plugins/ghost, a directory that does not exist, and validation still passed. Anthropic's documentation says this is expected: a relative path to a missing directory passes validate and fails at install with Source path does not exist: <path>, so test an install from your marketplace before you share it. Relative paths are written from the marketplace root, the directory that contains .claude-plugin/, and a path with .. is reported as invalid. Keep each entry's name identical to the name in the plugin's plugin.json, or an install by the manifest name fails with Plugin "<manifest-name>" not found in marketplace "<marketplace>".
What trust you extend
Anthropic's security page says a plugin you install can execute arbitrary code on your machine with your user privileges. A plugin can carry hooks and monitors (shell commands), MCP and LSP servers, a bin/ directory added to the Bash tool's PATH, and skills, commands and agents that enter Claude's context as instructions. Hooks, monitors, MCP servers and LSP servers run outside the sandbox. Installing also enables the plugin unless its manifest or marketplace entry sets defaultEnabled: false.
The page sorts marketplaces by name into official, community and third-party. Claude Code accepts the official and community names only for sources under github.com/anthropics/; a marketplace using one of those names from another source is refused. Where the claude-community catalog pins a plugin to a commit SHA, which it says it does for nearly every entry, Claude Code refuses to install a different commit. Anthropic says it does not review third-party marketplaces. Before installing, follow the page's review: run claude plugin marketplace list to see sources, read the plugin's hooks/hooks.json, .mcp.json and every file in bin/, and run claude --plugin-dir <plugin directory> plugin details <plugin name> for a component inventory. The full procedure is in Check a Claude Skill From GitHub Before Installing It.
For a team, the organization documentation describes managed settings: strictKnownMarketplaces is an allowlist of marketplace sources, blockedMarketplaces is a blocklist, extraKnownMarketplaces registers a marketplace on each machine, and enabledPlugins force-enables or blocks plugins. Adding a source outside the allowlist fails with a message containing is blocked by enterprise policy.
What goes wrong and how to fix it
These entries come from Anthropic's troubleshooting page.
- `Marketplace "claude-plugins-official" not found`. Cause: it is not registered, for example you only used the VS Code extension. Fix:
/plugin marketplace add anthropics/claude-plugins-official, then retry. - `Marketplace "<name>" not found`. Cause: you ran an install line for a marketplace you have not added, and an install line does not say where it is hosted. Fix: get the source from whoever sent it, add it, retry.
- `Invalid marketplace source format`. Cause: a bare name or hostname. Fix: use
owner/repo, anhttps://URL, auser@host:pathSSH URL, or a path starting with./,../,/or~. - `'<source>' is not a valid GitHub owner/repo shorthand`. Cause: something like
github.com/owner/repo. Fix: use the full clone URL orhttps://URL. - A local path is read as GitHub. Cause: a bare
name/name. Fix: start with./. - `Path does not exist: <path>`. Cause: nothing at the local path, which resolves from the current directory. Fix: run from the right directory or use an absolute path.
- `Marketplace file not found at <path>/.claude-plugin/marketplace.json`. Cause: the clone has no manifest. Fix: ask the owner for the correct source.
- `SSH authentication failed` or `HTTPS authentication failed`. Cause: wrong repository, or git needed a credential prompt, which is disabled. Fix: check with
git ls-remote <url>, fix the SSH key or credential helper, or setCLAUDE_CODE_PLUGIN_PREFER_HTTPS=1. - `SSH host key is not in your known_hosts file`. Fix: connect once, for example
ssh -T git@github.com, then retry. - `Git clone timed out after 120s`. Fix: raise
CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS(for example 300000) or, for a monorepo, add with--sparse <paths>. - `The name '<name>' is reserved for official Anthropic marketplaces`. Cause: your
marketplace.jsonuses a reserved name. Fix: rename it. - `Plugin "<name>" is on in project settings but isn't installed here`. Cause: a repository enables the plugin but external sources are not downloaded. Fix:
claude plugin install <name>@<marketplace> --scope project, then/reload-plugins.
What our catalogue shows
No skill name or one-line description among the 403 skills in our catalogue mentions plugins or marketplaces, so there is no direct measured evidence for this topic. The closest are skills for reviewing and choosing skills, which fit the trust step above. Scores are our assessment under How the Platform Score is calculated, not a guarantee of safety, and Skill Almanac wrote the first two.
| Skill | Platform Score and state | Efficacy verdict | Install verified | Tutorial video |
|---|---|---|---|---|
| skill-safety-audit | 57, provisional | LIFT, single-run, 2026-11-21 | Claude Code 2.1.330, 2026-11-23 | yes |
| verified-skill-finder | 83, rated | LIFT, measured, 2026-11-22 | Claude Code 2.1.330, 2026-11-23 | yes |
| skill-creator (from anthropics/skills) | 28, provisional | none recorded | not recorded | no |
skill-safety-audit scans one skill folder and reports risk with file and line references; it does not read plugin hook and server files for you. Single-run means one run per configuration with capped credit; measured means paired runs with a confidence interval. Install verified means a test with Claude Code 2.1.330 asked it to use the skill by name.
FAQ
How do I add a plugin marketplace in Claude Code?
Run claude plugin marketplace add owner/repo in your shell, or /plugin marketplace add owner/repo in a session. A git URL, a local ./path, or a hosted marketplace.json URL also work. Then install with claude plugin install <plugin>@<marketplace>.
What is the difference between a plugin and a marketplace?
A plugin is a package of skills, agents, hooks and servers. A marketplace is a catalog file, .claude-plugin/marketplace.json, that lists plugins and where to fetch each. You add a marketplace once, then install plugins from it.
How do I remove a marketplace?
Run claude plugin marketplace remove <name>. This also uninstalls every plugin you installed from it, so run claude plugin list first and note which plugins came from that marketplace.
Can I add a private marketplace?
Yes, with the same command, as long as git can clone it without a prompt using your stored credentials. Set up an HTTPS credential helper or a passphrase-free SSH key, and test with git ls-remote <url>.
Is the official marketplace safe to install from?
Anthropic's documentation says most of its listings come from partners and other authors, and that Anthropic cannot verify what plugins include or that they won't change. Read what a plugin adds before installing.
Do I need to restart Claude Code after installing?
The install summary says. If it says Run /reload-plugins to apply., Claude Code runs the reload for you, or leaves it pending if it would invalidate the prompt cache, in which case run /reload-plugins --force. Plugins installed from the shell load the next time you start Claude Code or when you run /reload-plugins.
Next steps
Related skills in this catalog
Platform Score is our assessment under a published method. It is not a safety guarantee.
Related guides
Terms this guide uses
This item is a worked example in the AI glossary for:
Sources
- https://code.claude.com/docs/en/discover-plugins (accessed 2026-11-23)
- https://code.claude.com/docs/en/plugin-marketplaces (accessed 2026-11-23)
- https://code.claude.com/docs/en/plugins/security (accessed 2026-11-23)
- https://code.claude.com/docs/en/plugins/anthropic-marketplaces (accessed 2026-11-23)
- https://code.claude.com/docs/en/plugins/troubleshooting (accessed 2026-11-23)
- https://code.claude.com/docs/en/plugins/org (accessed 2026-11-23)
This page is not offered to search engines yet: The content file does not mark this page indexable yet.