New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Persistent memory design for LLM conversations spanning short-term, long-term, and entity-based stores.

skills.sh installs
1K
GitHub stars
34.1K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers tiered memory for short-term context, long-term recall, and entity facts that update over time
  • Includes patterns for entity memory, memory-aware prompting, and consolidation of older memories
  • Enforces strict per-user isolation so memories from one user never surface for another
  • Designed for assistants that must remember users across months while keeping context windows bounded

Install

$ npx -y skills add davila7/claude-code-templates --skill conversation-memory -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/davila7/claude-code-templates
Categories
Memory & Context, AI Agents & LLM Apps
First seen
May 16, 2026

More from davila7/claude-code-templates

All 398

Similar to Conversation Memory

More Memory & Context