SkillsReviewed · muratcankoylan

Memory Systems: Agent Skills for Context Engineering

Memory Systems is an AI assistant skill for developers building agents that remember information across conversations, but its bundled Python code lacks durable storage and real semantic search. It explains memory architectures, entity tracking, time-valid facts and retrieval strategies, with implementation sketches and framework examples.

Researched 16 Nov 2026

In short.

Memory Systems is an AI assistant skill for developers planning memory across conversations, but its Python prototype stores data only in process memory and uses random vectors instead of meaningful text embeddings. The strongest material is its explanation of when to use simple storage, semantic retrieval, entity relationships or temporal graphs. The code provides readable building blocks, while persistence, session isolation, time-aware integration and consolidation require additional engineering. No code was executed; retrieval accuracy, performance and framework compatibility are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied skills/memory-systems folder: SKILL.md, references/implementation.md and scripts/memory_store.py, together with the repository-root MIT license, at revision 9ff0c99108b36d3b886defd825d8ac1f47dba374. Other skills, linked papers, external framework implementations and repository files outside this scope are excluded. Assessment is based on source text only; installation, execution, persistence across restarts, retrieval quality, performance and external integrations were not tested.

The overview

Identity

The resource is the skills/memory-systems folder in muratcankoylan/Agent-Skills-for-Context-Engineering. It contains the assistant instructions in SKILL.md, a technical reference in references/implementation.md and a Python module in scripts/memory_store.py. The skill is attributed to Agent Skills for Context Engineering Contributors.

Its scope is persistent semantic memory: retaining knowledge across conversations, tracking entities and retrieving facts that may change over time. It directs scratchpads, conversation summaries and context-budget tactics to other skills.

Original source: [https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/tree/main/skills/memory-systems].

Assessment

This is useful as architecture guidance and a prototype to study. Its central recommendation is practical: start with the simplest storage and retrieval approach that meets the task, then add semantic search, relationships or temporal structure when measured needs justify them.

The implementation does not establish the cross-session persistence described by the skill. Its framework comparison also provides qualitative benchmark labels rather than numerical results, reproducible configurations or evaluation outputs. It cannot support a performance ranking or a production-readiness claim.

Users

Developers designing assistants that retain preferences, connect facts about people or projects, or answer questions about past states are the clearest audience. Beginners can use the memory-layer explanations to understand the choices; experienced developers can inspect the data structures and integration gaps.

Teams needing a ready-made durable memory service will need further implementation or a separate framework. Reading the skill does not automatically add memory to an assistant, and the supplied material does not establish compatibility with particular assistant hosts.

Capabilities

The guidance covers working, session, long-term, entity and temporal memory. It explains similarity search, entity-based lookup, time filtering and hybrid retrieval, alongside consolidation, stale facts, contradictory memories and retrieval failure recovery.

The Python module exposes VectorStore, PropertyGraph, TemporalKnowledgeGraph and IntegratedMemorySystem. These provide metadata filtering, entity indexes, named graph nodes, directed relationships, point-in-time and overlapping-time-range queries, and vector-search results enriched with graph relationships. These are source-level capabilities; their behavior was not tested.

Using it

Requirements

The standalone module requires Python and NumPy. The supplied scope does not specify supported Python or NumPy versions, hardware requirements, dependency pins or an assistant-host installation procedure.

Separate integration snippets reference Mem0, graphiti_core with a Neo4j connection, and Cognee. Those paths require their respective libraries and infrastructure, but complete configuration, credentials, SDK versions and service requirements are not supplied.

Mechanism

VectorStore turns each text into a pseudo-random vector seeded from its hash, then ranks stored vectors by cosine similarity. This illustrates the search interface but does not encode meaning: related phrases are not deliberately placed near each other. Metadata filters use exact values or membership in a supplied list.

PropertyGraph keeps nodes and relationships in dictionaries and identifies entities by their exact names. TemporalKnowledgeGraph adds validity dates to relationships. IntegratedMemorySystem stores facts in the vector store, creates entity nodes and optional relationships, then attaches graph connections to vector-search results.

All of this state remains inside the Python object. start_session sets a session label, and retrieve_memories filters by that label; it does not save or reload knowledge.

Setup

For the instruction resource, retain SKILL.md with its references and scripts so relative paths remain meaningful. The supplied material does not establish a host-specific skill installation command.

For code exploration, provide Python and NumPy, make scripts/memory_store.py importable, then follow the documented sequence of creating IntegratedMemorySystem, starting a session, storing facts and requesting memories. This is a source-based starting point; installation and execution were not performed.

A working persistent implementation additionally needs durable storage and loading, meaningful embeddings, explicit memory-scoping rules and completed maintenance operations.

Example

The module's included demonstration creates a session, stores that Alice prefers dark mode and works at Acme Corp, and adds PREFERS and WORKS_AT relationships. It then requests memories for theme preference and retrieves Alice's entity context.

This illustrates the intended interface rather than an established retrieval result. No output was supplied, and hash-generated vectors do not demonstrate recognizing theme preference as semantically related to dark mode. The temporal APIs are separate from this demonstration.

