Agent skill

Second Brain Query

by NicholasSpisak in NicholasSpisak/second-brain

Answer questions against the knowledge base wiki. An agent skill from NicholasSpisak/second-brain.

No licenceAuto-check: notesKnowledge Management

Install Second Brain Query

skills CLI
$ npx skills add NicholasSpisak/second-brain --skill second-brain-query -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install NicholasSpisak/second-brain second-brain-query --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/NicholasSpisak/second-brain.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/second-brain-query .claude/skills/second-brain-query && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
second-brain-query
GitHub stars
737
Token cost
~712 tokens
SKILL.md length
358 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
None found

At a glance

Answer questions against the knowledge base wiki. An agent skill from NicholasSpisak/second-brain.

  • Works in 4 steps: Start with the index → Use qmd for large wikis → Read relevant pages → …
  • The user asks a question about their collected knowledge
  • SKILL.md covers Search Strategy, Synthesize the Answer, Conventions and Related Skills
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Second Brain Query is an agent skill from NicholasSpisak/second-brain. 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.

Its SKILL.md is about 710 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Knowledge Management, covering Second brain and Knowledge bases. The repository describes itself as: LLM-maintained personal knowledge base for Obsidian. Based on Andrej Karpathy's LLM Wiki pattern.

When your agent uses it

  • The user asks a question about their collected knowledge
  • Wants to explore connections between topics
  • Says what do I know about X
  • Wants to search their wiki

Example prompts

  • “what do I know about X”
  • “/second-brain-query”

Requirements

  • Pre-approved tools (allowed-tools): Bash, Read, Write, Edit, Glob, Grep

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Start with the index
  2. Use qmd for large wikis
  3. Read relevant pages
  4. Check raw sources if needed

What it can do on your machine

Read from SKILL.md and the folder at commit 3e429c7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write
    • Edit
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Second Brain Query loads about 712 tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 358 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~712

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write, Edit, Glob, Grep

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 358 words (~712 tokens).

“Answer questions by searching and synthesizing knowledge from the wiki.”

— opening of SKILL.md by NicholasSpisak
name
second-brain-query
allowed-tools
Bash, Read, Write, Edit, Glob, Grep

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/second-brain-query of NicholasSpisak/second-brain.

Open the folder on GitHubat commit 3e429c7

Compare with similar skills

Second Brain Query next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Second Brain Query compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Second Brain Query this skillNicholasSpisak/second-brain737—~712Automated safety check: NotesNone
Icm ArchitectRinDig/icm-architect1.8k—~3.2kAutomated safety check: PassMIT
Company Braincoreyhaines31/makerskills851—~4.9kAutomated safety check: PassMIT
Vault Methodology RouterAgriciDaniel/claude-obsidian15k—~1kAutomated safety check: PassMIT
Obsidian Wiki QueryAgriciDaniel/claude-obsidian15k—~1.2kAutomated safety check: PassMIT
TalkAbilityai/cornelius109—~834Automated safety check: PassMIT

