dsh plugins中文
← Back to popular plugin directory

Automated Conversation Distillation

LoserFox/distill · skills

Automatic dialogue distillation: background subagent introspection + skill create/update.

★ 16GitHub stars
0Forks
2026-08-15Last updated
TypeScriptLanguage
License

Project overview

需要 ctx.subagents(inject: ['subagents'])以及已注册的子代理提供方——subagent-spawn-in-process 插件注册了默认的 spawn 提供方——并且部署中包含面向模型的 skill 工具(tool-skill),反省子代理才能查看技能。反省提示词改编自 Nous Research 的 hermes-agent SKILLREVIEWPROMPT(MIT 许可,Copyright (c) 2025 Nous Research),针对本界面做了改写;完整署名见源文件头。 行为

每个回合完成(agent/turn-stopping 触发)时,插件会收集自上次蒸馏检查点以来新增的人类 user/message 事件;数量达到 minUserMessages 后,派发一个后台反省子代理(Hermes Agent 后台反省的形态:受限工具集的全新子代理,在回合之后运行,从不与用户任务争抢)。子代理的提示词携带 Hermes 策展课程、消息窗口帧和可更新技能列表;其工具集白名单只保留 skill 查看器,最终答案通过结构化输出契约捕获。该派发会以仅日志的 session/distill-review-request 事件记录精确的路由、提示词、工具白名单和 token 上限,使模型可见输入可从会话日志中重建。

反省子代理提议以下之一: {"action": "skip"} — 无值得保存的内容;本轮结束。 {"action": "create", "skill": {"name", "description", "whenToUse?", "content"}} — 一个新技能,写成带 frontmatter 的 SKILL.md 包,本地技能提供方会像发现手写技能一样发现它。 {"action": "update", "skill": {...}} — 对某个先前蒸馏出的技能的完整替换。

Install command

dsh plugin --profile web add github:LoserFox/distill
View GitHub repository ↗Back to popular plugin directory