sage-mem
File-based cross-session memory: plain Markdown memory files with automatic retrieval injection, format-compatible with Claude Code's CLAUDE.md and memory files, so migrating is a manual file copy.
基于文件的跨会话记忆:纯 Markdown 记忆文件,检索结果自动注入;格式与 Claude Code 的 CLAUDE.md 及记忆文件兼容,迁移即手工复制文件。
How to install
dsh plugin add sage-mem git clone https://github.com/gezi-wen/sage-mem ~/.claude/skills/sage-mem About
sage-mem · DSH 的文件式记忆插件 给 DeepSeek Harness(DSH)装上**跨会话记忆**——agent 今天记住的事,明天的新会话自动想起来。 记忆存在**本地 markdown 文件**里(frontmatter + 正文),不是数据库。透明、可检查、防膨胀。 从 Claude Code 无损迁移 你已经在 Claude Code(CC)里养了一个 agent,舍不得它的记忆和人格?sage-mem 是「CC → DSH」迁移方案的一部分,**记忆与人格都能无损搬过来**: **人格**:CC 的 CLAUDE.md → DSH 的 AGENTS.md,DSH 原生加载,纯文本一字不改就能用。 **记忆**:CC 沉淀的跨会话记忆 → sage-mem 的 memory/ 目录(markdown + frontmatter,四类)。 没有数据库、没有私有格式——全都是 markdown 文本,**直接拷文件就完成迁移**。agent 换了身体,但依然记得你是谁、记得你们聊过什么、记得进行中的项目。 为什么用文件 DSH 原生没有记忆系统,每个会话都是白纸。市面上的记忆方案大多走 SQLite + 常驻 worker: 记忆写进数据库,**不透明**——想检查存了什么得查表,想清理要连数据库 事件自动捕获会**膨胀**——"用户打了个招呼"这种无实质内容…
Recommendation signals
Meta
- License
- Apache-2.0
- Language
- JavaScript
- GitHub stars
- 4
- mo. downloads
- –
- Last push
- 2026-08-16
- Created
- 2026-08-14
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- agent-memory, ai-agent, claude-code, deepseek-harness, dsh, dsh-plugin, long-term-memory, markdown
Related plugins
hivemind
activeloopai/hivemind
Hivemind turns your traces into reusable skills across agents
airtable-mcp-server
domdomegg/airtable-mcp-server
🗂️🤖 Airtable Model Context Protocol Server, for allowing AI systems to interact with your Airtable bases
hindsight
vectorize-io/hindsight/tree/main/hindsight-integrations/coding-agents
Hindsight, agent memory that learns: long-term project memory with auto recall and retain, knowledge pages, deep reflection, and per-repo memory banks.
mcp-ssh-manager
bvisible/mcp-ssh-manager
MCP SSH Server: 37 tools for remote SSH management | Claude Code & OpenAI Codex | DevOps automation, backups, database operations, health monitoring