Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add imphillip/gbrain-openclaw --skill querygit clone --depth 1 https://github.com/imphillip/gbrain-openclawWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/imphillip/gbrain-openclaw/query)<a href="https://agentmods.dev/skills/imphillip/gbrain-openclaw/query"><img src="https://agentmods.dev/badge/skills/imphillip/gbrain-openclaw/query/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/imphillip/gbrain-openclaw/query"><img src="https://agentmods.dev/badge/skills/imphillip/gbrain-openclaw/query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00029 | $0.00555 |
| Opus 5.5 | $0.00012 | $0.00222 |
| Sonnet 5.5 | $0.00006 | $0.00111 |
| Haiku 4.5 | $0.00003 | $0.00056 |
Grade A, and why
gbrain-query scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Query Skill
Strategy: Three-layer search
-
FTS5 keyword search —
gbrain search "<query>"— fast, exact matches. Best for: names, company names, specific terms, acronyms. -
Semantic vector search —
gbrain query "<question>"— meaning-based. Best for: "who knows X?", "what's our thesis on Y?", conceptual or relationship questions. Requires OPENAI_API_KEY and at least onegbrain embedrun. -
Structured queries — relational navigation.
gbrain list --type person --tag yc-alumgbrain backlinks <slug>— who links to this page?gbrain timeline <slug>— what happened with this person/company?gbrain tags <slug>— what is this page tagged with?
Workflow
- Decompose the question into search strategies.
- Run FTS5 search for key terms.
- Run semantic query for the full question (if embeddings available).
- Merge and deduplicate results.
- For top results,
gbrain get <slug>to read full pages. - Synthesize answer with citations: "Jane Doe"
- If the answer is valuable enough to keep, consider creating a page:
cat answer.md | gbrain put concepts/topic
Ranking heuristic
- FTS5 score × 0.4 + vector similarity × 0.6 = combined score
- Boost pages with type matching the question intent (+0.2 for person queries hitting person pages)
- Boost pages updated recently
- Prefer pages with richer content (longer compiled_truth)
When you don't know
Say so. "The brain doesn't have info on X" is honest and useful. Suggest enrichment: "Want me to research X and add them to the brain?"
Examples
# Find a person
gbrain search "Jane Doe"
gbrain get people/jane-doe
# Relationship question
gbrain query "who is connected to Anthropic?"
# Relational: all YC founders
gbrain list --type person --tag yc-alum
# What links to a company page?
gbrain backlinks companies/acme-corp
# Recent activity
gbrain list --limit 20 # sorted by updated_at desc
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 69 lines · 29 tokens per session scan A 5493b678b06a
gbrain-query is a skill published in the GitHub repository imphillip/gbrain-openclaw (11 stars, last pushed 6mo ago), licensed MIT. It adds 29 tokens to every session and 555 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
my-wiki
A skill for managing a local Markdown knowledge vault that stores captured webpages, PDFs, Office files, notes, images, folders, and ZIP files. It links preserved source material, called References, to durable topic pages, called Concepts.
vault-summarize
Use when the user asks to summarize, digest, or get an overview of a folder, project, or set of notes in their markdown vault — runs the vault's batched map-reduce recipe so note bodies stay out of the retained conversation context.
vault-workflow
Use when the user asks you to search, read, or reason about notes in their markdown vault — guides when to use which vault tool and how to chain them for good results.
kb
Set up, evolve, or operate a hraness/kb local-first Markdown knowledge base for coding-agent memory. Use when a user asks to design KB conventions or a recurring KB ritual; search or query a KB or Obsidian vault; load or recover repository context, plans, decisions, concepts, backlinks, semantic search, or Git…
manas-answer
Answer a personal-brain question through configured local Manas generation with verified citations and explicit evidence gaps.
manas-capture
Persist a user-authorized personal memory in Manas with provenance and a deduplicated write receipt.