Skip to content
,

Claude Code Plugins: Install, Use and Build Your Own (2026 Guide)

8–13 minutes
Woman in a minimalist grey studio holding a tablet with a CLAUDE CODE PLUGINS card, hook add skills in one command

Claude Code plugins let you add a whole bundle of skills, subagents, hooks and MCP servers with one command. Instead of copying files into every project, you install a plugin from a marketplace, and it loads in every session where it is enabled, with updates delivered automatically for official plugins.

This guide shows how to find and install plugins in the terminal, the desktop app and VS Code, how install scopes work, how to add third-party and private marketplaces, how to manage and update plugins, and how to build your own plugin from an empty folder. It follows Anthropic’s official Claude Code documentation as of December 2026.

One important point before you start: a plugin runs code as you, and every enabled plugin adds some tokens to every turn. Install what you will use, and review each plugin first.

TL;DR

  • Browse: run /plugin in a Claude Code session and open the Discover tab.
  • Install: /plugin install commit-commands@claude-plugins-official, then pick a scope.
  • Scopes: user (all your projects), project (whole team via .claude/settings.json), local (you, this repo).
  • Other marketplaces: /plugin marketplace add owner/repo first.
  • From a script: claude plugin install name@marketplace --scope project
  • Build one: .claude-plugin/plugin.json + skills/, test with claude --plugin-dir ./my-plugin.

What Is a Claude Code Plugin?

A plugin is a directory of components that Claude Code installs and loads as one unit, usually with a manifest at .claude-plugin/plugin.json that gives it a name, version and description.

Component What it adds Learn more
Skills SKILL.md instructions Claude loads when relevant, also runnable as commands Claude Skills guide
Agents Subagent definitions Claude can delegate to Subagents guide
Hooks Commands that run at lifecycle events, such as after every edit Hooks guide
MCP servers Tool servers Claude connects to while the plugin is enabled MCP setup guide
Hooks module (mod) Hooks written as JavaScript that can draw panes and add commands Official docs

Most plugins come from a marketplace: a repository or folder with a .claude-plugin/marketplace.json file that lists plugins and where to fetch them. It is a catalog, not a hosted store. Claude Code adds Anthropic’s official marketplace, claude-plugins-official, the first time you start an interactive terminal session.

Do not confuse a Claude Code plugin with the Claude Code extension for VS Code or the JetBrains plugin. Those run Claude Code inside your IDE; see our VS Code extension guide and JetBrains guide.

Do You Need a Plugin?

Skills, subagents, hooks and MCP servers all work on their own. A skill saved in ~/.claude/skills/ already works in every project on your machine. Use a plugin when you want:

  • Several skills, agents, hooks or MCP servers packaged together.
  • Someone else’s setup with one command and automatic updates.
  • To share your own setup with a team or across many projects, with versioned releases.

If it is just one skill for you, keep it standalone. Plugin skills also get the plugin name as a prefix, such as /my-plugin:hello, so two plugins can both ship a hello skill without clashing.

Install a Plugin in the Terminal

This example installs commit-commands from Anthropic’s official marketplace. The same steps work for any plugin: swap in its name and marketplace.

  1. Start Claude Code in your project with claude.
  2. Open the plugin’s details: /plugin install commit-commands@claude-plugins-official. In a session this opens the details pane rather than installing straight away. To browse instead, run /plugin and use the Discover tab.
  3. Review what it adds. The pane lists what Will install (commands, agents, skills, hooks, MCP and LSP servers) and, for official plugins, Last updated and a Context cost estimate.
  4. Choose a scope: install for you, for all collaborators on this repository, or for you in this repo only.
  5. Read the summary. Plugin is now active. means you can use it. Run /reload-plugins to apply. means a reload is needed. The plugin couldn't means it failed; open the Errors tab in /plugin.
  6. Confirm it works. Type / and look for the plugin’s skills, such as /commit-commands:commit, or run claude plugin list in your shell.

Install from your shell or a setup script

claude plugin install formatter@your-org --scope project

Shell installs default to user scope and load the next time you start Claude Code, or after /reload-plugins. On a fresh machine where nobody has opened an interactive session, add the official marketplace first with claude plugin marketplace add anthropics/claude-plugins-official.

In non-interactive runs such as claude -p, /plugin is not available, but plugins you already installed still load. Our claude -p headless mode guide covers scripted use.

Install in the Desktop App, VS Code and the Cloud

Where How to install
Desktop app (Code tab) Click + next to the prompt box, choose Add plugins (or Plugins > Browse plugins), pick the plugin and a scope
VS Code Type /plugins in the Claude Code panel to open Manage plugins, search and click Install. If the list is empty, add anthropics/claude-plugins-official on the Marketplaces tab
JetBrains Use the terminal steps in the IDE’s terminal
Cloud sessions (claude.ai/code) Add the plugin to your claude.ai account at claude.ai/customize/plugins, then start a new session

The terminal, the desktop app’s local sessions and the VS Code extension on one computer share the same settings files, so a plugin installed at user scope in one is available in the others. Cloud sessions do not load your local plugins.

Plugins you turn on for your claude.ai account sync into terminal sessions and show up with the ID @synced.

Choose an Install Scope

Scope Who gets it Written to
User You, in every project on this machine enabledPlugins in ~/.claude/settings.json
Project Everyone working in the repo .claude/settings.json (committed)
Local You, in this repo only .claude/settings.local.json

When a plugin is set at several scopes, local overrides project, and project overrides user. Project scope turns the plugin on for teammates but does not download it to their machines; each person still installs it. Our Claude Code settings guide explains how these files fit together.

Add a Marketplace

You only need this for plugins outside the official marketplace, such as Anthropic’s community marketplace, your company’s catalog or a coworker’s repo.

