/plugin slash command.
Built-in plugins vs. third-party plugins
Built-in plugins ship with Claude Code. They appear in the/plugin UI under a “Built-in” section and can be toggled on or off. Built-in plugins are disabled by default until they become generally available.
Third-party plugins are distributed through plugin marketplaces (public or private registries). They are installed by name or URL and appear in the same /plugin UI alongside built-in plugins.
Plugin scopes
Plugins are installed at one of two scopes:| Scope | Description | Config location |
|---|---|---|
user | Available in all projects on your machine | ~/.claude/settings.json |
project | Available only in the current project directory | <project>/.claude/settings.json |
Plugin lifecycle
When Claude Code starts, plugins go through the following stages:- Discover — Claude Code reads the enabled plugin list from user and project settings.
- Load — Each plugin’s manifest (
plugin.jsonorpackage.json) is read to determine what it provides. - Init — MCP servers declared by the plugin are registered alongside manually configured servers. Skills declared by the plugin are loaded. Hooks declared by the plugin are registered.
- Deduplication — If a plugin’s MCP server matches an already-configured server (same command array or URL), the plugin server is suppressed. Manually configured servers always win.
What plugins can provide
A plugin can include any combination of:- Skills — slash commands and background-invocable workflows (see Skills)
- MCP servers — pre-configured MCP server definitions loaded automatically (see MCP servers)
- Hooks — shell commands or HTTP calls that fire before/after tool executions (see Hooks)
plugin:<plugin-name>:<server-name> to avoid collisions with manually configured servers.
The /plugin slash command
Run /plugin inside a session to open the plugin management UI. Available subcommands:
| Subcommand | Description |
|---|---|
/plugin | Open the plugin management menu |
/plugin install <name> | Install a plugin from the default marketplace |
/plugin install <name>@<marketplace> | Install from a specific marketplace |
/plugin install <url-or-path> | Install from a URL or local path |
/plugin uninstall <name> | Remove an installed plugin |
/plugin enable <name> | Enable a disabled plugin |
/plugin disable <name> | Disable without uninstalling |
/plugin manage | Open the full plugin list UI |
/plugin marketplace | Manage marketplace registries |
/plugin validate <path> | Validate a plugin directory before installing |
Installing a plugin
Find the plugin
Browse available plugins in the marketplace UI with This opens the marketplace browser where you can search and filter plugins.
/plugin install, or ask Claude:Install the plugin
Install a specific plugin by name:Or install from a URL:Or install from a local directory (useful when developing a plugin):
Choose the scope
When prompted, choose between user (all projects) or project (current project only).
Plugin configuration
Many plugins expose configuration options. You can view and change plugin settings from the/plugin management UI by selecting a plugin and choosing Settings.
Plugin configuration is stored per-scope alongside the plugin’s enabled state in settings.json.
Enterprise plugin policies
Administrators can restrict plugin customizations usingstrictPluginOnlyCustomization in managed settings. This forces skills, agents, hooks, and/or MCP servers to come exclusively from plugins rather than from user-defined files:
.claude/skills/, hooks in settings.json, etc.) is ignored. Only plugin-provided content is active.
Related pages
Skills
Learn about skills that plugins can provide.
MCP servers
Understand MCP server configuration that plugins manage.
Hooks
Learn about hooks that plugins can register.
Configuration
Configure enterprise plugin policies.