Summary

A hands-on guide to Claude Code’s Plugin system — treating Claude Code not as a tool but as an open platform like iOS/Android, where Plugins are “apps” that bundle Skills, Commands, Hooks, Sub-agents, and MCP servers. Covers how to connect to Anthropic’s official plugin marketplace, install plugins, and build your own from scratch.

一篇 Claude Code 插件系統的實戰指南,將 Claude Code 定位為類似 iOS/Android 的開放平台而非單一工具。插件(Plugin)是打包了技能(Skills)、命令(Commands)、鉤子(Hooks)、子代理(Sub-agent)和 MCP 伺服器的「應用程式」。涵蓋連接官方插件市場、安裝插件、從零開發自訂插件的完整步驟。

Key Points

  • Plugin = packaged bundle of Skills + Commands + Hooks + Sub-agents + MCP servers
  • Marketplace: /plugin marketplace add anthropics/claude-code connects to Anthropic’s official marketplace
  • /plugin → Discover menu for browsing; or install directly: /plugin install name@marketplace
  • 5 plugin components: Commands (explicit triggers like /deploy), Skills (context-triggered), Hooks (event-driven automation), Sub-agents (domain specialists), MCP servers (tool integrations)
  • Plugin transfer is easier than Skills for team handoffs
  • Most users only use ~10% of Claude Code’s capability with default settings

Insights

The platform framing is the key mental model shift: thinking of Claude Code as a closed tool limits what you build, while thinking of it as an extensible platform opens up composable, team-shareable capability bundles. The team handoff argument for Plugins over raw Skills is practical — a Plugin as a unit of capability transfer is more coherent than sharing individual skill files. Hooks (event-driven automation) are the most underexplored component, enabling truly autonomous workflows without human triggers.

Connections

Raw Excerpt

Claude Code 简洁的对话框之下,隐藏着一个庞大而精密的”扩展宇宙”——插件系统。它能让你的 Claude 从一个”听话的工具”进化成一个”懂你的伙伴”。