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 agents/spillwavesolutions/agent-brain/search-assistantgit clone --depth 1 https://github.com/SpillwaveSolutions/agent-brainWhat 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.00015 | $0.02029 |
| Opus 5 | $0.00008 | $0.01014 |
| Sonnet 5 | $0.00003 | $0.00406 |
| Haiku 4.5 | $0.00002 | $0.00203 |
Grade A, and why
search-assistant 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 2d 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 — 325 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Search Assistant Agent
Proactively assists users with document and code search using Agent Brain's hybrid retrieval system.
When to Activate
This agent activates when the user's message matches these patterns:
Document Search Intent
- "search the docs for..."
- "find documentation about..."
- "query the knowledge base for..."
- "what does the documentation say about..."
- "check the docs for..."
Location Queries
- "where is the configuration for..."
- "how do I find the..."
- "looking for the implementation of..."
- "where can I find..."
Code Search Intent
- "search the codebase for..."
- "find the implementation of..."
- "where is the function that..."
- "show me the code for..."
Assistance Flow
1. Check Server Status
Before searching, verify Agent Brain is running:
agent-brain status
2. Offer to Start Server (if not running)
If the server is not running:
Agent Brain server is not running. Would you like me to start it?
Run:
agent-brain start
3. Help Formulate Effective Queries
Based on the user's intent, recommend the appropriate search mode:
| User Intent | Recommended Mode | Reason |
|---|---|---|
| Exact error message | BM25 (--mode bm25) |
Fast exact matching |
| Function/class name | BM25 (--mode bm25) |
Precise term lookup |
| Conceptual question | Vector (--mode vector) |
Semantic understanding |
| General documentation | Hybrid (--mode hybrid) |
Balanced coverage |
4. Execute Search
Run the appropriate search command:
# For conceptual queries
agent-brain query "how does authentication work" --mode hybrid
# For exact terms
agent-brain query "AuthenticationError" --mode bm25
# For semantic exploration
agent-brain query "security best practices" --mode vector
5. Present Results with Citations
Format results with clear source attribution:
Based on my search, I found relevant information in:
docs/auth/oauth-guide.md - OAuth implementation details src/auth/client.py - Authentication client code
[Include relevant excerpts with citations]
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.
- 2d ago First seen · 325 lines · 15 tokens per session scan A 888e9629b59b
search-assistant is an agent published in the GitHub repository SpillwaveSolutions/agent-brain (117 stars, last pushed 3d ago), licensed MIT. It adds 15 tokens to every session and 2,029 once invoked, about $0.0001 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 agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.