DSH-Agents: A DSH Multi-Agent Workbench with 23 Specialized Roles and Three-Tier Model Routing

Preface

In manual task delegation within DSH, the common bottleneck is often not “the model isn’t strong enough,” but rather the lack of standardized practices for three things: which model tier to use, what persona to inject, and how detailed a task description needs to be to be actionable. If the orchestrator decides these ad-hoc every time, costs increase due to repeated communication and misalignment with acceptance criteria. Practices like oh-my-claudecode have shown that assigning models based on role complexity is more reasonable than using the most expensive tier for everyone. dsh-agents consolidates role directories, tier routing, and task book synthesis into a single tool call, making task assignment auditable, verifiable, and anchored in standard DSH sessions.

What is this

dsh-agents is a community-maintained DSH plugin (GitHub: wangyuanchuan2022/dsh-agents, current package version 0.1.0, MIT License). The maintainer is wangyuanchuan2022. The plugin registers three tools with the host: agent_roles, agent_taskbook, and agent_spawn. It organizes 23 specialized roles into three swimlanes: build, review, and domain. Each role is pinned to one of three model tiers (LOW / MEDIUM / HIGH). A single agent_spawn call completes tier resolution, persona injection, synthesis of an eight-section task brief, and creates a standard DSH sub-session ready to take over. It also includes 25 workflow skill directories (25 SKILL.md files under skills/) for end-to-end orchestration, as well as built-in mechanisms like the advisor (see the repository README for details).

Community Directory Page: https://www.skillhub.cn/plugins/wangyuanchuan2022/dsh-agents (Independent site, with no official affiliation to DeepSeek or High-Flyer).

Core Features

Roles and Tiers

There are 23 roles in total: 11 in the HIGH tier, 10 in the MEDIUM tier, and 2 in the LOW tier. Among them, 19 roles are ported from oh-my-claudecode, and 4 are newly created for this plugin (rag-reviewer, silent-failure-hunter, spec-miner, harness-optimizer). The tier semantics defined in the README are: LOW leans towards narrow and fast retrieval and documentation; MEDIUM leans towards implementation, debugging, testing, and design; HIGH leans towards requirement analysis, planning, architecture, and long-chain reasoning.

Nine sub-roles are marked as read-only upstream (disallowedTools: Write, Edit), and this is written into the task brief as read-only advisor clauses. The plugin documentation also notes that this is merely a textual constraint; the actual execution boundary still depends on the host and session permissions (see “Known Limitations” in the repository).

Tier mapping is divided into two layers: the factory default in cordis.patch.yml and user-level overrides (via the settings page “Agents 3-Tier Model Routing” or agent_roles action=set). The resolution priority is: explicit tier / provider / model during the call → roleOverrides → settings → cordis base → built-in default table. Unknown tiers, unknown roles, or illegal configurations will throw errors without silent fallback.

The Three Tools

Tool Function
agent_roles Role directory, single role details, tier routing table health check; supports list / show / tiers / set / reset
agent_taskbook Only synthesizes the task brief without creating a session; includes three pre-assignment questions and the current routing resolution result
agent_spawn One-step task assignment; dryRun=true returns only routing and task brief; tier-escalation parameters are logged in the return value for auditing

The wake / status / list / rename operations in the session lifecycle are handled by the host’s de_session; this plugin is only responsible for creating sessions.

Task Brief and Session Output

The first message of an assigned task is an eight-section task brief: Role Card, Duties and Boundaries, Persona Details (personas/<id>.md), Current Task, Deliverables and Acceptance (including disk paths and hard completion criteria), Clarification Mode, Reporting and Recovery, and Claude Code → DSH Tool Mapping. Review-type roles may append a “Context Isolation Contract”; organic checks for material leakage generate warnings (isolationLeaks).

The default output path is <cwd>/agent-out/<role-id>-<yyyyMMdd-HHmm>.md, which can be overridden using evidencePath.

Workflow Skills and Other Capabilities

