fred-chen/dsh-subagent-model-director ↗★ 0
dsh-subagent-model-director
Smart subagent model assignment for DeepSeek Harness: define model profiles (intelligence, speed, tags) from the globally allowed subagent model list, then let the delegating session pick the best child model per task — fact-checking/research gets fast low-intelligence models, code analysis gets high/mid intelligence at speed, planning/design gets the smartest. Tags match tasks first; complexity breaks ties. Ships a settings page, a dynamic system-prompt section, and a subagent_assign_model helper tool. 适合需要优化子代理任务路由、根据智能与速度自动匹配模型的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fred-chen/dsh-subagent-model-director安装后配置
- 重启 DSH(新 bundle 建议重启一次确认加载);
- 确认侧栏 插件 页出现 subagent-model-director 且已启用;
- 前置条件:先到 设置 → 插件 → Subagent → Model selection 启用并勾选允许子代理使用的模型——本插件的模型档案只能从这个全局允许列表中选择;
- 打开 插件 → subagent-model-director → Configure:
- 添加模型档案:从下拉框选择 provider/model,标注智能程度(高/中/低)、推理速度(高/中/低)、自定义标签(如
调研、代码分析、写作),可选填 reasoning effort; - 可选:添加关键词规则(强信号)、设置默认档案、切换负载均衡模式;
- 添加模型档案:从下拉框选择 provider/model,标注智能程度(高/中/低)、推理速度(高/中/低)、自定义标签(如
- 用页面底部的 分派测试 验证规则链(纯代码模拟,不调用大模型);
- 保存后,新会话即生效——父会话的系统提示词会出现档案表与分派标准,父模型据此为每次
subagent委派填写路由。
卸载 / 更新
- 卸载:插件页删除该 bundle,或
pnpm remove dsh-subagent-model-director(profile 目录内); - 更新:
pnpm add github:fred-chen/dsh-subagent-model-director#main后重启;发布 npm 后可直接pnpm add dsh-subagent-model-director@latest。