Command Palette

Search for a command to run...

Назад к скиллам
скилл № 10293

dual-layer-todo-knowledge-memory

Memory system v4.13: Dual-layer structure (todos for execution + knowledge for strategy) with Dream/Refinement memory mechanisms.

БесплатноБез исполняемых скриптов
rondoflowот rondoflow★ 37 звёзд на GitHub

Установить dual-layer-todo-knowledge-memory в Claude Code и Claude Desktop

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

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

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

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

🧠 Memory Never Forget v4.13

A full-featured memory system for OpenClaw, integrating Active Memory retrieval, Memory Palace structured views, and a Dual-Layer Dream Verification mechanism — delivering "proactive memory + global view + verifiable consolidation."

Core Logic: Active Memory = Memory Butler, Memory Palace = Knowledge Palace, Dual-Layer Dream = Verification & Consolidation Expert

Three-Layer Separation: todos.md = Execution Layer | knowledge/ = Strategy Layer | memory/ = Classified Memory Layer

License: MIT-0 | Updated: 2026-04-18 | v4.13: Added dual-layer structure


Overview

This skill manages memory across two orthogonal dimensions:

  1. Temporal (Atkinson-Shiffrin 3-stage model) — what to keep vs. what to prune
  2. Content (4-type taxonomy) — where to store for fast retrieval

Three independent mechanisms work together:

Mechanism Trigger Write to disk? Purpose
Active Memory Every reply (before_prompt_build) ❌ Read-only Real-time recall, inject relevant memories into current conversation
Dream (memory-core) Daily 12:30 cron ✅ MEMORY.md (Deep phase) Decide which memories promote or decay
Refinement (13:00) Daily 13:00 cron (user-defined) ✅ Writeable Verify Dream results, fill gaps

⚠️ v4.12b source-verified correction (2026-04-17): Clarified actual division of three mechanisms


Core Components

1. Active Memory — Proactive Recall (Source-Verified)

Trigger mechanism:

  • Hooked to before_prompt_build, auto-triggers before every reply
  • Spawns a read-only sub-agent with only memory_search + memory_get permissions
  • Builds query from current user message, searches recall index (memory/.dreams/short-term-recall.json)
  • Searched summaries are prepended to prompt before model generates reply
  • Results cached 15 seconds (cacheTtlMs) to avoid repeated recall in same turn

Key constraints:

  • ❌ Read-only, produces no files
  • ❌ Cannot call other tools
  • Only affects current conversation context, not persisted

Configuration (openclaw.json → plugins.entries.active-memory.config):

{
  "enabled": true,
  "queryMode": "recent",      // message | recent | full
  "promptStyle": "balanced",  // balanced | strict | contextual | recall-heavy | precision-heavy | preference-only
  "maxSummaryChars": 220,
  "recentUserTurns": 2,
  "recentAssistantTurns": 1,
  "timeoutMs": 15000
}

2. Memory Palace — Structured Views

Provides multi-dimensional views of your agent's long-term memory:

  • Timeline — chronological view of work progress
  • Projects — aggregated by project
  • Technology — organized by tech domain
  • Custom — user-defined dimensions

3. Dream (memory-core) — Temporal Layering (Source-Verified)

Trigger: 30 12 * * * (cron), sessionTarget="main", payload="systemEvent: __openclaw_memory_core_short_term_promotion_dream__"

Three phases (Light → REM → Deep):

Source quote (formatPhaseGuide):
"deep is the only stage that writes durable entries to MEMORY.md. DREAMS.md is for human-readable dreaming summaries and diary entries."

Phase Output Writes files? Description
Light Dream Diary prose entries → DREAMS.md Organize session-corpus, 4 parallel sessions
REM Theme reflections → DREAMS.md Extract recurring themes
Deep 6-dimensional weighted scoring signals ✅ → MEMORY.md Only phase that writes to MEMORY.md

Deep phase promotion parameters (adjust in cron job description):

  • minScore: 0.500 (tune based on your promotion rate)
  • minRecallCount: 3
  • minUniqueQueries: 3
  • recencyHalfLifeDays: 14
  • maxAgeDays: 30
  • limit: 10

⚠️ The following files are NEVER generated (source-verified):

  • ❌ memory/dreaming/deep/YYYY-MM-DD.md
  • ❌ memory/dreaming/light/YYYY-MM-DD.md
  • ❌ memory/dreaming/rem/YYYY-MM-DD.md

4. Refinement (User-Defined Cron) — Content Classification

Trigger: 0 13 * * * (user-defined cron), sessionTarget="isolated"

Nature: User-written AI agent prompt, not an OpenClaw native mechanism

Responsibilities:

  • Read Dream outputs (DREAMS.md, session-corpus)
  • Verify conflicts, hallucinations, outdated entries
  • Classify new memories into 4 categories (user/feedback/project/reference)
  • Write verification report to memory/dreaming/verify/YYYY-MM-DD.md

⚠️ Note: Verification reports' "supplementary promotion suggestions" are text only and won't automatically write to MEMORY.md. Manual promotion required.


Two Orthogonal Dimensions

Dimension Framework Mechanism Purpose
Temporal (how long) Atkinson-Shiffrin 3-stage model Dream (memory-core) Deep phase Decay — what to keep vs. prune
Content (where) 4-type taxonomy Refinement 13:00 + agent proactive writes Storage — where to put for retrieval

Dimension 1: Temporal Layering

|Stage|Human Equivalent|Implem

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

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

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

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

Вложенные файлы

  • manifest.json

FAQ

Что делает скилл dual-layer-todo-knowledge-memory?

Memory system v4.13: Dual-layer structure (todos for execution + knowledge for strategy) with Dream/Refinement memory mechanisms.

Как установить скилл dual-layer-todo-knowledge-memory?

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

Скилл dual-layer-todo-knowledge-memory запускает скрипты?

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

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

Сравнить dual-layer-todo-knowledge-memory с