The README lists 25 workflow skills, divided into groups such as entry points, pipelines, collaboration, methodology, and advisors. For example, agent-workflow-router acts as the main entry point, while agent-autopilot / agent-feature / agent-bugfix / agent-review-squad etc. chain together the 23 roles. There are also 11 review checklists routed by language or specialty, as well as deterministic mechanical check tools crgate and publish-scan. The built-in advisor passively reviews messages visible to the main session after every turn and does not occupy any of the three agent tool slots mentioned above.

Environment Requirements

  • DSH must provide the tools service (tools registered via ctx.tools.register); settings / llm / workspaceRegistry / agentPresets are optional. The plugin can still load if these are missing, but some capabilities will be downgraded.
  • Node.js must support ESM; the repository development environment uses Node 24.
  • DSH must be restarted after adding a new bundle: The host bootstrap graph is generated at startup, and plugins added during runtime will not be loaded.

Installation and Activation

Refer to the repository README for installation commands:

# Install via local path (recommended to git clone locally first)
dsh plugin --profile <profile-name> add /path/to/dsh-agents

# Or install directly from git
dsh plugin --profile <profile-name> add https://github.com/wangyuanchuan2022/dsh-agents

The host contract is consistent with existing DSH plugins: package.json’s dsh.bundle.patch points to cordis.patch.yml, and lib/index.js exports name / inject / apply. After installation, do not duplicate the same plugin id in the profile patch, otherwise the loader may fail. Persona content is in personas/; you can use tools/install-personas.mjs to batch install them to DSH (by default, it skips roles that already have custom versions).

The plugin runs with the permissions of the current DSH process. Before installation, you should review the source code and MIT license yourself to ensure the roles and task briefs meet your security and compliance requirements.

Typical Usage

The following three steps come from the README quick start, suitable for first getting familiar with roles and tiers, then reviewing the task brief, and finally assigning the task.

// 1. See available roles, their tiers, and the actually resolved models
agent_roles(action="list", lane="review")
agent_roles(action="tiers")            // Tier routing health check: whether configured providers/models actually exist

// 2. Review task brief before assigning (synthesis only, no session created)
agent_taskbook(role="code-reviewer", task="Review this batch of changes under src/ and provide P0/P1/P2 grading")

// 3. One-step assignment: Resolve tier -> Inject persona and task brief -> Create standard DSH session and start immediately
agent_spawn(role="executor", task="Implement X, add tests following existing style in tests/")

The assigner can use de_session action=status|list to verify role recovery. Before assigning tasks, it is recommended to run agent_roles action=tiers to view the effective tier and its source (tierSources) for the current run; do not assume a certain tier points to a fixed model name.

Applicable Scenarios and Notes

Suitable for developers or teams who frequently open sub-sessions in DSH and want to solidify “who does it, with what model, and what are the delivery standards.” Pipeline-type skills are suitable for repeatable orchestration scenarios like feature development, bug fixing, and review squads; read-only advisor roles are suitable for sessions requiring isolated context, such as exploration, architecture discussion, code, and security review.

Points to note: Read-only clauses do not equate to host-enforced write prohibition; side-effect keyword warnings adopt a fail-closed approach, but task feasibility still depends on the target session’s tools and data. Configuration errors will throw errors directly; you need to adjust the three-tier routing according to the README “Configuration Reference” and the settings page. Community directory data such as star counts will change; refer to the information on GitHub and the directory page at that time.

Conclusion

dsh-agents transforms multi-agent task assignment from “dictating rules every time” into a single chain of “Role + Tier + Task Brief + Standard Session,” accompanied by workflow skills and extensions for review and mechanical checks. To further understand installation details, skill lists, and known limitations, please read the repository README.

  • Directory Page: https://www.skillhub.cn/plugins/wangyuanchuan2022/dsh-agents
  • GitHub: https://github.com/wangyuanchuan2022/dsh-agents
羽毛球分组比赛记分
小程序二维码

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

Xiaoye