Skip to main content
Plugins add new capabilities to Claude Code. A plugin can contribute tools, slash commands, output styles, hooks, and MCP server definitions. Plugins are distributed as DXT (Declarative Extension Toolkit) packages.

Installing plugins

From the plugin marketplace

/plugin install <plugin-name>
Or use the full install command:
/install <plugin-name>
Claude Code connects to the official plugin marketplace, downloads the plugin, and activates it immediately.

From a local file

/plugin install /path/to/plugin.dxt

Managing installed plugins

CommandDescription
/plugin listShow all installed plugins and their status
/plugin remove <name>Remove an installed plugin
/reload-pluginsReload all plugins without restarting Claude Code

Built-in plugins

Claude Code ships with a set of built-in plugins. These appear in the /plugin interface under a Built-in section and can be enabled or disabled per user. Built-in plugins that are available by default include:
  • GitHub — tools for interacting with GitHub repositories (issues, pull requests, code search)
  • Slack — tools for reading and sending Slack messages
Built-in plugin state is stored in your user settings (~/.claude/). To enable or disable a built-in plugin, open:
/plugin
Select the plugin from the list and toggle its state.

Plugin marketplace

The official plugin marketplace is hosted and maintained by Anthropic. Marketplace plugins are versioned, reviewed, and automatically updated (for official marketplace sources). Claude Code fetches the marketplace catalog at startup. To browse available plugins, run /plugin and navigate to the Marketplace tab. Third-party marketplace sources can be registered, but they do not receive automatic updates by default.

Automatic updates and orphan cleanup

Plugins installed from official marketplace sources are updated automatically when a newer version is available. Claude Code checks for updates at startup and applies them in the background. Orphaned plugins — plugins whose marketplace source is no longer registered — are detected at startup and flagged for removal. Claude Code will prompt you before removing anything. To trigger a manual refresh:
/reload-plugins

Plugin security

Plugins run with the same operating system permissions as Claude Code itself. Before installing a third-party plugin, verify the source.
Only install plugins from sources you trust. A plugin has access to the same tools and file system paths that Claude Code can reach.
Official marketplace plugins are subject to Anthropic’s review process. Plugins from unregistered sources bypass this review.

Creating a custom plugin (DXT format)

A DXT plugin is a directory (or .dxt zip archive) with a manifest.json at its root.

Minimal manifest

{
  "name": "my-plugin",
  "version": "1.0.0",
  "description": "A minimal example plugin",
  "tools": [
    {
      "name": "say_hello",
      "description": "Returns a greeting",
      "input_schema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name to greet"
          }
        },
        "required": ["name"]
      }
    }
  ]
}

Manifest fields

FieldRequiredDescription
nameYesUnique plugin identifier
versionYesSemver version string
descriptionYesShort description shown in the plugin UI
toolsNoArray of tool definitions (JSON Schema)
commandsNoArray of slash command definitions
hooksNoHook event handlers
mcpServersNoMCP server configurations bundled with the plugin

Installing a local plugin for development

/plugin install ./my-plugin
After making changes, run /reload-plugins to pick up updates without restarting.

Build docs developers (and LLMs) love