skill-manager
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSkill Manager
Skill管理器
Analyze skill inventory, detect duplicates, and clean up safely across multiple AI coding tools.
分析Skill库存,检测重复项,并在多款AI编码工具中安全清理。
When to Use
使用场景
Use this skill when user wants to:
- Analyze their skill collection
- Find and remove duplicate skills
- Backup skills before cleanup
- List all installed skills
当用户有以下需求时使用本Skill:
- 分析其Skill集合
- 查找并移除重复Skill
- 在清理前备份Skill
- 列出所有已安装的Skill
Example Workflow
示例流程
Example 1: Analyzing Skills
示例1:分析Skill
user: "Analyze my skills"
→ Detect installed tools (Claude Code, OpenCode, etc.)
→ Run: bash scripts/analyze-interactive.sh
→ Show skill count per tool
→ Identify duplicate categories
→ Suggest: "Keep agent-builder, remove skill-creator"user: "分析我的Skill"
→ 检测已安装工具(Claude Code、OpenCode等)
→ 运行:bash scripts/analyze-interactive.sh
→ 显示各工具的Skill数量
→ 识别重复分类
→ 建议:"保留agent-builder,移除skill-creator"Example 2: Cleaning Up Duplicates
示例2:清理重复Skill
user: "Clean up my duplicate skills"
→ Review references/categories.md
→ Show duplicate table:
Category: Agent Creation
- Keep: agent-builder
- Remove: agent-identifier, skill-creator, skill-writer
→ Confirm: "Remove these 3 skills?"
→ Run backup first
→ Execute: npx skills remove -g agent-identifier skill-creator skill-writeruser: "清理我的重复Skill"
→ 查看references/categories.md
→ 显示重复项表格:
分类:Agent Creation
- 保留:agent-builder
- 移除:agent-identifier、skill-creator、skill-writer
→ 确认:"是否移除这3个Skill?"
→ 先执行备份
→ 执行:npx skills remove -g agent-identifier skill-creator skill-writerExample 3: Listing Skills
示例3:列出所有Skill
user: "List all my skills"
→ Detect tool: "Found Claude Code at ~/.claude/skills/"
→ List skills by category:
Agent: agent-builder, planner
Debug: debugging, test-driven-development
Web: react-best-practices, web-frameworksuser: "列出我的所有Skill"
→ 检测工具:"在~/.claude/skills/目录下找到Claude Code"
→ 按分类列出Skill:
Agent:agent-builder、planner
Debug:debugging、test-driven-development
Web:react-best-practices、web-frameworksCommands
命令
Analyze
分析
bash
bash scripts/analyze-interactive.shShows:
- Total skill count per tool
- Duplicate categories
- Removal recommendations
bash
bash scripts/analyze-interactive.sh显示内容:
- 各工具的Skill总数
- 重复分类
- 移除建议
List
列出
bash
bash scripts/skill-manager-cli listbash
bash scripts/skill-manager-cli listBackup
备份
bash
bash scripts/skill-manager-cli backupSaves to:
~/.skill-manager/backups/YYYYMMDD_HHMMSS/bash
bash scripts/skill-manager-cli backup保存至:
~/.skill-manager/backups/YYYYMMDD_HHMMSS/Duplicate Categories
重复分类
Check these groups (see references/categories.md):
Agent Creation - Keep , remove others
Planning - Keep +
Debugging - Keep
MCP - Keep +
Frontend - Keep +
agent-builderplannersubagent-driven-developmentdebuggingmcp-buildermcp-managementreact-best-practicesweb-frameworks检查以下分组(详见references/categories.md):
Agent Creation - 保留,移除其他项
Planning - 保留 +
Debugging - 保留
MCP - 保留 +
Frontend - 保留 +
agent-builderplannersubagent-driven-developmentdebuggingmcp-buildermcp-managementreact-best-practicesweb-frameworksSafety Checklist
安全检查清单
Before removing:
- Run backup:
bash scripts/skill-manager-cli backup - Review references/categories.md
- Verify:
npx skills remove -g [skill-name] - Test after each batch
移除前请确认:
- 执行备份:
bash scripts/skill-manager-cli backup - 查看references/categories.md
- 验证:
npx skills remove -g [skill-name] - 每批操作后进行测试
Detected Tools
支持检测的工具
Auto-detects:
- (Claude Code)
~/.claude/skills/ - (OpenCode)
~/.config/opencode/skills/ - (Cursor)
~/.cursor/skills/ - (GitHub Copilot)
~/.copilot/skills/
自动检测以下工具:
- (Claude Code)
~/.claude/skills/ - (OpenCode)
~/.config/opencode/skills/ - (Cursor)
~/.cursor/skills/ - (GitHub Copilot)
~/.copilot/skills/
Output
输出内容
Generates:
- Skill inventory table
- Category breakdown
- Duplicate comparison
- Safe removal commands
Reports:
~/.skill-manager/reports/生成以下内容:
- Skill库存表格
- 分类明细
- 重复项对比
- 安全移除命令
报告保存至:
~/.skill-manager/reports/