memory-systems

Design layered memory models and temporal graphs for agent systems.

9|Updated Dec 27, 2025
One-click install
npx skills add https://github.com/AbdullahMalik17/My_skills --skill memory-systems-abdullahmalik17
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-systems
Source: https://github.com/AbdullahMalik17/My_skills/tree/main/.claude/skills/memory-systems
Command: npx skills add https://github.com/AbdullahMalik17/My_skills --skill memory-systems-abdullahmalik17

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Memory architectures that persist state and enable cross-session reasoning for AI agents, with structured storage and retrieval.

Core Features & Use Cases

  • Layered memory models (working, short-term, long-term) plus entity memory to maintain consistency across conversations.
  • Temporal knowledge graphs to track validity over time and enable time-aware queries.
  • Use Case: A chatbot that remembers user preferences and past interactions to personalize responses and improve accuracy.

Quick Start

Initialize the memory stack by wiring the vector store and graph memory in your agent context, then run the provided integration script to seed memories.

Frequently Asked Questions about memory-systems

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build memory systems for AI agents that persist across sessions?

Memory systems for agents use layered architectures combining working, short-term, and long-term memory layers plus temporal knowledge graphs. This Skill covers designing these layered models, integrating vector stores for retrieval, and implementing consolidation logic so agents maintain context and reasoning across multiple conversations and sessions.

What's the difference between working memory and long-term memory in agent architectures?

Working memory holds immediate context for current tasks, short-term memory stores recent interactions, and long-term memory persists entity relationships and historical patterns. Temporal knowledge graphs add time-aware semantics so the system tracks when facts remain valid, enabling agents to distinguish outdated from current information.

How do I integrate vector stores and graph-based memory into an agent context pipeline?

Vector stores index embeddings for semantic retrieval, while graph memory structures entity relationships and temporal constraints. This Skill provides integration patterns to wire both into your agent's context pipeline, seed initial memories via provided scripts, and query across both storage types for cross-session reasoning.

Can I use memory consolidation to improve chatbot personalization across conversations?

Yes. Memory consolidation extracts user preferences and past interactions from individual conversations and stores them in long-term entity memory. Agents retrieve these consolidated patterns to personalize responses and maintain consistency, improving accuracy and relevance without reprocessing every prior exchange.

What dependencies do I need to implement layered memory models with temporal queries?

This Skill requires numpy for numerical operations on embeddings and memory vectors. Optional graph tooling extends temporal query capability, but the core layered memory and vector-store integration work with numpy as the foundation dependency.

When should I use temporal knowledge graphs instead of flat memory storage?

Use temporal knowledge graphs when agents must reason about fact validity over time—for example, tracking user preferences that change, remembering event timestamps, or distinguishing stale from current information. Flat storage loses temporal context; graphs enable time-aware queries that improve accuracy in dynamic domains.