A professional-grade four-layer workspace memory management system for AI agents utilizing vector engines and automated session flushing.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install dream-memory
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 dream-memory using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Dream Memory is a robust memory management framework designed specifically for Openclaw Skills environments. It implements a sophisticated four-layer architecture that transitions seamlessly from high-level Agent rules down to session-level lifecycle tracking. By combining Markdown-based file storage with the OpenViking vector engine and Ollama bge-m3 embeddings, it ensures that AI agents maintain long-term context without losing performance.
The system is engineered to handle real-time logging, long-term memory promotion, and cross-session memory persistence. It solves the common problem of 'context amnesia' by providing a structured taxonomy for user preferences, historical decisions, and ongoing project progress, making it an essential component for any high-stakes AI coding or research agent.
To integrate Dream Memory into your Openclaw Skills environment, follow these steps:
mkdir -p memory/topics memory/archive memory/.data
touch MEMORY.md SOUL.md USER.md WEEKLY-PROGRESS.md
Configure Vector Engine:
Ensure Ollama is running with the bge-m3 model for embeddings. Refer to references/ollama-setup.md for specific parameter tuning.
Run Health Check: Use the built-in script to verify memory integrity:
./scripts/memory-check.sh
Dream Memory organizes data through a strict file-based taxonomy to ensure maximum readability for both humans and agents:
| File/Folder | Description | Size/Constraint |
|---|---|---|
MEMORY.md |
Long-term memory index | < 200 lines / 25KB |
memory/ |
Directory containing daily logs | Append-only format |
sessions.json |
Tracks session metadata | Internal tracking |
.consolidate-lock |
Prevents race conditions during distillation | Binary lock file |
SOUL.md |
Defines Agent personality and traits | Static configuration |
Loading
A sophisticated self-improvement framework that enables AI agents to learn from performance data, manage multi-layered memory, and update their own logic autonomously.

An intelligent AI agent skill that parses medical examination reports from images or PDFs to provide plain-language explanations of health indicators.

An advanced AI research skill for Zotero that automates literature retrieval, PDF data extraction, and the generation of verified, high-accuracy academic reviews.

A sophisticated AI agent that analyzes refrigerator photos to generate professional culinary concepts, verified recipes, and instructional videos.

A high-performance AI image upscaling skill that transforms low-resolution images into crisp 4K or 8K assets via a secure API pipeline.

An AI-driven search assistant for 太保 CPIC providing real-time access to insurance products, financial data, and official news.








































