viyiviyi/dsh-quiet-mode

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

少点废话

Project Overview项目介绍

dsh-quiet-mode is a small cordis bundle plugin built specifically for the DeepSeek Harness (dsh) CLI: it declares dsh.bundle.patch in its package.json and registers as dsh-quiet-mode inside the target profile, where it prepends a fixed Chinese "working discipline" line to every system prompt sent to the model on every turn. The line instructs the model to stay quiet, focus on the task, avoid over-thinking, over-design, fabricating history, inventing terminology or abbreviations, and to reply in Simplified Chinese, and it is preserved across turns instead of being pushed out by later conversation.

Installation assumes a working dsh binary on the host (verified with dsh --version), Node.js 22.19 or 24 or newer, and a local clone of the repository. The user then runs git clone https://github.com/viyiviyi/dsh-quiet-mode.git, enters the folder, and executes dsh plugin --profile web add ., which writes the package into $DSH_HOME/profiles/web and appends dsh-quiet-mode to dsh.profile.bundles. Confirmation is done with dsh --profile web --dump-config, which should list quiet-mode; the plugin is intended for users who want a stable, opinionated output style across every session in that profile.

Because the plugin loads at dsh startup, a dsh web restart is mandatory after install and after any config change, and only new sessions inherit the injected line — already-open sessions are not retroactively patched. The default text and on/off switch live in lib/index.js, and customization must happen at the profile layer by editing $DSH_HOME/profiles/web/cordis.patch.yml with an id: quiet-mode entry that sets enabled and text; the package's own cordis.patch.yml is overwritten on update and must not be edited directly, since profile-level config replaces the whole config block rather than deep-merging fields. Removal uses dsh plugin --profile web remove dsh-quiet-mode, the project is MIT-licensed, and its name, dsh-plugin topic, and bundle manifest all point squarely at DSH-native usage with no mention of other agent platforms.

dsh-quiet-mode 是一个为 DeepSeek Harness(dsh)专门打造的 cordis bundle 插件,通过 package.json 中的 dsh.bundle.patch 字段挂载到指定 profile,对该 profile 下每一轮发往模型的请求都注入一段固定的"作业纪律"提示词。安装需要终端可调用 dsh(dsh --version 有输出)、Node.js 22.19 或 24 以上,使用 dsh plugin --profile web add . 注册到 web profile,并在 dsh.profile.bundles 中追加 dsh-quiet-mode。

典型用法是用户希望 dsh 的会话严格遵循简洁、中文、不臆测、不造词等风格约定,一次安装即可在该 profile 下所有会话持续生效,不必每轮重复叮嘱;适合对输出风格统一度有强需求的多轮或长任务用户。

默认文本与开关写在 lib/index.js,自定义需在 $DSH_HOME/profiles/web/cordis.patch.yml 覆盖,覆盖为整段替换非深合并;插件在 dsh 启动时加载,装完或改完配置必须重启 dsh web,且仅新会话生效;项目使用 MIT 许可,仓库名与 dsh-plugin 主题、bundle manifest 均指向 dsh 原生。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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:viyiviyi/dsh-quiet-mode

把 viyiviyi/dsh-quiet-mode 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-quiet-mode

给 DeepSeek Harness(dsh)的每一轮模型请求注入一条固定的作业纪律:

请**保持静默,专注干活,不胡思乱想,不过度思考,不过度设计,不虚构历史,不清晰就询问,不猜测或假定目标,不创造名词概念,不使用缩写,坚持使用简体中文进行思考和回复**

(** 按你的要求逐字保留。)

装上以后,这句话会出现在该 profile 下每个会话、每一次模型请求的系统提示词里—— 不用每轮重新叮嘱,也不再会被后续对话挤掉。

想改注入的文本,或者想了解它内部的实现方式,见 DEVELOPMENT.md。

环境要求

  • 终端里能运行 dsh(dsh --version 有输出)
  • Node.js 22.19 以上,或 24 以上

安装

先把仓库克隆到本地(放哪个目录由你决定),再进到克隆出来的目录里安装:

git clone https://github.com/viyiviyi/dsh-quiet-mode.git
cd dsh-quiet-mode
dsh plugin --profile web add .

命令会把包写进 $DSH_HOME/profiles/web,并自动把 dsh-quiet-mode 追加进 dsh.profile.bundles (因为它的 package.json 声明了 dsh.bundle.patch)。

检查这一层有没有挂上(输出里应该出现 quiet-mode):

dsh --profile web --dump-config

生效

插件在 dsh 启动时加载,装完必须重启 dsh web。

重启后新开的会话就会带上这句话;已经开着的旧会话不会追溯生效。

配置

默认文本和开关写在 lib/index.js 里。要改就在你自己的 profile 配置层覆盖,不要改包内的 cordis.patch.yml——那份文件会随包更新被覆盖。

编辑 $DSH_HOME/profiles/web/cordis.patch.yml:

- id: quiet-mode
  config:
    enabled: true            # 设为 false 可临时关掉,不注册任何段落
    text: '自定义的纪律文本'   # 留空或不写则用默认整句

profile 这一层的优先级高于 bundle 层;按行覆盖时 config 是整体替换,不是逐字段深合并, 所以覆盖时要把想保留的字段一起写全。改完同样要重启 dsh web。

卸载

dsh plugin --profile web remove dsh-quiet-mode

许可

MIT

← 上一个 Prev DSH-THEME-KAMI 下一个 Next dsh-omc-tui →