memory-systems

Persist agent memory across sessions using vector stores and knowledge graphs.

Updated Jun 29, 2026
One-click install
npx skills add https://github.com/wangyouan/codex-personal-kit --skill memory-systems-wangyouan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-systems
Source: https://github.com/wangyouan/codex-personal-kit/tree/main/skills/memory-systems
Command: npx skills add https://github.com/wangyouan/codex-personal-kit --skill memory-systems-wangyouan

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill addresses the challenge of persistent semantic memory in agent systems, enabling cross-session knowledge retention, entity tracking, temporal validity, and efficient memory benchmark selection.

Core Features & Use Cases

  • Cross-Session Knowledge Retention: Facilitates the persistence of an agent's knowledge across different sessions.
  • Entity Tracking: Enables consistent tracking of entities across conversations.
  • Temporal Validity: Manages the validity of memory over time, ensuring accurate information is used.
  • Memory Benchmarking: Provides tools to evaluate memory systems against established benchmarks.
  • Use Case: For an AI agent that needs to maintain a consistent memory of past interactions with users, this skill can be used to store and retrieve past conversations, preferences, and actions.

Quick Start

Use the memory-systems skill to initialize a new session and store a fact about a user's preferences.

Frequently Asked Questions about memory-systems

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

FAQPage Schema
How do I enable persistent semantic memory for an AI agent across different sessions?

Persistent semantic memory is enabled by storing and retrieving past conversations, preferences, and actions across sessions. This skill handles semantic search to maintain consistent agent knowledge and context over time.

How does a temporal knowledge graph manage memory validity for agents?

A temporal knowledge graph manages memory validity by handling time-based queries to ensure accurate information is used. This approach tracks the lifecycle of facts, preventing outdated data from corrupting agent reasoning.

Can I use property graphs to track entity relationships in an agent memory architecture?

Yes, you can use property graphs to track entity relationships within an agent memory architecture. This skill supports property graphs to map and retrieve complex entity connections during semantic search operations.

What is the best way to evaluate agent memory systems against established benchmarks?

The best way to evaluate agent memory systems is by using benchmarking tools that test knowledge retention and retrieval accuracy. This skill provides benchmarking capabilities to assess memory architecture performance against established standards.

Do I need a vector store to perform semantic search for agent intelligence?

Yes, a vector store is supported to perform semantic search for agent intelligence. This skill integrates vector stores to facilitate efficient retrieval of persistent knowledge and semantic memory.

Why does an AI agent lose track of user preferences without cross-session knowledge retention?

An AI agent loses track of user preferences without cross-session knowledge retention because memory is cleared per session. Implementing persistent semantic memory resolves this by storing and retrieving past interactions consistently.