DeepSHPlugins
dsh-expert-mode 项目预览
GITHUB / COMMUNITY PROJECT

dsh-expert-mode

工具与集成JavaScriptMIT

专家模式 agent preset(v0.6.0,双语双份):首席协调官 + 11 位领域专家子代理,按任务特性自动委派。特性:五锚约束(每轮回顾/收敛/反跑题/协作检查/资源感知自检)+ 近距离引导(身份/任务/输出格式模板)+ 渐进式披露(token 减少 28%)+ 专家持久化 + 专家间通信协议 + 交叉评审 + 经验沉淀 + 快速通道 + 故障恢复。专家:数据分析/文案/法务/产品/前端/UI-UX/架构/社交运营/增长/量化/财务。

12 StarsAsher-2000 更新时间 2026-09-07
访问 GitHub 仓库
dsh-expert-mode 项目预览
dsh-expert-mode 界面截图dsh-expert-mode 界面截图dsh-expert-mode 界面截图

项目介绍

中文

专家模式 agent preset(v0.6.0,双语双份):首席协调官 + 11 位领域专家子代理,按任务特性自动委派。特性:五锚约束(每轮回顾/收敛/反跑题/协作检查/资源感知自检)+ 近距离引导(身份/任务/输出格式模板)+ 渐进式披露(token 减少 28%)+ 专家持久化 + 专家间通信协议 + 交叉评审 + 经验沉淀 + 快速通道 + 故障恢复。专家:数据分析/文案/法务/产品/前端/UI-UX/架构/社交运营/增长/量化/财务。

English

Expert-mode agent preset for DeepSeek Harness (v0.6.0, bilingual EN/ZH): a chief coordinator plus 11 domain-expert subagents with automatic task delegation. Features: Five-Anchor constraint (review/convergence/anti-drift/collaboration-check/resource-awareness per turn), Near-distance Guidance (identity/task/output template per expert), progressive disclosure (28% token savings), expert persistence, cross-expert communication protocol, cross review, experience pool, fast-track for simple tasks, fault recovery with auto-retry. Experts: data analyst, copywriter, legal review, product manager, frontend, UI/UX, architect, social media ops, growth hacker, quant finance, finance.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
Asher-2000
仓库
Asher-2000/dsh-expert-mode
GitHub Stars
12
Forks
1
开发语言
JavaScript
许可证
MIT
最近推送
2026-09-07
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

75/ 100
维护活跃
98
文档与实用信息
75
生态关注度
34
安装便捷信号
100
项目声明信号
100

近 4 天仍在更新;标准命令一键安装。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add github:Asher-2000/dsh-expert-mode

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

🧠 DSH Expert Mode

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

Option A: npm one-click (recommended) 🚀

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.

Option B: One-command preset mount (recommended for activation)

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.

Optional: Cross-session memory (recommended)

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

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目