second-brain-query
Skill891 starsChanged 3 months agoMITView on GitHub
Answer 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.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- PieroSierra/SecondBraintheir own version, first seen Sep 24, 2026
- NicholasSpisak/second-braintheir own version, first seen Apr 7, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- NicholasSpisak/second-brain★ 734same name
- PieroSierra/SecondBrain★ 152same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- vault-template/CLAUDE.mdCLAUDE.md
- second-brain-backfillSkill
- second-brain-changed-my-mindSkill
- second-brain-chat-importSkill
- second-brain-graphSkill
- second-brain-ingestSkill
- second-brain-lintSkill
- second-brain-mergeSkill
- second-brain-metricsSkill
- second-brain-privacySkill
- second-brain-projectSkill
- second-brain-publishSkill
- second-brain-quizSkill
- second-brain-renameSkill
- second-brain-reportSkill
- second-brain-reviewSkill
- second-brain-transcriptSkill
- second-brain-writeSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
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
- Distinctive: line 23
Every claim in the answer comes from a page in the vault and names that page.
- Distinctive: line 32
Stop when new pages stop adding anything.
- Distinctive: line 34
Name the gaps: If the question has three parts and the vault covers two, say which one it does not.
- Distinctive: line 36
Offer the next move: when there is an obvious one: a source worth ingesting, a synthesis page worth writing.
- Distinctive: line 54
If the vault has nothing on the topic, say so in one sentence and stop.
≈ “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.
Files
Query the vault
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.
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
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.

