Bundle
dsh-subagent-delegation
Ships a skill that tells the agent when to delegate work to subagents instead of doing it inline, how to fan several out in parallel, and how to check what they returned.
- Source
- gezi-wen
- License
- MIT
- Updated
- Updated 6 hours ago
Readme
# dsh-subagent-delegation
一个 DSH 插件,内容只有一份技能:安装时把包内的 `skills/` 注册为一个技能根,于是这份技能随插件进入 agent 的技能目录。
```sh
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
Install
dsh plugin --profile web add github:gezi-wen/dsh-subagent-delegation
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-subagent-delegation from the hub
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.