Claude Code plugins turned a capable coding agent into an extensible one. Instead of copying the same skills, subagents, and hooks between projects, you can bundle them into a plugin, install it with one command, and share it across a team. This guide covers what a plugin actually is, how installation works today, which plugins are worth your time, and what to check before enabling one.
What Are Claude Code Plugins?
A Claude Code plugin is a package that extends Claude Code with skills, agents, hooks, and MCP servers. Rather than being one kind of thing, a plugin is a container: it can carry several different component types at once and install them together as a unit.
That framing matters because "plugin" and "skill" are often used interchangeably, but they are not the same. A skill is one component type. A plugin is the packaging and distribution mechanism that can bundle skills alongside agents, hooks, and MCP servers.
The practical question is when to reach for a plugin at all. If you are configuring Claude Code for yourself on one project, you often do not need one: a skill in your skills directory or a local config is enough. Plugins earn their place the moment you want to reuse that setup across projects or hand it to teammates without a copy-paste ritual.
How Plugins Work: What's Inside One
Under the hood, a plugin is a directory with a manifest and a set of well-known subdirectories. The manifest (.claude-plugin/plugin.json) declares the plugin; the subdirectories hold the components. The full set a plugin can contain goes beyond the headline four:
| Component | Where it lives | What it does |
|---|---|---|
| Skills | skills/<name>/SKILL.md | Task-specific instructions the agent can invoke |
| Agents | agents/ | Custom subagent definitions |
| Hooks | hooks/hooks.json | Event handlers that fire on Claude Code events |
| MCP servers | .mcp.json | External tool/data integrations |
| LSP servers | .lsp.json | Language servers for code intelligence |
| Monitors | monitors/ | Background monitor configurations |
| Commands | commands/ | Slash commands as flat Markdown files |
| Executables | bin/ | Binaries added to the Bash tool's PATH |
| Settings | settings.json | Default settings applied when the plugin is enabled |
You do not need all of these. Many useful plugins are a single skill. The point is that when a plugin needs to ship a subagent, a hook, and an MCP server together to do its job, the plugin format bundles them into one installable package instead of asking you to wire each piece by hand.
How to Install Claude Code Plugins
Installation runs through marketplaces, which are catalogs Claude Code reads to find and install plugins.
From the official marketplace
Anthropic maintains an official marketplace, and installing from it is a single command:
/plugin install <name>@claude-plugins-official
For example, /plugin install github@claude-plugins-official installs the GitHub integration.
From any GitHub repo
Most community plugins live in GitHub repositories. The first command adds the marketplace repository (owner/repo). The second installs a plugin from it: replace plugin-name with the plugin's name and marketplace-name with the catalog's name.
/plugin marketplace add owner/repo
/plugin install plugin-name@marketplace-name
Marketplaces can also be added from other Git hosts, local paths, and remote URLs. If you just want to see the mechanism work first, Claude Code ships a demo marketplace you can add and install from, which is a low-stakes way to watch the add-then-install flow before pointing it at anything real.
Managing and updating plugins
Once installed, you can enable, disable, update, and reload plugins in Claude Code without restarting, and you can turn on auto-updates to keep them current. /plugin list shows what you have, and plugins can be uninstalled the same way they were added. Plugins also carry a scope (User, Project, or Local), which controls whether a plugin applies to just you, everyone on the project, or only your local checkout. For teams, shared marketplaces let everyone pull from the same approved catalog instead of each developer installing their own set, and that same mechanism is the cleanest way to distribute internal plugins you do not want to publish publicly.
Claude Code Plugins Worth Installing
Choose plugins by the capability your project needs:
- Code intelligence. Language server (LSP) plugins give the agent diagnostics and code navigation instead of guessing from text, and Claude Code offers them for many languages, including C/C++, C#, Go, Java, Kotlin, Lua, PHP, Python, Rust, Swift, and TypeScript.
- Documentation and context. Plugins that pull current library documentation into context help the agent avoid citing stale or hallucinated APIs.
- Workflow and output. Plugins that shape how the agent plans, formats results, or runs multi-step tasks are available in community marketplaces. The right ones depend entirely on how your team codes, so this is the category to try and discard freely rather than install broadly.
- Security. The official marketplace includes an automatic security review category, and this is where a testing plugin earns its keep by catching issues while the agent is still writing code rather than after it ships. In a small local web app, the official Claude Security plugin found two concrete problems: submitted input was treated as HTML, and requested file paths could escape the intended directory. Its suggested patches added HTML escaping and checked that resolved paths stayed inside that directory. After review and application of the patches, all four HTTP regression checks passed. A security plugin can help you find and fix flaws like these; it does not guarantee that every vulnerability has been found.
On that last point, StackHawk ships agent skills for exactly this. With the hawk CLI installed and authenticated, add the marketplace once, then install the umbrella plugin:
/plugin marketplace add stackhawk/agent-skills-marketplace
/plugin install wingman@stackhawk
That installs wingman, StackHawk's umbrella plugin, which pulls in the full skill set: hawkscan (DAST scanning and remediation directly in the coding loop), stackhawk-api (querying the StackHawk platform API for security posture reporting), data-seed, and optimize. The two repos are distinct: stackhawk/agent-skills-marketplace is the catalog you add, while stackhawk/agent-skills holds the underlying skill source. If you are already running Claude Code's built-in security review, our take on Claude Code security versus the built-in security review explains where a runtime testing plugin adds something code review does not.
Plugins vs Skills (and Commands)
A skill is a single component type: a packaged, task-specific instruction the agent can invoke. A plugin is the distribution unit that can bundle one or more skills together with agents, hooks, and MCP servers. Commands are another component, slash commands defined as Markdown, that a plugin can also carry.
Put plainly: you write a skill to teach the agent how to do one task. You build a plugin when you want to distribute that skill (and maybe a subagent and a hook that go with it) as one installable thing your whole team can add. Skills are the capability; plugins are how the capability travels. The same distinction shows up in other agents too, and if you work in Cursor as well, our Cursor rules guide covers the equivalent rules-versus-skills split there.
Security: What Installing a Plugin Actually Means
A plugin runs with your permissions. It can carry hooks that fire on events, MCP servers that reach external systems, and agents that execute actions, and all of that runs in your environment once the plugin is enabled. Before installing, review what a plugin contains and whether you trust its marketplace.
Two practical habits follow. First, treat marketplace trust like dependency trust: an unknown community marketplace is code you are about to run, so vet it the way you would a new package. Second, remember that a plugin which generates or fixes code is not the same as one that verifies the result. A security review plugin can flag issues as the agent writes, but checking how the running application responds to requests is a testing problem, which is why StackHawk's AI security tooling pairs the plugin with runtime DAST rather than stopping at code-level review.
Building Your Own Plugin
If you find yourself copying the same skills and hooks between projects, that is the signal to build a plugin. The shape is straightforward: create the .claude-plugin/plugin.json manifest, add your components in the standard subdirectories (skills/, agents/, hooks/, commands/), test it locally, and publish it to a marketplace when it is ready. Start with a small plugin and test it locally before sharing it: if you can write a SKILL.md, you can ship a plugin.
Final Thoughts
Plugins let a team share a Claude Code setup: write a capability once, package it, and everyone installs it the same way. Keep the mental model clear (plugins are the box, skills are one thing inside it), install from marketplaces you trust, and start with a small set that solves real problems. And for anything security-related, remember that a plugin can guide the code but not prove it safe. If you want to see runtime testing wired into the Claude Code workflow, StackHawk's agent skills install in two commands, adding the marketplace and the wingman plugin, and put DAST in the loop where the code is actually written.
Claude Code Plugins FAQ
Yes. Plugins are the supported way to extend Claude Code with skills, agents, hooks, and MCP servers, installed from marketplaces with the /plugin install command.
It depends on your stack, but the consistently useful categories are code intelligence (language servers), documentation and context plugins, workflow plugins, and security plugins. Start with two or three that solve a problem you actually have rather than installing broadly.
Use /plugin install <name>@claude-plugins-official for the official marketplace, or add another marketplace first with /plugin marketplace add owner/repo and then /plugin install plugin-name@marketplace-name. Plugins can be enabled, disabled, and updated from within Claude Code.
Once a plugin is installed and enabled, its components are available automatically: skills the agent can invoke, commands you can call, hooks that fire on events, and any MCP servers or language servers it brings. You manage the set with /plugin list and enable, disable, or update entries as your needs change.
A skill is one component type, a task-specific instruction. A plugin is the package that can bundle skills together with agents, hooks, and MCP servers and distribute them as one installable unit.
They run with your permissions, so treat them like any dependency: install from trusted marketplaces, review what a plugin contains, and be cautious with plugins that carry hooks or MCP servers that reach external systems.

