auto-dream

Scan memory files, archive stale items, and merge duplicates into MEMORY.md.

415|44|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/notque/vexjoy-agent --skill auto-dream
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auto-dream
Source: https://github.com/notque/vexjoy-agent/tree/main/skills/meta/auto-dream
Command: npx skills add https://github.com/notque/vexjoy-agent --skill auto-dream

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents knowledge bloat and stale guidance by automatically scanning, deduplicating, and consolidating memory files into a clean, injection-ready payload for the next session.

Core Features & Use Cases

  • Memory Consolidation & Deduplication: Scans all memory files, detects stale/duplicate/conflicting entries, and consolidates up to a controlled number of changes per cycle.
  • Cross-Session Learning Synthesis: Extracts recurring patterns from recent sessions and synthesizes new insight memories, capped to keep outputs focused.
  • Learning Graduation to Permanent Fail-Modes: Promotes high-confidence, repeatedly observed learning DB entries into agent/skill files via a review branch rather than silently changing behavior.

Use Case: Run nightly maintenance to keep MEMORY.md accurate and reduce contradictions, so the agent carries fresh operational knowledge forward without accumulating outdated or redundant instructions.

Quick Start

Run the nightly dream job (dry-run first) using: ./scripts/auto-dream-cron.sh

Frequently Asked Questions about auto-dream

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I consolidate memory files and deduplicate cross-session agent knowledge automatically?

Memory consolidation and deduplication is handled by scanning all memory files and recent session evidence to archive stale items and merge duplicates into an injection-ready payload. This prevents knowledge bloat and ensures fresh operational guidance is carried forward for the next session.

What is the safest way to run automated memory cleanup without losing important agent instructions?

Safe memory cleanup enforces strict safety gates including never deleting files, applying atomic updates via tmp rename, and defaulting to dry-run mode. It flags conflicts for human review and caps maximum changes per cycle to prevent silent behavioral shifts.

How does learning graduation from a sqlite learning db into permanent agent files work?

Learning graduation promotes high-confidence, repeatedly observed entries from the sqlite learning db into permanent agent or skill files. This synthesis is capped and routed through a review branch rather than silently altering agent behavior.

Can I use cron automation to schedule nightly memory maintenance and build next-session injection payloads?

Cron automation supports nightly background maintenance by scanning for stale or duplicate entries and curating an injection-ready payload. You can trigger the nightly dream job on-demand or via a cron script, starting with a dry-run to preview changes.

What are the limitations of atomic indexing and memory consolidation for conflicting knowledge entries?

Memory consolidation limits include capping the number of changes or graduations per cycle to keep outputs focused. When conflicting entries are detected during scanning, the system flags them for human review rather than automatically resolving the discrepancy.