← Back to list

dsh-model-prompt-injector

DeepSeek Harness Models & Providers Low risk

根据模型自动注入系统提示词

How to install

DeepSeek Harness 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

43 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
43 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
JavaScript
GitHub stars
0
mo. downloads
Last push
2026-09-07
Created
2026-09-07

Links

GitHub ↗ npm ↗ Report issue ↗

Basic safety check

Findings
描述过短(<20 字符),疑似低质
Sources
curated:awesome-dsh-plugin/awesome-dsh-plugin

Related plugins

DeepSeek HarnessClaude CodeCodex
Score81

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.

☆ 335 ↓ 9.2K Models & Providers
Claude Code
Score74

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.

☆ 37.2K ↓ – Models & Providers
DeepSeek Harness
Score73

dsh-thinking-effort

hytime/dsh-thinking-effort

Configure reasoning-effort levels and sub-agent defaults for custom DSH models.

☆ 28 ↓ 5.3K Models & Providers
DeepSeek Harness
Score72

dsh-llm-fallbacks

btspoony/dsh-llm-fallbacks

Role-based LLM retry & fallback strategies.

☆ 20 ↓ 5.7K Models & Providers