Claude Code 插件(命令、钩子、代理、技能、MCP 和捆绑包)的开源市场,采用标准 Claude 插件布局。
概览
Claude Code 插件(命令、钩子、代理、技能、MCP 和捆绑包)的开源市场,采用标准 Claude 插件布局。 - .claude-plugin/marketplace.json — 所有插件目录(由插件/重新生成) - 插件/ — 按类型作用范围的实际插件:- 命令/ — 斜杠命令插件 - hooks/ — 带钩子/hooks.json的事件钩子插件 - agents/ — 子代理插件 - skills/ — 代理技能与 SKILL.md - mcp/ — MCP 服务器插件(.mcp.json) - bundles/ — 多组件捆绑包 - 脚本/generate-marketplace.js — 从 manifests 重建市场目录 1)更改后安装或更新目录: 2)本地添加市场并安装插件(从仓库根目录用Claude代码): 每个插件都存在于 plugins/,目录在 .claude-plugin/plugin.json,组件目录在插件根(不在 .claude-plugin/ 内)。 添加文件后,运行节点脚本/generate-marketplace.js刷新marketplace.json。 - 清单:。
概述(AI 翻译)
Claude Code 插件(命令、钩子、代理、技能、MCP 和捆绑包)的开源市场,采用标准 Claude 插件布局。
里面是什么
.claude-plugin/marketplace.json— 所有插件目录(由plugins/重生成)plugins/— 按类型作用域的实际插件:commands/— 斜杠命令插件hooks/— 带有[[T5]的事件钩子插件]agents/— 子代理插件skills/— 特工技能SKILL.mdmcp/— MCP 服务器插件([.mcp.json)bundles/— 多组分丛scripts/generate-marketplace.js— 从清单重建市场目录
快速开始
1)更改后安装或更新目录:
2)本地添加市场并安装插件(从仓库根目录用Claude代码):
3)验证清单(可选):
添加新插件
每个插件都存在于 plugins/ / /,清单在 .claude-plugin/plugin.json,组件目录在插件根(不在 .claude-plugin/)内)。
最小的清单示例:
添加文件后,运行 node scripts/generate-marketplace.js 刷新 marketplace.json。
大会
- 清单:'.claude-plugin/plugin。
本页由 AI 翻译,技术细节请以原文为准。
README
ClaudeSmith Marketplace
Open-source marketplace of Claude Code plugins (commands, hooks, agents, skills, MCPs, and bundles) in the standard Claude plugin layout.
What’s inside
.claude-plugin/marketplace.json— catalog of all plugins (regenerated fromplugins/)plugins/— actual plugins scoped by type:commands/— slash command pluginshooks/— event hook plugins withhooks/hooks.jsonagents/— subagent pluginsskills/— Agent Skills withSKILL.mdmcp/— MCP server plugins (.mcp.json)bundles/— multi-component bundles
scripts/generate-marketplace.js— rebuilds the marketplace catalog from manifests
Quick start
- Install or update the catalog after changes:
node scripts/generate-marketplace.js
- Add the marketplace locally and install a plugin (from repo root in Claude Code):
/plugin marketplace add ./
/plugin install dev-docs@claudesmith-marketplace
- Validate manifests (optional):
claude plugin validate .
Adding a new plugin
Each plugin lives under plugins/// with a manifest at .claude-plugin/plugin.json and component directories at the plugin root (not inside .claude-plugin/).
Minimal manifest example:
{
"name": "my-plugin",
"version": "0.1.0",
"description": "What this plugin does",
"author": { "name": "Your Name" },
"license": "MIT",
"keywords": ["team", "feature"]
}
After adding files, run node scripts/generate-marketplace.js to refresh marketplace.json.
Conventions
- Manifests:
.claude-plugin/plugin.jsonrequired; keep paths relative; use${CLAUDE_PLUGIN_ROOT}in scripts/hooks. - Hooks: config in
hooks/hooks.json; scripts inscripts/and executable. - Skills:
skills//SKILL.mdwith frontmatter. - MCP:
.mcp.jsonormcpServersin manifest; commands may usenpxor bundled binaries. - Tags: set
keywordsinplugin.json; generator merges category + keywords into marketplace tags.
Current plugins (by category)
- Commands: dev-docs
- Hooks: tsc-check, post-tool-use-tracker, skill-activation-prompt, trigger-build-resolver
- Agents: code-refactor-master
- Skills: frontend-development, skill-optimizer, skill-developer
- MCP: next-devtools, shadcn
- Bundles: next-project-starter
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add jnlei/claude-tools