BOWLUNA/dsh-custom-mode 预览 preview

BOWLUNA/dsh-custom-mode

Plugin插件 Native原生 ⭐ 5 MIT Prompts & Skills提示词与技能

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 文件引用已下架的插件时需要点"针对此线路修复"。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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)。

dsh-custom-mode — a settings page for dsh agent modes

Star this repo npm CI license dsh

bilibili Douyin RedNote Discord GitHub

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-copilot-sdk 下一个 Next dsh-wps-plugings →