Daydream

From glebis/claude-skills · View interactive version

Daydream is an AI agent skill from the GitHub repository glebis/claude-skills. Multi-agent system that mines the Obsidian vault for non-obvious connections between notes, mimicking the brain's default mode network. Samples random note pairs, synthesizes connections via Sonnet, f

How to use this skill

Skill file

Vault Daydream Skill

Multi-agent system that mines the Obsidian vault for non-obvious connections between notes, mimicking the brain's default mode network. Samples random note pairs, synthesizes connections via Sonnet, filters with Haiku critic.

Inspired by Gwern's LLM Daydreaming.

Usage

/daydream

What it does

  1. Auto-detects vault root from current directory (asks if not found)
  2. Scans vault for notes modified in last 120 days
  3. Generates 50 recency-weighted random pairs
  4. Synthesizes connections (Sonnet, parallel batches of 5)
  5. Critiques and scores insights (Haiku, parallel batches)
  6. Filters for quality (average score >= 7.0)
  7. Saves insight notes to Daydreams/ folder
  8. Generates daily digest in Daydreams/digests/
  9. Appends summary to today's daily note

Output

Architecture

Skill (orchestrator)
  |-- Glob/Read: scan vault, extract excerpts
  |-- Generate 50 random pairs (recency-weighted)
  |-- Task(model: sonnet) x 10: synthesize connections  <-- parallel
  |-- Task(model: haiku) x 10: critique/score insights  <-- parallel
  |-- Filter (avg >= 7.0)
  +-- Write: save insight notes + daily digest

No external dependencies -- pure Claude Code tools (Glob, Read, Write, Bash, Task).

Cost

Per run (~50 pairs): approximately $0.40-0.50 via Claude Code usage.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.