dsh-agent-conductor

DSH PLUGIN模型与账号接入

仓库 MJorgin/dsh-agent-conductor · npm dsh-agent-conductor

模型与账号接入 L5 · 运行验证通过 安全审查:低风险 可信度:金 可安装插件
安装这个插件

DSH 指挥家插件让 DeepSeek Harness 在会话中自动调度 11 种外部 agent CLI(Codex、Claude Code 等),无头执行任务并将结果带回对话。

验证等级 L5 L5 · 运行验证通过
GitHub 星标 13 复刻 1 · 未关闭 issue 1
最近更新 2026-09-30 创建于 2026-08-15
README 12.3 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:MJorgin/dsh-agent-conductor#v0.3.1
兼容 DSH 版本0.2.0-rc.2 等 11 个版本版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名dsh-agent-conductor可用 npm view 查看包信息

能做什么

5 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

dsh-agent-conductor:DeepSeek Harness 的会话内任务分派插件,连接 11 个外部 agent CLI

  • 自动触发调度
  • 11 种 agent CLI
  • 无头执行任务
  • 结果带回对话
  • 零依赖技能

适用场景

终端命令

上游标签

agentclaude-codecodexdeepseek-harnessdsh-pluginmulticatask-board

验证等级与安全审查

L5 · 运行验证通过
自动化流程结论,不是人工审核
验证等级L5 · 运行验证通过在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度金综合仓库活跃度与验证结果

上面的结论来自上游最近一次自动化验证(2026-10-08): 同一套检查会在插件发新版后重跑,页面显示的是最新一次的逐项结果。

逐项检查结果

L1 · 已找到 ✓ 通过
  • L1.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L2 · 结构化 ✓ 通过
  • L2.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L3 · 安装规范 ✓ 通过
  • L3.1_INSTALL_COMMAND_PARSED 安装命令已解析 方式:安装规范解析
  • L3.2_DSH_VERSION_DECLARED DSH 版本已声明 方式:DSH 版本声明
L4 · 安装已测 ✓ 通过
  • L4.1_INSTALL_EXECUTED_CONFINED 受限沙盒内执行安装 方式:沙盒安装执行
  • L4.2_INSTALL_SUCCESS 沙盒安装成功 方式:沙盒安装执行
  • L4.3_ARTIFACT_CONFIRMED 安装产物已确认 方式:沙盒安装执行
L5 · 运行已测 ✓ 通过
  • L5.1_INSTALL_PASSED_SANDBOXED 沙盒安装通过 方式:沙盒安装执行
  • L5.2_WEB_BOOT_READY Web 启动就绪 方式:Web 启动
  • L5.3_HTTP_SERVED HTTP 服务响应 方式:HTTP 请求
  • L5.4_PLUGIN_INVENTORY_ACTIVE 插件清单中已激活 方式:插件清单查询

风险详情

  • 审查结论 通过
  • 结论说明 vet 静态分析未发现可疑行为,判定为干净(clean)。
  • 风险计数 严重 0 / 高 0 / 中 0
  • 风险详情 未发现严重或警告级问题。

仓库档案

模型与账号接入
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方MJorgin仓库 dsh-agent-conductor · 默认分支 main
分类模型与账号接入ai
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言JavaScript仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue13 / 1 / 1收录时的数值,非实时
创建 / 更新2026-08-15 · 2026-09-30最后推送 2026-09-30
本站收录2026-08-20首次进入本站目录的时间

README 全文

12.3 KB
作者原文,中文版优先;只做安全转义,不改内容

⚡ dsh-agent-conductor

Let your DeepSeek Harness agent dispatch tasks to 11 external agent CLIs — Codex, Claude Code, TraeCode, OpenCode, Gemini, Cursor, Kimi, Qwen, Copilot, WorkBuddy, Grok — headlessly, and bring results back into the conversation.





English · 简体中文


DeepSeek Harness is a great reasoning engine — but sometimes the job is better done by another coding agent: a Codex translation, a Claude Code investigation, a Cursor refactor. This plugin lets your DSH agent recognize when to delegate (by skill-description matching), dispatch a self-contained task to one of 11 external agent CLIs in headless mode, and bring the stdout result back as the answer.

> Inspired by Multica — the "agent squad" idea as a zero-install DSH skill.

🎯 When to use Conductor

  • Independent second opinion: ask Codex, Claude Code, or Gemini to review the same design and compare their reasoning.
  • Legacy-code investigation: have one agent trace a call chain while another checks risks, regressions, and migration options.
  • Cross-model implementation: use an agent whose toolchain or model fits the job, then bring its result back to DSH.

✨ What you get

