skills/query/SKILL.md
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.
npx skillsauth add life-efficient/jarvis queryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Answer questions using the brain's knowledge with 3-layer search and synthesis.
This skill guarantees:
Answers should include:
Search returns chunks, not full pages. Read the excerpts first before deciding whether to load a full page.
gbrain search / gbrain query return ranked chunks with context snippets.
These are often enough to answer the question directly.gbrain get <slug> to load the full page when a chunk confirms the
page is relevant and you need more context (e.g., compiled truth, timeline).When multiple sources provide conflicting information, follow this precedence:
When sources conflict, note the contradiction with both citations. Don't silently pick one.
When referencing brain pages in your answer, propagate inline citations:
[Source: ...] citations, propagate them so
the user can trace facts to their originFor relationship questions ("who knows who at X?", "connections between A and B", "who works at Acme?", "who attended the standup?"), use the graph layer instead of full-text search:
gbrain graph-query <slug> --type <link_type> --depth N --direction in|out|bothattended, works_at, invested_in, founded, advises, mentions, source--direction in answers "who points to X?" (e.g., who works at company X)--direction out answers "what does X point to?" (default)--depth N controls multi-hop traversal (default 5)Examples:
gbrain graph-query companies/acme --type works_at --direction ingbrain graph-query meetings/demo-day-w26 --type attended --direction outgbrain graph-query people/emily --type advises --direction outgbrain graph-query people/alice --type attended --depth 2Combine with gbrain query for queries that need BOTH semantic similarity AND
graph structure. Search results are ranked with a small backlink boost so well-
connected entities surface higher.
If search results seem off (wrong results, missing known pages, irrelevant hits):
gbrain doctor --json to check index healthgbrain search) vs hybrid search (gbrain query)
for the same query to isolate whether the issue is embedding-relateddevelopment
Generic framework for converting external events (SMS, meetings, social mentions) into brain-ingestible signals. Define a transform function, register a webhook URL, and incoming events get processed through the brain pipeline.
development
Skill validation framework. Validates every skill has SKILL.md with frontmatter, every reference exists, every env var is declared. The testing contract for the skill system itself.
testing
6-phase interactive interview that generates the agent's identity (SOUL.md), user profile (USER.md), access control (ACCESS_POLICY.md), and operational cadence (HEARTBEAT.md). Re-runnable anytime to update any section.
testing
Run `gbrain skillpack-check` to produce an agent-readable JSON health report for the gbrain install. Wraps `gbrain doctor` + `gbrain apply-migrations --list` so a host agent (Wintermute's morning-briefing, any OpenClaw cron) can see at a glance whether the skillpack needs attention. Use when the user asks "is gbrain healthy?", when a cron fires a morning check, or proactively when something seems off (jobs not running, brain not updating, autopilot silent).