/spine:spine-dreamfrom spine
Reads accumulated vault docs and episode logs to derive higher-level knowledge — reusable playbooks, gotchas, and rules — with evidence pointers back to every source. Human-gated writes via DREAMS.md audit diary.
Ships in spine. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Capture and update record what happened. Dream reads many records and distills
what we learned — the gotchas, rules, and playbooks buried across update
sections and episodes — into type/derived docs a future session reads first.
Every derived claim must trace to a source. Nothing lands without human approval.
Same config chain as all Spine skills:
$SPINE_VAULT_PATH environment variable~/.spine/config.json → vaultPath field~/Documents/SpineVault/basename "$(git remote get-url origin 2>/dev/null)" .git (fall back to directory name).$ARGUMENTS names a feature or doc, scope to it. Otherwise find the richest synthesis targets in {vault}/{repo}/:
grep -rlc "^## Update\|^## 20" "{vault}/{repo}" | sort -t: -k2 -rn | head -5
Living docs with 3+ dated update sections are the prime targets.{vault}/.spine/curator-log.md entries mentioning the target docs{vault}/.spine/episodes/{repo}.md episodes touching the same featureRead the gathered material and extract candidate lessons — knowledge that is implied across the sources but written down nowhere as a standalone fact:
For each candidate record: the claim (1-3 sentences), the source quote(s) that support it, and wikilinks to every source doc.
Do NOT derive: anything stated in only one place with no reinforcement (that's already captured — dreaming adds nothing), speculation beyond what sources say, or generic best practices the sources don't specifically evidence.
For EVERY candidate, before presenting, check:
Drop any candidate that fails. Mark inference-but-well-supported claims with
confidence: inferred vs confidence: stated in the draft frontmatter.
Show all surviving candidates at once:
🦴 Spine Dream: derived {N} candidate lessons from {sources}:
[1] {Gotcha|Rule|Playbook} — {claim, one line}
Evidence: {source doc} — "{short quote}"
For each: (S)ave into the derived doc, (E)dit, or S(k)ip?
Group approved candidates into ONE doc per feature area (not one doc per lesson).
For each approved doc:
{vault}/{repo}/{feature}/Derived - {Topic} Playbook.md:
---
title: "Derived - {Topic} Playbook"
date: {YYYY-MM-DD}
tags:
- {repo}
- {feature}
- type/derived
derived_from:
- "[[{source doc 1}]]"
- "[[{source doc 2}]]"
answers:
- "{question this doc answers, as a future session would ask it}"
---
# Derived - {Topic} Playbook
> [!tip] Distilled from {N} update sections across {M} docs ({date range}).
> Read this BEFORE working on {feature}.
## Gotchas
- **{claim}** — evidence: [[{source}]] ({confidence: stated|inferred})
## Rules
...
## Playbook
...
[[wikilink]] to the derived doc in the feature's spine note under a Derived section.{vault}/.spine/DREAMS.md (create if missing) — newest at top:
## {YYYY-MM-DD} — Dream
- **Derived:** `{filename}` from {N} sources — {M} lessons saved, {K} skipped
{vault}/.spine/curator-log.md (same format as capture/update).spine_dream_result:
status: success | nothing_to_derive | skipped | error
summary: "Derived 1 playbook (7 lessons) from Plan - DTC Onboarding SDK Migration + 3 episodes"
derived:
- { file: "Derived - Trade-In SDK Playbook.md", feature: "Trade-In", lessons: 7, sources: 4 }
skipped_candidates: 2
next_actions:
- { action: "read before next Trade-In session", path: "{vault}/{repo}/Trade-In/" }
recovery_hint: null
What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/spine-captureCapture completed work (fix, feature, architecture decision, plan) as an Obsidian doc in the Spine Architecture vault. Auto-detects repo, feature, and doc type from context. Supports --batch mode for session-end batch capture./spine-healthScan the Spine Architecture Obsidian vault for gaps, stale docs, duplicates, and missing coverage. On-demand curator for vault hygiene./spine-initInitialize or adopt a Spine Architecture vault. Creates the Obsidian vault structure, graph color config, and config file. Run once per vault.npx claudepluginhub nodewarrior/spine --plugin spineOther plugins' skills for the same job