# Claude Code Plugins
Claude Code supports a plugin system for extending its capabilities with skills, agents, hooks, and MCP servers. Plugins are discovered and installed through marketplaces.
## Official Anthropic marketplace
Automatically available. Browse with `/plugin` → **Discover** tab. Install with:
```
/plugin install plugin-name@claude-plugins-official
```
## Plugin categories
- **Code intelligence** (LSP): language server integrations for TypeScript, Python, Rust, Go, Java, C/C++, etc. Gives Claude automatic diagnostics after edits and precise code navigation
- **External integrations**: pre-configured MCP servers for GitHub, GitLab, Jira, Confluence, Linear, Notion, Figma, Slack, Sentry, Vercel, Firebase, Supabase, etc.
- **Development workflows**: commit-commands, pr-review-toolkit, agent-sdk-dev, plugin-dev
- **Output styles**: explanatory and learning output modes
## Managing plugins
- `/plugin` opens the interactive manager (Discover, Installed, Marketplaces, Errors tabs)
- Installation scopes: user (default, all projects), project (shared via `.claude/settings.json`), local (repo-only, not shared)
- `/plugin disable`, `/plugin enable`, `/plugin uninstall` for lifecycle management
- `/reload-plugins` to apply changes without restarting
## Third-party marketplaces
Add via `/plugin marketplace add`:
- GitHub: `owner/repo`
- Git URL: `https://gitlab.com/company/plugins.git`
- Local path: `./my-marketplace`
- Remote URL: `https://example.com/marketplace.json`
Team admins can set up automatic marketplace installation via `extraKnownMarketplaces` in `.claude/settings.json`.
## Plugin Structure
Each plugin can bundle any combination of four component types:
1. **Slash Commands** -- custom shortcuts for frequent operations
2. **Subagents** -- purpose-built agents for specialized development tasks
3. **MCP Servers** -- connections to external tools and data sources via [[Model Context Protocol (MCP)]]
4. **Hooks** -- behavior modifications at key workflow points (code reviews, testing, etc.)
Plugins are toggled on/off as needed to reduce system prompt context when not in use.
## Plugin Marketplaces
Curated collections hosted in git repos or URLs containing a `.claude-plugin/marketplace.json` file. Anyone can create a marketplace.
- Add: `/plugin marketplace add user-or-org/repo-name`
- Team admins can set up automatic marketplace installation via `extraKnownMarketplaces` in `.claude/settings.json`
## Example Plugins (Anthropic)
- PR review plugin
- Security guidance plugin
- Claude Agent SDK development plugin
- Meta-plugin for creating new plugins
## References
- Announcement: https://www.anthropic.com/news/claude-code-plugins
- Discover plugins: https://code.claude.com/docs/en/discover-plugins
## Related
- [[Claude Code]]
- [[Claude Code Skills]]
- [[Claude Code MCP Integration]]
- [[Claude Code Hooks]]