nicholasspisak avatar

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-code

Installs 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

More from nicholasspisak/second-brain

All 4
1nicholasspisak avatarsecond-brain-lintnicholasspisak/second-brainHealth-check the wiki for contradictions, orphan pages, stale claims, and missing cross-references. Use when the user says "audit", "health check", "lint", "fin2.5Kskills.sh installs
2slavingia avatarprocessizeslavingia/skillsTurn a product idea into a manual-first process you can start delivering today. Use when you have an idea and want to figure out how to deliver value by hand be2.5Kskills.sh installs
3vladmdgolam avatarblender-mcpvladmdgolam/agent-skillsBlender MCP expert for scene inspection, Python scripting, GLTF export, and material/animation extraction. Activate when: (1) using Blender MCP tools (get_scene2.5Kskills.sh installs
4thananon avatarqwen-agentthananon/9arm-skillsDelegate menial, well-scoped coding tasks to a cheap Qwen-backed subagent via the `claude-9arm` command instead of burning Claude tokens/quota. Use when the wor2.5Kskills.sh installs
5chrisbanes avatarcompose-ui-testing-patternschrisbanes/skillsUse when writing or reviewing Jetpack Compose UI tests, screenshot tests, previews, semantics assertions, fake image loading, keyboard input, focus assertions, 2.5Kskills.sh installs
6apollographql avatarroverapollographql/skillsGuide for using Apollo Rover CLI to manage GraphQL schemas and federation. Use this skill when: (1) publishing or fetching subgraph/graph schemas, (2) composing2.4Kskills.sh installs