CLAUDE CODE PLUGINS

Discover & Install Prebuilt Plugins Through Marketplaces
Big idea: Plugins extend Claude Code with reusable skills, agents, hooks, MCP servers, LSP servers, and other capabilities. A marketplace is a catalog that lets you discover and install those plugins without building them yourself. The current Claude Code docs describe marketplace use as a simple two-step process: add a marketplace → install individual plugins. citeturn0view0
MarketplaceDiscoverReviewInstallReloadUse

1. What Is a Claude Code Plugin?

A plugin is a self-contained extension that can add functionality to Claude Code. The current plugin system can package components such as:

🧠 Skills

Reusable knowledge and workflows such as code review or Git workflows.

🤖 Agents

Specialized subagents for delegated work.

⚙️ Hooks

Automation connected to Claude Code lifecycle events.

🔌 MCP Servers

Connections to external services and tools.

🧭 LSP Servers

Language intelligence such as definitions, references, diagnostics, and type information.

📦 Other components

Plugins can package a collection of capabilities as one reusable extension.

Claude Code's plugin reference describes a plugin as a self-contained directory of components that extends Claude Code. citeturn0search2

2. What Is a Marketplace?

A marketplace is a catalog of plugins someone has created and shared.

MarketplacePlugin
Like an app store/catalog.Like an individual app.
Contains plugin listings.Contains actual capabilities.
You add it to Claude Code.You install the plugin you want.
Remember: Adding a marketplace does not install every plugin in it. It only makes the catalog available for browsing. citeturn0view0

3. The Complete Plugin Flow

1. Add marketplace2. Browse3. Inspect4. Choose scope5. Install6. Reload7. Use
  1. Add a marketplace.
  2. Open /plugin.
  3. Go to Discover.
  4. Open a plugin's details.
  5. Review what it adds.
  6. Choose User, Project, or Local scope.
  7. Install it.
  8. Run /reload-plugins when required.
  9. Use the plugin's namespaced commands or capabilities.

4. Official Anthropic Marketplace

Claude Code makes the official Anthropic marketplace, claude-plugins-official, available automatically when starting interactively in current versions. If it cannot be added automatically, you can add it manually. citeturn0view0

/plugin marketplace add anthropics/claude-plugins-official

Open the marketplace browser:

/plugin

Install a plugin:

/plugin install github@claude-plugins-official
Important: The official marketplace is curated by Anthropic. Inclusion is at Anthropic's discretion. The official docs distinguish it from the community marketplace. citeturn0view0

5. Discover Tab

/plugin opens the interactive plugin manager. The current interface includes tabs such as:

TabPurpose
DiscoverBrowse plugins from available marketplaces.
InstalledView and manage installed plugins.
MarketplacesAdd, remove, or update marketplaces.
ErrorsView plugin loading problems.
StatsIn supported versions, inspect Skill usage/context costs.

Use Tab to move forward and Shift+Tab to move backward through the tabs. citeturn0view0

6. What to Check Before Installing

The current Discover interface can show useful information before installation, including:

  • Context cost estimate — how many tokens the plugin may add to the context window each turn.
  • Last updated — when the plugin was last updated, when available.
  • Will install — commands, agents, skills, hooks, MCP servers, and LSP servers the plugin will add.
Best habit: Do not install a plugin only because its name sounds useful. Inspect what it actually adds and how much context/tooling it introduces. citeturn0view0

7. Installation Scopes

ScopeMeaningTypical use
UserInstall for yourself across projects.Your personal Git/review tools.
ProjectInstall for collaborators on the repository.Team-standard plugin.
LocalInstall for yourself in this repository only.Private project experiment.
ManagedInstalled by administrators.Organization-controlled tooling.

The interactive installer lets you choose User, Project, or Local scope; managed plugins may be controlled by administrators. citeturn0view0

8. User vs Project vs Local — Simple Example

User

