dsh-quiet-mode
在系统提示词中注入保持静默和专注的纪律 适合希望限制智能体闲聊、使其专注于执行任务的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:viyiviyi/dsh-quiet-mode说明文档
阅读完整 README ↗配置
默认文本和开关写在 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。