๐ dreaming-optimizer
Version: 1.0.0
Skill ID:dreaming-optimizer
Status: Ready for Development
Quick Reference
| ้กน็ฎ | ๅ ๅฎน |
|---|---|
| ๆ ธๅฟๅ็ | OpenClaw Dreaming REMๅ ญๆญฅ่ฎฐๅฟๆดๅ๏ผๆด็โ่ฏๅโๅป้โๆๆ โๆไบคโๆ่ฆ๏ผ |
| ไธปๅ ฅๅฃ | bin/optimize.sh |
| ไพ่ต | OpenClaw v2026.4.9+, tiktoken, sqlite3 |
Features (MVP)
- Entry scorer โ LLM-based priority scoring (0โ100)
- Deduplication โ Semantic similarity merge against existing memories
- Fact tagger โ Label as fact/opinion/preference/context
- Commit writer โ Write optimized entries to persistent memory
- Dreaming summary โ Traceable REM consolidation report
- Configurable threshold โ Min score threshold (default: 70)
File Structure
dreaming-optimizer/
โโโ SKILL.md # This file
โโโ bin/
โ โโโ optimize.sh # Main entry point
โ โโโ score_entries.py # LLM-based priority scoring
โ โโโ deduplicate.py # Semantic deduplication
โ โโโ commit.py # Write to B-layer
โโโ scripts/
โ โโโ dreaming_summary.py
โโโ config/
โ โโโ default_threshold.yaml
โโโ README.md
Usage
# Manual invoke
dreaming-optimizer/bin/optimize.sh
# With custom threshold
dreaming-optimizer/bin/optimize.sh --threshold 80
Integration
- Reads from:
~/.openclaw/workspace/memory/YYYY-MM-DD.md - Writes to:
~/.openclaw/memory/<agent>.sqlite(B-layer) - Summary output:
~/.openclaw/workspace/memory/dreaming-summaries/
Pricing
| Tier | Price | Features |
|---|---|---|
| Free | $0 | 10 cycles/mo, 100 entries/cycle |
| Pro | $9.90/mo | Unlimited, dedup, backfill queue, Obsidian export |
Development
See: ``