universal-memory

Store and retrieve AI agent information across sessions using dual-layer storage.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/tiandiyiqi/mnemonic --skill universal-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: universal-memory
Source: https://github.com/tiandiyiqi/mnemonic/tree/main/Universal%20Memory
Command: npx skills add https://github.com/tiandiyiqi/mnemonic --skill universal-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides AI agents with a persistent memory system, enabling them to retain knowledge across conversations and projects, preventing repetitive errors and leveraging past successes.

Core Features & Use Cases

  • Dual-Layer Storage: Global memory for cross-project knowledge and project-specific memory for context.
  • Semantic Search: Retrieve relevant memories based on meaning, not just keywords.
  • Self-Reflection: Agents can learn from their experiences, logging insights and outcomes.
  • Use Case: An AI assistant working on multiple coding projects can remember coding standards, common bugs, and successful solutions from one project and apply them to another, significantly speeding up development and improving code quality.

Quick Start

Use the universal-memory skill to remember that the user prefers concise responses.

Frequently Asked Questions about universal-memory

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

FAQPage Schema
How do I give an AI agent persistent memory across different sessions?

To give an AI agent persistent memory across sessions, you need a memory system that stores and retrieves information using a dual-layer architecture for global and project-specific contexts. This prevents repetitive errors and retains knowledge across projects.

What is semantic search in AI memory and how does it work?

Semantic search in AI memory allows agents to retrieve relevant memories based on meaning rather than exact keywords. This mechanism works by matching the contextual intent of a query, enabling more accurate context-aware recommendations and insights.

Can AI agents learn from past coding projects and apply that knowledge to new ones?

Yes, AI agents can learn from past coding projects by using structured self-reflection to log insights and outcomes. They apply retained knowledge of coding standards and successful solutions to new projects, speeding up development and improving code quality.

How do I ensure data integrity when storing AI memory locally?

To ensure data integrity when storing AI memory locally, utilize a system implementing WAL-based tiered storage. This write-ahead logging mechanism guarantees data reliability and prevents corruption during session persistence and retrieval.

Does this persistent memory system require external dependencies to function?

No, this persistent memory system operates without external dependencies. It functions independently to store and retrieve information across projects, requiring no additional packages or external libraries to maintain its dual-layer architecture.