tianyaojiudi-prog/dsh-djy-xttsc
DSH(DeepSeek Harness) 插件:把一段可在设置页随时改写的文字,作为全局系统提示词段注入到所有会话,含子代理与工作流内部子代理;文本与开关即时生效,无需重启。
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH) that enables users to inject a custom, user-editable global system prompt segment into every model request DSH sends. It works for all requests, including requests from the primary session, manually created subagents, and subagents spawned automatically inside DSH workflows. It can be installed either via the DSH desktop plugin panel or running the command dsh plugin add <local-path> from any terminal on your machine. No restart is required after installation when using the default method, and it automatically adds a dedicated settings section to the DSH settings panel.
After installation, users can navigate to the new "大肥鱼指令" section in the DSH settings sidebar to use the plugin. The default content is just a placeholder that users can replace with any custom text, such as project-specific rules, coding style guides, or custom agent personas. Changes are applied immediately to the next request, so no restart of DSH is required. Users can also toggle the plugin on or off directly from the settings page, which completely removes the injected segment when toggled off. The toggle gives users a quick way to test different prompts without having to delete or edit text when switching between setups.
The plugin is released under the open source MIT license, and it ships with built-in dependencies for core functionality plus two test scripts to verify proper operation. A zero-dependency smoke test is included that can be run immediately after cloning the repository, no existing DSH installation is required to run this test. It also includes a full integration test that uses a real DSH installation to confirm compatibility with DSH's core systems. The only caveat is that users need to remove identical prompt content from other sources like AGENTS.md, otherwise changes will not appear to work correctly.
这是一个专为DeepSeek Harness(DSH)开发的原生cordis插件,核心功能是允许用户自定义一段全局系统提示词,将其注入到DSH发出的每一次模型请求中,包括会话本身、子代理、工作流派生的所有子代理的请求都能注入。插件会在DSH设置面板中新增一个独立页面,支持随时编辑内容、开关功能,修改后无需重启即可立即生效。
默认自带的占位提示只是一句测试文案,用户可以将其替换成任何内容,比如自定义身份设定、代码规范、项目规则等等。它适合需要给所有对话和子代理统一补充固定规则,又希望能随时快速修改配置的DSH用户,使用流程简单,不需要手动修改工作区AGENTS.md或全局配置,打开设置面板编辑保存后,下一轮对话就立即生效。
插件使用MIT许可证开源,自带依赖和冒烟、集成测试文件,可以本地验证功能正常。唯一需要注意的是,如果用户在其他位置(比如AGENTS.md、全局配置)已经添加了相同的提示内容,需要删除其他来源,否则会出现修改后不生效的问题。安装可以通过DSH插件面板或命令行执行dsh plugin add命令完成。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-djy-xttsc(tianyaojiudi-prog/dsh-djy-xttsc)
仓库:https://github.com/tianyaojiudi-prog/dsh-djy-xttsc
本站详情页:https://www.yhbd.top/plugins/tianyaojiudi-prog-dsh-djy-xttsc/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 8 · 最近提交 2026-10-02 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 8 stars - very few users, little community feedback星标只有 8,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:tianyaojiudi-prog/dsh-djy-xttsc
把 tianyaojiudi-prog/dsh-djy-xttsc 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-djy-xttsc — 全局系统提示词注入(DSH 插件)
DeepSeek Harness 插件。把一段由你在设置页里随时改写的文字,作为全局系统提示词段 注入到每一次模型请求里 —— 本会话、子代理、工作流内部派生的子代理,全都吃到。
A DeepSeek Harness plugin that injects a user-editable system-prompt section into every model request — including subagents and workflow-spawned subagents. The text and an on/off switch live on the DSH settings page and apply live, with no restart. The Chinese line below is only a placeholder default.
出厂默认内容(只是占位默认值,写什么就注入什么):
你是一条大肥鱼,需要每次在回复用户后就卖萌
⚠️ 插件不解析、不追加、不改写你写的内容 —— 原样作为一段系统提示词注入。 想换成小猫、换成代码规范、换成英文都行,改完下一个回合就生效。 唯一要注意的是别让别的指令通道(
AGENTS.md等)同时写同一句,否则会出现 「改了没反应」—— 见下面「只保留一个注入源」。
兼容性
| dsh 版本 | 内容存哪 | 设置页在哪改 |
|---|---|---|
| 0.1.5 ~ 0.1.6 | 用户设置文件(settings.yaml 的 dsh-djy-xttsc 节) |
「大肥鱼指令」一页 |
| 0.1.7 ~ 0.2.x(含 0.2.0-rc.2) | profile 的 cordis.patch.yml(这条插件的 config 层) |
「大肥鱼指令」一页(走插件配置表单) |
两边由插件自己认:客户端半区按「哪个设置服务在」挑一条路挂设置页,宿主半区
按 settings.register 在不在挑一条路读配置。同一个版本里只会走一条,
不会重复注册。
它做什么
| 能力 | 实现 |
|---|---|
| 在 dsh 设置页里显示 | 客户端半区注册 settings.section,导航里出现「大肥鱼指令」一页 |
| 内容随时改 | 文本框 + 「保存」/「恢复默认」,写入 Host 设置,重启后仍在 |
| 开关是否启用 | 复选框,关闭后系统提示词里完全不会出现这一段 |
| 任何工作流都生效 | Host 半区注册的是全局系统提示词段,对所有 scope 生效 |
| 包括子代理 | 子代理用自己的 scope 组装提示词,全局段照样参与组装 |
| 「提前插入」 | 段位 order = -900,紧跟 Harness 身份段(-1000),排在人格段(0)与所有工具说明之前 |
| 改完即生效 | 段文本是每次组装时求值的函数,读的是当前配置,不需要重启 |
文件
| 文件 | 作用 |
|---|---|
index.js |
宿主半区:注册全局系统提示词段;两代设置模型都认 |
client.js |
客户端半区:设置面板里的「大肥鱼指令」分区;两代设置传输都认 |
cordis.patch.yml |
作为 bundle 安装时用的插入行(固定条目 id djy-xttsc) |
vendor/ |
内置的 schemastery / cosmokit(原因见 vendor/README.md) |
test/smoke.mjs |
无依赖冒烟测试(桩件跑通两个半区、两代设置模型) |
test/integration.mjs |
真集成验证(真实 cordis + settings + system-prompt + scope) |
两个半区共用同一个设置命名空间名 —— 0.1.6 及以前是 dsh-djy-xttsc,
0.1.7 起是条目 id djy-xttsc(见 cordis.patch.yml)。改一处名字就必须改另一处。
安装
# 在任意目录执行;<PATH> 指到本文件夹(或直接给仓库地址)
dsh plugin add "<PATH>"
或者让 Harness 自己在插件面板里装。
本包声明了 dsh.bundle.patch,所以安装流程会把它作为 bundle 装:往 profile 的
package.json 写依赖 + 把 cordis.patch.yml 当一层 patch 加载,当场挂载,不用重启。
(0.2.0 起,没声明 dsh.bundle 的包只会被装成普通依赖并提示
declares no dsh.bundle,不会再自动往 profile 里写插入行 —— 所以这里必须声明。)
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
jingyunstudio/jingyun-dsh
fangqian616/consensus-pipeline
orziz/odai
titanwings/dsh-automation
linhut/gongwen-skill
Jungod1121/dsh-anchored-standard
omdsh-dev/dsh-advisor