configuring-agent-brain

configuring-agent-brain is a skill for Claude Code, Codex from SpillwaveSolutions/agent-brain. It costs 152 tokens per session (7,292 once invoked), scanned C, original, MIT.

An installation and configuration guide for Agent Brain, a document-search system that can use different providers. It covers setup for several AI coding tools and runtimes.

In plain words
What is it for?
Use it to install Agent Brain, choose a search provider, initialize a project, configure supported coding-agent runtimes, and verify the document-search setup.
Why use it?
It removes guesswork from installing packages, configuring API keys, setting up the search server, and preparing a project. It also helps check whether the setup works and troubleshoot common problems.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

Part of the agent-brain plugin — 2 skills, 30 commands, 3 agents shipped together

Good fit Use it to install Agent Brain, choose a search provider, initialize a project, configure supported coding-agent runtimes, and verify the document-search setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/spillwavesolutions/agent-brain/configuring-agent-brain
Install

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.

Any agent
npx skills add SpillwaveSolutions/agent-brain --skill configuring-agent-brain
Clone the repo
git clone --depth 1 https://github.com/SpillwaveSolutions/agent-brain

Made for: Claude Code, Codex.

Or install agent-brain, the plugin that ships this one along with the rest of its 2 skills, 30 commands, 3 agents.

Wrote 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.

agentmods badge for configuring-agent-brain

README.md
[![agentmods](https://agentmods.dev/badge/skills/spillwavesolutions/agent-brain/configuring-agent-brain/github.svg)](https://agentmods.dev/skills/spillwavesolutions/agent-brain/configuring-agent-brain)
Your own site
<a href="https://agentmods.dev/skills/spillwavesolutions/agent-brain/configuring-agent-brain"><img src="https://agentmods.dev/badge/skills/spillwavesolutions/agent-brain/configuring-agent-brain/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.

agentmods 80×15 button for configuring-agent-brain

Your own site · 80×15
<a href="https://agentmods.dev/skills/spillwavesolutions/agent-brain/configuring-agent-brain"><img src="https://agentmods.dev/badge/skills/spillwavesolutions/agent-brain/configuring-agent-brain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 152 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,292 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00152 $0.07292
Opus 5 $0.00076 $0.03646
Sonnet 5 $0.00030 $0.01458
Haiku 4.5 $0.00015 $0.00729

Measured 6d ago against content hash f14742143c69, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

configuring-agent-brain scanned grade C with 3 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 6d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

# DO NOT use sudo with pip

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

# ...or for Codex (writes ~/.codex/config.toml, TOML [mcp_servers.agent-brain])

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s https://api.openai.com/v1/models \
agent-brain-plugin/skills/configuring-agent-brain/SKILL.md · 839 lines

How it starts

The opening of the file, as written. The whole thing — 839 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Configuring Agent Brain

Installation and configuration for Agent Brain document search with pluggable providers.

Contents


Multi-Runtime Support

Agent Brain supports multiple AI coding runtimes from a single canonical plugin source:

Runtime Install Command
Claude Code agent-brain install-agent --agent claude
OpenCode agent-brain install-agent --agent opencode
Codex (+ AGENTS.md) agent-brain install-agent --agent codex
Cursor agent-brain install-agent --agent cursor
Grok Build agent-brain install-agent --agent grok
Any skill runtime agent-brain install-agent --agent skill-runtime --dir <path>

All runtimes share the same .agent-brain/ data directory for indexes, configuration, and server state. The install-agent command converts the canonical plugin format into each runtime's native format automatically.

Use --global for user-level installation, or --dry-run to preview files before writing.


Quick Setup

Option A: Local with Ollama (FREE, No API Keys)

# 1. Install packages
pip install agent-brain-rag agent-brain-cli

# 2. Install and start Ollama
brew install ollama  # macOS
ollama serve &
ollama pull nomic-embed-text
ollama pull llama3.2

# 3. Configure for Ollama
export EMBEDDING_PROVIDER=ollama
export EMBEDDING_MODEL=nomic-embed-text
export SUMMARIZATION_PROVIDER=ollama
export SUMMARIZATION_MODEL=llama3.2

# 4. Initialize and start
agent-brain init
agent-brain start
agent-brain status

Option B: Cloud Providers (Best Quality)

# 1. Install packages
pip install agent-brain-rag agent-brain-cli

# 2. Configure API keys
export OPENAI_API_KEY="sk-proj-..."       # For embeddings
export ANTHROPIC_API_KEY="sk-ant-..."     # For summarization (optional)

# 3. Initialize and start
agent-brain init
agent-brain start
agent-brain status

Read the full file on GitHub · 839 lines

Files

What ships with it

5 files 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.

Changes

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.

  1. 6d ago First seen · 839 lines · 152 tokens per session scan C f14742143c69

Subscribe to this mod's changes

configuring-agent-brain is a skill published in the GitHub repository SpillwaveSolutions/agent-brain (118 stars, last pushed 7d ago), licensed MIT. It adds 152 tokens to every session and 7,292 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it C with 3 findings (asks for root, reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

install-openviking-memory

Install and configure the OpenViking long-term memory plugin for OpenClaw via natural conversation. Once installed, the plugin automatically captures facts from chats and recalls relevant context before each reply (auto-capture + auto-recall, cross-session). Covers prerequisites, install through OpenClaw's plugin…

volcengine/OpenViking · 191 tokens

rag-knowledge

Work with the RAG knowledge base — ingest documents, run semantic search, manage collections, or add a sync source/connector (Google Drive, S3). Use when populating or debugging the knowledge base, tuning retrieval, or adding a new document source. This project uses {{ cookiecutter.vectorstore }} + {{…

vstorm-co/full-stack-ai-agent-template · 76 tokens

knowledge-graph

Compile documents, notes, web content, transcripts, research materials, or code repositories into an evidence-grounded, visualization-ready knowledge graph with semantically typed entity nodes, statement-level provenance, and typed relationship edges. Use with ov compile to create or incrementally refresh entities/.md…

volcengine/OpenViking · 101 tokens

knowledge-distillation

Compile one or more OpenViking knowledge bases or document collections into topic-organized, evidence-grounded high-level knowledge, including cross-source findings, trends, changes, drivers, comparisons, implications, and uncertainties. Use with ov compile when the user asks to distill or synthesize a knowledge base…

volcengine/OpenViking · 89 tokens

backlot

Emulate enterprise SaaS knowledge APIs — Slack, Gmail, Google Drive (with Docs, Sheets, Slides), GitHub, Jira, Confluence, Notion, Amazon S3, HubSpot, Linear, Fireflies — over a corpus you supply, then point a real client (vendor SDK, MCP server, LlamaIndex reader, fsspec, mirage) at it. Applies in ANY directory, an…

brekkylab/backlot · 192 tokens

mfs-ingest

Register, update, or re-sync data sources for MFS so they become searchable — postgres / mysql / mongo / snowflake / bigquery, github / jira / linear / notion / hubspot / zendesk, slack / discord / gmail / feishu, s3 / gdrive / web / file. Use whenever the user wants to ADD a new data source to MFS, change an existing…

zilliztech/mfs · 196 tokens