Claude Code marketplace.json: format and a working example
A plugin marketplace is a folder or Git repository with a .claude-plugin/marketplace.json file listing plugins. The file needs name, owner (with owner.name) and plugins; each plugin needs a name and a source. Add it with /plugin marketplace add, then install plugins from it by name and marketplace, as in the docs' claude plugin install my-first-plugin@my-marketplace.
Minimal file
{
"name": "my-marketplace",
"description": "Plugins for my team",
"owner": { "name": "Your Name" },
"plugins": [
{
"name": "my-first-plugin",
"source": "./plugins/my-first-plugin",
"description": "A greeting plugin to learn the basics"
}
]
}Rules
- Required at the top: name, owner and plugins. owner.name is required.
- Each plugin entry needs name and source. A relative source must start with ./ and cannot contain ..
- The entry name must match the plugin's own manifest name in .claude-plugin/plugin.json.
- Skills inside a plugin are called as /plugin-name:skill-name.
Folder layout
my-marketplace/
.claude-plugin/
marketplace.json
plugins/
my-first-plugin/
.claude-plugin/
plugin.json
skills/
greet/
SKILL.md
hooks/
hooks.jsonSkills go in skills/<name>/SKILL.md inside the plugin, and hooks in hooks/hooks.json; when the plugin is enabled, its hooks merge with the user's own.
Commands
# in a terminal
claude plugin validate ./my-marketplace
claude plugin marketplace add ./my-marketplace
claude plugin install my-first-plugin@my-marketplace
# inside Claude Code
/plugin marketplace add anthropics/claude-plugins-official
/plugin marketplace update <name>
/reload-pluginsA GitHub-hosted marketplace is added by owner/repo, as in the example above. Anthropic's official marketplace, claude-plugins-official, is added for you the first time you start Claude Code in a terminal.
Mistakes the validator catches
- owner given as a plain string instead of an object with a name.
- A plugin entry without a source, or a relative source that does not start with ./ or that climbs out with ..
- An entry name that differs from the name in the plugin's own plugin.json.
Run claude plugin validate on the folder before you push, so teammates never hit these on install.
When a skill or vault helps, and when it does not
Helps
- A marketplace is the easiest way to give a team the same skills, hooks and MCP servers with one install command.
- Plugins bundle skills with the hooks they need, so nothing is set up by hand.
Does not help
- For one skill in one repo, a .claude/skills/ folder is simpler than a marketplace.
- A plugin's hooks run commands on every machine that enables it; review them before you publish.