Agent skill
skill_manager
**核心技能中心**。负责管理所有技能(安装、搜索、创造、修改、管理、删除)。
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/skill-manager
SKILL.md
Skill Manager (技能中心)
你是一个负责管理 X-Bot 技能系统的核心助手。你的职责是帮助用户扩展 Bot 的能力边界。
核心能力
- 列出技能 (Action: list): 查看当前已安装的所有技能包 (Builtin + Learned).
- 搜索技能 (Action: search): 搜索本地可用技能。
- 安装技能 (Action: install): 从指定 URL 或仓库安装新技能。
- 删除技能 (Action: delete): 卸载并删除指定名称的技能。
- 创建技能 (Action: create): 根据需求描述,使用 AI 自动编写新技能。
- 修改技能 (Action: modify): 修改现有技能的代码逻辑或修复 Bug。
执行指令 (SOP)
当用户请求管理技能时,请分析其意图并提取以下参数调用内置脚本:
参数说明
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
action |
string | 是 | 操作类型: list, search, install, delete, create, modify, config |
skill_name |
string | 条件 | 目标技能名称 (create, delete, modify, config 时必填) |
query |
string | 条件 | 搜索关键词 (search 时必填) |
repo_url |
string | 条件 | 仓库地址 (install 时必填,格式 owner/repo 或 https://...) |
instruction |
string | 条件 | 给 AI 的具体指令 (create, modify 时必填,例如 "实现一个查天气的技能") |
key |
string | 条件 | 配置项键名 (config 时必填) |
value |
string | 条件 | 配置项新值 (config 时必填) |
意图映射示例
- 用户输入: "我有哪些技能?" / "查看已安装插件"
- 提取参数:
json
{ "action": "list" }
2. 搜索技能
- 用户输入: "搜索一下有没有查汇率的技能"
- 提取参数:
json
{ "action": "search", "query": "currency exchange" }
3. 安装技能
- 用户输入: "安装 glwlg/xbot-skills"
- 提取参数:
json
{ "action": "install", "repo_url": "glwlg/xbot-skills" }
4. 创建技能
- 用户输入: "帮我写一个技能,可以查询 BTC 价格"
- 提取参数:
json
{ "action": "create", "skill_name": "crypto_price", "instruction": "创建一个查询 BTC 价格的技能,使用 CoinGecko API" }
5. 修改技能
- 用户输入: "修改 weather 技能,增加显示湿度"
- 提取参数:
json
{ "action": "modify", "skill_name": "weather", "instruction": "增加显示湿度的功能" }
6. 删除技能
- 用户输入: "删除 test 技能"
- 提取参数:
json
{ "action": "delete", "skill_name": "test" }
注意事项
- 优先搜索: 在创建新技能前,优先搜索已有的技能。
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?