๐Ÿง  DSH Expert Mode

August 27, 2026 ยท View on GitHub

1 Coordinator + 17 Experts โ€” Full-Stack Multi-Agent Team
้ฆ–ๅธญๅ่ฐƒๅฎ˜ + 17 ไฝ้ข†ๅŸŸไธ“ๅฎถ โ€” ๅ…จๆ ˆๅคšๆ™บ่ƒฝไฝ“ๅ›ข้˜Ÿ

DSH Expert Mode main interface

npm version npm downloads dshfind dshfind card

dsh-plugin Featured in Awesome DSH Plugin Release License: MIT Stars

ไธญๆ–‡ ยท English


โœจ What it does

Install this preset and DSH automatically becomes a "Chief Coordinator" mode:

ScenarioBehavior
Receives taskIdentifies domain โ†’ delegates to the best expert
Complex tasksDispatches multiple experts in parallel
Simple tasksCoordinator handles directly โ€” no forced delegation
Task completeExperts stay online for follow-up modifications

No custom prompts to write. No multi-config to maintain. Just install and use.


๐Ÿ–ผ๏ธ Demo

DSH Expert Mode main interface
Select the "Expert Mode" preset in DSH workspace to use

Expert Mode running
5 expert subagents working in parallel, with real-time token usage and timing


๐Ÿงฉ 17 Experts

๐ŸŽฏ Full-Stack Core (6)

ExpertToolDomain
๐Ÿ–ฅ๏ธ Frontend Devexpert_frontend_devWeb frontend, React/Vue, CSS/UI
๐Ÿ–ฅ๏ธ Backend Devexpert_backend_devAPI, server logic, authentication
๐Ÿ—„๏ธ Databaseexpert_databaseSchema design, SQL, optimization
๐Ÿ—๏ธ Architectexpert_architectSystem design, tech selection
๐Ÿ› ๏ธ DevOpsexpert_devopsCI/CD, Docker, K8s, deployment
๐Ÿงช QA Engineerexpert_qa_engineerTesting strategy, automation

๐Ÿ”’ Security & Data (3)

ExpertToolDomain
๐Ÿ”’ Securityexpert_securityCode audit, vulnerabilities, hardening
๐Ÿ“Š Data Analystexpert_data_analystStatistics, visualization, insights
๐ŸŽจ UI/UX Designexpert_uiux_designInterface design, design systems

๐Ÿ’ผ Business (7)

ExpertToolDomain
๐Ÿ“‹ Product Managerexpert_product_managerPRD, requirements, competitor research
โœ๏ธ Copywriterexpert_copywriterMarketing copy, content creation
๐ŸŽฌ Media Creatorexpert_media_creatorStoryboard, AI image, AI video, final cut
โš–๏ธ Legal Reviewexpert_legal_reviewContract review, legal risk
๐Ÿ“ฑ Social Mediaexpert_social_mediaMulti-platform distribution
๐Ÿš€ Growth Hackerexpert_growthGrowth strategy, A/B testing
๐Ÿ’น Quant Financeexpert_quant_financeQuantitative models, risk
๐Ÿ’ฐ Financeexpert_financeFinancial analysis, budget

๐Ÿ›ก๏ธ Features

FeatureDescription
๐ŸŽฏ Smart DelegationAuto-identifies task domain and routes to the best expert
๐Ÿš€ Fast TrackSimple tasks handled directly โ€” no forced delegation
๐Ÿ”„ Five-Anchor ConstraintPrevents topic drift with per-turn self-check
๐Ÿค Cross ReviewHigh-risk tasks get multi-expert independent review
๐Ÿ’พ Experience PoolLessons learned are saved and injected next time
๐Ÿ’ฌ Inter-Expert BusFile-based message bus (bus.py): experts send/read directly, zero coordinator relay, P2P capable
๐Ÿ“‹ TaskboardFile-system task scheduler (taskboard.py): pending/ready/running/done/failed state machine, dependency DAG, retry, crash recovery โ€” real scheduling, not just chat coordination
๐Ÿšฆ Quality Gates5-stage pipeline for high-risk tasks: requirement clarity โ†’ implementation โ†’ verification โ†’ review โ†’ integration. Independent-expert review with 2-round rework limit
โšก Fault RecoveryAuto-retry on timeout, strategy switch on failure
๐Ÿ“‰ Progressive DisclosureMethodology injected on-demand, 28% token savings
๐ŸŒ BilingualComplete EN/ZH documentation

