Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

memory-systems

Skill by muratcankoylan

Guides agents in designing persistent memory across sessions. It covers memory layers, framework choice, retrieval strategies, consolidation and benchmark selection. Intended for developers building agents that must keep knowledge over time.

  • Score 94
  • 18k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install memory-systems

Built from the published package, never by AI.

git clone --depth 1 https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering /tmp/Agent-Skills-for-Context-Engineering && mkdir -p ~/.claude/skills && cp -r /tmp/Agent-Skills-for-Context-Engineering/skills/memory-systems ~/.claude/skills/memory-systems

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install memory-systems in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a design guide for persistent semantic memory in agent systems. It covers cross-session knowledge retention, entity tracking, temporal validity, graph or vector retrieval, memory consolidation, and benchmark selection. It describes five memory layers, from the context window to a temporal knowledge graph, and tells the agent to pick the shallowest layer that meets the need.

The skill compares frameworks such as Mem0, Zep/Graphiti, Letta, Cognee, LangMem and plain file-system memory. It also lists retrieval strategies (semantic, entity-based, temporal and hybrid), consolidation rules, and error recovery steps for empty, stale or conflicting results. It is aimed at developers building agents that must remember users, entities or facts across sessions.

Written from the project's SKILL.md and checked against it.

What it can do

  • Memory layer selectionPicks the shallowest memory layer that meets persistence and retrieval needs.
  • Framework comparisonNarrows choices among Mem0, Zep/Graphiti, Letta, Cognee, LangMem and file-system memory.
  • Retrieval strategy matchingMatches semantic, entity-based, temporal or hybrid retrieval to the query shape.
  • Temporal validity trackingTracks validity intervals for facts that change over time.
  • Memory consolidationRuns periodic consolidation and invalidates old memories without discarding them.
  • Retrieval error recoveryGives fallback steps for empty, stale or conflicting memory results.
  • Benchmark selectionPoints to LoCoMo, LongMemEval and DMR for evaluating memory systems.

What you need

  • Python

Try asking

  • Design a memory layer that keeps user preferences across sessions
  • Which memory framework fits an agent that needs temporal queries?
  • Help me set up memory consolidation for my agent's long-term store

Good to know

  • Benchmark numbers are dated and must be rechecked before product claims.
  • Zep advanced features are noted as cloud-locked.
  • Cognee has heavier ingest-time processing.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/memory-systems/SKILL.md, skills/memory-systems/scripts/memory_store.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md16 KB
  • references/implementation.md18 KB
  • scripts/memory_store.py21 KB

Alternatives to memory-systems

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

memory-systems: common questions

Which memory framework should I start with?

The skill recommends starting with file-system memory and storing facts as structured JSON with timestamps. Add a vector store, Zep/Graphiti, Letta or Cognee only when retrieval quality requires it.

What is the difference between Graphiti and Cognee?

Graphiti uses structured ties with generic relations and suits temporal bi-modeling. Cognee builds denser multi-layer semantic graphs with detailed relationship edges.

Should I trust the benchmark scores in this skill?

The skill treats benchmark numbers as dated, source-specific signals rather than absolute rankings. It advises rechecking them before making product claims.

How do I install memory-systems?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is memory-systems free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is memory-systems safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to memory-systems?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

memory-systems Install

Add to stack

Loading.