Preface¶
The philosophy of DSH is “Everything is a Plugin”. dsh-expert-mode is a DSH agent preset designed for scenarios that require enabling a “chief coordinator + 17 domain-expert subagents” workflow within a DSH workspace. Below, we introduce its positioning, capabilities, installation and activation, typical usage, and considerations.
What is This¶
dsh-expert-mode is maintained by Asher-2000 and licensed under MIT.
According to the verified description, it is an agent-preset plugin, not a Cordis service plugin. Its positioning is as follows:
- Chief coordinator
- 17 domain-expert subagents
- Taskboard scheduling
- Quality gates
- Real inter-expert communication bus
Its Chinese name is “Expert Mode”.
Core Features¶
Task Routing¶
- Smart Delegation: Automatically identifies the task domain and routes it to the most suitable expert.
- Fast Track: Handles simple tasks directly without forced delegation.
Quality and Risk Control¶
- Five-Anchor Constraint: Self-checks in each round to prevent topic drift.
- Cross Review: High-risk tasks receive multi-expert independent reviews.
- Quality Gates: High-risk tasks go through a 5-stage pipeline.
- Fault Recovery: Automatically retries on timeout; switches strategy on failure.
Scheduling and Collaboration¶
- Taskboard: A file system task scheduler with
pending/ready/running/done/failedstate machines, dependency DAG, retry, and crash recovery. - Inter-Expert Bus: A file-based message bus for direct communication between experts.
- Experience Pool: Saves lessons learned and injects them in future tasks.
- Progressive Disclosure: Injects methodologies on demand to reduce token consumption.
- Bilingual EN/ZH documentation.
Installation and Activation¶
Using the DSH Plugin Manager¶
In your DSH workspace, run:
dsh plugin add dsh-expert-mode
Then, select “Expert Mode” or “专家模式” in the workspace preset selector.
Installing and Mounting via npm¶
First, install the npm package:
npm install dsh-expert-mode
The npm installation pulls the package files into node_modules. The preset must be mounted to the DSH preset discovery directory to become active.
The directory to mount is:
~/.dsh/.agent-presets/expert-mode
The preset name is derived from the name field in preset.yml.
Then run:
dsh web
Select “Expert Mode” or “专家模式” in the workspace preset selector.
Typical Usage¶
- Enable the preset: Select “Expert Mode” or “专家模式” in the DSH workspace.
- Simple tasks: Handled directly by Fast Track without forced delegation.
- Tasks requiring domain expertise: Smart Delegation identifies the domain and routes the task to the corresponding expert.
- High-risk tasks: Enter the Cross Review and Quality Gates workflow.
- Multi-expert collaboration: Direct communication via the Inter-Expert Bus; task states are managed by the Taskboard.
Suitable Scenarios and Considerations¶
Suitable for:
- Using preset-based multi-agent workflows in DSH.
- Needing a distribution mechanism with a chief coordinator and domain-expert subagents.
- Wanting to access EN/ZH documentation.
Considerations:
- The plugin runs with the current DSH process permissions. Review the source code and MIT license before installation.
- It is an agent-preset plugin, not a Cordis service plugin.
- npm installation does not equal preset activation; the preset files must be mounted to the DSH preset discovery directory.
Conclusion¶
The value of dsh-expert-mode lies in bringing together the chief coordinator, 17 domain-expert subagents, taskboard scheduling, quality gates, and the inter-expert communication bus into a single DSH preset.
Source code and documentation:
- GitHub: https://github.com/Asher-2000/dsh-expert-mode
- Standalone site directory clue: https://www.skillhub.cn/plugins/Asher-2000/dsh-expert-mode