hyls9527/dsh-plugins--packages-skill-curator ↗★ 0
@hyls9527/dsh-skill-curator
Skill lifecycle curation for DeepSeek Harness: automatic usage tracking plus a skill_curator tool that reports staleness and archives or restores user skills.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hyls9527/dsh-plugins#7d0513bce3c267dc4f50429b1389ac8df114b137&path:packages/skill-curator说明文档
阅读完整 README ↗@hyls9527/dsh-skill-curator
English | 中文
面向 DeepSeek Harness 的技能生命周期策展插件:自动追踪 skill 工具的使用情况,并提供面向模型的 skill_curator 工具来查看使用与过时状态、归档或恢复用户技能。hermes-agent 技能策展循环(agent/curator.py)的最小移植:使用追踪 + 显式生命周期动作。
功能
- 通过
tools/result通知观察每次skill工具调用,按技能名记录到一份 JSON 使用文档(原子写入、跨进程锁、进程内写队列)。 skill_curator工具提供三个动作:report— 列出用户技能根目录下的每个技能:使用次数、最后使用日期与推导状态(stale=staleAfterDays天内未使用,默认 21),外加已归档列表。archive— 把某个技能目录移出活跃目录、放进归档根目录,不再占用提示词 token;使用历史保留。restore— 移回来。
- 只动用户技能根目录(默认
$DSH_HOME/skills);技能名经过路径穿越与点目录校验。项目内与内置技能永远不会被移动。
安装
dsh plugin --profile web add @hyls9527/dsh-skill-curator
本包是 dsh bundle:dsh plugin 会把它列进 profile 的 dsh.profile.bundles,其 cordis.patch.yml 负责插入插件行。任何字段都可以在 profile 自己的 cordis.patch.yml 中按 id 覆盖。
配置
| 字段 | 默认 | 含义 |
|---|---|---|
staleAfterDays | 21 | 多少天未使用即视为过时。 |
skillsDir | $DSH_HOME/skills | 被策展的用户技能根目录。 |
archiveDir | $DSH_HOME/skill-archive | 归档目录(在技能根目录之外,目录扫描看不到)。 |
usageFile | $DSH_HOME/skill-curator/usage.json | 使用文档路径。 |