Skip to content
Back to search

dsh-prompt-inject

dsh注入全局系统提示词插件,需要ai破甲/越狱提示词看:TG群@KavovaK1

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked yesterday
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/chiina66--dsh-prompt-inject/badge.svg)](/listings/chiina66--dsh-prompt-inject)

HTML

<a href="/listings/chiina66--dsh-prompt-inject"><img src="/api/listings/chiina66--dsh-prompt-inject/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

DSH 里打开 **设置 → 插件 → 安装**,填:

github:chiina66/dsh-prompt-inject#v1.1.2

装完重启 DeepSeek Harness,设置左侧会多出「提示词注入」。

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 71 lines
  1. # dsh-prompt-inject
  2. 给 **DeepSeek Harness** 用的系统提示词注入插件:在设置页里写一段话,它会作为**全局**系统提示词出现,当前会话、子代理、工作流派生的 agent 都会带上。
  3. ## 安装
  4. DSH 里打开 **设置 → 插件 → 安装**,填:
  5. ```
  6. github:chiina66/dsh-prompt-inject#v1.1.2
  7. ```
  8. 装完重启 DeepSeek Harness,设置左侧会多出「提示词注入」。
  9. ## 使用
  10. 打开 **设置 → 提示词注入**,写下你想要的规则,点保存——**下一个回合就生效**,不用重启。
  11. ```
  12. 比如:
  13. - 回复先给结论,再给理由,尽量简短
  14. - 代码注释用中文
  15. - 不确定的事直接说不确定,不要猜
  16. ```
  17. | 按钮 | 作用 |
  18. |---|---|
  19. | 保存修改 | 写入并立即生效 |
  20. | 停用注入 / 启用注入 | 临时关掉,内容留着 |
  21. | 清空 | 清掉正文 |
  22. | 重新读取 | 按当前配置重置输入框 |
  23. ## 功能
  24. - **全局生效**:不止当前会话,子代理和工作流里的 agent 都会拿到同一段提示词
  25. - **位置可调**:默认排在系统提示词最下面(`order: 10300`),工具说明、人格后缀之后
  26. - **热生效**:改完下一回合就变,不重启、不刷新
  27. - **文件模式**:把 `contentFile` 指到一个 `.md`,改文件即生效,适合在编辑器里写长提示词
  28. - **模型可改**:附带 `prompt_inject` 工具,可以直接对 agent 说「把注入改成 …」「关掉注入」
  29. - **容错**:文件读不到、配置写不进去都只记日志降级,不影响 Harness 启动
  30. ## 配置
  31. ```yaml
  32. - id: prompt-inject
  33. name: dsh-prompt-inject
  34. config:
  35. enabled: true # 开关
  36. content: '' # 正文,设置页编辑的就是它
  37. contentFile: '' # 可选:改读文件,文件存在时优先于 content
  38. order: 10300 # 插入位置,越大越靠后;10300 = 最下面
  39. complete: false # true = 用这段取代整份系统提示词(会吃掉工具说明,慎用)
  40. interpolate: false # 是否对正文做 {{变量}} 插值
  41. trim: true # 去掉首尾空白
  42. tool: true # 是否注册 prompt_inject 工具
  43. ```
  44. ## 卸载
  45. **设置 → 插件** 里卸载本插件,然后重启。
  46. ## 环境
  47. DeepSeek Harness `0.2.1` / `0.2.2`(cordis 4.x),无额外依赖。
  48. 插件不会去 import 宿主的 `@deepseek-ai/*` 包:schema 用随包 `vendor/` 副本,
  49. 工具定义在解析不到 `dsh-tools` 时自行拼装,所以插件依赖解析出问题也不会掉功能。
  50. ## License
  51. MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.