memory-systems

Store, retrieve, and manage persistent agent memories across sessions.

Updated Jan 6, 2026
One-click install
npx skills add https://github.com/salmanparacha/speckitplus-calculator --skill memory-systems-salmanparacha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-systems
Source: https://github.com/salmanparacha/speckitplus-calculator/tree/main/.claude/skills-nocontext/memory-systems
Command: npx skills add https://github.com/salmanparacha/speckitplus-calculator --skill memory-systems-salmanparacha

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Memory systems enable agents to persist state across sessions, maintain entity consistency, and reason over accumulated knowledge, ensuring continuity and reliability in long-running tasks.

Core Features & Use Cases

  • Layered memory architecture (Working memory, Short-term memory, Long-term memory, Entity memory, Temporal knowledge graphs).
  • Memory retrieval, consolidation, context integration, and privacy considerations.
  • Patterns: File-system-as-memory, Knowledge graph, Temporal knowledge graph.
  • Use cases: cross-session planning, user/entity tracking, and time-aware decision making across interactions.

Quick Start

Start a memory session named "session-1", store a memory for entity "User123" with the current timestamp, and then retrieve memories for that entity.

Frequently Asked Questions about memory-systems

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

FAQPage Schema
How do I persist agent state across sessions with layered memory?

Persist agent state across sessions by implementing a multi-layer memory model that stores and retrieves working, short-term, long-term, and knowledge-graph memories. This architecture maintains context and continuity between interactions.

What is a temporal knowledge graph for entity tracking?

A temporal knowledge graph for entity tracking is a memory structure that records relationships and events over time. It enables time-aware decision making by managing when memories were stored and how they evolve across interactions.

Can I use numpy for memory consolidation and context integration?

Yes, you can use numpy for memory consolidation and context integration. The system relies on numpy as its core dependency to process numerical data arrays required for managing and consolidating multi-layered agent memory states.

How do I store and retrieve memories for a specific entity across sessions?

To store and retrieve memories for a specific entity across sessions, you start a named memory session, save the entity data with a current timestamp, and then query the memory system using that entity identifier.

What are the limitations of using file-system-as-memory for cross-session reasoning?

Using file-system-as-memory for cross-session reasoning may introduce latency and scaling constraints compared to graph databases. It is best suited for localized entity tracking rather than highly concurrent, large-scale knowledge graph deployments.

When do I need privacy safeguards for agent memory consolidation?

You need privacy safeguards for agent memory consolidation when storing sensitive entity tracking data in long-term memory. Safeguards ensure that personal or confidential information is protected during context integration and cross-session retrieval.