From marketplace-dev
Installs a Claude Code plugin and registers it in settings.json for team reproducibility. Handles marketplace setup, installation, and duplicate detection.
How this skill is triggered — by the user, by Claude, or both
Slash command
/marketplace-dev:add-plugin <name@marketplace> [--repo <owner/repo>]<name@marketplace> [--repo <owner/repo>]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Role: implementation. This skill installs a Claude Code plugin and
Role: implementation. This skill installs a Claude Code plugin and
adds it to .claude/settings.json so the project's plugin set is
reproducible.
You have been invoked with the /add-plugin skill.
name@marketplace
format encodes both; never ask the user to repeat information
already in the argument.Arguments: $ARGUMENTS
Required: plugin identifier ($0) in name@marketplace format —
e.g. skill-creator@claude-plugins-official or refactoring@refactoring.
Optional:
--repo <owner/repo>: GitHub repository to register as the
marketplace source before installing (e.g. elifiner/refactoring).
Required for plugins not on an official marketplace.Extract:
NAME — the part before @ in $0MARKETPLACE — the part after @ in $0REPO — value of --repo, or empty string if not providedRead .claude/settings.json. If enabledPlugins already contains
"<NAME>@<MARKETPLACE>": true, report:
<NAME>@<MARKETPLACE> is already registered in settings.json. Nothing to do.
and stop.
If REPO is non-empty, run:
claude plugin marketplace add <REPO>
If this fails, report the error and stop.
Run:
claude plugin install <NAME>@<MARKETPLACE>
If this fails, report the error and stop — do not update settings.json for a plugin that did not install successfully.
Add to the enabledPlugins object in .claude/settings.json:
"<NAME>@<MARKETPLACE>": true
If a --repo was provided, also add to extraKnownMarketplaces:
"<MARKETPLACE>": {
"source": {
"source": "github",
"repo": "<REPO>"
}
}
Installed: <NAME>@<MARKETPLACE>
Repo: <REPO or "official marketplace">
settings.json: updated
npx claudepluginhub p/bdfinst-marketplace-dev-plugins-marketplace-devInstalls a Codex plugin from a GitHub repo into a repo or personal marketplace, copying plugin files and updating marketplace metadata.
Provides quick reference for Claude Code plugins: structure, manifest, installation commands, marketplaces, management UI, and standalone vs plugins comparison.
Reference for Claude Code plugins system: plugin.json schema, skills/agents/hooks/MCP/LSP bundling, marketplace config, caching, validation, distribution, CLI commands, debugging.