Guides implementation of agent memory systems, compares production frameworks (Mem0, Zep/Graphiti, Letta, LangMem, Cognee), and designs persistence architectures for cross-session knowledge retention. Use when the user asks to "implement agent memory", "persist state across sessions", "build knowledge graph for agents", "track entities over time", "add long-term memory", "choose a memory framework", or mentions temporal knowledge graphs, vector stores, entity memory, adaptive memory, dynamic memory or memory benchmarks (LoCoMo, LongMemEval).
Install with Tessl CLI
npx tessl i github:muratcankoylan/Agent-Skills-for-Context-Engineering --skill memory-systems91
Quality
92%
Does it follow best practices?
Impact
83%
1.33xAverage score across 3 eval scenarios
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/memory-systems/SKILL.mdMemory architecture selection and progression
Start simple first
50%
30%
Progression stages
100%
100%
Trigger for scaling
62%
75%
Graphiti vs Cognee distinction
0%
90%
Reliability over complexity
50%
40%
Benchmark reference
0%
100%
Mem0 user scoping
0%
100%
Complex reasoning trigger
0%
100%
Structured JSON filesystem
25%
12%
No premature complexity
100%
100%
Framework trade-offs
90%
100%
Without context: $0.2508 · 1m 40s · 10 turns · 59 in / 4,568 out tokens
With context: $0.3076 · 1m 42s · 11 turns · 11 in / 4,431 out tokens
Temporal validity and error recovery
valid_from tracking
100%
100%
valid_until tracking
100%
100%
Invalidate not delete
100%
100%
Conflict resolution rule
100%
100%
Conflict surfacing
37%
37%
Empty retrieval fallback
25%
100%
Consolidation trigger
25%
100%
Stale result handling
0%
37%
Non-blocking storage write
25%
100%
Storage failure queueing
75%
100%
History preservation rationale
100%
100%
Consolidation scope
83%
50%
Without context: $0.4099 · 2m 19s · 11 turns · 12 in / 8,181 out tokens
With context: $0.7468 · 2m 59s · 22 turns · 80 in / 10,227 out tokens
Memory-context integration and anti-patterns
JIT retrieval
100%
100%
Attention-favored placement
70%
100%
Hybrid retrieval
0%
60%
No context stuffing
100%
100%
Context size limit
100%
87%
Retention policy
100%
100%
Privacy by design
100%
100%
Memory growth monitoring
62%
100%
Retrieval latency monitoring
100%
100%
Entity extraction for retrieval
25%
50%
No blocking on write
80%
40%
Without context: $0.4536 · 2m 52s · 13 turns · 13 in / 9,326 out tokens
With context: $0.9329 · 3m 53s · 26 turns · 26 in / 12,839 out tokens
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.