Capability What it does Cost
🧠 Auto-triggered dispatch Say "have Codex translate this README" — the model matches the skill, runs the dispatch script, and answers from the result Free (uses the target CLI's quota)
🔧 conductor_dispatch tool (optional bundle) The same registry as a first-class DSH tool, installed into a profile with one command Free
🩺 doctor self-check python3 dispatch.py doctor probes which CLIs are installed (resolves PATH + tries --version) before you dispatch Free
👀 Dry-run preview Preview the target, working directory, argv, and shell-equivalent command without starting an external agent Free
👥 11 agent CLIs Codex, Claude Code, TraeCode, OpenCode, Gemini, Cursor, Kimi, Qwen, Copilot, WorkBuddy, Grok Their login quotas
🔒 Privacy Task text goes only to the CLI's own provider; keys stay local —

🧭 Why a Skill (and not just a plugin)

profile plugin / bundle dynamic plugin Skill (this repo)
Install write profile + restart define in-session copy a folder
Trigger manual model calls a tool description matching, model auto-recognizes
Risk touches the host session-scoped, gone on restart read-only script, host-agnostic
Result tool result tool result stdout directly becomes the answer

One SKILL.md + a zero-dependency dispatch.py (Python stdlib only).

⚡ Quick start (Skill)

Copy skills/conductor/ to any skill root (project-level .dsh/skills/ or global ~/.dsh/skills/):

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

No restart needed — from the next message on, just say:

  • "派 codex 把这份 README 翻译成繁体中文" (have Codex translate this README)
  • "让 Claude Code 查一下这个报错的成因" (ask Claude Code to investigate this error)
  • "用 Codex 独立实现一个 XXX" (have Codex implement XXX independently)

The agent auto-recognizes the need (SKILL.md description matching) → runs dispatch.py → returns the result.

Before an unfamiliar or potentially write-producing dispatch, preview it without consuming the target agent's quota:

python3 skills/conductor/scripts/dispatch.py --dry-run claude-code "Read src/auth.ts and explain the token refresh flow. Do not edit files."

🧭 Agent capability matrix

Task First choices Why
Architecture review / second opinion Codex, Claude Code, Gemini Different reasoning styles are useful for catching design blind spots
Legacy-code call-chain investigation Claude Code, Codex, Copilot Good for tracing repository-local dependencies and attaching evidence
GitHub-centric issue or Actions analysis Copilot, Codex Natural fit for repositories, pull requests, and CI diagnostics
Editor-coupled refactor Cursor, Codex Useful when the workflow is tightly connected to an existing project tree
Chinese localization / Chinese docs TraeCode, Qwen, Kimi, Codex Strong Chinese-language options; keep terminology consistent in the task
Fast alternative implementation OpenCode, Qwen, Kimi Useful for bounded spikes where a separate login/toolchain is available

The matrix is a routing starting point, not a hard rule. Prefer an installed, logged-in CLI that has access to the correct workspace.

📋 Copy-ready dispatch recipes

  1. Safe diagnosis:
You are investigating a bug in the current repository. Do not edit files.
Reproduce the issue from this description: .
Read only the minimum relevant files. Return:
1) root cause, 2) evidence with file:line, 3) three ranked fix options,
4) tests that should be added or updated.
  1. Independent architecture review:
Review this design as an outside staff engineer. Do not assume hidden context.
Design summary: .
Challenge scalability, failure modes, security boundaries, and migration risk.
Return disagreements first; for each, include impact, evidence, and a fallback.
  1. Test-backed implementation:
Implement this change in the current repository: .
Work in small steps. Add or update tests first where practical.
Before finishing, run the relevant test command and report:
files changed, tests run, remaining risks, and follow-up work.

🛠️ Prereqs: install the CLIs you want to dispatch to

# Codex / Claude Code / OpenCode / Gemini / Qwen
npm i -g @openai/codex
npm i -g @anthropic-ai/claude-code
npm i -g opencode-ai
npm i -g @google/gemini-cli
npm i -g @qwen-code/qwen-code
# Kimi / Grok / Copilot (headless flags verified against each CLI's own --help)
npm i -g @moonshot-ai/kimi-code
npm i -g @xai-official/grok
npm i -g @github/copilot
# TraeCode CLI: https://docs.trae.cn/cli_command-line-parameters
# (already have codex-cli? symlink instead: ln -s ~/.codex/plugins/.plugin-appserver/codex ~/.local/bin/codex)

> Headless note: Copilot non-interactive mode must auto-approve tools, so the registry runs copilot -p "" --allow-all-tools. The other CLIs run their standard print/headless flag.

Then check what's actually dispatchable on this machine:

python3 skills/conductor/scripts/dispatch.py doctor
# ✅ Codex  …/codex — codex-cli 0.151.0 …
# ❌ Gemini … 未找到 `gemini`  →  安装:npm i -g @google/gemini-cli

> Working directory is auto-detected. The bundle tool runs each CLI in the current session's workspace (exec.agent.session.header.cwd), then CONDUCTOR_CWD, then the harness cwd — no hardcoded paths. Codex still requires a trusted git repo: point CONDUCTOR_CWD=/path/to/git/repo (env or ~/.dsh/secrets/media-tools.env) at one if the auto-detected folder isn't trusted. The skill script honors CONDUCTOR_CWD and falls back to the current directory.
> To let the dispatched agent write files: add sandbox_mode = "workspace-write" to Codex's ~/.codex/config.toml.
> Dispatching consumes the target CLI's login quota.

✅ Verified vs ⏳ pending

