conversation-memory 精选
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.
安装方式
cp -r cli-tool/components/skills/ai-research/conversation-memory ~/.claude/skills/conversation-memory把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
https://raw.githubusercontent.com/davila7/claude-code-templates/b84033e51002cd4c805d5dce27e6d1fe19cb95f1/cli-tool/components/skills/ai-research/conversation-memory/SKILL.md下载后另存为 ~/.claude/skills/conversation-memory/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/davila7/claude-code-templates.git
依赖与权限
- 无需 API Key
- 无需联网
- 无外部命令依赖
- 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
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:
- 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
质量与来源
- 所属仓库
- davila7/claude-code-templates
- 仓库星标
- 3.3 万
- 最近更新
- 今天
- 采集时间
- 今天
- commit
- b84033e51002
- 内容指纹
- sha256:48de65ebd93c486
- 文件路径
- cli-tool/components/skills/ai-research/conversation-memory/SKILL.md