/plugin install github@claude-plugins-official

You want GitHub tools in all your projects.

Project

Your team wants a standard review plugin for the repository.

The project configuration can share the installation with collaborators.

Local

You are experimenting with a plugin and do not want to affect teammates.

Managed

Your organization controls installation through managed settings.

9. Code Intelligence Plugins

Code intelligence plugins configure Language Server Protocol connections so Claude Code can use language-server capabilities.

LanguagePluginBinary required
C/C++clangd-lspclangd
C#csharp-lspcsharp-ls
Gogopls-lspgopls
Javajdtls-lspjdtls
Kotlinkotlin-lspkotlin-language-server
Lualua-lsplua-language-server
PHPphp-lspintelephense
Pythonpyright-lsppyright-langserver
Rustrust-analyzer-lsprust-analyzer
Swiftswift-lspsourcekit-lsp
TypeScripttypescript-lsptypescript-language-server

The language-server binary must be installed separately; the plugin configures the connection but does not install that binary. citeturn0view0

10. What Code Intelligence Gives Claude

Automatic diagnostics

After edits, the language server can report errors and warnings such as type errors, missing imports, and syntax problems.

Code navigation

Claude can use language-server operations such as jumping to definitions, finding references, type information, symbols, implementations, and call hierarchies.

Think of it as: grep/search tells Claude “where text is”; LSP can tell Claude “what this symbol means and how it is connected.” citeturn0view0

11. Cloud Session Limitation for LSP

The current documentation notes that in cloud sessions Claude Code does not start plugin language servers, so the LSP tool is not available there. citeturn0view0

12. External Integration Plugins

Some marketplace plugins bundle pre-configured MCP servers so Claude can connect to external services without manual MCP setup.

CategoryExamples
Source controlgithub, gitlab
Project managementatlassian, asana, linear, notion
Designfigma
Infrastructurevercel, firebase, supabase
Communicationslack
Monitoringsentry

These examples are listed in the current official marketplace documentation. citeturn0view0

13. Security Guidance Plugin

The official marketplace includes a security-guidance plugin that reviews changes Claude makes for common vulnerabilities and instructs Claude to fix issues it finds in the same session. citeturn0view0

Security principle: Plugins can contain code, MCP servers, hooks, and other components. Installing a plugin means giving its components a place in your Claude Code environment. Review and trust the source before installing.

14. Development Workflow Plugins

PluginPurpose
commit-commandsGit commit, push, and PR workflows.
pr-review-toolkitSpecialized pull-request review agents.
agent-sdk-devTools for building with the Claude Agent SDK.
plugin-devToolkit for creating your own plugins.

15. Output Style Plugins

PluginPurpose
explanatory-output-styleEducational insights into implementation choices.
learning-output-styleInteractive learning mode for skill building.

16. Community Marketplace

The community marketplace is separate from the official Anthropic marketplace. The current docs identify anthropics/claude-plugins-community as the community marketplace and say its third-party plugins have passed Anthropic's automated validation and safety screening. Plugins are pinned to a specific commit SHA in the catalog. citeturn0view0

/plugin marketplace add anthropics/claude-plugins-community

Then install using the marketplace name:

/plugin install <plugin-name>@claude-community
Difference: Official marketplace = curated by Anthropic. Community marketplace = third-party plugins that passed the documented screening process, but you should still review each plugin and its source.

17. Demo Marketplace

Anthropic also maintains a demo marketplace called claude-code-plugins that demonstrates what the plugin system can do.

/plugin marketplace add anthropics/claude-code

Then:

/plugin

Open Discover and browse its example plugins.

18. Install a Plugin from the Demo Marketplace

/plugin install commit-commands@claude-code-plugins

After installation, the plugin can expose namespaced Skills such as:

/commit-commands:commit

Plugin commands are namespaced by plugin name, helping prevent conflicts between different plugins. citeturn0view0

