dsh-user-mirror
Let the AI know you. 让模型主动记下你的判断依据(原则/红线/工作方式),跨会话复用 —— 有容量、会遗忘、每条都说得出为什么记。
AI Analysis
核心用途是实现用户偏好的跨会话个性化记忆。适合希望模型能主动学习并遵循个人工作习惯与红线的用户。必要条件是必须安装在提供存储和 Web 服务的 profile(如 web)上。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:webkubor/dsh-mirrorREADME
Read the full README ↗配置
在 cordis.patch.yml 里覆盖:
- insert:
- id: dsh-mirror
name: dsh-user-mirror
config:
maxPreferences: 20 # 记忆容量上限(条数)
halfLifeDays: 30 # 半衰期(天),越久越弱
maxTokens: 500 # 注入的 token 预算
sectionOrder: 160 # system prompt 里的位置(越小越靠前)