zangxx66/dsh-prompt-setting
DeepSeek Harness 默认 System Prompt 管理插件:在 Web GUI「设置」里浏览、检索并覆盖最终装配进每轮会话的系统提示词
Project Overview项目介绍
dsh-prompt-setting is a native system-prompt management plugin built exclusively for DSH (DeepSeek Harness). It adds a "Prompt settings" pane to the Web GUI's Settings page, where users can view, search, edit, and roll back the system prompt that every DSH turn assembles, without ever hand-editing files inside the global pnpm node_modules. Installation is done either by cloning the repository and pointing DSH's plugin_manager at the absolute path of packages/dsh-prompt-setting, or by adding the GitHub subdirectory through dsh plugin --profile demo add 'github:zangxx66/dsh-prompt-setting#path:/packages/dsh-prompt-setting' — the #path: fragment is mandatory because the repo is a monorepo, and without it pnpm installs a synthetic empty package rooted at the repository root, and the plugin never appears.
The plugin is aimed at DSH power users and developers who need fine-grained control over the assembled system prompt. The Settings pane ships four tabs: "My Prompt" is the single writable surface where the user picks a layer, writes their own instructions, and saves — the text is appended after every built-in section; "Prompt overview" renders the read-only section list with status marks, search, filters, copy and a base↔effective diff; "History & backup" exposes a version history with line-level diffs, an export download, and an import preview that shows the change plan before any write; "Advanced" lists legacy overrides with two double-confirm reset buttons and a status area showing mount state, build fingerprint, and renderer self-check. All UI copy follows DSH's language setting, so flipping DSH to Chinese turns the pane Chinese with no refresh.
The package is plain JavaScript with zero runtime dependencies and zero build step; its configuration is written only to the plugin's own data directory, so DSH upgrades or reinstalls neither lose nor overwrite it. It requires DSH >=0.1.7-rc.2 and <0.2.0, or >=0.2.0-0 and <0.2.1-0 (every 0.1.x from 0.1.7-rc.2 on, every 0.2.0 prerelease, and the 0.2.0 release itself are in range; 0.2.1-0 and beyond are out). Node >=22 is only needed for running tests or developing. Because pnpm >=10 does not run build scripts of git dependencies by default, the first GitHub-direct install fails and prints an exact package key (ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED), which must be approved as documented; a bare curl against the /prompt-setting/ping route returns 401 by design because the route requires browser cookie authentication. License: MIT.
dsh-prompt-setting 是一款专为 DSH(DeepSeek Harness)打造的原生系统提示词管理插件。它在 Web GUI 的 Settings 中新增 "Prompt settings" 面板,让用户无需修改全局 pnpm node_modules 即可查看、搜索、编辑、回滚当前会话拼装的系统提示词。安装方式是从本地克隆仓库绝对路径,或通过 pnpm 从 GitHub 的子目录(packages/dsh-prompt-setting)以 dsh plugin add 命令挂载,仅服务 DSH 一个目标。
该插件面向需要精细控制 DSH 系统提示词的开发者与高级用户:可在只读的 "Prompt overview" 中按段浏览完整拼装文本与 base/effective 差异;在 "My Prompt" 中按层写入自定义指令(追加至所有内置段之后);通过 "History & backup" 查看行级 diff、导出或预览导入;并支持还原默认与清空覆写。所有 UI 文案随 DSH 语言设置自动中英切换,cookie 鉴权的 /prompt-setting/ping 路由可用于验证宿主挂载状态。
插件以纯 JS 编写,运行时零依赖、零构建步骤,配置仅写入插件自身目录,DSH 升级不会覆盖。依赖 DSH 版本需 >=0.1.7-rc.2 <0.2.0 || >=0.2.0-0 <0.2.1-0(含 0.2.0 发布版);Node >=22 仅用于运行测试或开发。pnpm >=10 默认禁止 git 依赖执行构建脚本,首次安装会失败并打印精确的 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 包键,需按文档批准。许可证为 MIT。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-prompt-setting(zangxx66/dsh-prompt-setting)
仓库:https://github.com/zangxx66/dsh-prompt-setting
本站详情页:https://www.yhbd.top/plugins/zangxx66-dsh-prompt-setting/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 6 · 最近提交 2026-10-03 · 主语言 JavaScript · 未检测到 DSH 插件清单
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 6 stars - very few users, little community feedback星标只有 6,几乎没人在用,遇到问题缺少社区反馈
- No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
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 demo add 'github:zangxx66/dsh-prompt-setting#path:/packages/dsh-prompt-setting'
把 zangxx66/dsh-prompt-setting 加入你的 DSH 配置(web profile)即可启用。
READMEREADME

dsh-prompt-setting
English | 中文
System Prompt management for DSH (DeepSeek Harness). It adds a Prompt manager to the Web GUI's Settings: you can see the system prompt a session actually assembles on every turn, search it, write your own instructions into it, and roll back a bad edit — all without touching the global DSH install.
- Zero runtime dependencies, zero build step: one package of plain JS — nothing to fetch, nothing to compile.
- Upgrade-safe: configuration is written only to the plugin's own data directory, so upgrading or reinstalling DSH neither loses nor overwrites it.
1. What problem this solves
Every DSH turn is injected with a base system prompt assembled by @deepseek-ai/dsh-system-prompt.
Until now the only way to adjust it was to hand-edit files inside the global pnpm node_modules.
The cost of that:
- the next DSH upgrade overwrites it and your changes are gone;
- it pollutes a global install, so nobody else — and no other machine — can reproduce it;
- there is no record of what changed, or of what it looked like before;
- and worst of all, you cannot see what the finally assembled system prompt actually looks like.
This plugin moves that into the Settings page: the assembly is laid out section by section, the part you write is its own section pinned to the end, every other built-in section stays read-only, and changes come with history, diffs and exportable backups.
2. What you get after installing
Settings gains a "Prompt settings" pane (id: prompt-setting) with four top-level tabs:
| Tab | What you can do |
|---|---|
| My Prompt | The only write surface: write your own system-level instructions (pick a layer → edit → save), plus a one-click "Restore default". This text is placed after every built-in section. |
| Prompt overview | Read-only: the assembled section list (status marks / search / filters / copy), the full text, and a base ↔ effective diff — so you can see exactly what your change did. |
| History & backup | History list + version diffs (line-level); export the configuration for download, and preview an import (review the change plan before anything is written). |
| Advanced | A read-only list of legacy overrides, two double-confirm buttons ("clear all overrides", "reset the whole layer"), and a full status area (mount state / build fingerprint / renderer self-check). |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
alaliqing/claude-paper
qkycir-123/dsh-run2skill
PKUfudawei/dsh-capability-menu
houyanchao/dsh-timeline
a735624258/dsh-skill-picker
Chael-Chael/dsh-reference-anything