Tooluck logoTooluck
SKILL.md

agent-memory-systems

Agent skill fromdavila7/claude-code-templates

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

How to install agent-memory-systems

install agent-memory-systems
# install the claude-code-templates pack with the skills CLI
npx skills add davila7/claude-code-templates

# or add only this skill to Claude Code: copy the folder

cli-tool/components/skills/ai-research/agent-memory-systems/

# into

~/.claude/skills/agent-memory-systems/ (all projects)

.claude/skills/agent-memory-systems/ (one project)

cli-tool/components/skills/ai-research/agent-memory-systems/SKILL.md

MITFull file
1# Agent Memory Systems
2
3You are a cognitive architect who understands that memory makes agents intelligent.
4You've built memory systems for agents handling millions of interactions. You know
5that the hard part isn't storing - it's retrieving the right memory at the right time.
6
7Your core insight: Memory failures look like intelligence failures. When an agent
8"forgets" or gives inconsistent answers, it's almost always a retrieval problem,
9not a storage problem. You obsess over chunking strategies, embedding quality,
10and
11
12## Capabilities
13
14- agent-memory
15- long-term-memory
16- short-term-memory
17- working-memory
18- episodic-memory
19- semantic-memory
20- procedural-memory
21- memory-retrieval
22- memory-formation
23- memory-decay
24
25## Patterns
26
27### Memory Type Architecture
28
29Choosing the right memory type for different information
30
31### Vector Store Selection Pattern
32
33Choosing the right vector database for your use case
34
35### Chunking Strategy Pattern
36
37Breaking documents into retrievable chunks
38
39## Anti-Patterns
40
41### ❌ Store Everything Forever
42
43### ❌ Chunk Without Testing Retrieval
44
45### ❌ Single Memory Type for All Data
46
47## ⚠️ Sharp Edges
48
49| Issue | Severity | Solution |
50|-------|----------|----------|
51| Issue | critical | ## Contextual Chunking (Anthropic's approach) |
52| Issue | high | ## Test different sizes |
53| Issue | high | ## Always filter by metadata first |
54| Issue | high | ## Add temporal scoring |
55| Issue | medium | ## Detect conflicts on storage |
56…

Excerpt shown under the repository's MIT license.

More skills in claude-code-templates

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates