Home › Rules › Claude Code plugins
Claude Code plugins: how to install them, the official marketplace, and plugins vs skills
Short answer: a Claude Code plugin is a folder of skills, subagents, hooks, MCP servers or other parts that Claude Code installs and loads as one unit. Most plugins come from a marketplace, which is just a catalog. Anthropic's official one, claude-plugins-official, is added for you the first time you start an interactive Claude Code session in a terminal. To install, type /plugin inside Claude Code and pick one from the Discover tab, or run /plugin install name@claude-plugins-official. A plugin vs a skill: a skill is one job written in a SKILL.md file; a plugin is the box you ship several skills, agents, hooks and servers in. An enabled plugin's skill and agent descriptions ride along on every message, and a plugin can run code on your computer as you, so only install what you trust and turn off what you don't use.
What a Claude Code plugin is
Anthropic's docs describe a plugin as a directory of components, usually with a manifest at .claude-plugin/plugin.json that gives it a name (and optionally a version and description). The components are what it adds to Claude Code:
- Skills:
SKILL.mdinstructions Claude loads when relevant, which you can also run as a command. See our Claude Code skills examples. - Agents: subagent definitions Claude can hand work to. See Claude Code subagents examples.
- Hooks: commands Claude Code runs at set points, such as after every edit. See Claude Code hooks examples.
- MCP servers: tool servers Claude Code connects to while the plugin is on.
- Others: the docs also list language servers (code intelligence), background monitors, a
bin/folder of executables, and a JavaScript "hooks module". A plugin with a hooks module is called a mod: see Claude Code mods.
Plugin skills get the plugin's name in front, like /my-plugin:review, so two plugins can both have a review skill without clashing.
Not the same thing: the "Claude Code plugin" for VS Code or JetBrains is the editor extension, not a Claude Code plugin. And Claude Marketplace (the website at claude.com/marketplace) is a place to browse, not a marketplace you add with /plugin marketplace add.
Plugins vs skills vs MCP vs commands vs subagents
This is the question people search for most. Here is how Anthropic's docs separate them:
| Thing | What it is | Use it when |
|---|---|---|
| Plugin | The packaging layer: bundles skills, hooks, subagents and MCP servers into one installable unit, with namespaced names | You want the same setup in several repos, or want to share it through a marketplace |
| Skill | Instructions, knowledge or a workflow in a SKILL.md. Only its description loads at the start; the full text loads when used | A repeatable task or reference you need sometimes, run with /name or picked up automatically |
| Custom command | A Markdown file in .claude/commands/. Anthropic says custom commands have been merged into skills: .claude/commands/deploy.md and .claude/skills/deploy/SKILL.md both make /deploy | Old files keep working. For new work the docs say to prefer a skill |
| Subagent | An isolated worker with its own context that returns a summary | Jobs that read lots of files, or side tasks you don't want filling your chat |
| MCP server | A connection to an outside service: tools and data access | Claude needs to reach a database, Slack, a browser, or another app |
| Hook | A command that fires on a lifecycle event, without Claude deciding | Something must happen every time, like formatting after edits |
Do you even need a plugin? Skills, subagents, hooks and MCP servers all work on their own. A skill saved in ~/.claude/skills/ is already in every project on your computer. Anthropic's rule of thumb: package it as a plugin when a second repository needs the same setup, or when you want to give it to other people with updates. Install one when you want a setup someone else built, in one command. More on the file format: SKILL.md examples for every tool.
How to install a Claude Code plugin
Anthropic's install guide uses commit-commands as its example, a plugin from the official marketplace that adds commands for committing, pushing and opening pull requests. The same steps work for any plugin: swap in its name and marketplace.
# Inside a Claude Code session (start one with: claude)
/plugin
# -> opens the Discover tab: type to search, Enter to open a plugin
# Or open one plugin by name (Anthropic's example):
/plugin install commit-commands@claude-plugins-official
# -> review "Will install", pick a scope, then read the last line:
# "Plugin is now active." or "Run /reload-plugins to apply."
# Check it worked: type / and look for
/commit-commands:commit
Free rules starter pack for Cursor, Claude Code, Codex and Antigravity
One shared AGENTS.md that works across Cursor, Claude Code, Codex, Copilot and Antigravity, plus database and test rules in each tool's format. Unzip it into your project and fill in two sections. I'll email you the link.
Free. No spam. Unsubscribe anytime. See our privacy note.
- Open the details. In a session,
/plugin installdoes not install right away. It opens the plugin's details first. - Read "Will install". It lists the commands, agents, skills, hooks, and MCP and LSP servers the plugin adds. For plugins in the official marketplace, it also shows a Context cost estimate (tokens added every turn, and tokens added when a skill or agent is used). That estimate shows when you open the plugin by its marketplace name, as above, or from the Marketplaces tab, not from the Discover list.
- Pick a scope (see the table below).
- Read the last line.
Plugin is now active.means you're done.Run /reload-plugins to apply.means Claude Code reloads for you when the panel closes. - Confirm. Type
/and look for/plugin-name:skill-nameentries.
From your normal terminal (for example in a setup script), use the claude plugin commands instead:
# In your normal terminal (no session needed). User scope by default.
claude plugin install commit-commands@claude-plugins-official
# Brand-new computer where Claude Code was never opened interactively?
# Add the official marketplace first:
claude plugin marketplace add anthropics/claude-plugins-official
# See what you have (Version, Scope, Status):
claude plugin list
Other places you run Claude Code:
- VS Code extension: type
/pluginsin the Claude Code panel to open Manage plugins, search, and click Install. If the list is empty, addanthropics/claude-plugins-officialon the Marketplaces tab first. - Desktop app (Code tab, local or SSH session): click the + next to the prompt box and choose Add plugins.
- JetBrains: it runs Claude Code in the IDE's terminal, so use the terminal steps.
- Cloud sessions (including claude.ai/code in the browser): no plugin browser, and they don't load the plugins you installed on your own computer.
claude -pruns:/plugindoesn't work there, but plugins you already installed do load. Manage them withclaude pluginin your shell.
Install scopes: user, project or local
| Scope | Who gets it | Where it's saved |
|---|---|---|
| User (default from the shell) | You, in every project on this computer | ~/.claude/settings.json |
| Project | Everyone working in this repo | .claude/settings.json (you commit it). Each teammate still installs it once on their own machine |
| Local | You, in this repo only | .claude/settings.local.json |
If the same plugin is set in more than one place, local beats project, and project beats user. A user-scope install in the terminal also shows up in the desktop app's local sessions and the VS Code extension on the same computer, because they read the same settings files.
The official marketplace (and adding others)
A marketplace is a repository or folder with a .claude-plugin/marketplace.json file that lists plugins and where to get each one. Anthropic calls it "a catalog, not a hosted store." You add a marketplace once, then install from it by name, like commit-commands@claude-plugins-official.
| Official | Community | Third-party | |
|---|---|---|---|
| Name after @ | claude-plugins-official | claude-community | Whatever its marketplace.json says |
| Repository | anthropics/claude-plugins-official | anthropics/claude-plugins-community | The author's own repo |
| What's in it | Plugins Anthropic maintains, plus plugins from partners and other authors | Third-party plugins their authors submitted to Anthropic | Anything. Anthropic doesn't review these |
| How you get it | Added for you the first time you start an interactive terminal session | You add it yourself | You add it yourself |
| Auto-update | On by default | Off by default | Off by default |
# Anthropic's community marketplace (not added for you)
/plugin marketplace add anthropics/claude-plugins-community
# then install with the @claude-community suffix:
/plugin install <plugin>@claude-community
# Any other marketplace (a GitHub repo with .claude-plugin/marketplace.json)
/plugin marketplace add <owner>/<repo>
/plugin install <plugin>@<marketplace-name>
# List, refresh or remove marketplaces
/plugin marketplace list
/plugin marketplace update <name>
/plugin marketplace remove <name>
Which plugins are in the official marketplace? Anthropic's docs say most come from partners and other authors, and Anthropic maintains a smaller set of its own, naming commit-commands, code-review, feature-dev and the language server plugins (for example pyright-lsp for Python). The create-a-plugin page also names Anthropic's plugin-dev. They also say the catalog changes often, so they don't list it, and neither do we. To see the current list, open the Discover tab in /plugin, browse claude.com/marketplace/plugins, or read .claude-plugin/marketplace.json in the official GitHub repo.
- Lovable's plugin is one partner example:
lovableis in the official catalog file (we checked Nov 8, 2026), installed with/plugin install lovable@claude-plugins-official. Setup is on our Lovable MCP + Claude Code page. - Old tutorials: the
claude-code-pluginsmarketplace inanthropics/claude-codeis deprecated. Skip any step that runs/plugin marketplace add anthropics/claude-codeand install fromclaude-plugins-officialinstead. - Name check: Claude Code only accepts the official and community marketplace names when they come from
github.com/anthropics/, so a stranger's repo can't pose as Anthropic's.
List, disable, update or uninstall a plugin
Run /plugin and press Tab to reach the Installed tab. Press Space to turn a plugin on or off, Enter to open its menu (Disable, Update now, Uninstall). Or use commands:
# Inside a session
/plugin list
/plugin enable <plugin>
/plugin disable <plugin>
/plugin uninstall <plugin>
/reload-plugins
# In your shell
claude plugin list
claude plugin disable <plugin>@<marketplace>
claude plugin enable <plugin>@<marketplace>
claude plugin update <plugin>@<marketplace>
claude plugin uninstall <plugin>@<marketplace> --scope project
claude plugin details <plugin> # token cost: read the Always-on line
- Updates: plugins from a marketplace with auto-update on update in the background; the running session keeps the old version until
/reload-pluginsor your next session. There is no single command that updates every plugin; per marketplace, use Update marketplace on the Marketplaces tab. - Removing a marketplace uninstalls every plugin you installed from it.
- A plugin your project turns on: Uninstall asks whether to disable it just for you (press y) or remove it for everyone (press u).
Plugins and token usage
An enabled plugin is part of every session, not only the ones where you use it. For each skill, agent and command Claude can call on its own, the name and description sit in Claude's context on every turn. That counts toward your usage even when nothing from the plugin runs. The full text loads only when it's used. A plugin's MCP servers and hooks also run in every session where it's enabled.
- Before you install: open the plugin from the Marketplaces tab in
/pluginand read its Context cost (official marketplace only). - After you install: run
claude plugin details <name>in your shell. TheAlways-online is the tokens it adds to every session. - Clean up: the Installed tab has a Not used recently group. Disable those (you can turn them back on later) or uninstall them.
So the plain way to keep plugin token use down is to install fewer and disable the ones you aren't using. One kind can save work instead: Anthropic's context-cost table rates code intelligence (language server) plugins as "Low; reduces file reads elsewhere." Plan limits and prices: Claude Pro vs Max vs Ultra.
Make your first plugin (Anthropic's own example)
You don't need a marketplace to try one. This is the walkthrough from Anthropic's "Create a plugin" page: one plugin, one skill, loaded for a single session. You need Claude Code installed and signed in.
mkdir -p my-first-plugin/.claude-plugin
mkdir -p my-first-plugin/skills/hello
{
"name": "my-first-plugin",
"description": "A greeting plugin to learn the basics",
"version": "1.0.0",
"author": {
"name": "Your Name"
}
}
name is required and becomes the prefix on every skill (no spaces). description is what people see in /plugin. version is optional; author needs a name if you include it.
---
name: hello
description: Greet the user with a friendly message
disable-model-invocation: true
---
Greet the user warmly and ask how you can help them today.
disable-model-invocation: true means Claude won't run this skill on its own; you call it. Delete that line for a skill you want Claude to pick up by itself.
# Check the manifest and the skill's frontmatter
claude plugin validate ./my-first-plugin
# -> "Validation passed"
# Load it for one session only (nothing is installed)
claude --plugin-dir ./my-first-plugin
# Then, inside that session:
/my-first-plugin:hello
my-first-plugin/
├── .claude-plugin/
│ └── plugin.json # the manifest (ONLY this file goes in here)
├── skills/
│ └── hello/
│ └── SKILL.md # runs as /my-first-plugin:hello
├── agents/ # optional: one .md file per subagent
├── hooks/hooks.json # optional: hook config
└── .mcp.json # optional: MCP server definitions
- Most common mistake: only
plugin.jsongoes inside.claude-plugin/. Skills, agents or hooks saved in there don't load. - Want it in every session?
claude plugin init my-toolscaffolds a plugin in~/.claude/skills/my-tool/that loads each time, with no install step. - Already have skills in
.claude/? Anthropic's page has a short "convert an existing setup" section (copycommands/,agents/,skills/into the plugin and move hooks intohooks/hooks.json). Hooks in both places run twice, so remove the originals after testing. - Want help building a bigger one? The docs point to Anthropic's
plugin-devplugin in the official marketplace; after installing it, run/plugin-dev:create-pluginwith a description.
Is it safe? What a plugin can do
Anthropic's security page opens with this: a plugin you install can run any code on your computer with your user permissions. Which marketplace it comes from tells you who runs the catalog, not what each plugin does.
- Hooks and monitors run as shell commands with your full permissions.
- MCP and language servers run as processes Claude Code starts on your machine.
bin/gets added to the PATH of Claude's Bash tool.- Skills, commands and agents go into Claude's context as instructions.
- Updates can change the files you reviewed, if auto-update is on for that marketplace.
- Your permission rules and sandbox cover Claude's tool calls, not the hooks, monitors and servers a plugin runs by itself.
Before you install anything outside Anthropic's own marketplaces, the docs suggest:
# 1. Where did this marketplace come from?
claude plugin marketplace list
# 2. Before installing: list what a plugin really contains
# (clone its repo first, then point at the plugin's folder)
claude --plugin-dir <plugin directory> plugin details <plugin name>
# 3. Read these files in the plugin's folder yourself:
# hooks/hooks.json -> the command each hook runs
# .mcp.json -> each server's command or URL
# bin/ -> every file in it
Claude Code also shows this warning on every plugin, whatever the marketplace: "Make sure you trust a plugin before installing, updating, or using it. Anthropic does not control what MCP servers, files, or other software are included in plugins and cannot verify that they will work as intended or that they won't change."
Removing one you don't trust: run claude plugin uninstall <plugin> with the scope you used. Its cached files stay under ~/.claude/plugins/cache/ for 14 days unless you delete that folder yourself. If you don't trust the marketplace either, remove the marketplace too.
Plugin not working? Common errors
zsh: no such file or directory: /plugin(or the bash version): you typed it at the shell prompt. Runclaudefirst, then type/plugininside the session. Or useclaude plugin install ...in the shell./plugin isn't available in this environment: you're inclaude -p, the desktop app, the browser, or (with extra words after it) the VS Code panel. Use that surface's own plugin screen, or a terminal.Marketplace "claude-plugins-official" not found: the official marketplace isn't registered yet (common if you've only used VS Code). Run/plugin marketplace add anthropics/claude-plugins-official, then retry.Plugin "name" not found in any marketplace: add the marketplace name, like/plugin install name@claude-plugins-official, so Claude Code refreshes that catalog first.- Installed, but the skills don't show up: open
/plugin, check it's enabled on Installed, read the Errors tab, then run/reload-plugins. Remember plugin skills are named/plugin-name:skill. - Your own plugin loads but has no skills:
skills/is probably inside.claude-plugin/. Move it to the plugin root and run/reload-plugins.
Same idea in other tools
Google Antigravity has its own plugins and marketplace with the same "plugin wraps skills" idea: Antigravity plugins. The SKILL.md format inside a plugin is the shared Agent Skills format, so the skill files themselves move between tools; see SKILL.md examples and GitHub Copilot skills.
Next step for Claude Code: Agent Skills
Skills are folders your AI coding agent loads only when the job comes up, and Claude Code, Cursor and OpenAI Codex all read the same SKILL.md format. The Vibe Coder Skills Pack ($9) is 6 ready-to-copy SKILL.md skills (fix-one-bug, stop-the-loop, leak-check, ship-check, explain-project, builder-handoff) for Claude Code, Cursor and OpenAI Codex. Also included in the 6-kit bundle.
Get the Skills Pack for $9 on Gumroad → See what's inside
One .zip of skill folders plus one markdown file. 7-day refund, no questions asked.
Best value
All 6 kits for $29 — or $20.30 with code WELCOME30 (through Nov 30)
Plugins and skills teach Claude Code how to do a job. The kits tell it what to build, step by step: a small game, a Discord bot, an email-triage agent, an MVP, or a cleanup of messy code.
Get all 6 kits for $29 → See what's in each kit
$29 instead of $48 for the six kits bought separately; WELCOME30 takes 30% off that at checkout ($20.30). Instant download from Gumroad. 7-day refund, no questions asked.
Related
- Claude Code skills examples (7 copy-paste SKILL.md files)
- Claude Code subagents examples (7 copy-paste subagents)
- Claude Code hooks examples (7 copy-paste hooks)
- Claude Code mods (what a mod is, sample mods, your first mod)
- Custom slash commands (Claude Code, Cursor, Codex, Copilot)
- SKILL.md examples for every tool (format, frontmatter, where the folder goes)
- Lovable MCP + Claude Code (server, plugin and skill)
- Google Antigravity plugins (install, marketplace, plugins vs skills)
- CLAUDE.md examples
- Free rules file generator
Sources
- Claude Code docs: Plugins overview
- Claude Code docs: Install and manage plugins
- Claude Code docs: Anthropic's marketplaces
- Claude Code docs: Plugin security and trust
- Claude Code docs: Create a Claude Code plugin
- Claude Code docs: Troubleshoot plugins
- Claude Code docs: Plugin commands reference
- Claude Code docs: Code intelligence plugins
- Claude Code docs: Extend Claude Code (features overview)
- Claude Code docs: Skills
- Anthropic on GitHub: claude-plugins-official
Every command, folder and setting here was checked Nov 8, 2026 on Anthropic's own Claude Code docs. Plugins change often (new commands, new marketplace names, a catalog that changes week to week). If something here no longer matches, tell us at [email protected].