Claude Code plugins explained: how to install them and stay safe
A plugin bundles skills, agents, hooks and servers into one install. Here is how marketplaces work, the commands to know and what to check before you trust one.
What a plugin is
Anthropic's documentation says that installing a plugin adds its skills, agents, hooks and MCP servers to Claude Code on your machine. Plugins can also include commands and language servers. They let a team or a developer package a workflow once and share it, instead of copying files between projects.
If you are new to the pieces, our guides to Claude Skills and MCP connectors explain two of the components.
What a marketplace is
The documentation defines a marketplace as a catalog of plugins, and Claude Code has to know about a marketplace before you can install from it. A marketplace is a directory or repository with a .claude-plugin/marketplace.json file that lists the plugins and where to fetch each one.
You can add a marketplace from a GitHub owner/repo, a git URL, a local folder or a hosted marketplace.json address.
| Marketplace | What the documentation says |
|---|---|
claude-plugins-official | Anthropic's official marketplace. Claude Code adds it the first time you start an interactive terminal session, unless a managed policy or a setting blocks it. |
claude-community | A community marketplace that is not added automatically. You add it yourself. |
| Third-party marketplaces | Anything else. The documentation states that Anthropic does not review third-party marketplaces. |
Install, update and remove: the commands
| Task | Command |
|---|---|
| Add a marketplace | /plugin marketplace add owner/repo |
| Install in a session | /plugin install name@marketplace (opens a panel so you can review it and choose a scope) |
| Install from a shell | claude plugin install name@marketplace --scope project |
| Update one plugin | claude plugin update name@marketplace |
| Disable or enable | claude plugin disable name@marketplace and claude plugin enable name@marketplace |
| Uninstall | claude plugin uninstall name@marketplace |
| List installed | claude plugin list |
The documentation notes that no single command updates every plugin at once. Automatic updates are on by default for the official marketplaces and off for community, third-party and local ones, and you can change that on the Marketplaces tab. Installing from a source you have not added yet in a single step needs a recent version: v2.1.275 or later in a session and v2.1.292 or later from a shell.
The three install scopes
- User: enabled for you in every project on this machine.
- Project: enabled for everyone working in the repository. It is saved in the project's
.claude/settings.json, which you commit. - Local: enabled for you in this repository only.
Local settings override project settings, and project settings override user settings. A shell install without --scope goes to user scope.
Stay safe: a plugin can run code
This is the point to take seriously. The security documentation says a plugin you install can execute arbitrary code on your machine with your user privileges. Claude Code's warning before install adds that plugins can run code on your computer, with access to your files and shell, and that Anthropic does not control what is included in plugins.
- Hooks and servers run outside the sandbox. Command hooks are shell commands. Claude Code's permission rules and sandbox cover the tool calls Claude makes, not the code a plugin runs by itself.
- A marketplace name is not a safety label. It tells you who publishes the catalog, not what each plugin does, so review a plugin whichever marketplace it comes from.
- Updates can change what you reviewed. Automatic updates can replace the files you checked.
A checklist before you install
- Check where the marketplace comes from with
claude plugin marketplace list. - Read the "Will install" section in the plugin details pane to see the commands, agents, skills, hooks and servers it adds.
- Open
hooks/hooks.json,.mcp.jsonand everything in thebin/folder, because those can run code. - Prefer plugins from publishers you can identify, and be careful with ones promoted through "comment for the link" posts.
- Start with project or local scope while testing, and turn automatic updates off for third-party marketplaces.
- Remove a plugin you no longer use with the uninstall command.
Which plugins should a beginner try?
Start with the official marketplace and a plugin whose job you can describe in one sentence, such as one that helps write commit messages. Read what it will install before you accept. We do not recommend specific third-party plugins here, because plugin lists change quickly and Anthropic does not vet third-party marketplaces.
Last reviewed 20 November 2026. AI tools, plans and prices change quickly, so check the official pages below before you rely on a detail. This guide is general information, not advice.
Frequently asked questions
What is a Claude Code plugin?
A package that adds skills, agents, hooks and MCP servers (and sometimes commands) to Claude Code in one install.
What is the official marketplace called?
claude-plugins-official. Claude Code adds it the first time you start an interactive terminal session, unless it is blocked by policy or a setting.
Does Anthropic review plugins?
The documentation says Anthropic does not review third-party marketplaces, and that you should review a plugin yourself whichever marketplace it comes from.
Can a plugin run code on my computer?
Yes. The documentation says a plugin can execute arbitrary code with your user privileges, including through hooks and servers.
How do I remove a plugin?
Run claude plugin uninstall name@marketplace, or use /plugin uninstall in a session.
What is the difference between a skill and a plugin?
A skill is a single set of instructions. A plugin is a package that can contain skills along with agents, hooks and servers.
Sources
Checked against these pages on 20 November 2026:
- Claude Code: Install and manage plugins
- Claude Code: Create and distribute a plugin marketplace
- Claude Code: Anthropic's marketplaces
- Claude Code: Plugin security and trust