19. Why Plugin Namespaces Matter

Standalone SkillPlugin Skill
/review/my-plugin:review
Can collide with another project Skill.Plugin name separates it from other plugins.
Best for local/project customization.Best for reusable distribution.

20. Add a Marketplace from GitHub

A GitHub marketplace is referenced using owner/repo format and must contain a marketplace catalog such as .claude-plugin/marketplace.json.

/plugin marketplace add anthropics/claude-code

General pattern:

/plugin marketplace add your-org/your-marketplace

21. Add a Marketplace from Other Git Hosts

Claude Code can add marketplaces from Git URLs, including GitLab, Bitbucket, and self-hosted Git repositories.

/plugin marketplace add https://git.example.com/team/claude-plugins.git

22. Add a Marketplace from a Local Path

For local development you can point Claude Code to a directory or a direct marketplace.json path.

/plugin marketplace add ./my-marketplace

23. Add a Marketplace from a Remote URL

You can also provide a direct URL to a hosted marketplace.json file.

/plugin marketplace add https://example.com/marketplace.json
SourceExample
GitHubowner/repo
Git URLhttps://git.example.com/team/repo.git
Local./my-marketplace
Remote JSONhttps://example.com/marketplace.json

24. Marketplace Command Shortcuts

Claude Code supports shorter aliases:

/plugin market add owner/repo
/plugin market rm marketplace-name

market can be used instead of marketplace, and rm instead of remove. citeturn0view0

25. Install Plugins from the CLI

/plugin install plugin-name@marketplace-name

User scope is the default for direct installs.

For explicit CLI scope commands supported by current versions:

claude plugin install formatter@your-org --scope project
claude plugin uninstall formatter@your-org --scope project

26. Manage Installed Plugins

Open:

/plugin

Then go to Installed. You can filter, inspect, enable, disable, uninstall, and favorite plugins.

Direct commands:

/plugin disable plugin-name@marketplace-name
/plugin enable plugin-name@marketplace-name
/plugin uninstall plugin-name@marketplace-name

27. Enable, Disable, Uninstall — Difference

ActionMeaning
EnableActivate a previously disabled plugin.
DisableTurn it off without deleting its installation.
UninstallRemove the plugin.

28. Reload Plugins Without Restarting

After installing, enabling, or disabling a plugin, Claude Code can apply the change with:

/reload-plugins

Current versions may automatically run reload after installation when the install summary requests it. If reload warns that the next message would re-read the conversation, use:

/reload-plugins --force

Reloading can show counts for plugins, Skills, agents, hooks, plugin MCP servers, and plugin LSP servers. citeturn0view0

29. Marketplace Management

Use the Marketplaces tab to add, remove, or update marketplaces.

/plugin

Then select Marketplaces.

30. Auto-Updates

Marketplace auto-update behavior depends on marketplace type. The current docs say official Anthropic marketplaces have auto-update enabled by default, while third-party and local development marketplaces have it disabled by default.

You can manage auto-update from:

/plugin → Marketplaces → Select marketplace

There are also environment variables for global update behavior:

export DISABLE_AUTOUPDATER=1

To keep plugin auto-updates while disabling Claude Code's own updater:

export DISABLE_AUTOUPDATER=1
export FORCE_AUTOUPDATE_PLUGINS=1

31. Team Marketplaces

Teams can configure additional known marketplaces in project .claude/settings.json.

{
  "extraKnownMarketplaces": {
    "my-team-tools": {
      "source": {
        "source": "github",
        "repo": "your-org/claude-plugins"
      }
    }
  }
}

When team members trust the repository, Claude Code can prompt them to install configured marketplaces/plugins. citeturn0view0

32. Project Plugins vs User Plugins

User installationProject installation
For you across projects.For repository collaborators.
Good for personal productivity.Good for team standards.
Not necessarily shared.Can be represented in project configuration.

33. Plugin Security

