viyiviyi/dsh-quiet-mode
少点废话
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 原生。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-quiet-mode(viyiviyi/dsh-quiet-mode)
仓库:https://github.com/viyiviyi/dsh-quiet-mode
本站详情页:https://www.yhbd.top/plugins/viyiviyi-dsh-quiet-mode/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-09-17 · 主语言 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 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
titanwings/distilly
YuJunZhiXue/dsh-purge
Clearailhc/clearai-dsh
yejiming/MuseAI
superdesigndev/superdesign-skill
Miaotofu01/Study-Mate