Skip to main content
skill

conversation-memory · davila7 — Claude Code skill: what it does, how to install

Architecture guidelines for handling session context, entity facts, and persistent recall in LLM conversations.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill ai-research/conversation-memory
Open on GitHub

What conversation-memory does

This skill outlines patterns for handling conversational state across multiple tiers instead of dumping full histories into prompts. It details methods for updating entity attributes, consolidating dialogue records, and injecting only relevant facts into model prompts.

The guide highlights common pitfalls like maintaining an unindexed single storage or collecting raw transcripts without pruning. Without explicit lifecycle policies, unbounded memory pools inevitably degrade retrieval latency.

Multi-tenant isolation represents the main architectural risk. Failing to partition memory boundaries strictly by user identity causes cross-session data leaks.

What it helps with

  • structure layered memory combining short-term and persistent records
  • track and update entity attributes across extended dialogues
  • filter retrieved memories before feeding them into prompt context
  • enforce data isolation between different users

Example prompts for the agent

  • Design a tiered memory architecture for an assistant that needs to remember user preferences
  • How should I handle entity updates so past facts get refreshed cleanly?
  • Set up a pruning strategy to keep our conversation memory from slowing down queries

How to install conversation-memory

1claude-code-templates

npx claude-code-templates@latest --skill ai-research/conversation-memory

2Skills CLI (Vercel)

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

3Manually: put the files in place

~/.claude/skills/conversation-memory/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/conversation-memory/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about conversation-memory

How to install conversation-memory in Claude Code?

Run npx claude-code-templates@latest --skill ai-research/conversation-memory in your project terminal. Alternatively, install it with npx skills add davila7/claude-code-templates --skill conversation-memory -a claude-code.

What memory tiers does this skill cover?

It provides patterns for tiered memory architectures, dividing context into short-term sessions, persistent long-term storage, and dedicated entity records.

What is the main security risk outlined in the guide?

Lack of strict per-user boundaries can leak sensitive memories from one conversation into another user session.

Similar skills

All skills for Agent setup: memory, context, orchestration →

conversation-memory by other authors comes first.

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor