What problem does it solve?
This Skill prevents dream-related content from being re-ingested into gbrain Postgres after sync, keeping the search and embedding layer clean without deleting any files on disk.
Core Features & Use Cases
- Post-sync cleanup: Removes pages whose slugs match dreams content such as the top-level DREAMS.md entry and memory/dreaming or memory/.dreams paths.
- Idempotent execution: Can run after every gbrain sync safely, returning success even when nothing matches.
- Operational integration: Designed to be chained into the canonical gbrain sync wrapper and monitored by invariants checks if the hook is removed.
- Use case: A workspace that still needs dream notes on disk but must exclude them from retrieval and embeddings can use this Skill to purge only the database records.
Quick Start
Ask the agent to run the gbrain-dreams-purge skill so it deletes any re-ingested dream pages from the gbrain database and reports the result concisely.