Scans installed skills for duplicates and naming conflicts. Detects similar skills that may cause model confusion. Use before publishing new skills or when troubleshooting trigger conflicts. Supports English and Chinese (auto-detect or --lang flag).
技能名称: skill-dedup-scanner
详细描述:
检测可能导致模型混淆的重复或相似技能。
bash
bash
| 选项 | 简写 | 描述 | 默认值 |
|---|---|---|---|
| --lang | -l | 语言:en, zh, auto | auto |
| --threshold |
生成包含以下内容的详细报告:
| 评分 | 级别 | 操作 |
|---|---|---|
| > 0.85 | 🔴 高 | 考虑合并或重命名 |
| 0.7-0.85 |
bash
$ python3 scripts/main.py ~/.openclaw/workspace/skills/
🔍 扫描目录:/home/user/.openclaw/workspace/skills
📦 技能总数:15
✅ 未发现重复技能
所有技能均具有独特的名称和描述。无需优化。
bash
$ python3 scripts/main.py ~/.openclaw/workspace/skills/ --threshold 0.6
🔍 扫描目录:/home/user/.openclaw/workspace/skills
📦 技能总数:15
⚠️ 发现 2 组相似技能
技能 A: tushare-finance
技能 B: stock-analyzer
相似度评分: 85%
分析:
建议:
skill-dedup-scanner/
├── scripts/
│ ├── main.py # 主入口
│ ├── skill_scanner.py # 技能扫描器
│ ├── similarity_checker.py # 相似度计算器
│ ├── report_generator.py # 报告生成器
│ └── locale_loader.py # 多语言支持
├── locales/
│ ├── en.json # 英文翻译
│ └── zh.json # 中文翻译
├── references/
│ └── best_practices.md # 技能命名最佳实践
└── output/ # 生成的报告
MIT
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 skill-dedup-scanner-1776191585 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 skill-dedup-scanner-1776191585 技能
skillhub install skill-dedup-scanner-1776191585
文件大小: 12.51 KB | 发布时间: 2026-4-17 16:08