Source Example
GitHub repo /plugin marketplace add your-org/plugins, or pin a tag with your-org/plugins#v1.2.0
Any git host /plugin marketplace add https://gitlab.example.com/group/market.git#v1.0.0
Local folder /plugin marketplace add ./my-marketplace (start with ./)
Hosted JSON /plugin marketplace add https://example.com/marketplace.json

Always include https:// on URLs. A bare gitlab.example.com/... is read as GitHub owner/repo shorthand and rejected. Recent versions can add and install in one step:

/plugin install deploy-helper --marketplace your-org/plugins
claude plugin install deploy-helper --marketplace your-org/plugins

Private marketplaces use the git credentials already on your machine, such as gh auth login, the macOS Keychain or SSH keys without a passphrase prompt. Claude Code never prompts for a password.

Name tiers matter for trust: claude-plugins-official and claude-code-plugins are official, claude-community is Anthropic’s community marketplace, and everything else is third-party.

Manage, Update and Remove Plugins

Run /plugin and press Tab to reach the Installed tab. Press Space to enable or disable, f to favorite and Enter for details with Update now and Uninstall. From the shell:

claude plugin list
claude plugin disable formatter@your-org
claude plugin enable formatter@your-org
claude plugin update formatter@your-org
claude plugin uninstall formatter@your-org --scope project
claude plugin details formatter@your-org
  • Auto-update is on by default for official marketplaces and off for community, third-party and local ones. Toggle it per marketplace on the Marketplaces tab.
  • After an update you see Plugin updated: ... Run /reload-plugins to apply. New versions load on the next launch either way.
  • There is no “update all” command. Use Update marketplace on the Marketplaces tab to update everything from one marketplace.
  • Removing a marketplace uninstalls every plugin you installed from it.
  • Plugins installed as dependencies stay after uninstall until you run claude plugin prune.

Create Your Own Plugin

  1. Create the folders: mkdir -p my-first-plugin/.claude-plugin
  2. Write the manifest at my-first-plugin/.claude-plugin/plugin.json. Only name is required, and it becomes the prefix for every skill.
  3. Add a skill: mkdir -p my-first-plugin/skills/hello and create SKILL.md inside it. Skills go next to .claude-plugin/, not inside it.
  4. Validate: claude plugin validate ./my-first-plugin should print Validation passed.
  5. Test it for one session: claude --plugin-dir ./my-first-plugin, then run /my-first-plugin:hello.
{
  "name": "my-first-plugin",
  "description": "A greeting plugin to learn the basics",
  "version": "1.0.0",
  "author": { "name": "Your Name" }
}
---
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 only you can run the skill; remove it to let Claude use the skill on its own. Setting version keeps users on that version until you change it.

A full plugin can hold skills/, agents/, hooks/hooks.json and .mcp.json under the plugin root. To share it, send the folder or a .zip, list it in your own marketplace, or submit it to Anthropic’s directory. Anthropic’s plugin-dev plugin in the official marketplace can help scaffold bigger plugins.

Context Cost and Security

An enabled plugin is part of every session, not only when you use it:

  • Tokens: the name and description of each skill, agent and command Claude can invoke on its own sit in context on every turn. claude plugin details shows the Always-on token count, and the Installed tab’s Not used recently group shows plugins worth disabling. See our guide to reducing Claude Code token usage.
  • Processes: MCP servers run alongside each session and hooks fire at their events.
  • Permissions: what a plugin runs, it runs as you, whatever marketplace it came from. Read the details pane and the plugin’s repo before installing third-party plugins.

Organizations can allowlist or block marketplaces and force-install plugins through managed settings.

Troubleshooting

The plugin installed but its commands do not appear

Run /reload-plugins or restart Claude Code, then check the Errors tab in /plugin. Plugin skills are named /plugin-name:skill, so type the prefix.

“isn’t installed” for a plugin the project enables

Project scope turns a plugin on but does not download it. Install it yourself with claude plugin install name@marketplace.

Marketplace add fails

Include https:// on URLs, start local paths with ./, and for private repos make sure your git credentials or SSH key work without a prompt.

/plugin is not available

You are in a non-interactive run such as claude -p. Use claude plugin commands in your shell instead.

My own plugin fails validation

Only plugin.json belongs inside .claude-plugin/. Move skills/ and other folders up to the plugin root, and check the name has no spaces.

Plugins are missing in a cloud session

Cloud sessions do not read local plugins. Add them to your claude.ai account instead.

FAQ

Where are Claude Code plugins stored?

Installed files live under ~/.claude/plugins/, and which plugins are enabled is recorded in your settings files.

Are Claude Code plugins free?

The docs describe no separate charge for installing a plugin. What a plugin costs is the usage it adds: the tokens its skills and agents put into context, plus anything its tools call.

What is the difference between a plugin and a skill?

A skill is one set of instructions. A plugin is a package that can hold many skills plus agents, hooks and MCP servers.

How do I update all plugins?

There is no single command. Official plugins auto-update; for others, use Update marketplace in /plugin.

Can I share a plugin with my team?

Yes. Install it at project scope and commit .claude/settings.json, or publish your own marketplace.

How do I turn off a plugin without uninstalling?

Press Space on it in the Installed tab, or run claude plugin disable name@marketplace.

Do plugins work in claude.ai chat?

The same plugin format installs on claude.ai and in Cowork, where a different set of components loads.

Sources

Free weekly email

Get new AI guides every week

One short weekly email with our newest local AI, ComfyUI and AI tool guides. No spam, no pop-ups, just the good stuff.

Free. Unsubscribe anytime in one click. We only use your email to send this newsletter. See our privacy policy.

Woman in a minimalist grey studio holding a tablet with a CLAUDE CODE PLUGINS card, hook add skills in one command