What plugins provide
Plugins can add:- New slash commands
- Additional tools for Claude to invoke
- UI components and panels
- Integrations with external services
Managing plugins
/plugin command opens the plugin management UI:
Built-in plugins
Claude Code ships with bundled plugins insrc/plugins/bundled/. These are loaded via builtinPlugins.ts and provide core functionality like:
- Official MCP server integrations
- Platform-specific features (macOS, Windows, Linux)
- Feature-flagged experimental capabilities
Installing plugins
Plugins are loaded from~/.claude/plugins/. To install a third-party plugin:
- npm packages (
@scope/claude-code-plugin-name) - Local directories with a plugin manifest
- URLs pointing to plugin packages
Reloading plugins
After adding or modifying a plugin, reload without restarting:Plugin loader
The plugin loader (src/services/plugins/) handles:
- Discovering plugins from
~/.claude/plugins/ - Loading plugin manifests
- Registering plugin-provided tools and commands
- Sandboxing plugin execution
Plugins run with the same permissions as Claude Code itself. Only install plugins from sources you trust.