Claude Code's current documentation explicitly warns that Anthropic does not control what MCP servers, files, or other software are included in plugins and cannot verify that they work as intended. Trust the plugin before installing it. citeturn0search0

Security checklist:
  • Know who maintains the marketplace.
  • Inspect the plugin's homepage/source.
  • Review the “Will install” list.
  • Check MCP servers and hooks.
  • Consider the installation scope.
  • Avoid installing unknown plugins in sensitive repositories.

34. Plugin Cache & File References

Installed plugins are copied into a cache. Paths in a plugin that reference files outside the plugin directory may therefore fail after installation.

Plugin design rule: Keep files a plugin needs inside its plugin directory and reference them using the plugin's own root rather than assuming an external filesystem location.

35. Troubleshooting — /plugin Not Recognized

  1. Update Claude Code to the latest version.
  2. If the terminal environment does not expose /plugin, use the plugin browser in the Claude desktop app when available.
  3. For cloud sessions, configure plugins through supported settings such as enabledPlugins.

36. Troubleshooting — Marketplace Not Found

If the official marketplace cannot be found:

/plugin marketplace add anthropics/claude-plugins-official

Then retry installation.

37. Troubleshooting — Plugin Not Found

  • Check the exact plugin name.
  • Confirm the marketplace was added.
  • Update the marketplace catalog.
  • Check the Errors tab.

38. Troubleshooting — Skill Not Appearing

If a plugin installs but its Skills do not appear, current documentation suggests clearing the plugin cache and restarting/reinstalling in appropriate troubleshooting cases:

rm -rf ~/.claude/plugins/cache
Careful: Do not run destructive cleanup commands blindly. Confirm the path and understand that this removes cached plugin data.

39. Troubleshooting — Code Intelligence

ProblemWhat to check
Executable not foundInstall the required language-server binary and ensure it is on $PATH.
Language server not startingCheck the plugin Errors tab and binary availability.
High memory usageLarge language servers can consume significant memory; disable the plugin if necessary.
Monorepo false positivesCheck workspace/package configuration.

40. Example — Java Spring Boot Developer

If you work on Spring Boot, a Java LSP plugin can provide language-server intelligence once jdtls is installed and available.

/plugin
→ Discover
→ Java / jdtls-lsp
→ Review
→ Install

The plugin can help Claude navigate definitions/references and receive Java diagnostics after edits, subject to the environment and language-server behavior. citeturn0view0

41. Example — Next.js Developer

For TypeScript/JavaScript projects, the TypeScript LSP plugin can provide language-server intelligence when the required binary is installed.

/plugin
→ Discover
→ TypeScript / typescript-lsp
→ Install

42. Example — GitHub Workflow

/plugin install github@claude-plugins-official

A plugin can bundle an MCP connection so Claude can work with the external service without you manually configuring that MCP server. citeturn0view0

43. Marketplace vs Plugin

QuestionAnswer
“Where can I find extensions?”Marketplace.
“What do I install?”Plugin.
“Can I add a marketplace without installing plugins?”Yes.
“Can one marketplace contain many plugins?”Yes.
“Can plugins contain multiple capabilities?”Yes.

44. Marketplace vs Skills

SkillPluginMarketplace
Reusable instruction/workflow.Package of capabilities.Catalog of plugins.
SKILL.mdPlugin directory/manifest.marketplace.json catalog.
Can be standalone.Can contain Skills, agents, hooks, MCP, LSP.Lets users discover/install plugins.

45. Marketplace vs MCP

MCP is a protocol for connecting Claude to external tools/data. A plugin can bundle an MCP server so installation becomes simpler.

MarketplacePluginMCP serverExternal service

46. Plugin Discovery Checklist

Before install

  • Trust source?
  • What components?
  • Context cost?
  • Last updated?

During install

  • Choose correct scope.
  • Review install summary.
  • Check dependencies.

