memory-manager

Store and retrieve long-term agent memory across sessions via a deterministic CLI.

139|13|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/nexus-research-lab/nexus --skill memory-manager-nexus-research-lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-manager
Source: https://github.com/nexus-research-lab/nexus/tree/main/skills/memory-manager
Command: npx skills add https://github.com/nexus-research-lab/nexus --skill memory-manager-nexus-research-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manage and retrieve an agent's long-term memory (MEMORY.md) and diaries to inform decisions across sessions.

Core Features & Use Cases

  • Layered memory storage across MEMORY.md, diary/, and memory/ to preserve critical context and decisions.
  • Fast retrieval and snippet extraction using the memory CLI to review past events, preferences, and milestones.
  • Use Case: Before tackling a complex task, pull relevant past decisions and notes to guide the current approach or plan a project retrospectively.

Quick Start

Run the memory_cli.py tool to search for past diary entries or MEMORY.md snippets in the current workspace.

Frequently Asked Questions about memory-manager

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

FAQPage Schema
How do I store and retrieve agent long-term memory across sessions?

To store and retrieve agent long-term memory across sessions, use a deterministic CLI to search past diary entries and MEMORY.md snippets. This coordinates layered storage across MEMORY.md, diary/, and memory/ to balance context length with depth, enabling recall of key decisions and milestones.

What is the best way to manage agent memory for post-mortems and decision reviews?

Managing agent memory for post-mortems and decision reviews requires extracting relevant past events and preferences from a long-term memory system. The memory CLI provides fast retrieval and snippet extraction from MEMORY.md and diary/ to inform current planning approaches.

Can I use a memory CLI to search past diary entries in my current workspace?

Yes, you can use a memory CLI to search past diary entries in your current workspace. Running the agent/memory_cli.py tool enables fast search and get operations to retrieve relevant historical notes, preferences, and milestones from your layered memory storage.

How does layered memory storage balance context length with depth for agents?

Layered memory storage balances context length with depth by coordinating MEMORY.md, diary/, and memory/ to preserve critical context. This ensures that agents can recall complex past decisions without overloading the active context window during planning or retrospectives.

Does the memory management system support self-improvement logging?

Yes, the memory management system supports self-improvement logging. Alongside storing and retrieving an agent's long-term memory, it enables logging for self-improvement to help review past events and guide future project planning approaches.

When do I need long-term memory for my AI agent?

You need long-term memory for your AI agent before tackling a complex task or planning a project retrospectively. It allows you to pull relevant past decisions, preferences, and milestones to guide the current approach and prevent repeating historical mistakes.