Dsh Delegate — Productivity skill for Claude Code
Let Claude Desktop, Claude Code and Codex delegate self-contained tasks to a local DeepSeek Harness (DSH) subagent over MCP: parallel fan-out with per-task write scopes, async jobs that outlive host t.
How to install Dsh Delegate
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open zzm1234560621-prog/dsh-delegate and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Dsh Delegate does
Let Claude Desktop, Claude Code and Codex delegate self-contained tasks to a local DeepSeek Harness (DSH) subagent over MCP: parallel fan-out with per-task write scopes, async jobs that outlive host timeouts, token stats and a local dashboard. Zero dependencies.
Alternatives in Productivity
- Tradingview MCP — Real-time crypto & stock screening, advanced technical indicators, Bollinger Bands intelligence, candlestick p 2.6k ★
- Jobs — Create, list, edit, or delete cron jobs 1.3k ★
- Setting Up N8n-workflow-builder For Claude Desktop App — This guide explains how to set up the n8n-workflow-builder for use with Claude Desktop App 219 ★
README
dsh-delegate
中文 | [English](README.en.md)
**让 Claude 把机械活交给本机的 DeepSeek Harness(DSH)子代理去干。**
Claude Desktop、Claude Code、Codex 通过 MCP 多出三个工具:`dsh_task` 单发、`dsh_parallel` 并行、`dsh_job` 追长任务。Claude 负责拿主意,DSH 负责跑腿:批量改文件、写小脚本、解释报错、跑检查并汇总。这些活由更便宜的模型在独立进程和沙箱里完成,只把结论交回来,不占 Claude 的上下文。
Claude Desktop / Claude Code / Codex
│ MCP (stdio)
▼
dsh-delegate ──spawn──► dsh --profile headless × N 独立进程 · 沙箱 · 可续接
▲ │
└──── 状态行 + 结论 / job id ┘
特性
- 零依赖:只要 Node.js 18+,没有
npm install这一步。 - 长任务不会被宿主超时掐断:调用最多等 45 秒,没跑完就先返回
job=…(不是失败),再用dsh_job接着等。 - 并行,且各写各的:
dsh_parallel默认全部同时跑;每个任务可以带write_scope,能读整个仓库,但只能写自己那块,越界写由 DSH 沙箱拒绝。 - 可续接:状态行带
session_id,传回去就能接着上次的会话干。 - 用量看得见:从 DSH 会话日志里算出每次的 token 和吞吐。
- 本机看板:实时看子代理在干什么,在网页里切换模型、填凭据;装成 DSH 插件后,DSH 输入框上方也有一个面板。
前置条件
- Node.js ≥ 18
- DSH 桌面版(DSH NEXT)或 CLI(
npm i -g @deepseek-ai/dsh),装一个即可 - 一个模型 API key,装好后在看板里配,见「配置模型和 key」
安装
两种装法的目的一样:把 Claude 桌面版、Claude Code、Codex 接到本机 DSH。DSH 自己派子代理用的是它内置的 subagent,不经过本工具。
| A. 安装脚本 | B. DSH 插件 | |
|---|---|---|
| 把三个客户端接到 DSH(MCP 配置) | ✓ 安装时写一次 | ✓ 每次 DSH 启动时检查,不一致才写 |
| skill 和全局分工说明(教 Claude 哪些活该派) | ✓ | — |
dsh 命令行启动器 |
✓ | — |
| DSH 输入框上方的委派面板 | — | ✓ |
推荐两个都装:脚本把全套装好,插件负责以后自动校准配置、提供面板。插件会优先使用脚本部署的运行时。
A. 安装脚本
**下载安装包,不需要 git**:到 [Releases](https://github.com/zzm1234560621-prog/dsh-delegate/releases/latest) 下载 `dsh-delegate-v*.zip` 并解压。Windows 双击 `install.cmd`,窗口会停在结果页;macOS / Linux 在解压出的目录里运行 `sh install.sh`。
**或者用 git 克隆**,Windows(PowerShell 或 cmd):
git clone https://github.com/zzm1234560621-prog/dsh-delegate
cd dsh-delegate
.\install.cmd --dry-run # 先看会改哪些文件
.\install.cmd
macOS / Linux:
git clone https://github.com/zzm1234560621-prog/dsh-delegate
cd dsh-delegate
./install.sh --dry-run
./install.sh
两个脚本参数相同(Windows 也认 `-DryRun`、`-Targets` 这种写法):
| 参数 | 作用 |
|---|---|
--dry-run |
只列出会改动的文件,不写入 |
| `--targets= |
Related Skills
Dsh Of Your Own
/fuck — migrates your Claude Code & Codex habits into DeepSeek Harness. One command, parallel scan, boot-time
Dsh Team Rooms
Team rooms for DeepSeek Harness: persistent shared rooms across independent sessions - a message bus, a shared
Splay
Fan out your agents. A Linux workspace manager for running coding agents in parallel, one workspace per task.
Musecode
Ultracode" on Muse Spark 1.3 (free) — orchestrate the task as a Workflow where every fan-out agent is the muse
Handoff Verify
8 reviewer 병렬 검증 (Workflow tool 결정론 fan-out + CRITICAL/HIGH adversarial 재검증)
Agent Cost Monitor
Keep track of your API usage in real time! A cross-platform plugin that records estimated cost for turns, sess
Related Agents
Ds Flash
DSH (DeepSeek Harness) worker on the flash tier - fast and cheap. Delegate simple, well-scoped subtasks: mecha
Sm Readers
Owner of the Readers part. Everything the plugin knows comes from files on this PC. Its code: server/sources/,
CLI Engineer
Ingénieur du CLI Hookstack (packages/cli/, package npm hookstack-cli). Utiliser pour toute évolution du CLI in