dsh-work-on-request
Manifest validDSH Plugin: Answer when asked, act only when told — by default it just answers questions, and only takes action when explicitly asked to do the work
dsh-work-on-request
提问就答,叫了才做。
一个 DeepSeek Harness 插件:默认只回答问题,只有你明确让它干活时才动手。
它解决的问题
模型很容易"顺手"多做事:你只是问个问题,它却顺手改了文件、补了测试、git commit 了、装了依赖、调了配置,甚至替你做决定。这个插件把这条边界写成一条常驻规则:
- 提问(问句、求解释、求评价、闲聊)→ 只回答,不碰任何东西;
- 明确让干活("帮我写…"、"改一下"、"去跑一轮"、"修复")→ 正常动手,干完简短汇报「做了什么 + 怎么验证的」;
- 分不清 → 先给答案,末尾用一句话问要不要做;
- 只读不算干活:为了回答问题所需的读文件、搜索、查状态、算数照旧可以做。
规则全文(模型实际读到的那份):assets/work-on-request.md。
为什么是插件,不是 skill 文件
插件只做一件事:把上面那份规则作为一个内置技能注册进 DSH 的技能注册表。
做法与 DSH 官方的 @deepseek-ai/dsh-skill-badge 完全一致 ——
const inject = ['skills']
function apply(ctx) {
ctx.skills.registerProvider(() => provider)
}
好处:规则随 npm 包版本一起走,不再需要在 ~/.dsh/skills/、工作区里放散落的 SKILL.md;装一次,这台机器上所有工作区都生效。
安装
# ① 直接从 GitHub 装(推荐,不用等 npm 发布)
dsh plugin --profile desktop add github:lll-77777777/dsh-work-on-request
# 固定到某个 tag(更稳,不会被后续提交影响)
dsh plugin --profile desktop add github:lll-77777777/dsh-work-on-request#v0.1.0
# ② 从 npm(发布后)
dsh plugin --profile desktop add dsh-work-on-request
# ③ 本地开发(link 到本目录)
dsh plugin --profile desktop add link:/path/to/dsh-work-on-request
装完新开一个会话:
- 人肉触发:在输入框打
/,菜单里会出现work-on-request(或直接打/work-on-request回车); - 自动触发:模型判断当前消息符合描述时,会自己加载它。
覆盖与优先级
本插件以 rank 600(打包型提供方的标准优先级)注册,低于本地 skill 根(100–500)。也就是说:
- 你自己在
~/.dsh/skills/或项目的.dsh/skills/里放的同名技能会覆盖它; - 想让规则常驻(不走"按需加载"),把
assets/work-on-request.md的内容贴进~/.dsh/AGENTS.md即可。
开发与自测
node --check index.js
node test/smoke.test.mjs # 6 项契约测试
注意:在 DSH 的受限沙箱里
node --test test/会因为子进程管道被拒(spawn EPERM)失败,直接跑测试文件即可(node:test在同一进程里也能出报告)。
状态
- ✅
node --check index.js通过;node test/smoke.test.mjs6/6 通过(提供方契约、技能名语法、正文一致性、apply注册行为)。 - ✅ 端到端挂载验证(2026-10-16):在一次性 profile 里
dsh plugin --profile <tmp> add link:<本目录>→dsh --profile <tmp> --dump-config能看到- id: work-on-request被组合进 profile 树 → 起一次 headless 会话问它「技能列表里有没有 work-on-request」,模型回答YES work-on-request。
English (short)
dsh-work-on-request is a tiny DSH plugin that registers one bundled skill: answer questions, don't act unless explicitly asked. It mirrors the official @deepseek-ai/dsh-skill-badge provider pattern and ships the rules in assets/work-on-request.md.
dsh plugin --profile desktop add dsh-work-on-request
License
MIT
Comments
Loading…
Similar plugins
by ashz555
DSH 插件:选中对话中的术语,就地弹出追问框解释基本含义/用途/用法
★ 2
MIT
JavaScript
Oct 18, 2026
dsh plugin --profile web add dsh-term-glossaryby Justin-Mai
DSH 插件:把岗位角色指令固定注入整个对话,避免 AI 跑偏
★ 1
MIT
JavaScript
Oct 20, 2026
dsh plugin --profile web add dsh-role-promptsby KLAX54ix
DSH 插件:选中回答里的文本就地解释,解释不进入主对话上下文;卡片内可继续选中追问,支持拖拽、指向线与三级嵌套。
★ 0
MIT
JavaScript
Oct 5, 2026
dsh plugin --profile web add dsh-explain-selectionby yxue301603
DeepSeek Harness 原生插件 · 选文操作 · 选中回答后引用追问、解释或翻译,预览后填入草稿。
★ 0
MIT
JavaScript
Oct 21, 2026
dsh plugin --profile web add dsh-selection-actionsby ytftu
DSH(DeepSeek Harness)插件:侧边栏底部动作区加「问助理」按钮,一键用内置浏览器打开 DeepSeek 网页版,随手问事不消耗会话 token。
★ 0
MIT
JavaScript
Oct 18, 2026
dsh plugin --profile web add dsh-ask-assistantby xiaosurongjia
当你的DSH正在工作时,你可以不用停止对话就可以再次提出要求
★ 17
MIT
JavaScript
Oct 18, 2026
dsh plugin --profile web add dsh-improved-inline-edit