Oc Dream Rem

v1.0.0

Deep memory consolidation. Distills daily logs into topic files, removes outdated content. Triggers: dream-rem, deep memory consolidation, /dream-rem

0· 91·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for sky-lv/oc-dream-rem.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Oc Dream Rem" (sky-lv/oc-dream-rem) from ClawHub.
Skill page: https://clawhub.ai/sky-lv/oc-dream-rem
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Canonical install target

openclaw skills install sky-lv/oc-dream-rem

ClawHub CLI

Package manager switcher

npx clawhub@latest install oc-dream-rem
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description (deep memory consolidation of daily logs into topic files, pruning outdated content) matches the instructions which read heartbeat-state.json, MEMORY.md, topics/, and recent daily files and then update/delete topic files and rewrite MEMORY.md.
Instruction Scope
Instructions explicitly require reading and modifying files in a 'memory/' layout and deleting 'outdated' topic content — this is within the declared purpose but is destructive. The SKILL.md identifies the specific files and workflow, but does not include safety/confirmation steps or backups, so there is non-trivial risk of data loss if run unexpectedly.
Install Mechanism
Instruction-only skill with no install spec and no binaries to fetch. Nothing is written to disk by an installer; runtime file operations come from the agent following the SKILL.md workflow.
Credentials
The skill requests no environment variables, no credentials, and no config paths beyond the project-local files described in SKILL.md. There are no disproportionate credential requests.
Persistence & Privilege
always is false and autonomous invocation is allowed (the platform default). The SKILL.md uses time-based triggers (sessionCount, hours since last run) so the agent could autonomously run consolidation when conditions are met — users should be aware this will modify files without an explicit interactive prompt unless the agent is configured to ask first.
Assessment
This skill is coherent with its purpose, but it will edit and delete files in your workspace (MEMORY.md, topics/, heartbeat-state.json, and daily logs). Before installing: (1) back up the memory/ directory or put it under version control, (2) inspect SKILL.md to confirm the exact paths it will modify, (3) consider running it in a dry-run or read-only mode first (or require manual confirmation for deletions), and (4) ensure heartbeat-state.json is valid so the trigger logic behaves as expected.

Like a lobster shell, security has layers — review code before you run it.

latestvk974m6gh1b0sa866tystynam1h858d89
91downloads
0stars
1versions
Updated 6d ago
v1.0.0
MIT-0

dream-rem v3.1.0 — 睡梦式记忆深度整合

定时深度整合:将分散的 daily 日记提炼合并到 topic 文件,删除过时内容,保持 MEMORY.md 简洁可用。

触发条件

  • sessionCount >= 5 距上次整合 > 24小时
  • 或距上次整合 > 72小时(强制整合)
  • 手动:/dream-rem

工作流

Step 1 — 准备:读 heartbeat-state.json,检查触发条件
Step 2 — Orient:读 MEMORY.md,扫描 topics/ 目录
Step 3 — Gather:扫描最近14天 daily 文件,识别新信息/过时/矛盾
Step 4 — Consolidate:执行整合(新增/更新/删除 topic 文件)
Step 5 — Prune & Index:重写 MEMORY.md(≤200行),更新 heartbeat-state.json
Step 6 — 输出执行报告

核心原则

  1. MEMORY.md = 纯索引,每行一个指针
  2. topic 文件 = 真实记忆,存在 topics/ 下
  3. 删除被推翻的,不保留矛盾版本
  4. 相对日期转绝对日期

文件结构

memory/
├── MEMORY.md              ← 纯索引(≤200行)
├── heartbeat-state.json   ← {lastExtraction, lastDreamAt, sessionCount}
├── topics/                ← 真实记忆
└── YYYY-MM-DD.md          ← 日记原料

执行报告格式

## 🌙 Dream 完成 · YYYY-MM-DD HH:MM
扫描窗口:14天 | 已扫描文件:N个

| 类型 | 数量 |
|------|------|
| 新增/更新 topic | N个 |
| 清理过时记忆 | N条 |
| MEMORY.md | N行 |

Comments

Loading comments...