Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

signal-dreaming

БесплатноБез исполняемых скриптовНе проверен

Consolidate daily session logs into L2 topic files and a compact MEMORY.md index, in three bounded phases with backups, lifecycle and secret guards.

lzylingот lzyling2 169 установок в других каталогах

Об этом скилле

Signal Dreaming

Memory consolidation in three phases: Sense → Consolidate → Settle.

Daily session logs accumulate raw detail. This skill reads the ones written since the last run, promotes what matters into durable topic files, and keeps the top-level index worth reading at session start.

Memory Architecture Assumed

A two-layer memory layout:

  • Daily logs (memory/YYYY-MM-DD*.md) — raw session notes, read-only, never moved or deleted
  • L2 topic files (memory/<topic>.md) — curated durable knowledge per subject (e.g. memory/clash-verge.md)
  • Index (MEMORY.md) — high-level status with pointers down to L2

If you are starting fresh, create MEMORY.md and memory/dream-log.md before the first run. L2 files are created on demand.

memory/dream-log.md doubles as the only state this skill keeps: entries record a Consolidated through: date — the newest daily log already folded into memory. The next run scans back for the most recent entry carrying that field to know where to resume. There is no state file, no lock file, and nothing to migrate or repair.

Quick Start

Manual dream

Tell your agent:

"Run a memory dream consolidation. Follow the protocol in <SKILL_PATH>/references/dream-protocol.md. Workspace root: <YOUR_WORKSPACE_PATH>."

Or just "run a dream consolidation" — if this skill is loaded, the agent will know what to do.

Automated daily dream (cron)

{
  "name": "daily-dream",
  "schedule": { "kind": "cron", "expr": "0 7 * * *", "tz": "<YOUR_TIMEZONE>" },
  "sessionTarget": "isolated",
  "payload": {
    "kind": "agentTurn",
    "timeoutSeconds": 1800,
    "message": "Run a memory dream consolidation. Read <SKILL_PATH>/SKILL.md and <SKILL_PATH>/references/dream-protocol.md in full, then follow the protocol phases in order. Workspace root: <YOUR_WORKSPACE_PATH>. Do not modify cron jobs, agent config, the Gateway, any daily log, or memory/dreaming/**. End your final response with a one-line dream summary — the cron delivery mechanism will auto-announce it."
  },
  "delivery": { "mode": "announce", "channel": "<CHANNEL_TYPE>", "to": "<CHANNEL_ID>" }
}

Set expr and tz to when your human is asleep. timeoutSeconds and the batch cap are a pair — lower one without the other and a batch is admitted that cannot finish.

Three-Phase Safety Model

Phase Writes Purpose
Sense ❌ None Select logs since the watermark, plan the work
Consolidate ✅ L2 files only Promote content into topic files
Settle ✅ MEMORY.md + dream-log.md Update index, write diary entry

Phase 1 is always read-only. An error in Sense never corrupts files.

Quality Gates

A read-only planning checkpoint runs before any write: topic identity (do not merge legacy and current projects on name similarity), lifecycle (closed work must not reappear as an active TODO), secret propagation (never promote credentials into curated memory; the credential list is exhaustive and the guard is not a privacy classifier), backup (existing L2 files and MEMORY.md are copied to <WORKSPACE_ROOT>/.backup/memory-dreams/YYYYMMDD-HHMM/ with a .bak suffix first), and a post-write audit reporting size, structure, lifecycle separation, and credential patterns without gating the run. references/dream-audit.sh covers the common checks; it is not full DLP.

Failure Philosophy

This protocol is written for an agent to follow, not for a program to enforce. It fails soft:

  • Do the work you can do, then report what you skipped and why.
  • Diagnostics inform the final summary. They never block consolidation.
  • An oversized MEMORY.md is the reason to run, not a reason to abort.
  • Limits are derived from the runtime, never hard-coded into the protocol.
  • Never wait on an answer that cannot arrive. A scheduled run has nobody to ask, so out-of-bounds work is dropped and reported, not blocked on.

Exactly two conditions cancel writes: a failed backup, or a write plan reaching outside the allowed paths — and the second cancels only those targets, not the run.

The secret guard is the one hard block on content — and it blocks the offending value, not the run.

Where this sits in OpenClaw's memory stack

This skill works on the Markdown layer only — MEMORY.md plus memory/*.md. It never reads or writes memory/dreaming/** or memory/.dreams/**, which belong to memory-core's own built-in Dreaming, and it skips ## Light Sleep / ## REM Sleep blocks found inside a daily log. The two systems are independent: run this one with built-in Dreaming on or off.

How they differ, which adjacent components (memory-wiki, alternate backends, database-first state, automatic memory flush) are deliberately untouched, and what the version note covers: references/memory-stack.md.

Tool names in the protocol (exec, edit) are OpenClaw's; on another harness use its equivalents.

Key Rules

Полный SKILL.md на ClawHub

Установить signal-dreaming в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл signal-dreaming?

Consolidate daily session logs into L2 topic files and a compact MEMORY.md index, in three bounded phases with backups, lifecycle and secret guards.

Как установить скилл signal-dreaming?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл signal-dreaming запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить signal-dreaming с