Command Palette

Search for a command to run...

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

agent-dreaming-agnostic

Memory-agnostic background consolidation — reviews sessions, scores candidates, promotes durable insights to the active memory backend (built-in MEMORY.md or…

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

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

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

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

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

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

Agent Dreaming (Memory-Agnostic)

Three-phase background memory consolidation that auto-detects the active memory backend (built-in MEMORY.md or Holographic) and routes Phase 2 promotions to the correct tools. Condensation (formerly memory-lean-check) is built into the dreaming lifecycle as Phase 2.5.

When to run: Scheduled cron (recommended: every 6–8 hours) or manually after a burst of activity.

Autonomous vs interactive: Light and Deep phases run autonomously in both cron and manual modes. REM phase sends a message to the user with proposed structural actions and waits for response — it never creates wiki pages or skills without approval.


Phase 0: Backend Detection (NEW — run first)

Before any dreaming work, determine which memory backend is active. This determines which tools you use in Phase 2.

Steps

  1. Read the active memory provider from $HERMES_HOME/config.yaml:

    grep -A10 "^memory:" $HERMES_HOME/config.yaml | grep "provider:" | awk '{print $2}'
    

    Or read the config and check memory.provider.

  2. Set backend mode:

    Config value Backend Tools to use in Phase 2 Threshold check
    "" (empty) or null or absent built-in memory with target and an operations array (add, patch, remove) Char limit (60%/80% of 2,200)
    holographic holographic `fact_store(action='add' 'change'
    Any other provider unsupported Stage candidates and report BLOCKED; do not write via another backend N/A
  3. Log the backend in the dream artifact: ## Backend: <mode>

  4. For holographic users: Also note the config:

    grep -A6 "hermes-memory-store:" $HERMES_HOME/config.yaml
    

    Record default_trust and min_trust_threshold — these inform Phase 2 scoring.

  5. Verify tool availability before Phase 2. Discover the complete available tool list before concluding a backend tool is absent. If the configured backend or its required tool is unavailable after discovery, stage candidates and report BLOCKED; do not silently fall back, patch files, or access SQLite directly.


Phase 1: Light (Ingest + Stage)

Goal: Pull raw material from recent sessions, identify candidates for promotion.

Steps

  1. Get recent sessions. Call session_search() with no arguments. This returns recent session titles, previews, and timestamps. Note the count — if zero sessions, skip dreaming entirely and report "nothing to dream about."

  2. Resolve wiki path. Read wiki.path from $HERMES_HOME/config.yaml (e.g. grep wiki.path $HERMES_HOME/config.yaml). Fall back to $HERMES_HOME/wiki if not configured. Never use $HOME/wiki — that's shared across profiles and breaks isolation. This path is needed for checking existing wiki pages when evaluating pointer candidates.

  3. Read current memory. This step is backend-specific:

    Built-in: Read $HERMES_HOME/memories/MEMORY.md. Count entries (split on §, count non-empty segments). Note char usage. This is your baseline.

    Holographic: Call fact_store(action='list', limit=50) and fact_store(action='search', query='') to get a broad view of what's stored. Count entries and note trust score distribution. Holographic has no char limit, so "baseline" means entry count and average trust.

  4. Filter sessions. Skip cron sessions (session.source == "cron") — they're fully automated with no user interaction, unless they logged errors.

  5. Deep-dive sessions with signal. For each remaining session that looks substantive, call session_search(query="<session topic keywords>") to get a full summary. Important: FTS5 queries match message content, not session titles — if session_search(query="<exact session title>") returns no results, try broader keyword queries using terms likely to appear in the messages (e.g. "hello OR test OR bot" rather than "Testing the bot connection"). Also try session_search(query="...") without a session_id constraint — discovery mode searches across all sessions and is more forgiving. Look for:

    • User corrections — "actually it's X not Y", "don't do that", "remember this"
    • New preferences — tool choices, style, workflow habits
    • Environment discoveries — ports, paths, service names, config quirks
    • Recurring problems — things that broke, workarounds found
    • Resolved ambiguities — cases where you had to ask clarifying questions and got definitive answers
  6. Stage candidates. Write a dream artifact to $HERMES_HOME/dreams/YYYY-MM-DD-HHMM.md with this structure:

    # Dream Artifact — YYYY-MM-DD HH:MM
    
    ## Backend
    - Provider: [built-in | holographic]
    - [For built-in: entry count, char usage / 2,200 (% full)
    
Полный SKILL.md на GitHub

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

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

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

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

  • references/holographic-backend.md

FAQ

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

Memory-agnostic background consolidation — reviews sessions, scores candidates, promotes durable insights to the active memory backend (built-in MEMORY.md or Holographic). Three-phase (Light/Deep/Condensation/REM). Run via cron or manually.

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

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

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

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

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

Сравнить agent-dreaming-agnostic с