Skip to content
Back to search

dsh-personal-directive

harness 破甲插件安装即用

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/liucaimao2026--dsh-personal-directive/badge.svg)](/listings/liucaimao2026--dsh-personal-directive)

HTML

<a href="/listings/liucaimao2026--dsh-personal-directive"><img src="/api/listings/liucaimao2026--dsh-personal-directive/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.

从 GitHub 安装

推荐直接从 GitHub 安装:

dsh plugin --profile web add github:liucaimao2026/dsh-personal-directive

如果 `dsh` 没有加入 PATH,可以使用 DSH 安装目录中的命令:

& "D:/deepseek-harness/node_modules/.bin/dsh.cmd" plugin --profile web add github:liucaimao2026/dsh-personal-directive

安装成功后,DSH 会自动:

1. 将插件加入 `~/.dsh/profiles/web/package.json` 的 dependencies。 2. 将 `dsh-personal-directive` 加入 `dsh.profile.bundles`。 3. 应用插件自带的 `cordis.patch.yml`。 4. 安装插件的服务端和 Web 客户端依赖。

然后完全重启 `dsh web`,再刷新页面:

http://127.0.0.1:3080

本地 link 安装

适合开发、修改源码或从本地备份恢复:

dsh plugin --profile web add link:"C:/Users/Administrator/Desktop/DSH个人插件/dsh-personal-directive"

本地 link 指向个人目录。修改源码后不需要重新安装依赖,但需要重启 `dsh web` 才能加载新的 Host 或 Web 客户端代码。

从本地 link 切换到 GitHub 版本

如果 profile 中已经存在同名本地 link,先移除旧依赖:

dsh plugin --profile web remove dsh-personal-directive
dsh plugin --profile web add github:liucaimao2026/dsh-personal-directive

更新

从 GitHub 安装后更新到最新版本:

dsh plugin --profile web update dsh-personal-directive

更新后完全重启 `dsh web`。

卸载

卸载只会移除插件,不会删除用户其他 bundle:

dsh plugin --profile web remove dsh-personal-directive

