# Agent plugin

> Canonical: https://skillalmanac.com/glossary/agent-plugin | Last verified: 2026-11-24 | Index status: not offered to search engines

An agent plugin is a package that adds components to an AI agent as one installable unit. In Claude Code it is a directory of skills, agents, hooks, MCP servers or other components, installed and loaded together.

Also called: Claude Code plugins, Claude plugins, AI plugin, agent plugins.

## In plain language

An agent plugin is a bundle you install into an AI coding tool to give it new abilities in one step. Think of an app that arrives with several settings and helpers already set up: you install the bundle once instead of wiring each piece by hand. In Claude Code, one plugin can carry saved instructions, helper agents, automatic checks and connections to outside tools. The limit is trust. Anthropic's documentation says a plugin you install can run code with your user privileges, so installing one is like running a program from its author. An enabled plugin can also use part of your usage allowance in every session, because its names and descriptions sit in the model's context.

## Technical definition

A Claude Code plugin is a directory with an optional manifest at .claude-plugin/plugin.json and components in conventional folders. According to the Claude Code documentation the components include skills, agents, hooks, MCP servers and a hooks module written in JavaScript. Most plugins come from a marketplace, a repository or directory with a .claude-plugin/marketplace.json file that lists plugins and where to fetch each one. Install scope is user, project or local. An enabled plugin is part of every session: its hooks fire at their events, its MCP servers run, and the name and description of each skill, agent and command Claude can invoke on its own are in context on every turn.

## How it shows up when you use agents

In Claude Code you meet plugins in the `/plugin` menu and in names such as `my-plugin:review`, where the plugin name prefixes the skills it adds. A plugin packages things that also work alone: an [agent skill](/glossary/agent-skill), a [subagent](/glossary/subagent), [agent hooks](/glossary/agent-hooks) and a [Model Context Protocol](/glossary/model-context-protocol) server. Anthropic's documentation says to use a plugin when you want several of them packaged as one unit, and notes that each of them works without a plugin.

What breaks when plugins are misunderstood. First, people install one for a single skill and then carry its hooks, servers and context cost in every session. Second, they treat a marketplace as a vetted store. The documentation calls it a catalog and says a plugin you install can run code with your user privileges, whichever tier the marketplace is in.

Next action: before installing, read what the plugin contains and which hooks it registers. The [Claude Code plugins explained](/learn/claude-code-plugins-explained) guide lists the checks. If you only need one skill, install the skill alone.

## Common confusions

- **Plugin versus skill.** A skill is one set of instructions. A plugin is a package that can hold skills, agents, hooks and servers.
- **Plugin versus MCP server.** An MCP server is a tool connection. A plugin may include one, with other components.
- **Plugin marketplace versus Claude Marketplace.** Anthropic's documentation says they are different things. A plugin marketplace is a catalog you add with a command. Claude Marketplace is a website.
- **Claude Code plugin versus IDE extension.** The documentation says the VS Code extension and the JetBrains plugin are not Claude Code plugins.

## Worked examples in this catalogue

### [Claude Code plugins explained: install, build, validate](https://skillalmanac.com/learn/claude-code-plugins-explained)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: What a Claude Code plugin is, the install commands, how to build and validate one, and what to check before you trust it.

Why it exercises the concept: It covers the whole definition above in one place: the bundle, the install scopes and the privilege warning.

### [Add a Claude Code Plugin Marketplace: Commands, Scopes and Trust](https://skillalmanac.com/learn/add-a-claude-code-plugin-marketplace)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: How to add, list, update and remove a plugin marketplace from the shell or a session, with the source forms and scope flags.

Why it exercises the concept: Most plugins arrive through a marketplace, so adding one is the first real step and also a decision about whom you trust.

### [skill-safety-audit](https://skillalmanac.com/skills/skill-almanac/skill-safety-audit)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A scan of a third-party agent skill folder that returns a risk table with evidence lines before you install it.

Why it exercises the concept: A plugin can contain skills and runs with your privileges, so a pre-install check of what it contains is the habit this skill supports.

### [Claude Code](https://skillalmanac.com/tools/claude-code)

```
/plugin
```

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Claude Code's documentation says running /plugin with no argument opens the plugin menu, from which you can install plugins from a marketplace.

Why it exercises the concept: It is the in-session entry point for browsing, installing and managing plugins.

## Related terms

- [Agent skill](https://skillalmanac.com/glossary/agent-skill.md)
- [Agent hooks](https://skillalmanac.com/glossary/agent-hooks.md)
- [Model Context Protocol (MCP)](https://skillalmanac.com/glossary/model-context-protocol.md)
- [Subagent](https://skillalmanac.com/glossary/subagent.md)
- [Agent harness](https://skillalmanac.com/glossary/agent-harness.md)

## Sources

- [Plugins overview](https://code.claude.com/docs/en/plugins/overview), Anthropic (Claude Code Docs) (accessed 2026-11-24)
- [Commands](https://code.claude.com/docs/en/commands), Anthropic (Claude Code Docs) (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
