Ask questions against your BrainLift — get cited answers, discover gaps, and compound your explorations back into knowledge
You're helping the user query their BrainLift — asking questions against their accumulated knowledge and compounding the exploration back into the artifact.
This skill implements Karpathy's key insight: explorations should compound in the knowledge base. A question you ask today shouldn't disappear into chat history — the answer, the connections discovered, the gaps identified should all feed back into the BrainLift. Every query makes the BrainLift richer.
Owner(s)
Purpose (In Scope / Out of Scope)
───────────────────────────────────
DOK4 - SPOV
DOK3 - Insights
└─ DOK3 - Blueprints
─── BRIGHT LINE: above = owner's expertise, below = external information ───
Experts
DOK2 - Knowledge Tree
├─ Category (with Category Summary)
│ └─ Sources
│ ├─ DOK2 - Summary
│ ├─ DOK1 - Facts
│ ├─ Initial Insights
│ └─ Link to Content
───────────────────────────────────
Parse $ARGUMENTS for the user's question.
If no question provided: Ask the user what they want to explore.
Find BrainLift workspace using the Discovery Protocol (see infrastructure/discovery.md):
$CWD looking for CLAUDE.md with <!-- brainlift-root --> marker~/.brainlift pointer file for the workspace path~/.brainlift for next time)[root]/lifts/ if it exists, else [root]/ as fallbackFind the right BrainLift (index-first navigation):
[root]/index.md exists with the <!-- brainlift-index: auto-generated marker. If yes, read it to get:
[lifts_dir]/*.md (exclude *.log.md), read each file's opening to extract Purpose.Which BrainLift should I search?
1. **[BrainLift Topic]** - [In Scope summary]
Relevance: [Why this question fits]
2. **[BrainLift Topic]** - [In Scope summary]
Relevance: [Partial fit]
Which one? (or specify a file path)
After selection: Spawn a brainlift-reader agent to parse the full BrainLift:
Task(
description: "Parse BrainLift structure",
prompt: "You are a brainlift-reader agent.
Read and parse this BrainLift file: [path]
Return the full structured parse report with all sections,
counts, and token estimates."
)
With the parsed BrainLift, search for content relevant to the question.
Search across all DOK levels:
DOK1-2 (Knowledge Tree): Scan facts and summaries for relevant evidence. Note which sources and categories contain relevant material.
DOK3 (Insights): Check if any existing insights address the question directly or tangentially.
DOK4 (SPOVs): Check if any SPOVs take a position on the question's topic.
Initial Insights: Check for partially-developed thinking relevant to the question.
Present the evidence map:
Here's what your BrainLift has on this topic:
**Directly relevant:**
- DOK1 from [Source A]: "[fact snippet]"
- DOK1 from [Source B]: "[fact snippet]"
- DOK2 from [Source C]: "[summary snippet]"
- DOK3 Insight #2: "[insight snippet]"
**Tangentially related:**
- DOK1 from [Source D]: "[fact snippet]"
- DOK4 SPOV #1 touches on this: "[spov snippet]"
**Gaps — your BrainLift doesn't cover:**
- [Aspect X of the question has no evidence]
- [Aspect Y has only 1 source — thin coverage]
Using the evidence found, answer the user's question.
Answer structure:
## Answer
[2-4 paragraph synthesis answering the question, weaving together evidence
from multiple DOK levels. Every claim cites its source.]
**Evidence used:**
- [Source A] DOK1: [concept]
- [Source B] DOK2: [pattern]
- [Insight #N]: [synthesis]
**Contradictions found:**
- [Source A says X, but Source B says Y — this tension is unresolved]
**Gaps identified:**
- [Your BrainLift doesn't address [aspect] — this might be worth a new source]
- [Only 1 source covers [topic] — thin evidence base]
**Related questions your BrainLift could answer:**
- [Question 1]
- [Question 2]
Important: Clearly distinguish between what the BrainLift's evidence supports vs. general knowledge. If the BrainLift is thin on a topic, say so — don't fill in with external knowledge unless the user asks.
Citation format (v2.2): When the BrainLift has anchor IDs and Evidence links, use wikilink-style citations:
**Evidence used:**
- [[brainlift-name#Source Title - Author (Date)|Source Title]] DOK1: [concept]
- [[brainlift-name#I-N|Insight #N]]: [synthesis]
- [[brainlift-name#SPOV-N|SPOV #N]]: [position]
Cross-BrainLift suggestions (v2.2): If index.md shows Cross-BrainLift Connections relevant to this question, suggest searching the other BrainLift:
Note: Your index shows a cross-BrainLift connection — [[other-brainlift#I-N]]
covers a related topic. Want me to search [[other-brainlift]] too?
This is the key Karpathy-inspired phase — making explorations compound.
Would you like to save anything from this exploration?
1. **Save Initial Insight** — I'll draft an insight for a specific source's
"Initial Insights" section based on what we discovered.
2. **Brainstorm DOK3 Insight** — I see a cross-source pattern worth developing.
I'll draft a candidate insight with evidence citations for you to review.
3. **Brainstorm DOK4 SPOV** — This exploration points toward a position.
I'll draft a candidate SPOV with its supporting chain for you to consider.
4. **Flag a gap** — Note that this question revealed missing coverage.
I can suggest sources to investigate.
5. **Just exploring** — Nothing to save, and that's fine.
If user chooses 1 (Initial Insight):
If user chooses 2 (DOK3 Brainstorm):
Here's a pattern I'm seeing — does this resonate?
**Draft Insight**: [2-3 sentence insight]
**Supporting evidence**:
- [Source A] DOK1: "[fact]"
- [Source B] DOK2: "[pattern]"
- [Source C] DOK1: "[fact]"
This is a brainstorm, not a finished insight. Edit it to match
your thinking, or reject if it doesn't land.
If user chooses 3 (DOK4 Brainstorm):
This might be worth a position. Here's a brainstorm:
**Draft SPOV**: [1 sentence assertive statement]
**Would be supported by**:
- Insight #[N]: "[snippet]"
- Draft Insight: "[the one we just brainstormed, if any]"
Too early? Not spiky enough? Edit, develop further, or pass.
If user chooses 4 (Flag gap):
/bl:update workflow)"After any save:
I-N or SPOV-N) and add an Evidence: line with wikilinks to supporting sources/insights. See infrastructure/linking.md for format.infrastructure/log-format.md: use [brainlift_root]/logs/[name].log.md if logs/ exists, else write as sibling of the BrainLift file:
## [YYYY-MM-DD] query | "[question summary]"
- **Action**: query
- **Source**: n/a
- **Changes**: [what was saved — Initial Insight on Source X, new DOK3 #N, etc.]
- **Rationale**: [user's reasoning if provided]
index.md exists and DOK3/4 content was added or revised, perform an incremental index update — re-parse the BrainLift, update its catalog stats and Evidence Graph section, recalculate Workspace Stats. See infrastructure/index-format.md for the incremental update procedure.[Source Title] DOK1 or Insight #N for references/bl:update first."