BOWLUNA/dsh-custom-mode
Custom mode for DeepSeek Harness (dsh): edit a mode's system prompt, base mode and plugin switches in a settings page that looks like the official one; keep several assistants side by side. 中文:dsh 自定义模式插件 —— 在设置页编辑系统提示词、基础模式与插件开关,可并存多个助手(多模式 / 多角色扮演 RP)。
Project Overview项目介绍
dsh-custom-mode is a custom-mode plugin that targets DeepSeek Harness (DSH) exclusively, shipping as a settings-page plugin plus a preset that seeds on first activation. The package adds a dedicated web settings panel where users can pick a base mode composition from the four official DSH modes (standard / ptc / minimal / cordis, which remain untouched), toggle individual plugin rows, and edit a system prompt that lives as a plain file the agent loop re-reads before every model step; edits take effect on the next step without a restart, and several assistants can coexist with their own prompts, plugin rows, and role-play personas. Installation is a single command — dsh plugin --profile web add dsh-custom-mode@1.9.16 — after which the user restarts the DSH web process; the version pin is mandatory because pnpm's minimumReleaseAge cooldown (24 hours by default) makes a bare add dsh-custom-mode resolve to whatever is older than the cooldown, and the README measured this on a clean machine. The intended audience is DSH operators who want persistent, file-backed prompts, fast persona switching, multi-agent role-play setups, and a writable system prompt without re-installation.
A typical workflow starts with running the pinned install command, opening the Web profile settings, choosing a base mode in the picker, toggling the plugin rows that the assistant should mount, and writing a system prompt that DSH re-reads before each model call. When an update lands, the user simply re-runs the pinned install; the platform owns node_modules, so the data directory $DSH_HOME/.agent-presets/<assistant>/ containing prompt.md, preset.yml, and the row switches is never touched, and seeding only fills in files that are missing, which means a user-edited prompt is never overwritten. Two known first-run caveats are documented: if the base mode and switches are greyed out with a one-line warning, the current DSH line exposes no shipped composition to this plugin and the system prompt still saves on its own; and if a mode disappears from the picker after an update, an older assistant file references a plugin row that the new line no longer ships, which the settings page surfaces with a "Fix for this line" button that disables exactly those rows and leaves everything else intact.
The project is licensed MIT and ships an npm package, with CI verified on Ubuntu Node 20 and Node 24 plus Windows for both supported DSH lines: 0.1.7-rc.2 (latest preview, bundled by the official desktop app) and 0.1.5-rc.3 (latest stable, what the catalogue's one-click install gives most users); older preview builds such as 0.1.6-alpha.* fall inside the declared peer range but no longer get their own CI leg. The setting to confirm the installed build is at the bottom of the settings page (插件版本), comparable to npm view dsh-custom-mode version. The four review-driven iterations that produced releases 1.4.0 through 1.9.0 (stable-line picker fix, Windows write races, i18n leaks, portability, two UI passes) cost roughly 717 million tokens at a 99.4% cache hit rate, and the whole project including the first pass stands at about 844 million tokens at 99.5% cached, all measured inside the same DSH client on deepseek-v4-flash.
dsh-custom-mode 是面向 DeepSeek Harness(DSH)的自定义模式插件,仅服务该宿主。它在 Web 配置页中暴露一个独立的设置面板,允许用户为不同"助手"选择基础模式(standard / ptc / minimal / cordis 四个官方模式保持原样)、按行勾选插件挂载项,并直接编辑 system prompt;下一次模型推理前生效,不需要重启也不会打断会话,多个助手可并存互不干扰。典型流程是执行 dsh plugin --profile web add dsh-custom-mode@1.9.16(务必加版本号,pnpm 冷却期会让裸名安装回退到旧版)后重启 Web 进程即可使用,适合希望以纯文件方式持久化 prompt、按场景切换角色或快速尝试新人设的 DSH 用户。依赖方面,CI 同时覆盖 Node 20/24 与 Windows 双线,DSH 0.1.7-rc.2(预览版,桌面端内置)与 0.1.5-rc.3(稳定版,目录一键安装)均验证通过;prompt 与 preset 文件保存在 $DSH_HOME/.agent-presets/<assistant>/ 下,升级插件不会覆盖用户编辑;若底座无对应 composition,灰条会显示警告但 prompt 仍可保存,老 assistant 文件引用已下架的插件时需要点"针对此线路修复"。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-custom-mode(BOWLUNA/dsh-custom-mode)
仓库:https://github.com/BOWLUNA/dsh-custom-mode
本站详情页:https://www.yhbd.top/plugins/bowluna-dsh-custom-mode/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 5 · 最近提交 2026-10-03 · 主语言 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 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
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 dsh-custom-mode@1.11.6
把 BOWLUNA/dsh-custom-mode 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-custom-mode
English | 中文
DeepSeek Harness (dsh) custom mode plugin — edit a mode's system prompt, base mode and plugin switches in the settings page, and keep several assistants side by side (multi-mode / multi-persona, coding, chat or role-play). · 中文:DeepSeek Harness(dsh)自定义模式插件 —— 在设置页编辑系统提示词、选择基础模式、逐行 开关插件,可并存多个助手(多模式 / 多角色扮演 RP)。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
titanwings/distilly
YuJunZhiXue/dsh-purge
Clearailhc/clearai-dsh
yejiming/MuseAI
superdesigndev/superdesign-skill
Miaotofu01/Study-Mate