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 從公開儲存庫中收錄這些內容。

檢舉或申請下架