DSH expert-team Plugin: Integrating a multi-role expert team into the current session

Preface

When handling complex tasks in DSH, common practices include repeatedly switching presets, breaking tasks into multiple turns, or writing scripts to spawn multiple sub-agents. Role boundaries, parallelism, and final aggregation often rely on manual monitoring. expert-team is a workflow-type plugin released by community maintainer kee0012: within the current session, select a built-in or custom expert team. With a one-click summon, each expert works in parallel within an independent sub-session, while the main session acts as a convener to collect responses and aggregate the final deliverable. The following introduces its positioning, capabilities, and reproducible usage.

What is this

expert-team (GitHub: kee0012/expert-team) is designed for environments like DeepSeek Harness Desktop. It injects UI via the Cordis plugin mechanism and provides model tools and HTTP APIs. It solves the entire chain of “multi-role division of labor + sub-session parallelism + main session aggregation,” rather than just providing a standalone chat preset.

Maintainer: kee0012. Current package version is 0.2.4, License MIT. The plugin is not published to npm and must be installed via DSH’s git dependency method from GitHub.

Core Features

Built-in 25 expert teams and 167 experts, covering 11 categories: Product Design, Frontier Research, Technical Engineering, Academic Writing, Content Creation, Data Intelligence, Marketing & Growth, Human Resources, Finance & Investment, Legal & Compliance, and Metaphysics. The gallery supports sorting by Comprehensive / Hottest / Latest and category filtering; cards display the name, publisher, number of experts, brief introduction, and tags.

The team detail page provides usage count, a “Summon Expert Team” button, preset prompts, usage cases, and a member roster (with badges identifying the leader).

One-click Summon & Convener Aggregation

Upon dispatch, each selected expert enters an independent sub-session to process the same task in parallel; corresponding child nodes appear in the conversation tree on the left, which can be clicked to view the process individually. The main session receives an “Expert Team in Position” briefing. Once all experts return their results, the convening logic aggregates them into a unified deliverable.

Batch Dispatch (Pipeline Teams)

Some teams come with stage plans (e.g., for scenarios like multi-role/multi-stage structured long-form writing, page reverse analysis, or screenshot-to-code). A stage button appears at the top of the member menu (e.g., “One-shot”, “P1 …”, “P2 …”). When a specific stage is selected, only members of that stage are dispatched; the output from the previous stage can serve as input for the next. The convener continues the workflow after collecting the current stage’s responses. Clicking “One-shot” reverts to parallel execution where all members work on the same problem simultaneously.

Note: stages is a one-way pipeline and does not automatically handle “review rejection and redo”; for rollbacks, the user or convener must dispatch that stage again and pass the review comments via context.

Custom Teams

You can create or edit teams in the panel: member personas, preset prompts, usage cases, and category tags can all be maintained locally. Custom data is written to $DSH_HOME/expert-teams/teams.json; if the ID matches a built-in team, it overwrites the built-in copy. Deleting it restores the built-in version. Whether to allow direct modification of built-in teams is controlled by the lockBuiltinTeams configuration (see below).

Team and member avatars use 36 built-in illustrations (index 0–35); uploading custom images is not currently supported. Material sources can be found in the repository’s assets/member-avatars/README.md.

Slash Commands & Model Tools

Slash Commands:

/expert-team list                 List all teams
/expert-team show <team_id>       View the member roster of a specific team
/expert-team summon <team_id>     Provide dispatch instructions

Model-side Tools:

Tool Function
expert_team_list Lists team IDs, names, member rosters, and responsibilities
expert_team_summon Takes parameters {team_id, task, member_ids?, stage?, context?}, opens an independent sub-session for each expert, and returns sub-session IDs

The homologous HTTP prefix is /expert-team/api/ (request body limit 1MB, documentation does not require additional authentication), covering health checks, configuration, team CRUD, POST summon dispatch, and runtime GET status ledger, etc. Avatars are served via GET /expert-team/avatar/NN.jpg.