After install

  • Reload if required.
  • Test one capability.
  • Check Errors tab.

For teams

  • Use Project scope.
  • Configure known marketplaces.
  • Document expected commands.

47. Common Mistakes

MistakeWhy it is a problemBetter approach
Thinking add marketplace installs everythingMarketplace only registers the catalog.Install individual plugins.
Installing without reviewing componentsPlugin may add MCP, hooks, agents, etc.Inspect “Will install”.
Ignoring installation scopePlugin may be visible more broadly than intended.Choose User/Project/Local deliberately.
Forgetting reloadInstalled component may not be active immediately.Run /reload-plugins when required.
Missing LSP binaryPlugin cannot start its language server.Install the required binary on PATH.
Trusting unknown pluginsPlugins can contain executable components.Review source and permissions.
Using wrong marketplace nameInstallation command fails.Check marketplace and plugin names.

48. Quick Mental Map

MarketplacePlugin catalogDiscoverInspectInstall scopeReloadUse namespaced Skill/tool

49. Interview Questions

  1. What is a Claude Code plugin?
  2. What is a plugin marketplace?
  3. What happens when you add a marketplace?
  4. Does adding a marketplace install plugins automatically?
  5. How do you open the plugin manager?
  6. What are the Discover, Installed, Marketplaces, and Errors tabs?
  7. What is the difference between User, Project, and Local scope?
  8. What does a code intelligence plugin provide?
  9. Why must the LSP binary be installed separately?
  10. What is the difference between an LSP plugin and an MCP integration plugin?
  11. What is a community marketplace?
  12. Why are plugin Skills namespaced?
  13. How do you install a plugin from the CLI?
  14. How do you disable vs uninstall a plugin?
  15. Why use /reload-plugins?
  16. How do marketplace auto-updates work?
  17. How can teams configure extra known marketplaces?
  18. Why should you review a plugin before installing it?
  19. How do you troubleshoot a missing LSP executable?
  20. What is the difference between marketplace, plugin, Skill, and MCP?

50. Practice Exercises

  • Add the official Anthropic marketplace.
  • Open /plugin and inspect Discover.
  • Install a harmless development plugin at User scope.
  • Install a project plugin and inspect the resulting project configuration.
  • Disable and re-enable a plugin.
  • Uninstall a test plugin.
  • Run /reload-plugins.
  • Add the community marketplace.
  • Add a local marketplace directory.
  • Install a Java LSP plugin after installing its language server.
  • Inspect a plugin's “Will install” components.
  • Create a team marketplace configuration with extraKnownMarketplaces.
  • Compare a Skill-only plugin with an MCP integration plugin.

51. Final Cheat Sheet

TaskCommand / concept
Open plugin manager/plugin
Add marketplace/plugin marketplace add owner/repo
Add official marketplace/plugin marketplace add anthropics/claude-plugins-official
Install plugin/plugin install name@marketplace
Disable/plugin disable name@marketplace
Enable/plugin enable name@marketplace
Uninstall/plugin uninstall name@marketplace
Reload/reload-plugins
Force reload/reload-plugins --force
Marketplace shortcut/plugin market
Remove shortcut/plugin market rm
Official marketplaceclaude-plugins-official
Community marketplaceclaude-community
Plugin Skill example/commit-commands:commit
GOLDEN RULE: Marketplace = catalog → Plugin = extension → Discover = inspect → Scope = decide who gets it → Install → Reload → Use.

52. Final Takeaway

Claude Code plugins solve the problem of repeatedly building or configuring the same capabilities. Instead of manually setting up Skills, agents, hooks, MCP servers, or LSP integrations one by one, you can discover a packaged plugin through a marketplace, inspect what it adds, choose the right installation scope, install it, reload Claude Code, and use its capabilities.

Think of it like an App Store for Claude Code:
Marketplace = App Store   |   Plugin = App   |   Skill/Agent/MCP/LSP = Features inside the App