
Second Brain Query
Structured search and synthesis skill that answers questions from a personal knowledge wiki with citations.
- skills.sh installs
- 2.6K
- GitHub stars
- 783
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the query workflow: scan
wiki/index.md, search withqmdon larger wikis, then read and follow linked pages - Matches answer format to question type, with tables for comparisons, narratives for exploration, and bullets for catalogs
- Enforces wiki-first retrieval, citing every claim with
[[wikilinks]]and reading raw sources only as a last resort - Offers to save valuable answers as synthesis pages and logs them, for users who want their wiki to grow from queries
Install
$ npx -y skills add nicholasspisak/second-brain --skill second-brain-query -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Second Brain — Query
Answer questions by searching and synthesizing knowledge from the wiki.
Search Strategy
1. Start with the index
Read wiki/index.md to identify relevant pages. Scan all category sections (Sources, Entities, Concepts, Synthesis) for entries related to the question.
2. Use qmd for large wikis
If qmd is installed (check with command -v qmd), use it for search:
qmd search "query terms" --path wiki/
This is especially useful when the wiki has grown beyond ~100 pages where scanning the index becomes inefficient.
3. Read relevant pages
Read 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.
4. Check raw sources if needed
If 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.
Synthesize the Answer
Format
Details
- Repository
- github.com/nicholasspisak/second-brain
- Categories
- Productivity & Notes, Memory & Context
- First seen
- Apr 16, 2026
More from nicholasspisak/second-brain
All 4Similar to Second Brain Query
More Productivity & Notes
wiki-queryopen-gitagent/opengap3.2K starsQuery the wiki to answer questions with cited synthesis, optionally filing valuable answers back as pages.
karpathy-llm-wikiastro-han/karpathy-llm-wiki8.8K installsStructured knowledge base skill: LLM-maintained wiki that compiles raw sources into verified, cross-linked articles.
second-brain-ingestnicholasspisak/second-brain2.6K installsTurns raw source documents into interlinked wiki pages, detecting unprocessed files from the ingest log.
llm-wiki-skillreason-machines/trending-skills516 installsBuild a persistent personal knowledge base from URLs, PDFs, and notes using Karpathy's llm-wiki method.
qmdtobi/qmd4.2K installsCommand-line search for local markdown notes and wikis that returns full documents, not just snippets.
wiki-researchar9av/obsidian-wiki2.8K installsAutonomous multi-round web research that files cited findings into an Obsidian wiki as structured pages.