{"id":"9dc68761-ef94-4044-a371-daaeb6d47689","shortId":"TtU5Zx","kind":"skill","title":"second-brain-query","tagline":"Answer questions against the knowledge base wiki. Use when the user asks a question about their collected knowledge, wants to explore connections between topics, says \"what do I know about X\", or wants to search their wiki.","description":"# Second Brain — Query\n\nAnswer questions by searching and synthesizing knowledge from the wiki.\n\n## Search Strategy\n\n### 1. Start with the index\n\nRead `wiki/index.md` to identify relevant pages. Scan all category sections (Sources, Entities, Concepts, Synthesis) for entries related to the question.\n\n### 2. Use qmd for large wikis\n\nIf `qmd` is installed (check with `command -v qmd`), use it for search:\n\n```bash\nqmd search \"query terms\" --path wiki/\n```\n\nThis is especially useful when the wiki has grown beyond ~100 pages where scanning the index becomes inefficient.\n\n### 3. Read relevant pages\n\nRead the wiki pages identified by the index or search. Follow `[[wikilinks]]` to pull in related context from linked pages. Read enough pages to give a thorough answer, but don't read the entire wiki.\n\n### 4. Check raw sources if needed\n\nIf the wiki pages don't fully answer the question, check relevant source summaries in `wiki/sources/` for additional detail. Only go to files in `raw/` as a last resort.\n\n## Synthesize the Answer\n\n### Format\n\nMatch the answer format to the question:\n- **Factual question** → direct answer with citations\n- **Comparison** → table or structured comparison\n- **Exploration** → narrative with linked concepts\n- **List/catalog** → bulleted list with brief descriptions\n\n### Citations\n\nAlways cite wiki pages using `[[wikilink]]` syntax. Example:\n\n> According to [[Source - Article Title]], the key finding was X. This connects to the broader pattern described in [[Concept Name]], which [[Entity Name]] has also explored.\n\n### Offer to save valuable answers\n\nIf the answer produces something worth keeping — a comparison, analysis, new connection, or synthesis — offer to save it:\n\n> \"This comparison might be useful to keep in your wiki. Want me to save it as a synthesis page?\"\n\nIf the user agrees:\n1. Create a new page in `wiki/synthesis/` with proper frontmatter\n2. Add an entry to `wiki/index.md` under Synthesis\n3. Append to `wiki/log.md`: `## [YYYY-MM-DD] query | Question summary`\n\n## Conventions\n\n- **Search the wiki first.** Only go to raw sources if the wiki doesn't have the answer.\n- **Cite your sources.** Every factual claim should link to the wiki page it came from.\n- **Valuable answers compound.** Encourage saving good analyses back into the wiki.\n- Use `[[wikilinks]]` for all internal references. Never use raw file paths.\n\n## Related Skills\n\n- `/second-brain-ingest` — process new sources into wiki pages\n- `/second-brain-lint` — health-check the wiki for issues","tags":["second","brain","query","nicholasspisak","agent-skills","knowledge-base","llm","markdown","obsidian","personal-wiki","second-brain"],"capabilities":["skill","source-nicholasspisak","skill-second-brain-query","topic-agent-skills","topic-knowledge-base","topic-llm","topic-markdown","topic-obsidian","topic-personal-wiki","topic-second-brain"],"categories":["second-brain"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/NicholasSpisak/second-brain/second-brain-query","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add NicholasSpisak/second-brain","source_repo":"https://github.com/NicholasSpisak/second-brain","install_from":"skills.sh"}},"qualityScore":"0.581","qualityRationale":"deterministic score 0.58 from registry signals: · indexed on github topic:agent-skills · 261 github stars · SKILL.md body (2,517 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-02T18:54:08.843Z","embedding":null,"createdAt":"2026-04-18T22:05:30.114Z","updatedAt":"2026-05-02T18:54:08.843Z","lastSeenAt":"2026-05-02T18:54:08.843Z","tsv":"'/second-brain-ingest':400 '/second-brain-lint':407 '1':57,314 '100':118 '2':82,324 '3':126,332 '4':165 'accord':242 'add':325 'addit':188 'agre':313 'also':266 'alway':234 'analys':382 'analysi':282 'answer':5,45,157,178,202,206,214,272,275,360,377 'append':333 'articl':245 'ask':16 'back':383 'base':10 'bash':101 'becom':124 'beyond':117 'brain':3,43 'brief':231 'broader':256 'bullet':228 'came':374 'categori':70 'check':92,166,181,410 'citat':216,233 'cite':235,361 'claim':366 'collect':21 'command':94 'comparison':217,221,281,292 'compound':378 'concept':74,226,260 'connect':26,253,284 'context':146 'convent':343 'creat':315 'dd':339 'describ':258 'descript':232 'detail':189 'direct':213 'doesn':356 'encourag':379 'enough':151 'entir':163 'entiti':73,263 'entri':77,327 'especi':110 'everi':364 'exampl':241 'explor':25,222,267 'factual':211,365 'file':193,396 'find':249 'first':347 'follow':140 'format':203,207 'frontmatt':323 'fulli':177 'give':154 'go':191,349 'good':381 'grown':116 'health':409 'health-check':408 'identifi':65,134 'index':61,123,137 'ineffici':125 'instal':91 'intern':391 'issu':414 'keep':279,297 'key':248 'know':33 'knowledg':9,22,51 'larg':86 'last':198 'link':148,225,368 'list':229 'list/catalog':227 'match':204 'might':293 'mm':338 'name':261,264 'narrat':223 'need':170 'never':393 'new':283,317,402 'offer':268,287 'page':67,119,129,133,149,152,174,237,309,318,372,406 'path':106,397 'pattern':257 'process':401 'produc':276 'proper':322 'pull':143 'qmd':84,89,96,102 'queri':4,44,104,340 'question':6,18,46,81,180,210,212,341 'raw':167,195,351,395 'read':62,127,130,150,161 'refer':392 'relat':78,145,398 'relev':66,128,182 'resort':199 'save':270,289,304,380 'say':29 'scan':68,121 'search':39,48,55,100,103,139,344 'second':2,42 'second-brain-queri':1 'section':71 'skill':399 'skill-second-brain-query' 'someth':277 'sourc':72,168,183,244,352,363,403 'source-nicholasspisak' 'start':58 'strategi':56 'structur':220 'summari':184,342 'syntax':240 'synthes':50,200 'synthesi':75,286,308,331 'tabl':218 'term':105 'thorough':156 'titl':246 'topic':28 'topic-agent-skills' 'topic-knowledge-base' 'topic-llm' 'topic-markdown' 'topic-obsidian' 'topic-personal-wiki' 'topic-second-brain' 'use':12,83,97,111,238,295,387,394 'user':15,312 'v':95 'valuabl':271,376 'want':23,37,301 'wiki':11,41,54,87,107,114,132,164,173,236,300,346,355,371,386,405,412 'wiki/index.md':63,329 'wiki/log.md':335 'wiki/sources':186 'wiki/synthesis':320 'wikilink':141,239,388 'worth':278 'x':35,251 'yyyi':337 'yyyy-mm-dd':336","prices":[{"id":"d8f6de17-d5da-46f5-a82a-aead0a513674","listingId":"9dc68761-ef94-4044-a371-daaeb6d47689","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"NicholasSpisak","category":"second-brain","install_from":"skills.sh"},"createdAt":"2026-04-18T22:05:30.114Z"}],"sources":[{"listingId":"9dc68761-ef94-4044-a371-daaeb6d47689","source":"github","sourceId":"NicholasSpisak/second-brain/second-brain-query","sourceUrl":"https://github.com/NicholasSpisak/second-brain/tree/main/skills/second-brain-query","isPrimary":false,"firstSeenAt":"2026-04-18T22:05:30.114Z","lastSeenAt":"2026-05-02T18:54:08.843Z"}],"details":{"listingId":"9dc68761-ef94-4044-a371-daaeb6d47689","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"NicholasSpisak","slug":"second-brain-query","github":{"repo":"NicholasSpisak/second-brain","stars":261,"topics":["agent-skills","ai","knowledge-base","llm","markdown","obsidian","personal-wiki","second-brain"],"license":null,"html_url":"https://github.com/NicholasSpisak/second-brain","pushed_at":"2026-04-07T03:16:20Z","description":"LLM-maintained personal knowledge base for Obsidian. Based on Andrej Karpathy's LLM Wiki pattern.","skill_md_sha":"3ff497d3345b8075241dcedf8915e6c4065a78f6","skill_md_path":"skills/second-brain-query/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/NicholasSpisak/second-brain/tree/main/skills/second-brain-query"},"layout":"multi","source":"github","category":"second-brain","frontmatter":{"name":"second-brain-query","description":"Answer questions against the knowledge base wiki. Use when the user asks a question about their collected knowledge, wants to explore connections between topics, says \"what do I know about X\", or wants to search their wiki."},"skills_sh_url":"https://skills.sh/NicholasSpisak/second-brain/second-brain-query"},"updatedAt":"2026-05-02T18:54:08.843Z"}}