一個原生的 DeepSeek Harness 套件,在每次 Web 對話前追加部署級系統提示前綴與固定參考問答,且不寫入工作階段記錄。
DSH 整合
原生執行環境
作者聲明
安全稽核
未稽核
最後核實
2026-09-01
授權條款
MIT
01它能幫你完成什麼?
Insert a deployment-configured system-prompt prefix and fixed reference exchanges into every DeepSeek Harness conversation
Ordered system-prompt sections rendered ahead of the deployment persona, plus reference user/assistant messages injected as real alternating messages on every ordinary request
Teams running DeepSeek Harness (dsh) web deployments who need a stable, cache-friendly system-prompt prefix and fixed few-shot examples
02如何將外掛接入 DeepSeek Harness?
安裝步驟
- 01
Add from GitHub (recommended — built artifacts are committed, so no build approval is needed): `dsh plugin --profile web add github:WM-CODER/custom-first-control-prompt`
$ dsh plugin --profile web add github:WM-CODER/custom-first-control-prompt
- 02
Add from npm: `dsh plugin --profile web add @wm-coders/dsh-custom-first-control-prompt`
$ dsh plugin --profile web add @wm-coders/dsh-custom-first-control-prompt
- 03
Add from a local directory during development: `dsh plugin --profile web add ./path/to/custom-first-control-prompt`
$ dsh plugin --profile web add ./path/to/custom-first-control-prompt
- 04
After installation, restart the web app (`dsh --profile web` or run `restart-web.ps1` / `restart-web.sh`)
$ dsh --profile web
驗證整合成功
作者未說明
復原
- Uninstall the plugin: `dsh plugin --profile web remove @wm-coders/dsh-custom-first-control-prompt`
03DSH 整合程度與能力邊界
Native DSH plugin installed via `dsh plugin add` — injects a deployment-configured system-prompt prefix
Ordered system-prompt sections
deployment-configured text fragments (sections[].text)→sections rendered ahead of the deployment persona on every request
Reference user/assistant exchanges injected per request
config.history entries (user / assistant pairs)→real alternating messages prepended on the request path for every ordinary conversation request
intercepts `llm/stream` and injects messages on the request path; writes nothing to session logsPrefix-cache reuse via byte-identical static content
static prompt content→byte-identical rendering on every request, preserving prefix-cache reuse
04適合誰?何時不該用?
適合
- Teams running DeepSeek Harness (dsh) web deployments who need a stable, cache-friendly system-prompt prefix and fixed few-shot examples
05相容性、維護與安全提醒
- By default the prefix and reference exchanges are not applied to subagents (`includeSubagents: false`); enable it explicitly in config if subagents should receive them.
- If `sections` is absent or empty, the plugin registers nothing — no system-prompt prefix is injected.
- Reference exchanges are injected by intercepting the `llm/stream` request path and are not written to session logs; they appear only on the request, not in stored history.
MIT · latest release v0.2.3 (2026-08-21), last push 2026-08-21
06常見問題
如何在 DeepSeek Harness 中安裝 custom-first-control-prompt?
執行 `dsh plugin --profile web add github:WM-CODER/custom-first-control-prompt`(GitHub,推薦)、`dsh plugin --profile web add @wm-coders/dsh-custom-first-control-prompt`(npm),或加入本機目錄。安裝後用 `dsh --profile web` 或 `restart-web.ps1` / `restart-web.sh` 重新啟動 Web 應用程式。
這個套件實際會向對話注入什麼?
它把有序的系統提示段落排佈在部署 persona 之前,並將已設定的參考 user/assistant 問答以真實的交替訊息形式注入到每一次普通請求中,透過 `llm/stream` 攔截實作,且不寫入工作階段記錄。
它會保留提示快取嗎?
會——靜態內容在每次請求中逐位元組一致地渲染,因此前綴快取可在請求之間復用。
它會影響子代理(subagent)嗎?
預設不會。`includeSubagents` 設定項預設為 false,因此子代理不會收到前綴與參考問答,除非你明確開啟。
如何復原(解除安裝)?
執行 `dsh plugin --profile web remove @wm-coders/dsh-custom-first-control-prompt` 解除安裝。
07相關的 DSH 工作流程
dsh-routing-suite
作者 yjh051108
DeepSeek Harness(dsh)路由套件:先裝執行時注入器,再載入任務感知的推理模式路由預設(已實測 P1-P23)。
brooks-lint
作者 hyhmrright
基於 12 本經典工程書籍的 AI 程式碼評審工具,提供腐化風險診斷、書籍引用、嚴重度標籤及 6 種分析模式。
oh-dsh
作者 hust-open-atom-club
一套 DSH runtime,Desktop、Web 與 TUI 三種開發體驗。
perfect-web-clone
作者 ericshang98
網頁畫素級克隆工具:貼上 URL,即可得到一份精確測量還原的 Vite + React 復刻頁面。
08資料與來源
dsh plugin --profile web add github:WM-CODER/custom-first-control-prompt
Deployment-configured prompt prefix. Ordered system-prompt sections render ahead of the deployment persona
此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-09-01。發現錯誤?提交更正。
最佳 DeepSeek Harness 外掛
從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。
