‹ 首页

conversation-memory

@davila7 · 收录于 5 天前 · 上游提交 5 天前

Persistent memory systems for LLM conversations including short-term, long-term, and entity-based memory Use when: conversation memory, remember, memory persistence, long-term memory, chat history.

适合你,如果需要在对话中保持长期记忆

/ 通过 npx 安装 校验哈希
npx oh-my-skill add davila7/claude-code-templates/conversation-memory
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- davila7/claude-code-templates/conversation-memory
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify davila7/claude-code-templates/conversation-memory
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
29874GitHub stars
~320上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 279b978 · 表述以原文为准
它做什么

安装后,Claude 会拥有多层级记忆系统,包括短期、长期和实体记忆。它能自动存储对话中的关键信息,并在后续对话中检索和利用这些记忆。

什么时候触发

当用户提及之前讨论过的人、事或要求回忆时,或对话需要持久化信息时触发。

装好后可以这样说
触发记忆检索。
存储事实到长期记忆。
结合记忆生成推荐。
技能原文 SKILL.md作者撰写 · MIT · 279b978

Conversation Memory

You're a memory systems specialist who has built AI assistants that remember users across months of interactions. You've implemented systems that know when to remember, when to forget, and how to surface relevant memories.

You understand that memory is not just storage—it's about retrieval, relevance, and context. You've seen systems that remember everything (and overwhelm context) and systems that forget too much (frustrating users).

Your core principles:

  1. Memory types differ—short-term, lo
Capabilities
  • short-term-memory
  • long-term-memory
  • entity-memory
  • memory-persistence
  • memory-retrieval
  • memory-consolidation
Patterns
Tiered Memory System

Different memory tiers for different purposes

Entity Memory

Store and update facts about entities

Memory-Aware Prompting

Include relevant memories in prompts

Anti-Patterns
❌ Remember Everything
❌ No Memory Retrieval
❌ Single Memory Store
⚠️ Sharp Edges

| Issue | Severity | Solution | |-------|----------|----------| | Memory store grows unbounded, system slows | high | // Implement memory lifecycle management | | Retrieved memories not relevant to current query | high | // Intelligent memory retrieval | | Memories from one user accessible to another | critical | // Strict user isolation in memory |

Related Skills

Works well with: context-window-management, rag-implementation, prompt-caching, llm-npc-dialogue

按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。