Skill Recommender
Use this skill to recommend the best matching skills from an existing skill collection.
Default workflow
- 1. Identify the user's target intent:
- exact function
- adjacent use case
- duplicate/overlap check
- best skill recommendation
- 2. Scan available skills from a given directory.
- Match by:
- name
- description
- keywords
- domain words
- 4. Group similar skills into clusters when needed.
- Return a ranked recommendation with reasons.
Use the bundled scripts
1. Recommend similar skills
Use
scripts/recommend_skills.js when the user gives a query such as:
- - “找同类 skill”
- “有没有类似的 skill”
- “这些 skill 哪个更适合”
- “帮我筛选同功能的 skills”
Example:
CODEBLOCK0
2. Cluster related skills
Use
scripts/cluster_skills.js when the user wants a grouped view of similar skills, duplicates, or overlapping categories.
3. Avoid duplicate skill development
Use
scripts/check_skill_dedup.js when the user is about to build a new skill and wants to know:
- - whether similar skills already exist
- whether the request should reuse an existing skill
- whether it is better to extend or merge current skills instead of building a new one
Typical triggers:
- - “这个 skill 会不会重复开发”
- “帮我查重一下 skill”
- “我想做一个新 skill,先看看有没有类似的”
- “这是不是应该复用现有 skill”
Output contract
Default output sections:
- - 目标功能理解
- 推荐 skill
- 推荐理由
- 相近但次优 skill
- 可合并/避免重复开发的 skill
- 下一步建议
Recommendation rules
- - Prefer concrete task fit over keyword overlap.
- Distinguish “direct match” from “adjacent match”.
- If several skills overlap heavily, say so explicitly.
- If a new skill request is already covered by existing skills, recommend reuse before new development.
- If confidence is low, surface the ambiguity.
Read references as needed
- - Read
references/recommendation-rules.md for ranking heuristics. - Read
references/output-schema.md for the output schema. - Read
references/dedup-mode.md when the user wants to avoid duplicate skill development.
技能推荐器
使用此技能从现有技能集合中推荐最匹配的技能。
默认工作流程
- 1. 识别用户的目标意图:
- 精确功能
- 相邻用例
- 重复/重叠检查
- 最佳技能推荐
- 2. 扫描指定目录中的可用技能。
- 通过以下维度进行匹配:
- 名称
- 描述
- 关键词
- 领域词汇
- 4. 必要时将相似技能分组聚类。
- 返回带理由的排序推荐结果。
使用配套脚本
1. 推荐相似技能
当用户提出以下查询时,使用 scripts/recommend_skills.js:
- - “找同类 skill”
- “有没有类似的 skill”
- “这些 skill 哪个更适合”
- “帮我筛选同功能的 skills”
示例:
bash
node scripts/recommend_skills.js {
query: 家庭采购 库存 提醒,
skills_dir: /Users/jianghaidong/.openclaw/workspace/skills,
limit: 8
}
2. 聚类相关技能
当用户需要查看相似技能、重复技能或重叠类别的分组视图时,使用 scripts/cluster_skills.js。
3. 避免重复开发技能
当用户即将构建新技能并希望了解以下信息时,使用 scripts/check
skilldedup.js:
- - 是否已存在相似技能
- 是否应复用现有技能
- 是否更适合扩展现有技能或进行合并,而非构建新技能
典型触发场景:
- - “这个 skill 会不会重复开发”
- “帮我查重一下 skill”
- “我想做一个新 skill,先看看有没有类似的”
- “这是不是应该复用现有 skill”
输出约定
默认输出部分:
- - 目标功能理解
- 推荐 skill
- 推荐理由
- 相近但次优 skill
- 可合并/避免重复开发的 skill
- 下一步建议
推荐规则
- - 优先考虑具体任务匹配度,而非关键词重叠。
- 区分“直接匹配”与“相邻匹配”。
- 若多个技能高度重叠,需明确说明。
- 若新技能请求已被现有技能覆盖,建议复用而非新建。
- 若置信度较低,需明确指出模糊性。
按需阅读参考资料
- - 阅读 references/recommendation-rules.md 了解排序启发式规则。
- 阅读 references/output-schema.md 了解输出模式。
- 当用户希望避免重复开发技能时,阅读 references/dedup-mode.md。