Conversation Memory

davila7/claude-code-templates/cli-tool/components/skills/ai-research/conversation-memory

作者 davila78da17d671b6f无许可证32K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

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.

仅含说明AI & Agents
AI 生成的概览

指导为 LLM 对话设计持久记忆系统,涵盖短期、长期与实体记忆。

功能
该技能为 LLM 对话的持久记忆构建提供指导,涵盖短期记忆、长期记忆与基于实体的记忆。它介绍分层记忆设计、实体事实存储、记忆感知提示,以及记忆检索与整合模式。它还列出反模式与风险点,例如记忆无限增长、检索结果不相关以及跨用户记忆泄露。它仅为说明性内容,不产出文件或脚本。
适用场景
适用于设计或评审 AI 助手如何跨会话记住用户与既往交互。适合处理记忆持久化、聊天历史管理以及在提示中呈现相关记忆的工作。
运行要求
无需任何工具、软件包或凭据;仅为说明性内容,不附带脚本。

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

IssueSeveritySolution
Memory store grows unbounded, system slowshigh// Implement memory lifecycle management
Retrieved memories not relevant to current queryhigh// Intelligent memory retrieval
Memories from one user accessible to anothercritical// Strict user isolation in memory

Related Skills

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

来源与署名

来源:davila7/claude-code-templates位于cli-tool/components/skills/ai-research/conversation-memory提交8da17d6

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架