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 commands/spillwavesolutions/agent-brain/agent-brain-providersgit clone --depth 1 https://github.com/SpillwaveSolutions/agent-brainWrote 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/commands/spillwavesolutions/agent-brain/agent-brain-providers)<a href="https://agentmods.dev/commands/spillwavesolutions/agent-brain/agent-brain-providers"><img src="https://agentmods.dev/badge/commands/spillwavesolutions/agent-brain/agent-brain-providers.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.00014 | $0.01147 |
| Opus 5 | $0.00007 | $0.00574 |
| Sonnet 5 | $0.00003 | $0.00229 |
| Haiku 4.5 | $0.00001 | $0.00115 |
Grade A, and why
agent-brain-providers 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 — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Brain Providers
Purpose
Lists available providers and shows current configuration for embeddings and summarization. Use this command to understand what providers are available and which are currently active.
Usage
/agent-brain:agent-brain-providers [action]
Actions
| Action | Description |
|---|---|
list |
List all available providers (default) |
show |
Show current provider configuration |
switch |
Interactive provider switching |
Execution
List Available Providers
Show all supported embedding and summarization providers. This is a plugin-level informational command. To view the active provider configuration from the CLI, use:
agent-brain config show
Or for JSON output:
agent-brain config show --json
To find which config file is active:
agent-brain config path
Interactive Provider Switch
When action is switch, use AskUserQuestion to guide the user:
Step 1: Choose what to configure
What would you like to configure?
Options:
1. Embedding Provider - For vector/semantic search
2. Summarization Provider - For code summaries during indexing
3. Both - Configure both providers
Step 2: For embeddings, choose provider
Which embedding provider would you like to use?
Options:
1. Ollama (nomic-embed-text) - FREE, local, no API key required
2. OpenAI (text-embedding-3-large) - High quality, cloud-based
3. Cohere (embed-english-v3.0) - Multi-language support
Step 3: For summarization, choose provider
Which summarization provider would you like to use?
Options:
1. Ollama (llama3.2) - FREE, local, no API key required
2. Anthropic (claude-haiku-4-5-20251001) - High quality
3. OpenAI (gpt-5-mini) - Fast, cost-effective
4. Gemini (gemini-3-flash) - Google's model
5. Grok (grok-4) - xAI's model
Step 4: Generate configuration
Based on selections, output the configuration:
# Add to your .env file or export:
export EMBEDDING_PROVIDER=<selected>
export EMBEDDING_MODEL=<selected>
export SUMMARIZATION_PROVIDER=<selected>
export SUMMARIZATION_MODEL=<selected>
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 · 176 lines · 14 tokens per session scan A 1391972d628e
agent-brain-providers is a command published in the GitHub repository SpillwaveSolutions/agent-brain (117 stars, last pushed 4d ago), licensed MIT. It adds 14 tokens to every session and 1,147 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 commands, from other repositories
agent
Add an AI agent / RAG backend (@convex-dev/agent) to the Convex app.
rag-publish-todo-list
Command "rag-publish-todo-list" from lucky-aeon/AgentX, covering rag 发布功能 todo list, 阶段一:数据库设计和基础架构 🗄️ ✅ 已完成, 1. 数据库表创建, 2. 领域层实现 and 3. 基础领域服务.
data
Create example data in a specific domain and upload to a Weaviate collection.
ingest
Manually add knowledge to the Weaviate store.
index
Index this repository for local RAG search, then report which rung it is on — descriptions still to write, a promotion to apply, or nothing left.
rag-retrieval
RAG pipeline patterns for grounded LLM responses. Use when building a Q&A system, adding citations, implementing a knowledge base, or preventing hallucinations. Triggers on RAG, retrieval augmented, knowledge base, Q&A pipeline, citations, hybrid search, context retrieval, hallucination prevention.