Assessment & evidence

Limitations

The module has no save/load implementation, so it does not provide durable cross-session storage. Its random-vector embedding stub cannot support meaningful semantic matching. Entity identity uses names alone, so different people with the same name would share a node unless the design is adapted.

Session handling is incomplete as an isolation boundary. retrieve_memories filters vector facts by the active session, but retrieve_entity_context does not apply that filter, and graph relationships are shared within the object.

The time_filter argument in retrieve_memories is unused. IntegratedMemorySystem.store_fact creates ordinary graph relationships without temporal validity, despite composing a temporal graph class. consolidate contains only pass.

The technical reference also contains incomplete snippets that call undefined helpers. Its consolidation example groups relationships by source and type without considering their targets, so distinct facts can be grouped together, and it removes edges despite the skill's advice to preserve history. These findings follow from source inspection; runtime failures were not observed.

Reasoning

The resource's strongest contribution is separating retrieval needs into understandable choices: direct fact lookup, entity connections and questions about what was true at a particular time. That helps developers decide what complexity their application actually needs.

Its guidance and executable support should be assessed separately. The prose recommends durable memory, history preservation and consolidation, while the module does not complete those functions. The source therefore supports using it for design and adaptation, rather than assuming it delivers a finished memory service.

The suggested rule of preferring the newest valid_from value is a conflict-resolution heuristic. Recording a date does not itself verify that a fact is correct, and the integrated module does not implement that conflict-resolution policy.

Alternatives

The skill presents structured files as a starting point for simple memory needs, Mem0 or vector storage for semantic retrieval, and Zep/Graphiti for relationship and temporal queries. It also discusses Letta for agent-managed memory, Cognee for customizable semantic graphs and LangMem for LangGraph workflows.

These are the guide's suggested directions, not independently established rankings. Their current features, prices, compatibility and comparative performance remain unknown from the supplied material. The named benchmarks do not provide enough captured results to select a winner.

Evidence

The supplied evidence includes the full skill instructions, implementation reference, Python module and root license at one pinned revision. It contains examples and a smoke-test block, but no execution receipts, benchmark datasets, measured outputs or dependency lockfile. No code was executed.

Pinned instructions: [https://raw.githubusercontent.com/muratcankoylan/Agent-Skills-for-Context-Engineering/9ff0c99108b36d3b886defd825d8ac1f47dba374/skills/memory-systems/SKILL.md].

Pinned technical reference: [https://raw.githubusercontent.com/muratcankoylan/Agent-Skills-for-Context-Engineering/9ff0c99108b36d3b886defd825d8ac1f47dba374/skills/memory-systems/references/implementation.md].

Pinned Python module: [https://raw.githubusercontent.com/muratcankoylan/Agent-Skills-for-Context-Engineering/9ff0c99108b36d3b886defd825d8ac1f47dba374/skills/memory-systems/scripts/memory_store.py].

Access & freshness

Costs

The MIT license grants reuse permission without a license fee. Total implementation and operating cost is unknown: the supplied files provide no provider prices, hosting estimates, token usage or resource measurements.

The standalone script uses NumPy rather than an embedding service. Replacing its placeholder embeddings, adding durable storage or adopting the framework examples introduces dependencies whose costs are not established here.

Rights

The repository-root MIT license permits use, copying, modification, publication, distribution, sublicensing and sale of the software and associated documentation. Copies or substantial portions must retain the copyright and permission notice. The license includes a warranty disclaimer and limitation of liability.

The notice names Context Engineering Agent Skills Contributors as the 2025 copyright holder. Licenses and service terms for optional frameworks and dependencies are not established by this notice.

License source: [https://raw.githubusercontent.com/muratcankoylan/Agent-Skills-for-Context-Engineering/9ff0c99108b36d3b886defd825d8ac1f47dba374/LICENSE].

Freshness

SKILL.md declares version 4.1.0, creation on 2025-12-20 and last update on 2026-05-15. The supplied files were captured on 2026-11-16 at 17:25:25.123 UTC from revision 9ff0c99108b36d3b886defd825d8ac1f47dba374.

Those dates identify the document metadata and source snapshot. Compatibility with current external SDKs, the present accuracy of framework comparisons and changes after that revision are unknown.

Actions

Start with the skill's architecture guidance and identify whether the application needs durable fact lookup, semantic matching, entity relationships or historical queries. Use the pinned original files when inspecting or adapting the examples, and retain the MIT notice with redistributed material.

Before relying on the module, replace the embedding stub, implement save/load behavior, define session and entity boundaries, connect temporal metadata to retrieval, and complete consolidation without losing required history.

Then evaluate restart recovery, related-phrase retrieval, changed preferences, date boundaries and session separation on representative data. The skill names LoCoMo and LongMemEval as possible memory benchmarks, but supplies no results for this implementation. External framework examples also need version and configuration verification.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/memory-systems/SKILL.mdselected · checked 2026-11-16
skills/memory-systems/scripts/memory_store.pyselected · checked 2026-11-16