nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Fireawa/dsh-tool-round-limited-target
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
中文 | English
给 DSH 的 /goal 加一个轮数上限:写在最前面的数字就是最多自动执行的轮数,用完自动停。
/goal 3 整理文档 # 最多 3 轮
/goal 3 整理文档 # 最多 3 轮
轮 / 次 / rounds 可省:/goal 3轮 整理文档 等价。/goal 整理文档 3 里的 3 属于目标文本,按官方语义不设上限。/goal:rounds <n> 只改上限、edit [轮数] 目标 改目标、pause / resume / clear,不带参数查看状态。轮数用完,目标自动变成 blocked(code=round-limit),不会多跑。要接着做:
/goal rounds 8 # 先提高上限
/goal resume # 再恢复
要求:Node.js 20+,且已装好 DSH。
跟随 main(会随仓库最新提交变化):
dsh plugin --profile web add git+https://github.com/Fireawa/dsh-tool-round-limited-target.git
锁定版本(推荐,行为可预期):
dsh plugin --profile web add github:Fireawa/dsh-tool-round-limited-target#v1.0.3
也可以 Web → Plugins → 添加插件 → 粘贴上面的地址(或本地路径)。装完重启 dsh web。
本地开发用 link: 指向 checkout 即可。
round_limited_goal(target, rounds?, replace?):给模型用的自然语言入口。target="3 整理文档" 或 rounds=3 就是 3 轮;没有显式轮数时直接拒绝,避免模型在普通对话里凭空建出一个限轮目标。
cordis.patch.yml 可改,括号内是默认值:
commandName: goal # 主命令名
aliasCommandName: target # 别名,'' 关闭
shadowGoalPerAgent: true # false = 退回内置 /goal
trailingRounds: false # 只认「3 目标」;末尾数字按官方语义算目标文本
defaultRounds: 3 # 仅在 requireExplicitRounds=false 时兜底
maxAllowedRounds: 500
requireDirectHuman: true # 只允许真人回合创建
requireExplicitRounds: true # 没有显式轮数就拒绝建目标(防模型误触发)
node selftest.mjs # 136 项,离线
node verify-live.mjs # 20 项,需要本机 DSH(没有会跳过)
node mutate.mjs # 变异测试
npm run check # 全跑
实现只有 index.js + lib/{parse,command,tool,config}.js,零依赖。
MIT © Fireawa。发布流程见 PUBLISHING.md。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent。