🧠 Knowledge & ProductivitySkill #20

Daydream

Download Authentic SKILL.md (1.7 KB)View Source on GitHub ↗
✓Verified Authentic GitHub File
Supported: Antigravity, Claude Code, Cursor, Windsurf

Instant Browser Download for SKILL.md

No curl, terminal, Node.js, or Git required! Download the official SKILL.md directly into your Downloads folder.

1
Click "Download Authentic SKILL.md"

Your browser immediately downloads the authentic file (1.7 KB) directly into your local Downloads folder.

2
Move file into your project or IDE folder

Place the downloaded SKILL.md into the skills path for your chosen AI assistant:

  • Google Antigravity: <project>/.agents/skills/daydream/SKILL.md (or global in ~/.gemini/antigravity/skills/daydream/SKILL.md)
  • Claude Code: ~/.claude/skills/daydream/SKILL.md
  • Cursor: <project>/.cursor/skills/daydream/SKILL.md or ~/.cursor/skills/daydream/SKILL.md
  • Windsurf / VS Code: <project>/.agents/skills/daydream/SKILL.md
3
Start Prompting

Your agent automatically discovers the skill. You don't need any restart—it's immediately active!

📄 Authentic File: SKILL.md1.7 KB
✓ Authentic From Repository
# 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](https://gwern.net/ai-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
2. Generates 50 recency-weighted random pairs
3. Synthesizes connections (Sonnet, parallel batches of 5)
4. Critiques and scores insights (Haiku, parallel batches)
5. Filters for quality (average score >= 7.0)
6. Saves insight notes to `Daydreams/` folder
7. Generates daily digest in `Daydreams/digests/`
8. 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.

In Google Antigravity, skills reside in your project workspace under .agents/skills/daydream/SKILL.md or globally in ~/.gemini/antigravity/skills/.

npx skills add https://github.com/glebis/claude-skills --skill daydream -y
# Workspace path: .agents/skills/daydream/SKILL.md
# Global path: ~/.gemini/antigravity/skills/daydream/SKILL.md

In Claude Code, install globally using the official skills CLI or add via the Claude Code plugin marketplace.

npx skills add https://github.com/glebis/claude-skills --skill daydream -g -y
# Or inside Claude Code session:
/plugin install glebis/claude-skills

In Cursor, place the skill folder in .cursor/skills/daydream/SKILL.md or at the workspace level in .agents/skills/.

npx skills add https://github.com/glebis/claude-skills --skill daydream -y
# Or place directly into:
# ~/.cursor/skills/daydream/SKILL.md

In Windsurf / VS Code, agent skills can be installed targeting the windsurf profile or loaded as project rules.

npx skills add https://github.com/glebis/claude-skills --skill daydream -a windsurf -y

🎯 What It Does & How It Works

Mines your knowledge base (Obsidian vault) for non-obvious connections— inspired by Gwern’s LLM Daydreaming. Multi-agent: Sonnet synthesizer + Haiku critic, recency-weighted pair sampling.

Core Operational Guidelines & Directives

▸Usage
▸What it does
▸Output
▸Architecture
📦Sub-Skills & Architecture:

This skill is completely self-contained in SKILL.md. All workflows, constraints, and instructions are directly embedded in this single file, making it immediately usable with 1-click download.

⏱️ When to Use

Nightly/weekly vault runs, serendipitous insight discovery, connecting notes you wouldn’t find via search.

💡 Context from Repository & Architecture

~50 pairs per run, filters insights scoring ≥7.0/10. Writes Obsidian-native notes with wikilinks and daily digests. Cost roughly $0.40–0.50 per run on Claude Code.

⚡ Starter Prompt Template

Copy and paste this starter prompt into your AI assistant (Antigravity, Claude, Cursor, ChatGPT) to activate this skill:

Prompt TemplateClick button to copy formatted prompt
Act as an expert using the "Daydream" agent skill. Follow the specialized guidelines to accomplish the task according to best practices.

More in Knowledge & Productivity

🧠 Knowledge & Productivity#21

Anything to NotebookLM

Converts 15+ source types (YouTube, PDFs, web pages, articles, WeChat, search queries) into NotebookLM outputs: podcasts, presentations, mind maps, quizzes.

#knowledge#productivity#anything#notebooklm
Agents:AntigravityClaudeCursorWindsurf
🧠 Knowledge & Productivity#22

Vexor Semantic Search

Vector-powered semantic file search across your codebase or documents. Ask natural-language questions like “where did I save brand colors” and get ranked matches.

#knowledge#productivity#vexor#semantic#search
Agents:AntigravityClaudeCursorWindsurf
Copied to clipboard!