← 返回 Skills 市场
brasco05

Autodream Claw

作者 brasco05 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
114
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install auto-dream
功能描述
Memory consolidation skill that replicates Anthropic's Auto Dream feature. Runs a 4-phase reflective pass over memory files: Orient → Gather → Merge → Prune....
使用说明 (SKILL.md)

Auto Dream — Memory Consolidation

Repliziert Anthropics Auto Dream Feature für OpenClaw. Führt einen 4-Phasen-Pass über alle Memory-Dateien durch und konsolidiert sie effizient.

Wann ausführen

  • Nach langen Sessions (Kontext fühlt sich voll an)
  • Manuell: "führe einen dream durch" / "konsolidiere memory"
  • Automatisch: Wird vom daily-reflection Skill aufgerufen
  • Nach Claude Code Sessions die viele Memory-Dateien erzeugt haben

Die 4 Phasen

Phase 1 — Orient

ls memory/
cat memory/morning-briefing.md (Index)
Skim alle topic files → verstehen was existiert

Ziel: Verstehen was da ist, Duplikate erkennen bevor sie entstehen.

Phase 2 — Gather Signal

Quellen in Prioritäts-Reihenfolge:

  1. Heutige Tages-Datei: memory/YYYY-MM-DD.md (append-only Stream)
  2. Nacht-Summary: memory/nacht-summary.md
  3. Session-Ende: memory/session-ende-DATUM.md
  4. Alte Memories die mit aktuellem Codebase-Stand widersprechen
  5. Bei Bedarf: git log --oneline -20 für aktuelle Commits

Nicht: Session-Transcripts exhaustiv lesen. Nur gezielt grep wenn nötig.

Phase 3 — Merge

Für jedes neue Signal das es wert ist gespeichert zu werden:

  • In bestehende Topic-Dateien mergen, NICHT neue Duplikate anlegen
  • Relative Daten ("gestern", "letzte Woche") → absolute Daten (2026-04-02)
  • Widersprüche auflösen: wenn neue Info alte widerlegt → alte korrigieren/löschen
  • Fakten-Updates: gelöste Tasks als ✅ markieren, offene aktualisieren

In MEMORY.md schreiben:

  • Neue Projekte, Entscheidungen, Tech-Learnings
  • Erledigte Tasks → in durchgestrichen oder raus
  • Maximal ~200 Zeilen — es ist ein Index, kein Dump
  • Jeder Eintrag: eine Zeile unter 150 Zeichen

Phase 4 — Prune

MEMORY.md auf Stand bringen:

  • Einträge über gelöste Bugs/Tasks entfernen oder als ✅ markieren
  • Veraltete Infos (>30 Tage, nicht mehr relevant) raus
  • Widersprüchliche Einträge: das falsche fixen
  • Index-Einträge über 200 Zeichen → Detail in Topic-Datei auslagern, Zeile kürzen
  • Ziel: MEMORY.md bleibt unter 200 Zeilen und unter ~25KB

Output

Am Ende: Kurze Summary was konsolidiert, geupdatet oder gepruned wurde. Format:

🌙 Dream abgeschlossen
✅ Merged: [X neue Infos in bestehende Files]
🗑️ Pruned: [X veraltete Einträge entfernt]  
🔧 Fixed: [X Widersprüche aufgelöst]
📝 MEMORY.md: [vorher] → [nachher] Zeilen

Wenn nichts geändert wurde: "Memories sind bereits tight — nichts zu tun."

Regeln

  • Nicht exhaustiv lesen — gezielt scrollen, nicht alles lesen
  • Merge statt create — bestehende Dateien verbessern, keine Duplikate
  • Absolute Daten — "gestern" ist nach 3 Tagen wertlos
  • Index bleibt Index — MEMORY.md ist Navigation, kein Content-Dump
  • Secrets niemals — keine Tokens, Keys, Passwörter in Memory
  • Idempotent — zweimaliges Ausführen ändert nichts wenn nichts neu ist

Integration mit daily-reflection

Der daily-reflection Skill ruft am Ende diesen Skill auf. Reihenfolge: daily-reflection → auto-dream → morning-briefing schreiben.

Trigger-Logik (für Cron)

Automatisch triggern wenn:

  • wc -l memory/YYYY-MM-DD.md > 100 Zeilen (viele Aktivitäten)
  • wc -l MEMORY.md > 180 Zeilen (fast voll)
  • Nach Claude Code Sessions > 30 Minuten
安全使用建议
This skill appears to do what it says: read and consolidate your workspace memory files. Before installing, back up your memory/ directory (or ensure it's under git) and prefer running it manually the first few times to inspect its output. Ask the author or add a dry-run/confirm step to avoid unintended deletions. If you use daily-reflection automation, decide whether you want auto-pruning enabled or prefer manual approval.
功能分析
Type: OpenClaw Skill Name: auto-dream Version: 1.0.0 The 'auto-dream' skill is a memory management tool designed to consolidate and prune agent memory files. It uses standard file operations (ls, cat, wc) and git commands (git log) within a specific 'memory/' directory to maintain context efficiency. The instructions in SKILL.md explicitly forbid storing secrets or credentials, and the logic is entirely consistent with its stated purpose of replicating Anthropic's memory consolidation feature.
能力评估
Purpose & Capability
Name/description (Auto Dream memory consolidation) match the actions in SKILL.md: scanning memory/, gathering recent logs, merging/pruning memories and updating an index. Commands referenced (ls, cat, grep, git log, wc) are coherent with that purpose.
Instruction Scope
Instructions explicitly tell the agent to read and modify memory files (INDEX, topic files) and run git log and simple shell commands. This is appropriate for consolidation but is potentially destructive (merge/delete/prune). The SKILL.md includes good rules (e.g., don't leak secrets, be idempotent) but does not enforce backups or require user confirmation before deletions—recommend adding explicit backup and review steps.
Install Mechanism
This is instruction-only with no install spec or downloaded code. No binaries or external packages are pulled, so there is no installation risk.
Credentials
No environment variables, credentials, or config paths are requested. The skill operates on local workspace files, which is proportionate to its stated function.
Persistence & Privilege
always:false and no special privileges requested. However, the skill modifies user files and may be invoked automatically by daily-reflection per the README; automatic modification of memories warrants caution (backups, dry-run mode, or requiring confirmation). Autonomous invocation is allowed by default but is not excessive here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install auto-dream
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /auto-dream 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of auto-dream: memory consolidation skill. - Replicates Anthropic's Auto Dream with a 4-phase pass: Orient, Gather, Merge, Prune. - Automatically or manually consolidates and summarizes memory files for clarity and relevance. - Converts relative dates to absolute, removes contradictions, merges updates, and prunes outdated info. - Works with daily-reflection skill and after long or code-heavy sessions. - Ensures MEMORY.md stays concise, under 200 lines, and serves as an up-to-date index.
元数据
Slug auto-dream
版本 1.0.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Autodream Claw 是什么?

Memory consolidation skill that replicates Anthropic's Auto Dream feature. Runs a 4-phase reflective pass over memory files: Orient → Gather → Merge → Prune.... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 114 次。

如何安装 Autodream Claw?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install auto-dream」即可一键安装,无需额外配置。

Autodream Claw 是免费的吗?

是的,Autodream Claw 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Autodream Claw 支持哪些平台?

Autodream Claw 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Autodream Claw?

由 brasco05(@brasco05)开发并维护,当前版本 v1.0.0。

💬 留言讨论