本项目顶部的「破甲:开启 / 破甲:关闭」是运行时开关,不等同于上述卸载命令。

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 · 227 lines
  1. # dsh-personal-directive
  2. DeepSeek Harness 的「无限一代」二次开发版:保留原版仓库的系统提示词和工具行为,并增加位于顶部「完成提示」后方的运行时开关。
  3. > 本项目是基于原项目的个人二次开发版本,不是原作者的官方发布版本。
  4. 打个推广 基元律动 白嫖68元 deepseek模型还是老价格
  5. 邀请好友限时活动继续延长,体验OpenSquilla新功能畅享免费token
  6. https://tokenrhythm.studio/i/rf_tr_4Xud9j0AXkmBFCOp6MMMzsXQ
  7. 不是土台子
  8. ## 项目来源
  9. 原版项目:
  10. - GitHub:https://github.com/Minglink/dsh-infinite-gen-1
  11. - 项目名称:dsh-infinite-gen-1 / 无限一代(Infinite Generation One)
  12. - 原作者:Minglink
  13. 本项目保留并使用原版的核心提示词文件和 `infinite_gen1_profile` 工具,在此基础上增加 Web 顶部可视化控制。
  14. ## 二次开发内容
  15. 相较原版仓库,本项目主要增加了以下功能:
  16. - 在 DeepSeek Harness Web 顶部「完成提示」后注册「破甲:开启 / 破甲:关闭」按钮。
  17. - 使用运行时远程接口切换提示词状态,不通过卸载插件切换。
  18. - 插件保持安装和加载,关闭时仅让破甲系统提示词段返回空内容。
  19. - 开启或关闭后,状态只影响后续模型请求,不修改已经发出的请求。
  20. - 保留原版 `infinite_gen1_profile` 工具和原版提示词内容。
  21. - 使用本地 `link:` 依赖,方便直接修改个人目录中的源码。
  22. 开关位置由 DSH UI 槽位控制:
  23. ```text
  24. conversation.session.header.actions
  25. ```
  26. 本项目使用顺序 `1010`,用于排在现有「完成提示」按钮之后。
  27. ## 目录结构
  28. ```text
  29. dsh-personal-directive/
  30. ├── index.js # Harness 服务端插件入口和运行时开关
  31. ├── lib/
  32. │ └── client.js # 顶部可视化开关
  33. ├── prompts/
  34. │ └── personal-directive.md # 与原版一致的核心提示词
  35. ├── cordis.patch.yml # Bundle 插入声明
  36. ├── package.json # Harness bundle/client 元数据
  37. ├── pnpm-lock.yaml # 本地依赖锁定文件
  38. └── README.md
  39. ```
  40. ## 环境要求
  41. - 已安装 DeepSeek Harness,且 `dsh web` 可以正常启动。
  42. - `dsh plugin` 命令可用。
  43. - `pnpm` 已加入 PATH。
  44. - 当前安装教程面向 `web` profile。
  45. ## 安装
  46. ### 从 GitHub 安装
  47. 推荐直接从 GitHub 安装:
  48. ```powershell
  49. dsh plugin --profile web add github:liucaimao2026/dsh-personal-directive
  50. ```
  51. 如果 `dsh` 没有加入 PATH,可以使用 DSH 安装目录中的命令:
  52. ```powershell
  53. & "D:/deepseek-harness/node_modules/.bin/dsh.cmd" plugin --profile web add github:liucaimao2026/dsh-personal-directive
  54. ```
  55. 安装成功后,DSH 会自动:
  56. 1. 将插件加入 `~/.dsh/profiles/web/package.json` 的 dependencies。
  57. 2. 将 `dsh-personal-directive` 加入 `dsh.profile.bundles`。
  58. 3. 应用插件自带的 `cordis.patch.yml`。
  59. 4. 安装插件的服务端和 Web 客户端依赖。
  60. 然后完全重启 `dsh web`,再刷新页面:
  61. ```text
  62. http://127.0.0.1:3080
  63. ```
  64. ### 本地 link 安装
  65. 适合开发、修改源码或从本地备份恢复:
  66. ```powershell
  67. dsh plugin --profile web add link:"C:/Users/Administrator/Desktop/DSH个人插件/dsh-personal-directive"
  68. ```
  69. 本地 link 指向个人目录。修改源码后不需要重新安装依赖,但需要重启 `dsh web` 才能加载新的 Host 或 Web 客户端代码。
  70. ### 从本地 link 切换到 GitHub 版本
  71. 如果 profile 中已经存在同名本地 link,先移除旧依赖:
  72. ```powershell
  73. dsh plugin --profile web remove dsh-personal-directive
  74. dsh plugin --profile web add github:liucaimao2026/dsh-personal-directive
  75. ```
  76. ### 更新
  77. 从 GitHub 安装后更新到最新版本:
  78. ```powershell
  79. dsh plugin --profile web update dsh-personal-directive
  80. ```
  81. 更新后完全重启 `dsh web`。
  82. ### 卸载
  83. 卸载只会移除插件,不会删除用户其他 bundle:
  84. ```powershell
  85. dsh plugin --profile web remove dsh-personal-directive
  86. ```
  87. 本项目顶部的「破甲:开启 / 破甲:关闭」是运行时开关,不等同于上述卸载命令。
  88. ## 使用开关
  89. 重启后,在顶部找到:
  90. ```text
  91. 完成提示 破甲:开启
  92. ```
  93. 点击后切换为:
  94. ```text
  95. 完成提示 破甲:关闭
  96. ```
  97. 这里的开关只控制运行时提示词是否生效:
  98. - 开启:下一次模型请求包含原版「无限一代」提示词。
  99. - 关闭:插件仍然安装,但本项目的系统提示词段为空。
  100. - 不会从 profile 的 `dependencies` 中移除插件。
  101. - 不会从 `dsh.profile.bundles` 中移除插件。
  102. - 不会删除个人插件目录。
  103. ## 验证是否生效
  104. ### 顶部状态
  105. 按钮显示「破甲:开启」或「破甲:关闭」,表示服务端运行时开关状态。
  106. ### 查看真实模型请求
  107. 1. 切换到「破甲:开启」。
  108. 2. 新建会话并发送一条普通消息。
  109. 3. 打开顶部「轨迹」。
  110. 4. 选中刚才的 Assistant 请求。
  111. 5. 打开右侧的「System Prompt / 系统提示词」详情。
  112. 6. 搜索以下原版提示词特征:
  113. ```text
  114. [MODE: SANDBOX]
  115. SUPREME DIRECTIVE — USER AUTHORITY
  116. ```
  117. 开启时可以看到这些内容。切换为「破甲:关闭」后发送一条新的消息,再检查新的请求,应该看不到这些原版提示词特征。
  118. 注意:关闭后 Harness 自己的其他系统提示词仍然存在,本项目只移除自己的提示词段。
  119. ## 本地开发和检查
  120. ```powershell
  121. cd "C:/Users/Administrator/Desktop/DSH个人插件/dsh-personal-directive"
  122. pnpm install
  123. pnpm run harness:check
  124. ```
  125. 检查 Web profile 的 bundle 组合:
  126. ```powershell
  127. dsh --profile web --dump-config
  128. ```
  129. 输出中应该包含:
  130. ```text
  131. id: personal-directive
  132. name: dsh-personal-directive
  133. ```
  134. ## 安全和使用范围
  135. 本项目的核心提示词来自原版仓库,可能改变模型的指令服从和拒答行为。请仅在自己拥有权限的 Harness 环境中使用,并遵守适用的法律法规、平台条款、隐私要求和工具审批策略。
  136. 本项目不修改模型权重,也不绕过远端模型服务的独立安全策略、操作系统权限或 Harness 的实际工具权限。
  137. ## 归属和许可证说明
  138. 本项目明确基于以下原版项目进行二次开发:
  139. ```text
  140. https://github.com/Minglink/dsh-infinite-gen-1
  141. ```
  142. 原版作者和原始项目归属应得到保留。
  143. 本仓库根目录的 `LICENSE` 是本仓库维护者为本项目新增代码和集成代码提供的 MIT 声明。它不自动替代原版项目的版权,也不代表原作者的原始提示词和原始代码已经被重新许可。
  144. 截至本项目整理时,原版仓库没有发现明确的 `LICENSE` 文件或 GitHub 许可证标识。因此,公开发布包含原版提示词和原始实现的二次开发版本前,请确认以下事项之一:
  145. - 已取得原作者允许发布二次开发版本;或
  146. - 原作者补充了明确允许再发布和修改的许可证;或
  147. - 仅发布不包含原版提示词的代码框架,并要求用户自行提供原始内容。
  148. 本仓库的 MIT 声明不应被解释为原作者对原版内容的授权。如原作者后续补充许可证,请同步更新本节和仓库中的许可证文件。
  149. ## 致谢
  150. 感谢原项目作者 Minglink 提供 `dsh-infinite-gen-1` 的原始实现和提示词方案。本仓库仅在其基础上增加个人目录管理、Harness Web 顶部运行时开关和相关集成代码。

Ratings and comments

Sign in to rate this skill.

Sign in

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