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.

Package
dsh-personal-system-rules
Compatibility
Unverified
Harness peer range
>=0.2.1-rc.2 <0.3.0-0
Version
0.5.0
License
MIT
Last updated
Oct 31, 2026

Install

$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。