dsh plugins中文
← Back to popular plugin directory

DSH project persistent memory plug-in

Qinling-Melon-Farmers/dsh-memoir · skills

DSH project persistent memory plug-in (TypeScript): session summary + accumulation of experience and lessons, written to PROJECTMEMORY.md and global index; automatic reminder distillation at the end of each round of work.

★ 4GitHub stars
0Forks
2026-08-15Last updated
TypeScriptLanguage
Apache-2.0License

Project overview

DSH 的 agent 会话本身是「失忆」的:新会话不记得上一个会话踩过的坑。现实中的典型代价是反复排查同类问题——控制台中文乱码要查一次、某个终端的转义错误要查一次、某个工具的环境配置又要查一次;AGENTS.md 这类人工维护的说明文件要么没人更新、要么被塞得臃肿。社区已有的记忆类插件各有侧重:dsh-memory 侧重无损引用式检索、dsh-mnemon 依赖外部 Mnemon 服务、distill 自动蒸馏但落成 skill 文件、缺少可视化面板。

dsh-memoir 想补的是一个开箱即用、纯本地、零外部依赖的记忆层,把「记录 → 存储 → 自动注入 → 可视化维护」串成闭环:

1. 记录:agent 在任务收尾调用 memoirrecord(或插件每轮工作结束自动提醒); 2. 存储:结构化 JSON 全局索引为源,PROJECTMEMORY.md 为可读渲染(随 git 提交、人也能看); 3. 注入:新会话开始时按项目自动注入记忆,未来 AGENTS 无需手翻文档即继承经验; 4. 维护:Web 面板可检索、补录、删除,与 agent 写的是同一份数据。 能力 工具 · 作用 工具: memoirrecord(section, title?, content) · 作用: 记录一条记忆,section 取值 work / lessons / actions / note 工具: memoirread(scope?, section?, query?) · 作用: 读取记忆,scope 取值 project(默认)/ global / all

Install command

dsh plugin --profile web add github:Qinling-Melon-Farmers/dsh-memoir
View GitHub repository ↗Back to popular plugin directory