DeepSeek Harness Plugin

gezi-wen/dsh-subagent-delegation

Stars ★ 0 Downloads (30d) 762 Category Workflow & Automation Added 2026-09-18 npm dsh-subagent-delegation

Ships a skill about handing work to subagents instead of doing it inline - which tasks are worth fanning out, how many to run at once, how to send them in parallel, and how to check what they returned instead of trusting the summary.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-subagent-delegation

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:gezi-wen/dsh-subagent-delegation

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.

一个 DSH 插件,内容只有一份技能:安装时把包内的 skills/ 注册为一个技能根,于是这份技能随插件进入 agent 的技能目录。

dsh plugin --profile web add dsh-subagent-delegation

技能覆盖什么

  • 何时该派:决策三问(要翻 5+ 个文件 / 要多次搜索调研 / 有 2+ 个互不依赖的子项),以及「5 个文件的『简单任务』已经该派了」这类红牌警示
  • 派发形态:DSH 的子 agent 没有 Explore / general-purpose 这类内置类型,形态只能靠 prompt 承载——只读探索、通用分析、方案设计、独立审查各该怎么写 prompt
  • 并行与后台:同一轮消息里发多个 subagent 调用让它们并行;subagent 默认就进后台,subagent_fork 用于需要看见当前对话的活
  • 回来怎么验收:不盲信子 agent 的总结,核对实际文件变更和它给出的证据链

布局

package.json        # dsh.bundle.patch → cordis.patch.yml
cordis.patch.yml    # 插入一行 @deepseek-ai/dsh-skill-filesystem,customSkillDirs 指向 skills/
skills/
  subagent-delegation/
    SKILL.md

cordis.patch.yml 用的机制和 DSH 自带 agent preset 装载自己的技能是同一套:!!js 里的 baseUrl 解析到本包,所以路径跟着安装位置走。

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.