Installation and Activation

The plugin is hosted on GitHub. The installation command follows the README:

# Install from GitHub (Recommended for daily use; pulls the latest commit from the default branch)
dsh plugin --profile desktop add github:kee0012/expert-team

After installation, a DSH restart is required for the new server-side code and client bundle to take effect.

The runtime environment requires Node 22.19+ or 24 (see engines in package.json).

Typical Usage

Interface Entry

Scenario Location
Empty Session The “Expert Team” chip is on the “Workspace | Agent Presets” row, immediately to the right of “Standard Mode”
Session with Content The chip is on the input card’s tool row (the row with + / permissions / plan mode), to the left

Clicking it opens a full-screen modal: Team Gallery → Team Details → Summon Task Panel → Create / Edit Team.

Summoning Steps

  1. Open the panel, select a team, and click “Summon Expert Team”; click a preset prompt if needed to fill the input box.
  2. In the input box, check the members to dispatch in the team tag’s member menu.
  3. Write your requirement and press Enter to dispatch (this Enter is intercepted by the plugin and will not be sent as a normal message).
  4. The tag will display a progress state (e.g., ● Team Name 3/3 ▾): click × to cancel the summon, or click the team name to return to the gallery to switch teams.
  5. After dispatch, a briefing appears in the session, and N sub-sessions are generated in the conversation tree (one for each expert).

Pipeline Teams: Select a stage in the member menu to dispatch only that stage; the documentation states that you only need to click Stage 1 once; subsequent stages are relayed by the convener, and the entire pipeline can run forward automatically (as opposed to the “One-shot” parallel mode).

Configuration (Changes take effect upon reopening the panel; no DSH restart required)

On first launch, default configuration is written to $DSH_HOME/expert-teams/config.json. Common items include:

Config Item Default Value Description
lockBuiltinTeams false When true, built-in teams are read-only; writing to a built-in ID returns 403 LOCKED
limits.maxMembers 13 Upper limit for members per team
limits.maxChildrenPerSummon 13 Upper limit for sub-sessions per summon
limits.maxDelegateDepth 1 Upper limit for sub-agent layers to prevent experts from nesting summons

For complete limit key names and default values, see DEFAULT_LIMITS in src/index.js in the repository.

For custom team data formats and stages rules (continuous stage numbering, must cover all members, etc.), see the “Custom Team Data Format” section in the GitHub README; built-in baseline data is in the repository’s data/teams.json.

Use Cases and Notes

Who it is for: Developers or heavy users who need to organize multi-role collaboration, parallel sub-sessions, and main session aggregation within a single DSH session; also suitable for scenarios where built-in team personas are copied or modified according to business needs.

Permissions & Security: The plugin runs with the permissions of the current DSH process, and sub-sessions are created within that same environment. It is recommended to read the source code and MIT license on GitHub before installation to ensure team data and dispatch logic meet your compliance requirements.

Known Limitations (Key points from README):

  • The GET status dispatch ledger is in-memory and clears after a DSH restart; the sub-sessions themselves remain in the conversation tree.
  • Custom copies overriding built-in IDs take precedence over built-in updates brought by plugin upgrades; deleting the copy restores the baseline.
  • The “Usage Count” on team cards = Built-in Baseline + Local Statistics ($DSH_HOME/expert-teams/stats.json).

The DSH ecosystem emphasizes “everything is a plugin”; community directory sites (such as plugin pages on SkillHub) have no official affiliation with DeepSeek / Quanten. This article is purely a technical introduction.

Links

  • Community Directory Page: https://www.skillhub.cn/plugins/kee0012/expert-team
  • Source Code & Full Documentation: https://github.com/kee0012/expert-team
  • Feedback/Issues: https://github.com/kee0012/expert-team/issues

After installing via the steps above and restarting DSH, you can select a team via the gallery within the session, check members, and dispatch them; for automation or external integration, you can interface independently by referencing the HTTP API and expert_team_summon parameters (including stage, context) in the README.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye