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★ 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
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.Set backend mode:
Config value Backend Tools to use in Phase 2 Threshold check ""(empty) ornullor absentbuilt-in memorywithtargetand anoperationsarray (add, patch, remove)Char limit (60%/80% of 2,200) holographicholographic `fact_store(action='add' 'change' Any other provider unsupported Stage candidates and report BLOCKED; do not write via another backendN/A Log the backend in the dream artifact:
## Backend: <mode>For holographic users: Also note the config:
grep -A6 "hermes-memory-store:" $HERMES_HOME/config.yamlRecord
default_trustandmin_trust_threshold— these inform Phase 2 scoring.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
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."Resolve wiki path. Read
wiki.pathfrom$HERMES_HOME/config.yaml(e.g.grep wiki.path $HERMES_HOME/config.yaml). Fall back to$HERMES_HOME/wikiif 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.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)andfact_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.Filter sessions. Skip cron sessions (
session.source == "cron") — they're fully automated with no user interaction, unless they logged errors.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 — ifsession_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 trysession_search(query="...")without asession_idconstraint — 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
Stage candidates. Write a dream artifact to
$HERMES_HOME/dreams/YYYY-MM-DD-HHMM.mdwith this structure:# Dream Artifact — YYYY-MM-DD HH:MM ## Backend - Provider: [built-in | holographic] - [For built-in: entry count, char usage / 2,200 (% full)
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- 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), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…