← 返回
AI智能 中文

Dream Cycle

Implement a nightly "dream cycle" for OpenClaw agents that: - Reviews and consolidates memory at night - Cleans up bloated workspace files - Prepares a morni...
为OpenClaw智能体实现夜间“梦境循环”,以便在夜间回顾并整合记忆,清理臃肿的工作区文件,并准备早间任务。
imjohnathanblog-spec
AI智能 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 703
下载
💾 25
安装
1
版本
#latest

概述

Dream Cycle Skill

Based on Ray Fernando's dream cycle concept for OpenClaw memory management.

Overview

The dream cycle is a nightly process where the agent:

  1. Dreams (2-4 AM): Reviews memories, connects dots, prunes bloat
  2. Briefs (7-8 AM): Delivers a morning summary to the user

This keeps Tier 1 memory lightweight while maintaining searchability via QMD.

Three-Tier Memory System

TierCostWhat's Here
-------------------------
Tier 1~600 tokens/turnAGENTS.md, SOUL.md, USER.md — core identity
Tier 20 tokensMemory files indexed via QMD — search on demand
Tier 3Tool tokens onlyFull disk reads — rarely needed

Goal: Keep AGENTS.md under 2,000 bytes, MEMORY.md under 1,500 bytes.

Templates

Morning Brief Template

🌅 **Morning Brief** - {date}

**Today:** {current tasks/goals}

**Recent Activityy:**
- {esterday's summary from memory}

**Patterns Noticed:**
- {any}

**Suggested recurring themes Focus:**
- {recommendations for the day}

**Memory Stats:**
- AGENTS.md: {size} bytes
- MEMORY.md: {size} bytes
- Indexed chunks: {count}

Dream Audit Report Template

🌙 **Dream Cycle Audit** - {date}

**Files Analyzed:**
- AGENTS.md: {size} bytes → {recommendation}
- MEMORY.md: {size} bytes → {recommendation}
- USER.md: {size} bytes → {recommendation}

**Bloat Detected:**
- {list of bloated sections}

**Actions Taken:**
- {list of optimizations applied}

**QMD Index Status:**
- {indexed files count} files indexed
- {total chunks} chunks

Cron Setup

Dream Job (Nightly)

cron: "0 3 * * *"
mode: run
delivery: none
model: {default or lightweight}

Morning Brief Job

cron: "0 7 * * *"
mode: session
delivery: announce
channel: {preferred channel}

Usage

  1. First Run: Create the skill files and cron jobs
  2. Nightly: Agent silently reviews memories, optimizes files
  3. Morning: User receives brief summary

Commands

  • dream now — Run dream cycle immediately
  • dream audit — Audit memory files without changes
  • dream brief — Generate morning brief without full cycle
  • dream status — Show current memory stats

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-30 02:12 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,397
data-analysis

Geospatial Osint

imjohnathanblog-spec
开源地理空间情报收集与可视化仪表盘。用于构建类似Worldview的间谍惊悚仪表盘,监控地缘政治...
★ 0 📥 652
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 712 📥 243,847