H1a3x/dsh-prompt-inject ↗★ 1

dsh-prompt-inject

System-prompt template injection for DeepSeek Harness: manage named prompt templates and inject the selected one (global default plus per-workspace overrides) into every session's system prompt. 适合需要统一注入系统提示词的用户;支持全局默认与按工作区覆盖,选中即生效。

Package
dsh-prompt-inject
Compatibility
Unverified
Cordis peer range
^4.0.1
Version
0.1.0
License
MIT
Last updated
Aug 14, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

使用

安装并重启后,打开 设置 → 插件 → 提示词注入模板:

  1. 点「添加模板」,输入名称与提示词正文
  2. 在「全局生效模板」下拉里选一个作为默认模板(未在下方覆盖的工作区使用它)
  3. 在「按工作区覆盖」里给某个工作区单独选一套模板,或选「不注入」
  4. 每个模板行有「预览」按钮,可随时查看正文

选中即生效——无需单独的开关。切换后下一条消息即注入新模板,新会话自动生效。

工作区匹配以 host 侧 realpath 规范化后的路径为键,与 agent 会话的 cwd 同源,因此一一对应。