MJorgin / dsh-agent-conductor

Listed

⚡ DSH 指挥家(动态插件/热更新版):在会话里派活给 11 种外部 agent CLI(Codex/Claude Code/TraeCode…),cordis_define 秒级安装,不碰 profile。

mainOther View source

Installation

npx -y @deepseek-ai/dsh plugin --profile web add github:MJorgin/dsh-agent-conductor

This installation command is an unverified starting point generated from the GitHub repository address.

README

Maintainer-authored documentation snapshot.

View on GitHub ↗
Commit f954ae7Synced Aug 18, 2026

⚡ dsh-agent-conductor · DSH 指挥家(Skill 版)

dsh-agent-conductor

让 DeepSeek Harness 的 agent 自动识别派活需求,把任务派给 11 种外部 agent CLI(Codex、Claude Code、TraeCode、OpenCode、Gemini、Cursor、Kimi、Qwen、Copilot、WorkBuddy、Grok)无头执行,结果回传会话。

灵感来自 Multica——把"agent 小队"概念做成一个零安装成本的 DSH 技能。

为什么是 Skill

profile 插件 / bundle动态插件Skill(本方案)
安装写 profile + 重启会话内定义复制一个文件夹
触发手动模型调工具描述匹配,模型自动识别
风险可能影响 Web UI会话级、重启消失只读脚本,宿主无感
结果工具结果工具结果stdout 直接成为回答依据

一个 SKILL.md + 一个 90 行的 dispatch.py,完事。

安装

skills/conductor/ 复制到任意技能根目录(项目级 .dsh/skills/ 或全局 ~/.dsh/skills/):

mkdir -p .dsh/skills/conductor
cp -R skills/conductor/. .dsh/skills/conductor/

装完无需重启——下次对话直接说:

  • 「派 codex 把这份 README 翻译成繁体中文」
  • 「让 Claude Code 查一下这个报错的成因」
  • 「用 Codex 独立实现一个 XXX」

agent 会自动识别(SKILL.md 描述匹配)→ 执行 dispatch.py → 结果回传。

前置:想派谁就装谁的 CLI

# Codex(机器上已有 codex-cli 时软链到 PATH)
ln -s ~/.codex/plugins/.plugin-appserver/codex ~/.local/bin/codex
# Claude Code / OpenCode
npm i -g @anthropic-ai/claude-code
npm i -g opencode-ai
# TraeCode CLI:https://docs.trae.cn/cli_command-line-parameters

Codex 要求在受信任的 git 仓库运行:把 CONDUCTOR_CWD=/path/to/git/repo 写进 ~/.dsh/secrets/media-tools.env。 想让派出的 agent 能写文件:Codex 的 ~/.codex/config.tomlsandbox_mode = "workspace-write"。 派活消耗对方 CLI 的登录额度。

已验证 vs 待验证

CLI无头命令状态
Codexcodex exec "{task}"✅ 真机实测(翻译任务已产出交付)
Claude Codeclaude -p "{task}" --output-format text✅ 官方文档
TraeCodetraecli exec "{task}"✅ 官方文档
OpenCodeopencode run "{task}"✅ 官方文档
Gemini / Cursor / Kimi / Qwen / Copilot / WorkBuddy / Grokdispatch.py 注册表⏳ 命令形态待实测

可选:bundle 安装(host-only)

仓库同时是一个 host-only dsh bundle(声明 dsh.bundle无任何客户端代码),一条命令把 conductor_dispatch 工具装进 profile:

dsh plugin --profile web add github:MJorgin/dsh-agent-conductor
  • 工具与技能共用同一份 CLI 注册表;
  • 无 client 半边,不影响 Web UI(早期带面板的客户端版本因此移除,见 git log);
  • 面板/任务看板回收等功能走路线图,另行实现。

仓库内容

index.js                      # bundle 宿主半边:conductor_dispatch 工具(host-only)
cordis.patch.yml              # bundle 层(单行,无客户端)
skills/conductor/SKILL.md      # 技能定义:触发描述 + 派活规则 + 隐私
skills/conductor/scripts/dispatch.py  # 派活引擎(Python 标准库,零依赖)
conductor-dynamic.js           # 备选:动态插件版(cordis_define 路线)

路线图

  • 面板 UI(可选,动态插件 client 半边)
  • 任务看板回收:派活结果写入 dsh-task-board 卡片
  • 小队编排:一个任务分发给多个 agent 汇总(Multica squads 形态)

License

MIT

相关链接

Project files and signals

Shown items are public repository signals detected in the directory snapshot.

DocumentationDetected

Repository information

Language
JavaScript
License
MIT
Last updated
Aug 17, 2026, 2:12 PM

Install deliberately

Review source code, permissions, lifecycle hooks, dependencies and network access. Test untrusted plugins in an isolated environment.