Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计通过

memory-dream记忆梦

Agent Skill

memory-dream 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,033

周安装

369

GitHub Stars

公开资料未说明

下载量

2,922
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:memory-dream(记忆梦)
来源仓库:https://github.com/wavmson/memory-dream
安装命令:
openclaw skills install memory-dream
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install memory-dream

简介

memory-dream 定期整合日常内存文件到 MEMORY.md,提取持久知识并优化代理认知结构。

  • 适用于 OpenClaw 中需要周期性巩固短期记忆、形成长期心智模型的代理应用。
  • 支持自动扫描 memory/*.md 文件并合并精华内容,类似代理的“快速眼动睡眠”。
  • 安装命令为 openclaw skills install memory-dream,需配置定时任务与文件读写权限。
  • 使用前应验证合并逻辑是否保留上下文关联,避免知识碎片化。

SKILL.md

name
memory-dream
description
Memory consolidation for OpenClaw agents. Periodically reviews daily memory files (memory/*.md), extracts durable knowledge, and merges it into MEMORY.md — like a human brain consolidating memories during sleep. Triggers: dream, 做梦, consolidate memory, 整理记忆, memory consolidation. Can also run via Cron for automatic nightly consolidation.

Dream — Memory Consolidation for OpenClaw

Memory consolidation for OpenClaw agents. Your agent accumulates daily notes in memory/YYYY-MM-DD.md files, but without periodic consolidation, long-term memory (MEMORY.md) becomes stale while daily files grow endlessly. Dream fixes this — like REM sleep for your AI.

When to Use

  • User says "dream", "做梦", "consolidate memory", or "整理记忆"
  • Cron trigger (recommended: nightly at 3:00 AM)
  • Heartbeat detects memory files piling up (>20 files or >3000 total lines)

Consolidation Flow

Phase 1 — Orient

  1. ls memory/ to inventory daily files
  2. Read MEMORY.md to understand current long-term memory structure
  3. Count: total files, total lines, files from last 7 days

Phase 2 — Scan Recent Journals

Read daily files from the last 7 days (memory/YYYY-MM-DD.md). Extract:

  • New facts, preferences, or decisions not yet in MEMORY.md
  • Information that contradicts MEMORY.md (needs correction)
  • Recurring themes (indicates importance)

Token budget rules:

  • Skip files older than 7 days (too many tokens)
  • If a file exceeds 500 lines, read only the first 200 lines
  • Focus on headings and key facts, not verbose logs

Phase 3 — Merge into MEMORY.md

Apply these operations to MEMORY.md using surgical edits (not full rewrites):

  1. Add: Append new facts to the appropriate section
  2. Correct: Update outdated information with newer data from journals
  3. Deduplicate: Merge entries that say the same thing
  4. Prune: Remove clearly obsolete info (e.g., "temporary workaround for X" when X is resolved)
  5. Absolutize dates: Convert "yesterday", "just now" → actual dates (e.g., "2026-03-27")

Phase 4 — Mark Old Journals (Optional)

For daily files older than 30 days:

  • If content is consolidated → prepend: <!-- consolidated to MEMORY.md on YYYY-MM-DD -->
  • Never delete any file (user may want to look back)

Phase 5 — Report

Output a brief consolidation report:

🌙 Dream complete
- Scanned N daily files (X lines total)
- MEMORY.md: +N added / ~N corrected / -N pruned
- Next suggestion: [if any]

Critical Rules

  • MEMORY.md is the primary output — all consolidated knowledge goes here
  • Surgical edits only — use the edit tool for precise changes, never overwrite the whole file
  • Conservative by default — when unsure whether to remove something, keep it
  • No secrets in logs — don't expose API keys, passwords, or tokens in the dream report
  • Log each run — append a ## Dream Log (HH:MM) entry to today's memory/YYYY-MM-DD.md

Cron Setup

/cron add --schedule "0 3 * * *" --task "Execute dream skill: consolidate memory" --label dream-nightly

How It Works (Under the Hood)

This skill mimics the human sleep cycle's memory consolidation process:

Daily experiences          Nightly consolidation        Long-term memory
┌─────────────────┐       ┌─────────────────┐         ┌─────────────────┐
│ memory/03-26.md │──┐    │                 │         │                 │
│ memory/03-27.md │──┤    │    Dream Skill   │────────▶│   MEMORY.md     │
│ memory/03-28.md │──┤    │   (scan+merge)  │         │  (structured,   │
│ memory/03-29.md │──┘    │                 │         │   deduplicated) │
│       ...       │       └─────────────────┘         └─────────────────┘
└─────────────────┘
     Raw daily logs            Consolidation              Curated knowledge

Without Dream, MEMORY.md stays frozen at whatever was manually written, while daily files accumulate unbounded. With Dream, your agent's long-term memory stays fresh, accurate, and compact.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.58%
按下载量换算2,559

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills