version unknown

openclaw-autodream

kirin1024@kirin1024⭐ 1 stars· last commit 7mo ago· 0 open issues

AI agent skill for OpenClaw — openclaw-autodream

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

7.4/10
Verified
Apr 24, 2026

// RATINGS

⭐GitHub Stars
⭐ 1 on GitHubGitHub ↗

New / niche

🟢ProSkills ScoreAI Verified
7.4/10
📍

Not yet listed on ClawHub or SkillsMP

// README

🌙 AutoDream for OpenClaw

Automatic Memory Maintenance — Let Your AI Agent Truly "Remember" You

Inspired by the Claude Code Dream Machine. A restricted sub-Agent automatically analyzes all Agent conversations every night, extracts key decisions and preferences, and generates change proposals for your approval.

✨ From 11 manual steps to 1 command — 30 seconds to install.

🇺🇸 English | 🇨🇳 中文


🇺🇸 English

Core Features

FeatureDescription
4-Phase PipelineORIENT → GATHER → CONSOLIDATE → PRUNE, inspired by dream-skill
Grep Pattern Matching8 signal types auto-detected (user correction / preference change / important decision / repetition / config change / external resources / file creation / important tasks), 10x more efficient than full-text reading
Staging AreaAutoDream only writes proposals to pending-changes/. The main Agent executes after your approval — no accidental memory corruption
Multi-Agent ScanningScans all Agent sessions (main, sub-agents, etc.), not just the primary Agent
Accumulative TriggerHeartbeat monitors conversation turns; auto-triggers when threshold is reached. Also force-triggers at 3:00 AM
Dashboard VisualizationInteractive HTML dashboard with 5 health dimensions (freshness / coverage / connectivity / efficiency / reachability); multi-Agent view — each Agent gets its own health score, card, and summary table
One-Command InstallInspired by dream-skill's install.sh — setup in 30 seconds
Semantic Analysis ModeNew semantic output mode sends raw conversation transcripts to the auto-dream Agent, letting the LLM judge semantic importance — filling the blind spots of grep keyword matching. 100 lines per file for semantic mode, 30 lines for others

Quick Start

install.sh is idempotent — safe to re-run.

# Clone to skills directory
git clone https://github.com/kirin1024/openclaw-autodream ~/.openclaw/workspace/skills/openclaw-autodream

# Run installer
bash ~/.openclaw/workspace/skills/openclaw-autodream/install.sh

# Restart Gateway
openclaw gateway restart

install.sh automatically:

  1. Creates directory structure
  2. Writes all core files
  3. Configures openclaw.json (adds auto-dream Agent)
  4. Configures macOS launchd scheduled task (daily at 3:00 AM)
  5. Prints 2 steps that need manual confirmation

Idempotent design: detects existing installation and skips — safe to re-run.

Architecture

┌──────────────────────────────────────────────────────┐
│  Trigger A: Daily at 3:00 AM (launchd)               │
│  Trigger B: Heartbeat detects cumulative turns ≥ 30  │
├──────────────────────────────────────────────────────┤
│  Phase 1: ORIENT — Read MEMORY.md + topic files      │
│  Phase 2: GATHER — grep signals + semantic + full    │
│     ├─ 8 signals: correction/pref/decision/          │
│     │   repetition/config/resources/file-creation/    │
│     │   important-tasks                               │
│     ├─ Semantic mode: LLM judges importance (100 ln) │
│     ├─ Other modes: 30 lines per file default        │
│     └─ Conversation depth scoring                    │
│  Phase 3: CONSOLIDATE — Generate proposals (staging) │
│     ├─ Each with source evidence                     │
│     └─ Confidence: high / medium / low               │
│  Phase 4: PRUNE — Mark expired entries for archive   │
├──────────────────────────────────────────────────────┤
│  Output:                                             │
│  ├─ pending-changes/YYYY-MM-DD.md (proposals)        │
│  ├─ kairos-dream-YYYY-MM-DD.md (analysis report)     │
│  ├─ dream-state.json (state tracking)                │
│  └─ dream-dashboard.html (visualization)             │
├──────────────────────────────────────────────────────┤
│  On your next message:                               │
│  Main Agent checks pending-changes → shows summary   │
│  → You confirm → Execute → Delete pending files      │
└──────────────────────────────────────────────────────┘

Reminder Mechanism

After AutoDream generates pending-changes/*.md, it does not proactively message you across channels. The reminder strategy is chosen during installation:

  1. Immediate reminder in terminal after manual trigger
  2. macOS local notification after daily scheduled run
  3. Immediate terminal + notification when pending is generated
  4. Check on next user message — main Agent scans pending first (Recommended)

Option 4 is recommended. It works across all channels (Web / Telegram / Discord / Signal / Feishu) without dependency on any specific messaging platform.

If you choose 4, the installer will auto-patch AGENTS.md with pending-changes check logic, including:

  • Session Start check: Check pending on every new session
  • Every Turn check + date comparison: On every message, compare current date with last check date (auto-trigger on new day)
  • last_pending_check_date: Stored in dream-state.json, ensures cross-day sessions work correctly

Cross-Day Session Support

AutoDream supports cross-Agent memory distribution: after scanning all Agent sessions, it automatically routes change proposals to each Agent's memory/pending-changes/ directory based on the source. Each Agent confirms and writes to its own memory files independently.

The installer auto-creates MEMORY.md templates for all existing sub-Agent workspaces.

Comparison with Open Source Projects

dream-skill

Featuredream-skillAutoDream for OpenClaw
TriggerStop hooklaunchd + Heartbeat accumulative
Pipeline4 phases✅ 4 phases (same)
Grep matching✅ 5 signals✅ (adapted, 8 types)
Staging mode❌ Direct write✅ Safe
Multi-Agent❌ Single project✅ All agents
Cron filtering❌ None✅
Dashboard❌ None✅
Installationgit clone + bash install.shinstall.sh one-click

openclaw-auto-dream

Featureopenclaw-auto-dreamAutoDream for OpenClaw
Memory scoringimportance = base × recency × refs/8✅ Fixed negative recency bug
Health monitoring✅ 5 dimensions✅ (adapted)
Staging mode❌ Direct write✅ Safe
Multi-Agent❌✅
Dream log✅ dream-log.md✅ kairos-dream report
InstallationClawHub one-liner✅ install.sh one-click

Customization

# View trigger config
cat ~/.openclaw/workspace/memory/dream-state.json

# Change cumulative threshold (default: 30 turns)
# Edit cumulative_threshold in dream-state.json

# Change trigger time (default: 3:00 AM)
# Edit ~/Library/LaunchAgents/com.openclaw.auto-dream.plist

# Change scan scope
# Edit EXCLUDE_AGENTS / SKIP_KEYWORDS in parse-sessions.py

# View Dashboard
open ~/.openclaw/workspace/memory/dream-dashboard.html

Security Guarantees

  • AutoDream can never execute commands, browse the web, or send messages
  • AutoDream can never directly update topic files (staging area only)
  • AutoDream's own session is always excluded (prevents self-reference loops)
  • Cron/auto tasks are always filtered (reduces noise)
  • All changes require main Agent review + user confirmation before execution
  • Every proposal includes source evidence for verification
  • Every proposal includes confidence rating for judgment
  • Never records sensitive credentials: passwords, tokens, API keys, SSH private keys, full public keys, cookies, sessions, recovery codes, verification codes, or security answers — even if they appear in conversations

Session Reset Compatibility

When OpenClaw compacts a session's context, it saves the old conversation as .jsonl.reset.{timestamp} files. AutoDream scans the

// REPO STATS

1 stars
0 open issues
Last commit: 7mo ago