A sophisticated three-tier memory architecture for AI agents that manages short-term context, medium-term summaries, and long-term vector-based retrieval.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install three-tier-memory-v2
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install three-tier-memory-v2 using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Memory Manager is a comprehensive memory architecture designed to provide AI agents with human-like recall capabilities. By implementing a Three-Tier Memory Management system, this skill allows agents to maintain immediate context through sliding windows, compress historical data into summaries, and persist critical information in a long-term vector database. This structured approach ensures that Openclaw Skills can handle long-running conversations and complex knowledge retrieval without exceeding token limits.
Built for developers who need persistent agent state, this skill bridges the gap between ephemeral chat sessions and permanent knowledge bases. It intelligently transitions data between tiers based on token usage and semantic importance, ensuring that the agent always has the most relevant information at its fingertips while maintaining high performance and cost-efficiency.
To integrate this memory system into your Openclaw Skills environment, follow these steps:
# Initialize the memory storage and config
python3 scripts/memory_manager.py init
# Manually add a specific piece of information to short-term memory
python3 scripts/memory_manager.py add --type short --content "The user prefers Python for all coding tasks"
# Search through stored memories using semantic queries
python3 scripts/memory_manager.py search "What are the user preferences?"
You must also configure your memory/config.yaml to define your window sizes and summary models.
The Memory Manager organizes data across specific storage formats to optimize retrieval speed and storage efficiency:
| Tier | Storage Location | Logic | Format |
|---|---|---|---|
| Short-Term | memory/sliding-window.json |
FIFO Queue (Default 10 items) | JSON List |
| Medium-Term | memory/summaries/ |
Token-triggered (Default 4000 tokens) | Dated JSON files |
| Long-Term | memory/vector-store/ |
Semantic RAG (ChromaDB) | Vector Embeddings |
| Config | memory/config.yaml |
Thresholds and Model Settings | YAML |
Loading
An intelligent maintenance assistant that monitors logs to automatically diagnose errors, search for solutions, and apply fixes or create pull requests.

A sophisticated three-tier memory management system for AI agents that handles short-term context, mid-term summaries, and long-term vector storage.

A sophisticated three-tier memory architecture providing sliding windows, automated summarization, and vector-based long-term storage for AI agents.

An AI-powered analysis tool that deconstructs video ad creatives into actionable marketing insights like hooks, social proof, and emotional triggers.

A sophisticated memory architecture for AI agents that synchronizes short-term windows, medium-term summaries, and long-term vector retrieval.

Viking Memory provides AI agents with persistent, long-term semantic memory for recall of user preferences and conversation history.








































