dsh-user-mirror
Let the AI know you. 让模型主动记下你的判断依据(原则/红线/工作方式),跨会话复用 —— 有容量、会遗忘、每条都说得出为什么记。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:webkubor/dsh-mirror说明文档
阅读完整 README ↗配置
在 cordis.patch.yml 里覆盖:
- insert:
- id: dsh-mirror
name: dsh-user-mirror
config:
maxPreferences: 20 # 记忆容量上限(条数)
halfLifeDays: 30 # 半衰期(天),越久越弱
maxTokens: 500 # 注入的 token 预算
sectionOrder: 160 # system prompt 里的位置(越小越靠前)