
Second Brain Query
This pulls answers from your personal wiki by searching the index, following wikilinks between related pages, and synthesizing what it finds into formatted responses. It knows to use qmd for search on larger wikis, cites everything with wikilink syntax, and matches answer format to your question type (comparison gets a table, exploration gets narrative). The smart bit is it offers to save valuable synthesis back into the wiki as new pages, so good answers compound over time instead of disappearing into chat history. Works best when your wiki is already organized with proper index entries and interlinked concepts.
- skills.sh installs
- 2.6K
- GitHub stars
- 774
- last updated
- Aug 21, 2026
Install
$ npx -y skills add nicholasspisak/second-brain --skill second-brain-query --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/nicholasspisak/second-brain
- Category
- Documentation
- First seen
- Apr 16, 2026