Agent skill

Query

by inbrainfun in inbrainfun/inbrain

Answer questions using the brain's knowledge with 3-layer search, synthesis, and citation propagation.

Custom licenceAuto-check passedResearch & Science

Install Query

skills CLI
$ npx skills add inbrainfun/inbrain --skill query -a claude-code

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

GitHub CLI
$ gh skill install inbrainfun/inbrain 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/inbrainfun/inbrain.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/query .claude/skills/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
query
GitHub stars
142
Used in
1 other repo
Token cost
~1.6k tokens
SKILL.md length
767 words
Files
2
Skills in repo
54
Repo updated
First seen
Licence
Custom licence

At a glance

Answer questions using the brain's knowledge with 3-layer search, synthesis, and citation propagation.

  • Works in 5 steps: Decompose the question into search… → Execute searches → Read top results. Read the top 3-5 pages… → …
  • The user asks a question
  • SKILL.md covers Contract, Phases, Anti-Patterns and Output Format, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Query is an agent skill from inbrainfun/inbrain. Answer questions using the brain's knowledge with 3-layer search, synthesis, and citation propagation. Use when the user asks a question, wants a lookup, or needs information from the brain.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file.

It sits in Research & Science, covering Citation management.

When your agent uses it

  • The user asks a question
  • Needs information from the brain

Example prompts

  • “/query”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Decompose the question into search strategies
  2. Execute searches
  3. Read top results. Read the top 3-5 pages from inbrain to get full context.
  4. Synthesize answer with citations. Every claim traces back to a specific page slug.
  5. Flag gaps. If the brain doesn't have info, say "the brain doesn't have information on X" rather than hallucinating.

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    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

Query loads about 1.6k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 767 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 767 words (~1,572 tokens).

“Answer questions using the brain's knowledge with 3-layer search and synthesis.”

— opening of SKILL.md by inbrainfun, Custom licence
name
query
version
1.0.0
triggers
what do we know about, tell me about, who is, what happened, search for, look up, background on, notes on, who knows who, relationship between, connections…
tools
search, query, get_page, list_pages, get_backlinks, traverse_graph, get_timeline
mutating
false

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in skills/query of inbrainfun/inbrain.

  • SKILL.md
  • routing-eval.jsonl

Open the folder on GitHubat commit 5231990

Used in 1 other repository

We found 4 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in inbrainfun/inbrain, which our catalogue first saw on October 7, 2026.

Compare with similar skills

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.

Query compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Query this skillinbrainfun/inbrain1421 repos~1.6kAutomated safety check: PassCustom licence
Content Research Writerweapp-tailwindcss/weapp-tailwindcss1.9k25 repos~3.5kAutomated safety check: PassMIT
NetworkxzLanqing/codex-claude-academic-skills4.6k16 repos~3.2kAutomated safety check: PassBSD-3-Clause
Citation Verification GuideGalaxy-Dawn/claude-scholar5.7k3 repos~1.9kAutomated safety check: PassMIT
Systematic Review ScreenerImbad0202/academic-research-skills51k—~8.4kAutomated safety check: PassCustom licence
Literature Reviewneflibata-feng/MyArxiv-Agent12621 repos~5.9kAutomated safety check: NotesMIT

Similar skills

  • Content Research Writer

    weapp-tailwindcss/weapp-tailwindcss

    Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section.

    1.9k GitHub starsUsed in 25 repos~3.5k tokens
    Research & ScienceAuto-check passed
  • Networkx

    zLanqing/codex-claude-academic-skills

    Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python.

    4.6k GitHub starsUsed in 16 repos~3.2k tokens
    Research & ScienceAuto-check passed
  • Citation Verification Guide

    Galaxy-Dawn/claude-scholar

    Reference guidance for checking every citation in academic writing against canonical sources such as DOI, arXiv, CrossRef and Semantic Scholar, to catch fake or wrong references.

    5.7k GitHub starsUsed in 3 repos~1.9k tokens
    Research & ScienceAuto-check passed
  • Systematic Review Screener

    Imbad0202/academic-research-skills

    Screens records for systematic, scoping and rapid reviews against fixed eligibility rules, using two blinded AI reviewers and a third adjudicator, with traceable PRISMA counts.

    51k GitHub stars~8.4k tokensUpdated 4 days ago
    Research & ScienceAuto-check passed
  • Literature Review

    neflibata-feng/MyArxiv-Agent

    Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.).

    126 GitHub starsUsed in 21 repos~5.9k tokens
    Research & ScienceAuto-check: notes
  • Openalex Database

    neflibata-feng/MyArxiv-Agent

    Query and analyze scholarly literature using the OpenAlex database.

    126 GitHub starsUsed in 13 repos~3k tokens
    Research & ScienceAuto-check passed

More from inbrainfun/inbrain

All 54 skills in this repo
  • Academic Verify

    inbrainfun/inbrain

    Verify a research claim or academic citation by tracing it through publication → methodology → raw data → independent replication.

    142 GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Cold Start

    inbrainfun/inbrain

    Day-one data bootstrapping for a new brain. An agent skill from inbrainfun/inbrain.

    142 GitHub starsUsed in 1 repo~4.7k tokens
    Auto-check passed
  • Enrich

    inbrainfun/inbrain

    Enrich brain pages with tiered enrichment protocol. An agent skill from inbrainfun/inbrain.

    142 GitHub starsUsed in 1 repo~2.8k tokens
    Auto-check passed
  • Idea Lineage

    inbrainfun/inbrain

    Trace one idea's evolution through the brain: first mention, best articulation, related concepts, reversals, contradictions, abandoned branches, and the current live version.

    142 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Maintain

    inbrainfun/inbrain

    Brain health checks: back-link enforcement, citation audit, filing validation, stale info detection, orphan pages, and benchmarks.

    142 GitHub starsUsed in 1 repo~4.4k tokens
    Auto-check passed
  • Schema Author

    inbrainfun/inbrain

    Evolve your brain's schema pack. An agent skill from inbrainfun/inbrain.

    142 GitHub starsUsed in 1 repo~3.3k tokens
    Auto-check passed

Questions about Query

What does Query do?

Answer questions using the brain's knowledge with 3-layer search, synthesis, and citation propagation. Query is an agent skill from inbrainfun/inbrain. Answer questions using the brain's knowledge with 3-layer search, synthesis, and citation propagation.

When should I use Query?

Query fits situations like: the user asks a question; needs information from the brain.

How do I install Query in Claude Code?

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

How do I install Query in Codex?

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

Can I use 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 inbrainfun/inbrain --skill 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/query, .gemini/skills/query, .github/skills/query and .opencode/skills/query in your project.

What does Query need to run?

SKILL.md names no scripts, command-line tools or credentials: Query is instructions for the agent only.

Does 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 Query safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Query use?

Query has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Query use?

About 1.6k tokens (SKILL.md is roughly 6.3k 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 Query?

Skills that share tags, products or a category with Query: Content Research Writer (weapp-tailwindcss/weapp-tailwindcss, 1.9k stars), Networkx (zLanqing/codex-claude-academic-skills, 4.6k stars), Citation Verification Guide (Galaxy-Dawn/claude-scholar, 5.7k stars) and Systematic Review Screener (Imbad0202/academic-research-skills, 51k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Query?

inbrainfun (a GitHub user) maintains it in inbrainfun/inbrain, which has 142 GitHub stars. The repository holds 54 skills in this directory. The repository was last updated on July 17, 2026.

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