- Plugins
- Skills
Plugin system
Source location:src/plugins/, src/services/plugins/Plugins are installable packages that extend Claude Code with new tools, commands, and prompts. They are discovered, loaded, and managed at runtime.Plugin lifecycle
Discovery
Claude Code scans configured plugin directories and the marketplace for available plugins.
Installation
The user installs a plugin via the
/plugin command. The plugin is downloaded and registered.Loading
Installed plugins are initialized at startup or on-demand. Built-in plugins from
builtinPlugins.ts load automatically.Execution
Active plugins can contribute new tools, slash commands, and prompt templates that become available in the session.
Plugin components
| Component | Location | Purpose |
|---|---|---|
| Plugin loader | src/services/plugins/ | Discovers and loads plugins at runtime |
| Built-in plugins | src/plugins/builtinPlugins.ts | Plugins that ship with Claude Code |
| Bundled plugins | src/plugins/bundled/ | Plugin code bundled into the binary |
| Plugin types | src/types/plugin.ts | TypeScript types for the plugin API |
Plugin commands
| Command | Purpose |
|---|---|
/plugin | Install, remove, or manage plugins |
/reload-plugins | Reload all installed plugins without restarting |