Similar skills

  • Icm Architect

    RinDig/icm-architect

    Design any process, idea, problem, or body of knowledge into an ICM (Interpretable Context Methodology) workspace — folder structure as agent architecture — or restructure an existing folder, repo…

    1.8k GitHub stars~3.2k tokensUpdated 1 mo ago
    Knowledge ManagementAuto-check passed
  • Company Brain

    coreyhaines31/makerskills

    Your team's shared, AI-ready knowledge base — people, companies, meetings, SOPs, and decisions structured so an agent can answer on your team's behalf.

    851 GitHub stars~4.9k tokensUpdated yesterday
    Knowledge ManagementAuto-check passed
  • Vault Methodology Router

    AgriciDaniel/claude-obsidian

    Reads or changes an Obsidian vault's filing methodology, Generic, LYT, PARA or Zettelkasten, and suggests where planned notes should go without saving or moving anything.

    15k GitHub stars~1k tokensUpdated 29 days ago
    Knowledge ManagementAuto-check passed
  • Obsidian Wiki Query

    AgriciDaniel/claude-obsidian

    Answers a question strictly from a chosen Obsidian vault at quick, standard or deep depth, using a verified retrieval index when available and never changing vault files.

    15k GitHub stars~1.2k tokensUpdated 29 days ago
    Knowledge ManagementAuto-check passed
  • Talk

    Abilityai/cornelius

    Conversational partner mode - delegates each exchange to the thinking-partner sub-agent, which embodies the knowledge base as its own memory and engages as an intellectual equal.

    109 GitHub stars~834 tokensUpdated yesterday
    Knowledge ManagementAuto-check passed
  • Para Second Brain

    sundial-org/awesome-openclaw-skills

    Organize your agent's knowledge using PARA (Projects, Areas, Resources, Archive) — then make it ALL searchable.

    663 GitHub starsUsed in 1 repo~3.2k tokens
    Knowledge ManagementAuto-check passed

More from NicholasSpisak/second-brain

  • Second Brain

    NicholasSpisak/second-brain

    Set up a new Obsidian knowledge base with the LLM Wiki pattern.

    737 GitHub stars~1.5k tokensUpdated 6 mo ago
    Auto-check: notes
  • Second Brain Lint

    NicholasSpisak/second-brain

    Health-check the wiki for contradictions, orphan pages, stale claims, and missing cross-references.

    737 GitHub stars~1k tokensUpdated 6 mo ago
    Auto-check: notes
  • Second Brain Ingest

    NicholasSpisak/second-brain

    Process raw source documents into wiki pages. An agent skill from NicholasSpisak/second-brain.

    737 GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check: notes

Questions about Second Brain Query

What does Second Brain Query do?

Answer questions against the knowledge base wiki. An agent skill from NicholasSpisak/second-brain. Second Brain Query is an agent skill from NicholasSpisak/second-brain. Answer questions against the knowledge base wiki.

When should I use Second Brain Query?

Second Brain Query fits situations like: the user asks a question about their collected knowledge; wants to explore connections between topics; says what do I know about X; wants to search their wiki.

How do I install Second Brain Query in Claude Code?

Run `npx skills add NicholasSpisak/second-brain --skill second-brain-query -a claude-code`. Or copy the skill folder (skills/second-brain-query in NicholasSpisak/second-brain) into .claude/skills/second-brain-query in your project. Claude Code loads it when a task matches its description.

How do I install Second Brain Query in Codex?

Run `npx skills add NicholasSpisak/second-brain --skill second-brain-query -a codex`. Or copy the skill folder (skills/second-brain-query in NicholasSpisak/second-brain) into .agents/skills/second-brain-query in your project. Codex loads it when a task matches its description.

Can I use Second Brain Query in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NicholasSpisak/second-brain --skill second-brain-query -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/second-brain-query, .gemini/skills/second-brain-query, .github/skills/second-brain-query and .opencode/skills/second-brain-query in your project.

What does Second Brain Query need to run?

SKILL.md names no scripts, command-line tools or credentials: Second Brain Query is instructions for the agent only. Its frontmatter pre-approves these tools: Bash, Read, Write, Edit, Glob, Grep.

Does Second Brain Query access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Second Brain Query safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Second Brain Query use?

No licence was found for Second Brain Query or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Second Brain Query use?

About 712 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Second Brain Query?

Skills that share tags, products or a category with Second Brain Query: Icm Architect (RinDig/icm-architect, 1.8k stars), Company Brain (coreyhaines31/makerskills, 851 stars), Vault Methodology Router (AgriciDaniel/claude-obsidian, 15k stars) and Obsidian Wiki Query (AgriciDaniel/claude-obsidian, 15k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Second Brain Query?

NicholasSpisak (a GitHub user) maintains it in NicholasSpisak/second-brain, which has 737 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on April 7, 2026.

Source: NicholasSpisak/second-brain on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.