Self-learning loop for dsh: record lessons, draft and promote skills, periodic curator review that corrects, consolidates, and retires skills.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-plugins-learn
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:kouyichi/dsh-plugins#path:/dsh-learn
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
把 Hermes 的「自我学习 skill + 定期修正/退役总结 skill」(curator 机制)移植到 dsh。
功能
| 工具 | 作用 |
|---|---|
learn_record |
会话中记录经验(纠正/踩坑/偏好/模式/工具)到收件箱 |
learn_draft |
收件箱条目 → 技能草案(learn/drafts/) |
learn_promote |
草案发布 → ~/.dsh/skills/(dsh 自动发现,所有会话可见) |
learn_list |
技能清单 + 生命周期状态(active/stale/archived/draft) |
learn_review |
审查 pass:自动生命周期过渡 + 子代理内容审查(合并/修正/退役建议) |
learn_retire / learn_restore |
主动退役(可恢复)/ 恢复 |
learn_pin / learn_summarize |
钉住技能防自动退役 / 学习总结 |
生命周期(Hermes curator 同款)
active→ 30 天未用标stale→ 90 天未用自动归档(learn_restore可恢复)- pinned 技能永不自动过渡;从未用过的技能有宽限期
- 后台每 6 小时静默跑一次自动生命周期过渡
- 审查默认 dry-run 只出报告;归档可恢复,绝不自动删除
安装
- profile
package.json添加"dsh-learn": "file:../../plugins/dsh-learn" - 家级/对应 profile 的
cordis.patch.yml添加- insert: [{ id: dsh-learn, name: dsh-learn }] dsh plugin --profile <name> install后重启
数据位置
~/.dsh/learn/— 收件箱、状态机、草案、归档、报告~/.dsh/skills/<name>/SKILL.md— 发布的技能(dsh 自动发现)
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-skill-explorer★ 8370
Skill center for the dsh web GUI: browse all loaded skills grouped by source, enable or disable model invocation, create new skills, and delete into a recoverable trash.
GanyuanRan/Aegis★ 1320
Software-engineering method pack for coding agents, with skills for baseline-first planning, systematic debugging, prompt hygiene, verification before completion, and repair/retirement tracking.
superdesigndev/superdesign-skill★ 622
Design skill for UI and marketing graphics on the Superdesign canvas: reads the repo for context, extracts its design system, then generates and iterates branchable design drafts, flow pages, and reusable components through the Superdesign CLI.
linhay/harmony-next.skills★ 360
HarmonyOS NEXT skill bundle for DeepSeek Harness with offline API references and DevEco, HDC, and emulator automation guidance.
sandbaseai/sandbase-skills★ 201
Mounts 88 packaged research, social-intelligence, marketing and business Agent Skills into dsh through the filesystem Skill provider.
dhicoc/dsh-reverse-skill★ 199
Complete reverse-skill pack (85 SKILL.md) as a DeepSeek Harness Cordis plugin: reverse engineering, authorized pentesting and security-research skill router.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.