๐Ÿ“ฆ Installation

The package is published on npm as dsh-expert-mode. You can install it with the DSH plugin manager or npm directly:

# In DSH workspace โ€” via plugin manager
dsh plugin add dsh-expert-mode

# ...or install the npm package directly
npm install dsh-expert-mode

โ„น๏ธ How agent-presets work: this is an agent-preset plugin, not a Cordis service plugin. Installing the npm package pulls all files into your node_modules โ€” but the preset only activates once its files are mounted into DSH's preset discovery directory. The preset ships a copy step (below) that makes this one command.

After installing the npm package, mount the preset into DSH's preset discovery directory:

# 1. Find where npm put the package
#    (usually ./node_modules/dsh-expert-mode in your DSH workspace, or globally)

# 2. Mount the preset into DSH's agent-presets directory
mkdir -p ~/.dsh/.agent-presets/expert-mode
cp -r node_modules/dsh-expert-mode/agent.cordis.yml \
      node_modules/dsh-expert-mode/preset.yml \
      node_modules/dsh-expert-mode/cordis.patch.yml \
      ~/.dsh/.agent-presets/expert-mode/
# If you want the full methodology docs (methods/, experts/, comm/ bus, taskboard):
# cp -r node_modules/dsh-expert-mode/.expert-mode ~/.dsh/.agent-presets/expert-mode/

# 3. Restart DSH web, then select "ไธ“ๅฎถๆจกๅผ" in the workspace preset selector
dsh web

Note: ~/.dsh/.agent-presets/ is DSH's preset discovery directory. Each subdirectory = one preset. The preset name comes from preset.yml's name field.

Option C: Manual install from GitHub

Clone the repository, then copy the preset into DSH's agent-presets directory:

# 1. Clone anywhere
git clone https://github.com/Asher-2000/dsh-expert-mode.git
cd dsh-expert-mode

# 2. Copy the preset into DSH's agent-presets directory
mkdir -p ~/.dsh/.agent-presets/expert-mode
cp -r agent.cordis.yml preset.yml cordis.patch.yml ~/.dsh/.agent-presets/expert-mode/
# If you want the full methodology docs (methods/, experts/, comm/ bus), copy the whole tree:
# cp -r .expert-mode ~/.dsh/.agent-presets/expert-mode/

# 3. Restart DSH web, then select "ไธ“ๅฎถๆจกๅผ" in the workspace preset selector
dsh web

Note: ~/.dsh/.agent-presets/ is DSH's preset discovery directory. Each subdirectory = one preset. The preset name comes from preset.yml's name field.

Then select "ไธ“ๅฎถๆจกๅผ" in the workspace preset selector.

The expert-mode preset itself does not register the cross-session memory service โ€” it is a HOST-PLANE plugin, and registering it inside a preset conflicts with the host composition (causing preset mount failure). To enable cross-session memory, install dsh-memory-connect separately into the host composition:

# 1. Clone the memory plugin
git clone https://github.com/Asher-2000/dsh-memory-connect.git
cd dsh-memory-connect
npm install github:Asher-2000/dsh-memory-connect#v0.4.0  # or place it into the dsh dependency tree manually

# 2. Register it in the host composition (e.g. append to ~/.dsh/profiles/web/cordis.patch.yml):
# - id: cross-session-memory
#   name: '@deepseek-ai/dsh-memory-connect'
#   config:
#     path: ~/.dsh/memory.db
#     openAt: startup

# 3. Restart DSH web
dsh web

โš ๏ธ Important: Do NOT add @deepseek-ai/dsh-memory-connect into this preset's agent.cordis.yml. It is a HOST-PLANE plugin (injects sessions + systemPrompt); registering it inside the preset throws service has been registered at <cross-session-memory>, which makes the expert-mode preset fail to mount and the UI fall back to the default preset. This preset ships with an explanatory comment about it.


