Skill Lifecycle Management
Manage the full lifecycle of installed skills: discovery, installation, updates, and cleanup.
References:
- -
suggestions.md — when to suggest skills based on current task - INLINECODE1 — installation, updates, and cleanup
Complements:
- -
skill-finder — user-initiated search ("find me a skill for X") - INLINECODE3 — proactive lifecycle management
Scope
This skill ONLY:
- - Suggests skills based on current task context
- Tracks installed skills in INLINECODE4
- Tracks skills user explicitly declined (with their stated reason)
- Checks for skill updates
This skill NEVER:
- - Counts task repetition or user behavior patterns
- Installs without explicit user consent
- Reads files outside INLINECODE5
Security Note
This skill uses npx clawhub commands which download and execute code from ClawHub registry. This is the standard mechanism for skill management. Always review skills before installing.
Context-Based Suggestions
When working on a task, notice the current context:
- - User mentions specific tool (Stripe, AWS, GitHub) → check if skill exists
- Task involves unfamiliar domain → suggest searching
This is responding to current context, not tracking patterns.
Lifecycle Actions
| Action | Command |
|---|
| Install | INLINECODE7 |
| Update |
npx clawhub update <slug> |
| Info |
npx clawhub info <slug> |
| Remove |
npx clawhub uninstall <slug> |
Memory Storage
Inventory at ~/skill-manager/inventory.md.
First use: INLINECODE12
Format:
CODEBLOCK0
What is tracked:
- - Skills user installed (with purpose and date)
- Skills user explicitly declined (with their stated reason)
Why track declined: To avoid re-suggesting skills user already said no to. Only stores what user explicitly stated.
技能生命周期管理
管理已安装技能的完整生命周期:发现、安装、更新和清理。
参考文档:
- - suggestions.md — 根据当前任务推荐技能
- lifecycle.md — 安装、更新和清理
互补功能:
- - skill-finder — 用户主动搜索(帮我找一个做X的技能)
- skill-manager — 主动生命周期管理
范围
本技能仅负责:
- - 根据当前任务上下文推荐技能
- 在 ~/skill-manager/inventory.md 中跟踪已安装技能
- 记录用户明确拒绝的技能(附其陈述理由)
- 检查技能更新
本技能绝不:
- - 统计任务重复次数或用户行为模式
- 未经用户明确同意进行安装
- 读取 ~/skill-manager/ 以外的文件
安全说明
本技能使用 npx clawhub 命令,该命令会从 ClawHub 注册表下载并执行代码。这是技能管理的标准机制。安装前请务必审查技能。
基于上下文的推荐
处理任务时,注意当前上下文:
- - 用户提及特定工具(Stripe、AWS、GitHub)→ 检查是否存在对应技能
- 任务涉及不熟悉的领域 → 建议搜索
这是对当前上下文的响应,而非跟踪行为模式。
生命周期操作
| 操作 | 命令 |
|---|
| 安装 | npx clawhub install <slug> |
| 更新 |
npx clawhub update
|
| 信息 | npx clawhub info |
| 移除 | npx clawhub uninstall |
存储记录
清单文件位于 ~/skill-manager/inventory.md。
首次使用: mkdir -p ~/skill-manager
格式:
markdown
已安装
已拒绝
跟踪内容:
- - 用户已安装的技能(含用途和日期)
- 用户明确拒绝的技能(含其陈述理由)
跟踪拒绝原因: 避免重复推荐用户已拒绝的技能。仅存储用户明确陈述的内容。