CLI Headless command Status
Codex codex exec "{task}" ✅ field-tested (translation task delivered)
Claude Code claude -p "{task}" --output-format text ✅ installed; per official docs
TraeCode traecli exec "{task}" ✅ per official docs
OpenCode opencode run "{task}" ✅ per official docs
Gemini CLI gemini -p "{task}" ✅ per official docs
Qwen Code qwen --prompt "{task}" ✅ per official docs (Gemini-CLI fork)
Kimi CLI kimi --prompt "{task}" ✅ flag confirmed from the CLI's own help (-p, --prompt = non-interactive)
Copilot CLI copilot -p "{task}" --allow-all-tools ✅ flag confirmed from copilot --help (bin is copilot, not github-copilot; --allow-all-tools is required headless)
Grok CLI grok -p "{task}" ✅ per official README (grok -p "..." = run one task)
Cursor CLI cursor-agent -p "{task}" ⏳ command shape pending field test (install via cursor.com; the npm cursor-agent package is unrelated)
WorkBuddy workbuddy -p "{task}" ⏳ command shape pending field test

> Install packages were verified against the npm registry: Kimi is @moonshot-ai/kimi-code (bin kimi), Grok is @xai-official/grok (bin grok), Copilot is @github/copilot (bin copilot), Codex is @openai/codex. The kimi-cli npm package is an unrelated placeholder with no binary — do not use it.

📦 Optional: bundle install (host-only tool)

This repo is also a host-only dsh bundle (declares dsh.bundle, zero client code — the Web UI is untouched). One command installs the conductor_dispatch tool into a profile:

dsh plugin --profile web add github:MJorgin/dsh-agent-conductor
  • The tool and the skill share the same CLI registry (index.js ⇄ conductor-dynamic.js ⇄ dispatch.py — keep the three in sync when adding CLIs);
  • No client half, so the Web UI is never affected (the early panel-carrying client version was removed — see git log);
  • Hardened host execution: supports dry-run previews, explicitly declares the subprocess dependency, enforces a real 10-minute timeout that terminates the whole process tree (also on cancel — no orphaned CLIs), and clips over-long output (head + tail, ~20k chars) so a chatty agent can't blow up the context;
  • Panels / task-board recycling are on the roadmap.

📂 Repo layout

index.js                      # bundle host half: conductor_dispatch tool (host-only)
cordis.patch.yml              # bundle layer (one row, no client)
skills/conductor/SKILL.md      # skill definition: trigger description + dispatch rules + privacy
skills/conductor/scripts/dispatch.py  # dispatch engine (Python stdlib, zero deps)
conductor-dynamic.js           # alternative: dynamic-plugin edition (cordis_define route)

🗺️ Roadmap

  • [x] doctor health check and dry-run preview
  • [ ] Routing by capability, speed, and cost
  • [ ] Panel UI (optional, dynamic-plugin client half)
  • [ ] Task-board recycling: dispatch results written back to dsh-task-board cards
  • [ ] Squad orchestration: one task fanned out to several agents and merged (Multica squads shape)

🔑 Keys & privacy

  • Keys are never stored in this repo. The skill script reads env vars, then ~/.dsh/secrets/media-tools.env (same convention as dsh-media-skills).
  • Task text is sent to the target CLI's provider — never put secrets or internal data into a task.
  • Results belong to the target CLI's terms of service; mark deliverables as "done by ".

License

MIT

Related

常见问题

7 问
答案由本站依据条目字段整理,不引用上游原文
dsh-agent-conductor 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:MJorgin/dsh-agent-conductor#v0.3.1` 即可。对应的 npm 包名是 `dsh-agent-conductor`。

dsh-agent-conductor 的验证等级是什么意思?

L5 · 运行验证通过。在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来

dsh-agent-conductor 安全吗?

低风险。vet 静态分析未发现可疑行为,判定为干净(clean)。

dsh-agent-conductor 支持哪些 DSH 版本?

上游记录的兼容版本包括 0.2.0-rc.2、0.2.0-rc.1、0.1.7-rc.2、0.1.6-alpha.2、0.1.6-alpha.1、0.1.5-rc.2、0.1.3-alpha.2、0.1.3-alpha.1。版本较多,只列出前 8 个。

dsh-agent-conductor 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

dsh-agent-conductor 有哪些功能?

自动触发调度、11 种 agent CLI、无头执行任务、结果带回对话、零依赖技能。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

模型与账号接入
按星标排序,可作替代方案

archify

archify

从仓库或系统描述生成经过校验的自包含交互式架构图、流程图、时序图、数据流图和生命周期图。

L4 · 沙盒安装通过 8.0 万 星

nocobase

nocobase

L3 · 安装规范通过 2.5 万 星

dsh-our-free-model

dsh-our-free-model

为 DeepSeek Harness 挂载免登录、免 API Key 的免费前沿模型通道,装完即用,并附用量看板与 OpenAI 兼容本地转

未标注验证等级 8,064 星

dsh-purge

dsh-purge

dsh-purge 是一款 DeepSeek Harness 设置插件,可修改默认副本、权限策略和工具限制,并添加规则卡片以分组应用补丁,支

L5 · 运行验证通过 4,573 星

MJorgin 的其它插件

3 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 2026-10-08。