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 agentmods add skills/onebrain-ai/onebrain/searchnpx skills add onebrain-ai/onebrain --skill searchgit clone --depth 1 https://github.com/onebrain-ai/onebrainWrote 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/onebrain-ai/onebrain/search)<a href="https://agentmods.dev/skills/onebrain-ai/onebrain/search"><img src="https://agentmods.dev/badge/skills/onebrain-ai/onebrain/search.svg" alt="Measured on agentmods" 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 | $0.00047 | $0.01055 |
| Opus 5 | $0.00023 | $0.00528 |
| Sonnet 5 | $0.00009 | $0.00211 |
| Haiku 4.5 | $0.00005 | $0.00105 |
Grade A, and why
search 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/search — General vault retrieval
Purpose
First-class retrieval skill that answers both what and why questions across all knowledge layers in the OneBrain vault.
Distinct from existing skills:
/distillsynthesizes a topic into a new persisted note (write); /search is read-only/recappromotes session insights to memory/ (write); /search is read-only- A direct search query gives content matches; /search ranks by question type and surfaces decision chains
Sources searched (in order of relevance)
[agent_folder]/MEMORY.md— always-loaded persona/active-projects[agent_folder]/memory/*.md— match via MEMORY-INDEX topics[logs_folder]/session/**/*-session-*.md— past session logs[projects_folder]/**/*.md— project notes including embedded specs/plans/design docs- Project tracker decisions log tables (project MOCs under
[projects_folder]/) - Vault notes (
[knowledge_folder]/,[resources_folder]/,[areas_folder]/) [logs_folder]/checkpoint/*.md— in-session-state recovery (for current-day questions)
Tools used
- Search tools lex+vec+hyde if
search.collectionis configured in onebrain.yml (legacy top-levelqmd_collectionstill honored) (preferred) — follows the cascade inskills/startup/SEARCH.md - Glob + Grep fallback per the cascade's fallback triggers, or unconditionally if the search tools are unavailable
- Heuristic question-type detection: matches
^why\b(or the agent's bilingual intent inference on non-English equivalents) → "why mode"; else → "what mode"
Confidence
Every MCP hit carries a rerank_score (0–1). Apply the cascade's bands when composing the answer:
≥ 0.60— confident; cite directly in the direct answer / decision chain.0.30 – 0.60— possible; include only in the Sources list, not folded into the direct-answer synthesis as settled fact.< 0.30— no strong match; drop it. If, after the cascade's Grep fallback, nothing clears0.30, output an honest no strong match result instead of stitching noise into an answer (see Output format below).
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 4d ago First seen · 100 lines · 47 tokens per session scan A 5736e804da99
search is a skill published in the GitHub repository onebrain-ai/onebrain (25 stars, last pushed 6d ago), licensed Apache-2.0. It adds 47 tokens to every session and 1,055 once invoked, about $0.0002 per session on Opus 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
llm-wiki
Build and maintain a persistent, interlinked Obsidian-compatible markdown wiki using Karpathy's LLM Wiki pattern. Extension-backed with auto-generated metadata, guardrails, and 14 custom tools (+3 opt-in agent-trajectory tools).
link-memory
Use after important user-approved decisions, when durable context should be proposed or reviewed, and for explicit Link memory lifecycle work: remember, recall, review, update, archive, restore, forget, or explain local memories through the CLI without requiring MCP.
link-retrieve
Use before answering work that may depend on user memory, project history, source-backed notes, or prior decisions; retrieve compact Link context through the CLI without loading the whole wiki or requiring MCP.
link-ingest
Use when raw files are present, source pages look stale, or a user asks to ingest notes into Link; refresh source-backed wiki pages, propose memories, and validate updates through the CLI without MCP.
lint-brain
Run health checks over the brain vault - find orphan notes, broken wikilinks, missing frontmatter, stale projects, and missing cross-links. Use when asked to "lint the brain", "health check", "vault hygiene", or "/lint-brain".
ingest-article
Ingest an article from a URL or raw text into the brain vault. Extracts key knowledge, determines placement, creates or updates notes, and links to relevant projects. Use when the user shares a URL or text and wants to absorb it into their knowledge base.