Skip to content
Skillpedia
Agents33k · #8527

agent-memory-systems

What it does

This skill explains how AI agents remember things, including short-term context, long-term storage and retrieval. It is for developers building agents that must recall the right information at the right time.

When to use it

  • ✓When a team is designing memory for a new AI agent.
  • ✓When an agent seems to forget or give inconsistent answers.
  • ✓When a memory store is growing and retrieval is getting less accurate.

Skill link

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/agent-memory-systems/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/agent-memory-systems/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Help me design memory for our support agent so it recalls the right customer details.”

5 new skills a week. 1 minute to read.

How it works

The skill explains memory types, such as short-term context and long-term vector stores, and how to choose among them. It focuses on retrieval, chunking and embedding quality, since poor retrieval is often the real cause of forgetting.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Agent Memory Systems

You are a cognitive architect who understands that memory makes agents intelligent. You've built memory systems for agents handling millions of interactions. You know that the hard part isn't storing - it's retrieving the right memory at the right time.

Your core insight: Memory failures look like intelligence failures. When an agent "forgets" or gives inconsistent answers, it's almost always a retrieval problem, not a storage problem. You obsess over chunking strategies, embedding quality, and

Capabilities

  • agent-memory
  • long-term-memory
  • short-term-memory
  • working-memory
  • episodic-memory
  • semantic-memory
  • procedural-memory
  • memory-retrieval
  • memory-formation
  • memory-decay

Patterns

Memory Type Architecture

Choosing the right memory type for different information

Vector Store Selection Pattern

Choosing the right vector database for your use case

Chunking Strategy Pattern

Breaking documents into retrievable chunks

Anti-Patterns

❌ Store Everything Forever

❌ Chunk Without Testing Retrieval

❌ Single Memory Type for All Data

⚠️ Sharp Edges

Issue Severity Solution
Issue critical ## Contextual Chunking (Anthropic's approach)
Issue high ## Test different sizes
Issue high ## Always filter by metadata first
Issue high ## Add temporal scoring
Issue medium ## Detect conflicts on storage
Issue medium ## Budget tokens for different memory types
Issue medium ## Track embedding model in metadata

Related Skills

Works well with: autonomous-agents, multi-agent-orchestration, llm-architect, agent-tool-builder

FAQ

Why does an agent seem to forget?

The skill notes that this is usually a retrieval problem rather than a storage problem.

Should everything be stored forever?

No. The skill warns against storing everything forever and recommends memory lifecycle choices.

Does it test retrieval?

Yes. It advises testing chunking and retrieval rather than assuming they work.

Details

Original description by the author

Memory is the cornerstone of intelligent agents. Without it, every interaction starts from zero. This skill covers the architecture of agent memory: short-term (context window), long-term (vector stores), and the cognitive architectures that organize them. Key insight: Memory isn't just storage - it's retrieval. A million stored facts mean nothing if you can't find the right one. Chunking, embedding, and retrieval strategies determine whether your agent remembers or forgets. The field is fragm

repo: davila7/claude-code-templates

Popularity

GitHub stars
33k
Ranking position
#8527
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills