DeepSeek Harness plugin

Deepseek-Harness-plug

DeepSeek Harness 插件:按工作阶段自动路由模型(对话/规划用 flash,实施用 pro)。

Jump to install

Source facts

Repository
Bxfjjb/Deepseek-Harness-plug
Latest update
Aug 14, 2026
Category
Models & Providers
GitHub stars
2
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/Bxfjjb/Deepseek-Harness-plug
Plugin: Deepseek-Harness-plug
Author: Bxfjjb

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer2 files
README.mdSource · read only

dsh-model-stage-router

DeepSeek Harness 插件:按工作阶段自动路由模型——对话和规划用 flash(快、省),真正实施用 pro(稳、准)。

路由逻辑

阶段模型判定信号
对话flash(保持默认)无明确信号
规划flashplan mode 活跃
实施pro本会话出现突变工具调用

「进入实施」的判定:会话内第一次调用以下任一工具后,该会话后续请求保持 pro:

  • write / edit(写文件)
  • exit_plan_mode(计划批准,开始动手)
  • subagent / subagent_fork / workflow / ralph(委托执行)

安装

dsh plugin --profile web add git+https://gitee.com/god-bless-my-son/deep-seek-plugin.git

或本地 checkout:

dsh plugin --profile web add ./dsh-model-stage-router

配置

默认值已够用;如需调整,在 $DSH_HOME/cordis.patch.yml 覆盖 model-stage-router 行的 config:

- id: model-stage-router
  config:
    flashModel: deepseek-v4-flash
    proModel: deepseek-v4-pro
    # 自定义触发「实施」的工具名单:
    mutatingTools:
      - write
      - edit
      - exit_plan_mode
      - subagent
      - subagent_fork
      - workflow
      - ralph

卸载

dsh plugin --profile web remove dsh-model-stage-router

说明

  • 状态按 session 独立判定,进程内保存(重启后重置,不持久化)。
  • 对话阶段不覆盖用户显式选择的模型,只保留 agent 默认(DSH 默认即为 flash)。
  • 一旦进入实施,该会话保持 pro,直到会话结束。