返回目录
Agent 与会话 插件

dsh-mdl-promptboost

ggfgfgf-on/dsh-mdl-promptboost

DeepSeek Harness bundle: engineered execution-intensity system prompt, configurable in the plugin manager.

Stars
1
Forks
0
Issues
0
更新
25 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:ggfgfgf-on/dsh-mdl-promptboost

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-mdl-promptboost

DeepSeek Harness bundle plugin that injects a small, engineered execution-intensity prompt into the system prompt. It favors verified work over thrift: run the checks, report the conclusion first, and do not claim something was verified unless it was.

The plugin adds a configuration card to the DSH plugin manager, a runtime tool named promptboost, and the /dsh-boost slash command.

Features

  • Injects one system-prompt section before DSH's plan policy.
  • Three text sources, highest priority first:
    1. runtime override from the promptboost tool or /dsh-boost text ...;
    2. the prompt value saved in the plugin card;
    3. the built-in execution-intensity core.
  • Optional extraText appended after the selected prompt.
  • Enable/disable immediately, without restarting the host.
  • No filesystem writes, network calls, subprocesses, or dynamic code loading.

Install

Install it as a DSH bundle with the DSH plugin manager, or from this repository:

dsh plugin --profile <profile> add --ignore-scripts "github:ggfgfgf-on/dsh-mdl-promptboost"

For a reproducible install, pin the commit:

dsh plugin --profile <profile> add --ignore-scripts "github:ggfgfgf-on/dsh-mdl-promptboost#<commit-sha>"

Verify that the bundle patch inserted its row:

dsh --profile <profile> --dump-config

Expected row id: mdl-promptboost.

Configuration

Open the plugin manager page and select 执行强度提示. The host-owned form writes three keys:

Key Default Meaning
enabled true Master switch. When off, nothing is injected.
prompt "" Full replacement text. Empty means use the built-in core.
extraText "" Appended after the selected prompt; may be empty.

The bundled patch sets enabled: true and leaves the two text fields at their defaults.

Runtime control

Slash command:

/dsh-boost                     show current state and source
/dsh-boost on                  enable
/dsh-boost off                 disable
/dsh-boost text <new text>     temporary runtime override
/dsh-boost reset               drop the override

Model tool:

promptboost({ enabled?: "on" | "off", text?: string })

text: "" clears the runtime override. Runtime changes live for the current host process; they are not persisted.

How it works

  • lib/index.js declares the bundle, config schema, host-side system-prompt section, tool, and command.
  • lib/client.js registers the row configuration card on the plugin manager page.
  • cordis.patch.yml inserts the mdl-promptboost row into the DSH composition.

The prompt is read lazily on every render, so changes from the configuration card or runtime controls take effect in the same process.

Compatibility

  • DSH: >=0.2.0-rc.2 <0.3.0
  • Node.js: >=22.19
  • Runtime: pure JavaScript, no native build step

Repository layout

lib/index.js        host-side plugin, prompt injection, tool, command
lib/client.js       plugin-manager configuration card
cordis.patch.yml    bundle patch (one row)
package.json        package and DSH manifest metadata

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类Agent 与会话
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: system-prompt、prompt-engineering。