skill-composer-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@skill-composer-mcp compare 'code-review' and 'test-gen' skills"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Skill Composer MCP — 介绍
这是什么
一个本地运行的 AI 技能组合器。它能读取、分析、对比和组合多个 SKILL.md 技能文件,让不同的 AI 技能像乐高积木一样拼接使用。
核心原则:所有原始技能文件只读不写,永不污染源文件。
Related MCP server: Mother MCP Skills
关键内容
13 个 MCP 工具
工具 | 一句话说明 |
| 首次使用配置技能目录 |
| 列出/搜索所有技能 |
| 六维分析(速度/准确度/鲁棒性/输出质量/提示策略/工具使用)+ 逆向工程 |
| 两个技能差异对比 + 六维雷达图 |
| 组合技能(diff/temp/persist/dry-run) |
| AI 自动推荐最佳组合方案 |
| 模板管理 |
| 搜索模式库(成功率/分类/标签) |
| 进化分析(六维差异 + 路线图) |
| 逐维度渐进注入,一步一确认 |
| 注入步骤决策 |
| 手动热加载配置 |
六维评估框架
每个技能从 6 个维度打分(0-10),生成雷达图:
speed ─ 执行效率与性能
accuracy ─ 校验与精确度
robustness ─ 错误处理与容错
output_quality ─ 输出结构化与可读性
prompt_strategy─ 提示词设计策略
tool_usage ─ 工具调用与编排模式库
从技能中自动提取可复用设计模式,持久化到 ~/.composed_skills/pattern-library.json,追踪每次使用的成功/失败和生命周期。
使用方法
1. 安装
git clone https://github.com/K-Host/skill-composer-mcp.git
cd skill-composer-mcp
uv sync2. 配置 MCP 客户端
在 opencode.json 或 MCP 客户端配置文件中添加:
{
"mcp": {
"skill-composer": {
"type": "local",
"command": ["uv", "run", "python", "-m", "skill_composer_mcp"],
"enabled": true
}
}
}3. 首次引导
启动后调用 configure_skills 告诉工具去哪找你的技能文件:
configure_skills(skill_paths=[
"~/.config/opencode/skills",
"./skills"
])4. 在对话中使用
配置完成后直接说:
"列出所有技能"
"分析一下 xxx 技能"
"对比 A 和 B"
"把 A 和 B 组合起来"
融合方法参考
本项目六维评估框架、模式库提取、渐进式注入等核心技术受 Taotie Skill 启发。Taotie 是一套开源的技能进化框架,提供了技能质量评估、模式复用和持续优化的完整方法论,推荐参考。
项目结构
├── 介绍.md ← 本文档
├── opencode.json ← MCP 客户端配置
├── pyproject.toml ← 项目依赖
├── src/
│ └── skill_composer_mcp/
│ ├── server.py # MCP 协议层(13 个工具)
│ ├── config.py # 配置 + 热加载
│ ├── models.py # 数据模型
│ └── core/
│ ├── skill_loader.py # 技能扫描
│ ├── skill_parser.py # 技能解析
│ ├── skill_analyzer.py # 六维分析 + 逆向工程
│ ├── skill_composer.py # 组合引擎 + 渐进注入
│ ├── pattern_library.py # 持久化模式库
│ ├── security_guard.py # 安全沙箱
│ ├── template_manager.py # 模板管理
│ └── llm_factory.py # LLM 封装
├── skills/ ← 自定义技能目录
└── examples/ ← 示例技能Available Tools
15 toolsanalyze_evolutionC
逆向进化分析:对比两个技能的六维评分差异,生成逐步进化路线图。自动从源技能提取模式存入模式库。
Inputs: base_skill (required), source_skill (required), include_pattern_extraction.
analyze_skillB
深度分析指定技能。提取能力模块、技术栈、设计模式等。
Inputs: skill_name (required).
approve_stepA
批准渐进式注入的某个步骤。接收 progressive_inject 返回的 plan_json 和 step_index。
Inputs: plan_json (required), step_index (required).
compare_skillsA
对比两个技能的差异。输出共同能力、独有能力、改进点和建议优先级。
Inputs: base_skill (required), candidate_skill (required).
compose_skillsC
组合多个技能。支持diff模式(仅差异清单)、temp模式(临时返回)、persist模式(持久保存)、dry-run预演。
Inputs: base (required), additions (required), dry_run, output_mode, +1 more.
configure_skillsA
配置技能目录路径。第一次使用时必须调用此工具指定技能文件所在目录。保存后会写入配置文件并自动热加载。
Inputs: skill_paths (required).
list_skillsB
列出所有本地技能,支持模糊搜索。返回技能名称、路径和哈希。
Inputs: query.
list_templatesA
列出所有已保存的组合模板。
Inputs: no named parameters.
load_templateB
加载已保存的组合模板。
Inputs: template_name (required).
progressive_injectB
渐进式注入:将源技能的维度能力逐步注入基础技能。一次一个维度,每个步骤需要用户确认(approve/reject)。
Inputs: base (required), source (required), output_mode, step_filter.
recommend_comboB
根据任务描述自动推荐最佳技能组合。支持本地Ollama模型和云端LLM。
Inputs: task (required), llm_provider.
reject_stepA
拒绝渐进式注入的某个步骤。接收 progressive_inject 返回的 plan_json 和 step_index。
Inputs: plan_json (required), step_index (required).
reload_configA
重新加载配置文件(热加载)。适用于手动修改 ~/.skill-composer/config.yaml 后同步到运行中的服务。
Inputs: no named parameters.
save_templateC
保存常用组合为模板,便于后续一键复用。
Inputs: additions (required), base_skill (required), template_name (required), description.
search_patternsC
搜索模式库。从已分析技能中提取的复用模式支持搜索、分类和成功率追踪。
Inputs: tags, limit, query, category, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Each tool has a clearly distinct purpose: analysis, comparison, composition, progressive injection with approval workflow, template management, pattern search, and configuration. No overlap or ambiguity.
All tools follow a consistent verb_noun snake_case pattern (e.g., analyze_evolution, compare_skills, list_templates). The pattern is uniform and predictable.
15 tools cover the domain of skill composition and analysis comprehensively without being excessive. Each tool serves a necessary function in the workflow.
The tool set covers listing, analysis, comparison, composition, progressive injection, template management, pattern search, and configuration. Minor gap: no explicit delete operation for templates or skills, but this is acceptable for the intended use.
Maintenance
Related MCP Connectors
Agent skills for Claude, Codex and Cursor: find, install and load skills from one connector.
Search, install and compose AI agent skills, loops and bundles from the LoopSkill marketplace.
Find AI agent skills: public previews and source links. Read-only discovery; no account required.
Agent-first skill marketplace with USK open standard for Claude, Cursor, Gemini, Codex CLI.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to dynamically discover and execute tools through a structured skills system. Serves as a documentation hub where skills are defined in directories, allowing progressive loading and interpretation of capabilities.MIT
- AlicenseNot gradedqualityBmaintenanceAutomatically discovers and installs AI skills for your project's tech stack, supporting Claude, Copilot, Codex, and other MCP-compatible agents.13 npm4MIT
- AlicenseNot gradedqualityDmaintenanceEnables coding agents to search, recommend, and validate a stack of reusable skills from a local catalog, producing deterministic plans without modifying the project.1MIT
- AlicenseAqualityDmaintenanceIndexes installed SKILL.md files and provides deterministic search and recommendation tools to help AI agents select relevant skills without executing them.425 npm1MIT