dsh-model-prompt-injector
Per-model system prompt injector for DeepSeek Harness: append custom prompt text to the END of the system prompt for locally configured models, matched by exact provider/model route or a provider-wide provider/* rule (both stack in order). A Settings page lists every configured provider and its models for per-route editing with instant effect, and rules persist to DSH_HOME so they survive restarts. Applies to main sessions, subagents, and workflow children alike.
DSH 按模型注入系统提示词:为本地已配置的模型把自定义提示词追加到系统提示词末尾,支持 provider/model 精确匹配与 provider/* 服务商级通配(两者按序叠加)。设置页自动列出每个已配置服务商及其模型,逐行编辑、即时生效;规则持久化保存、重启不丢;对主会话、subagent 与 workflow 子代理同样生效。
How to install
dsh plugin add @duke-dsh-plugins/dsh-model-prompt-injector About
dsh-model-prompt-injector 为 DeepSeek Harness(DSH)中**本地已配置的模型**追加系统提示词的插件:按 provider/model 精确匹配(或 provider/* 服务商级通配)把规则文本注入到**系统提示词末尾**,在设置面板中逐模型管理,规则**持久化保存、重启不丢**。 功能 **按模型注入**:每次向模型发起请求时,命中规则的提示词追加到系统提示词末尾(内置段落排序之后,order 9950),对主会话、子代理(subagent / workflow)同样生效。 **两级规则**:provider/* 服务商级规则对该服务商所有模型生效;provider/model 模型级规则只对该模型生效;两者同时存在时按「服务商级 → 模型级」顺序叠加。 **设置页管理**:设置 → 「模型提示词」页自动列出本地已配置的服务商与模型(与「模型」设置页同一数据源),逐行添加/编辑/清除,已注入的条目带徽标与内容预览。 **持久化**:规则保存在 <DSH_HOME>/model-prompt-injector/config.json(默认 ~/.dsh/model-prompt-injector/config.json),重启 DSH 后自动恢复。 **即时生效**:保存规则后,下一次模型请求即携带新提示词,无需重启。 安装(标准 DS…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 1
- mo. downloads
- 54
- Last push
- 2026-09-19
- Created
- 2026-09-07
Links
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Related plugins
dsh-plugin-subscriptions
V1ki/dsh-plugin-subscriptions
Use ChatGPT (Codex), Claude, and Grok subscriptions as DeepSeek Harness LLM providers, with Settings login, model catalogs, usage, plus image_generate, video_generate, and x_search tools.
dsh-workbuddy-connect
corrinehu/dsh-workbuddy-connect
Brings the models in the WorkBuddy desktop app straight into DeepSeek Harness — zero configuration in the DSH chat.
claude-code-router
musistudio/claude-code-router
One local control plane for every AI agent: route across models, fuse new capabilities, orchestrate tools, and stay fully in control.
dsh-thinking-effort
hytime/dsh-thinking-effort
Configure reasoning-effort levels and sub-agent defaults for custom DSH models.