前言¶
DSH 的理念是「一切皆插件」。dsh-expert-mode 是一个 DSH agent preset,面向需要在 DSH workspace 中启用「chief coordinator + 17 domain-expert subagents」工作方式的场景。下面从定位、能力、安装启用、典型用法和注意事项几个方面介绍。
这是什么¶
dsh-expert-mode 由 Asher-2000 维护,许可证为 MIT。
按已核实描述,它是一个 agent-preset plugin,不是 Cordis service plugin。项目定位为:
- chief coordinator
- 17 domain-expert subagents
- taskboard scheduling
- quality gates
- real inter-expert communication bus
中文名称为「专家模式」。
核心功能¶
任务路由¶
- Smart Delegation:自动识别任务领域,并路由给最合适的 expert。
- Fast Track:简单任务直接处理,不做强制 delegation。
质量与风险控制¶
- Five-Anchor Constraint:每轮 self-check,用于防止 topic drift。
- Cross Review:高风险任务获得 multi-expert independent review。
- Quality Gates:高风险任务经过 5-stage pipeline。
- Fault Recovery:timeout 时自动 retry;failure 时进行 strategy switch。
调度与协作¶
- Taskboard:文件系统任务调度器,包含
pending/ready/running/done/failed状态机、dependency DAG、retry、crash recovery。 - Inter-Expert Bus:基于文件的消息总线,用于 expert 之间直接通信。
- Experience Pool:保存 lessons learned,并在下次注入。
- Progressive Disclosure:按需注入 methodology,降低 token 消耗。
- Bilingual EN/ZH documentation。
安装与启用¶
使用 DSH 插件管理器¶
在 DSH workspace 中执行:
dsh plugin add dsh-expert-mode
随后在 workspace preset selector 中选择 “Expert Mode” 或 “专家模式”。
通过 npm 安装并挂载 preset¶
先安装 npm 包:
npm install dsh-expert-mode
npm 安装会把包文件拉到 node_modules。preset 需要在挂载到 DSH 的 preset discovery directory 后才激活。
挂载目录为:
~/.dsh/.agent-presets/expert-mode
preset 名称来自 preset.yml 的 name 字段。
随后运行:
dsh web
在 workspace preset selector 中选择 “Expert Mode” 或 “专家模式”。
典型用法¶
- 启用 preset:在 DSH workspace 选择 “Expert Mode” 或 “专家模式”。
- 简单任务:由 Fast Track 直接处理,不经过强制 delegation。
- 需要领域处理的任务:由 Smart Delegation 识别领域并路由给对应 expert。
- 高风险任务:进入 Cross Review 和 Quality Gates 流程。
- 多 expert 协作:通过 Inter-Expert Bus 进行直接通信;任务状态由 Taskboard 管理。
适用场景与注意¶
适合:
- 在 DSH 中使用 preset 化多 agent 工作流。
- 需要 chief coordinator 与 domain-expert subagents 的分发机制。
- 需要查看 EN/ZH 文档。
注意:
- 插件以当前 dsh 进程权限运行。安装前检查源码与 MIT 许可证。
- 它是 agent-preset plugin,不是 Cordis service plugin。
- npm 安装不等于 preset 激活;需要把 preset 文件挂载到 DSH 的 preset discovery directory。
结尾¶
dsh-expert-mode 的价值是把 chief coordinator、17 domain-expert subagents、taskboard scheduling、quality gates 和 inter-expert communication bus 放进同一个 DSH preset。
源码与文档:
- GitHub:https://github.com/Asher-2000/dsh-expert-mode
- 独立站点目录页线索:https://www.skillhub.cn/plugins/Asher-2000/dsh-expert-mode