๐Ÿš€ Quick Start

  1. Install the plugin
  2. Select "ไธ“ๅฎถๆจกๅผ" preset
  3. Ask any question โ€” the coordinator auto-delegates to the right expert

Example

User: ๅธฎๆˆ‘่ฎพ่ฎกไธ€ไธช็”จๆˆท่ฎค่ฏ็ณป็ปŸ

Coordinator:
  โ†’ ่ฏ†ๅˆซ้ข†ๅŸŸ: ๅŽ็ซฏๅผ€ๅ‘ + ๅฎ‰ๅ…จ
  โ†’ ๅง”ๆดพ Backend Dev: API ่ฎพ่ฎกใ€JWT ๅฎž็Žฐ
  โ†’ ๅง”ๆดพ Security: ๅฎ‰ๅ…จๅฎก่ฎกใ€ๆผๆดž้˜ฒๆŠค
  โ†’ ๆฑ‡ๆ€ป่พ“ๅ‡บๅฎŒๆ•ดๆ–นๆกˆ

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    Expert Mode Architecture                      โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                                  โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
โ”‚  โ”‚              Chief Coordinator (ๅ่ฐƒๅฎ˜)                    โ”‚   โ”‚
โ”‚  โ”‚  โ€ข Task analysis    โ€ข Domain identification               โ”‚   โ”‚
โ”‚  โ”‚  โ€ข Expert routing   โ€ข Result aggregation                  โ”‚   โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
โ”‚                           โ”‚                                      โ”‚
โ”‚           โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                     โ”‚
โ”‚           โ–ผ               โ–ผ               โ–ผ                     โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”            โ”‚
โ”‚  โ”‚  Frontend   โ”‚  โ”‚  Backend    โ”‚  โ”‚  DevOps     โ”‚            โ”‚
โ”‚  โ”‚  Database   โ”‚  โ”‚  Security   โ”‚  โ”‚  QA         โ”‚            โ”‚
โ”‚  โ”‚  Architect  โ”‚  โ”‚  ...        โ”‚  โ”‚  ...        โ”‚            โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜            โ”‚
โ”‚                                                                  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ’ฌ Inter-Expert Communication Bus (v0.8.0)

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                 File Message Bus (comm/bus.py)                โ”‚
โ”‚   .expert-mode/comm/mailboxes/<expert>/*.msg                 โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                              โ”‚
โ”‚   data-analyst โ”€โ”€sendโ”€โ”€โ–ถ frontend-dev   (direct, async)      โ”‚
โ”‚   copywriter   โ”€โ”€sendโ”€โ”€โ–ถ social-media  (direct, async)       โ”‚
โ”‚   coordinator  โ”€โ”€broadcastโ”€โ”€โ–ถ all experts (global sync)      โ”‚
โ”‚   expert A     โ”€โ”€P2P subagentโ”€โ”€โ–ถ expert B  (synchronous)     โ”‚
โ”‚                                                              โ”‚
โ”‚   โ€ข Zero relay: content flows between experts, NOT through   โ”‚
โ”‚     coordinator context                                     โ”‚
โ”‚   โ€ข Durable: every message persisted as .msg file            โ”‚
โ”‚   โ€ข Auditable: full log at comm/logs/bus.log                 โ”‚
โ”‚   โ€ข Commands: send / read / ack / broadcast / stats          โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Communication Modes:

ModeHowUse case
A. RelayExpert A sends result โ†’ Expert B readsSequential collaboration
B. ParallelExperts send results to coordinator โ†’ read --allIndependent collection
C. BroadcastOne message โ†’ all mailboxesGlobal state changes
D. ReviewExperts send "agree/partial/disagree + reason"Cross review
E. P2PExpert spawns subagent for direct Q&ASynchronous clarification

๐Ÿ“š Documentation

DocumentDescription
Communication ProtocolInter-expert message bus protocol v1
Expert Methods16 expert methodology docs
Experience PoolLessons learned per expert
README.zh.mdไธญๆ–‡ๆ–‡ๆกฃ

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Open a Pull Request

๐Ÿ“„ License

MIT License - see LICENSE for details.


๐Ÿ™ Acknowledgments