NingYuanLee/dsh-personal-system-rules ↗★ 0
dsh-personal-system-rules
Inject a user-chosen rules file as a system-prompt section, and configure its body plus silent-step and repeated-action guards from the DSH settings dialog or the plugin detail page. Inactive in the minimal preset; nothing is injected when the plugin is disabled or fails to load.
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add https://github.com/NingYuanLee/dsh-personal-system-rules/releases/download/v0.5.0/dsh-personal-system-rules-0.5.0.tgz配置
- id: system-agents-md
name: dsh-personal-system-rules
config:
# file 缺省为 $DSH_HOME/PERSONAL-SYSTEM-RULES.md
header: |
# 用户全局系统层规则
以下内容来自用户全局 PERSONAL-SYSTEM-RULES.md,是系统层指令,必须遵守。
maxSilentSteps: 2
silentReminder: ''
repeatLimit: 0
repeatAction: remind
repeatReminder: ''
maxSilentSteps、silentReminder、repeatLimit、repeatAction、repeatReminder是volatile()字段,可在设置弹窗编辑并热更新。file、header、order是普通配置,只在cordis.patch.yml里改;改file后需要重载插件。repeatLimit: 0关闭循环检测;文本回复或新用户轮次会重置重复计数。- 设置弹窗保存会写回 profile 的
cordis.patch.yml。