A sophisticated memory consolidation engine that uses an REM-inspired six-step process to refine and persist AI agent knowledge.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install dreaming-optimizer
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 dreaming-optimizer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Dreaming Optimizer is a specialized utility designed to manage the lifecycle of AI agent memories within the ecosystem of Openclaw Skills. Inspired by the REM stage of human sleep, it performs essential background maintenance on raw interaction logs, transforming them into a structured, high-signal long-term memory store.
By leveraging LLM-based scoring and semantic analysis, the skill ensures that only valuable, non-redundant information is promoted to the agent's persistent B-layer. This prevents memory bloat and significantly improves the retrieval accuracy of your AI agents during long-term projects.
To get started with this component of Openclaw Skills, ensure you have the required dependencies and run the optimizer via the CLI:
# Install required python dependencies
pip install tiktoken sqlite3
# Run the optimization process with default settings
dreaming-optimizer/bin/optimize.sh
# Run with a custom importance threshold (e.g., 80%)
dreaming-optimizer/bin/optimize.sh --threshold 80
The skill manages data across markdown files and relational databases to ensure durability and accessibility:
| Data Type | Location | Format |
|---|---|---|
| Input Logs | ~/.openclaw/workspace/memory/YYYY-MM-DD.md |
Markdown |
| Persistent Store | ~/.openclaw/memory/<agent>.sqlite |
SQLite (B-layer) |
| Reports | ~/.openclaw/workspace/memory/dreaming-summaries/ |
Markdown |
| Config | dreaming-optimizer/config/default_threshold.yaml |
YAML |
Loading
A professional-grade system design architect skill offering 20+ classic architecture patterns with detailed diagrams, technology selection, and capacity planning guides.

A comprehensive diagnostic and optimization suite for maintaining the integrity, performance, and freshness of AI agent memory databases.

An automated error detection and repair engine for AI agents based on the EvoMap GEP Self-Repair protocol.

A streamlined deployment assistant that installs and configures OpenClaw across VPS, Docker, and local environments in under five minutes.

An automated tool that transforms PPTX screenshots into comprehensive, 10-dimension HTML business operating analysis reports.

An automated tool for transforming project expense Excel files into structured cost analysis reports categorized by client and expense type.








































