本文由 AI 分析生成
建立時間: 2026-05-30 來源: https://x.com/YukerX/status/2012013846286745675
Summary
A Chinese-language deep-dive into Claude Code’s Plugin system, framing Claude Code not as a tool but as a platform (analogous to iOS/Android). Plugins bundle Skills, Commands, MCP servers, Hooks, and Sub-agents into installable “apps” that can be shared across teams. The article walks through connecting to the official Anthropic marketplace, installing plugins, verifying installation, and creating custom plugins from scratch with a defined file structure (plugin.json + component files).
中文深度教學,將 Claude Code 定位為開放平台(類比 iOS/Android),Plugin 是平台上的「APP」。Plugin 可打包 Skills、Commands、MCP 伺服器、Hooks 和子代理,支援跨團隊分享與交接,比單獨的 Skills 更便捷。
Key Points
- Plugin = bundled package of Skills + Commands + Hooks + Sub-agents + MCP servers; Marketplace = the app store
- Install from official marketplace:
/plugin marketplace add anthropics/claude-codethen/plugin install name@org - Plugin file structure:
plugin.json(metadata) +commands/,skills/,hooks/,agents/,mcp/directories - Key advantage over standalone Skills: plugin transfer between teammates is atomic — one install gets all components
- Verification: after install, type
/in chat to see if new commands appear; check for MCP connectivity separately - Creating custom plugins mirrors the structure of existing ones — start by examining installed plugin file trees
Insights
The reframing of Claude Code as a “platform” rather than a “tool” is conceptually important for teams: it shifts the mental model from “individual prompts/scripts” to “shared capabilities that can be versioned and distributed.” The package bundling solves the practical problem that teams face when sharing complex workflows — previously, sharing a sophisticated Claude Code setup required manually copying multiple files across CLAUDE.md, skills/, agents/, and settings.json. Plugin packaging makes this a one-command operation.
Connections
Raw Excerpt
在团队合作中,Plug-In的转移与交接会比Skills来得更加方便和彻底!