agentleFS
glebisglebis/claude-skills/daydream/SKILL.md

daydream

Skill387 starsChanged 5 months agoMITView on GitHub

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. No external dependencies -- pure Claude Code tools (Glob, Read, Write, Bash, Task). Per run (~50 pairs): approximately $0.40-0.50 via Claude Code usage.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

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

    line 44

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  • Individual insights: Daydreams/YYYYMMDD-slug.md -- full synthesis with scores and wikilinks
  • Daily digest: Daydreams/digests/YYYYMMDD-digest.md -- stats + ranked top insights
  • Daily note: Summary appended under ## Daydream
  • History log: ai-research/daydream/history.json -- tracks sampled pairs for dedup

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.