Query the vault
SkillDev toolsAnswer a question from a second-brain vault by reading its own pages, citing the pages used, and saying plainly when the vault does not contain the answer. Use this skill whenever the user asks what they know about a topic, what they have read on something, what connects two ideas, what they have changed their mind about, or asks any question that should be answered from their own notes rather than general knowledge. Do NOT use for ingesting new material, for general questions the vault has nothing to do with, or when the user explicitly wants an answer from the open web.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Query the vault skill
What this skill tells your AI
The instructions your AI receives, as published by undefined-ui/second-brain-os in skills/second-brain-query/SKILL.md and read by ahel’s review.
A query that quietly falls back on general knowledge is the most damaging thing this system can do. The owner built the vault so answers would be grounded in what they actually read, and an answer that blends the model's priors with their notes is worse than no answer, because it cannot be checked.
Core rule
Every claim in the answer comes from a page in the vault and names that page. Anything you know but the vault does not is labelled as outside knowledge or left out.
Workflow
- Start from
index.md, not from a full-text sweep. The index is the map; reading it first keeps the context budget for actual pages. - Follow links outward from the most relevant pages, one hop at a time. Stop when new pages stop adding anything.
- Answer in plain language, with
[[page]]references inline. - Name the gaps. If the question has three parts and the vault covers two, say which one it does not.
- Offer the next move when there is an obvious one: a source worth ingesting, a synthesis page worth writing.
Output format
Plain prose, then:
Read: <pages consulted>
Not covered: <what the vault does not answer>
Calibration
Reading too little is the common failure: answering from three pages when the vault has fifteen relevant ones. Reading everything is the opposite failure and burns the budget on pages that add nothing.
If the vault has nothing on the topic, say so in one sentence and stop. Do not pad the answer with general knowledge to avoid an empty result.
Signals
- GitHub stars
- 57
- Forks
- 8
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
second-brain-query-undefined-ui- Source
- github.com/undefined-ui/second-brain-os