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.
git 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-install-agent)<a href="https://agentmods.dev/commands/spillwavesolutions/agent-brain/agent-brain-install-agent"><img src="https://agentmods.dev/badge/commands/spillwavesolutions/agent-brain/agent-brain-install-agent/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/commands/spillwavesolutions/agent-brain/agent-brain-install-agent"><img src="https://agentmods.dev/badge/commands/spillwavesolutions/agent-brain/agent-brain-install-agent.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.00031 | $0.02428 |
| Opus 5.5 | $0.00012 | $0.00971 |
| Sonnet 5.5 | $0.00006 | $0.00486 |
| Haiku 4.5 | $0.00003 | $0.00243 |
Grade B, and why
agent-brain-install-agent scanned grade B with 1 finding 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 2mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
# ...for Codex (→ ~/.codex/config.toml, TOML [mcp_servers.agent-brain]) How it starts
The opening of the file, as written. The whole thing — 262 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Brain Install Agent
Purpose
Installs Agent Brain plugin files for a specific AI coding runtime. Converts the canonical plugin format into the target runtime's native format and writes the files to the appropriate directory.
Supported runtimes:
- Claude Code — copies plugin as-is with path normalization
- OpenCode — converts tool lists to boolean objects, maps tool names to lowercase
- Codex — creates skill directories under
.codex/skills/agent-brain/and generates AGENTS.md - Cursor — Claude layout plus
.cursor-plugin/plugin.json,.cursor/rules/, and the universalplugin.json+mcp.json - Grok Build — Claude layout plus
.grok-plugin/marketplace.json(Grok loads Claude plugins with zero config) - skill-runtime — generic converter producing skill directories with SKILL.md frontmatter (requires
--dir)
Usage
agent-brain install-agent --agent <runtime> [--project|--global] [--plugin-dir <path>] [--dir <path>] [--dry-run] [--json] [--path <path>]
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
| --agent / -a | Yes | - | Target runtime: claude, opencode, codex, cursor, grok, or skill-runtime |
| --project | No | Yes | Install to project directory (default) |
| --global | No | No | Install to user-level directory |
| --plugin-dir | No | Auto-detect | Custom canonical plugin source directory |
| --dir | No* | - | Target skill directory (*required for skill-runtime) |
| --dry-run | No | No | List files without writing |
| --json | No | No | Machine-readable JSON output |
| --path / -p | No | cwd | Project path for --project scope |
Install Directories
| Runtime | Project Scope | Global Scope |
|---|---|---|
| Claude | .claude/plugins/agent-brain/ |
~/.claude/plugins/agent-brain/ |
| OpenCode | .opencode/plugins/agent-brain/ |
~/.config/opencode/plugins/agent-brain/ |
| Codex | .codex/skills/agent-brain/ |
~/.codex/skills/agent-brain/ |
| Cursor | .cursor/plugins/agent-brain/ |
~/.cursor/plugins/agent-brain/ |
| Grok Build | .grok/plugins/agent-brain/ |
~/.grok/plugins/agent-brain/ |
| skill-runtime | Requires --dir |
Requires --dir |
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.
- 2mo ago Changed · +20 lines · +9 tokens per session d3d1add055a1
- 2mo ago Changed · -1 lines db4f82c6b924
- 3mo ago First seen · 243 lines · 22 tokens per session scan B f71c182c7bc4
agent-brain-install-agent is a command published in the GitHub repository SpillwaveSolutions/agent-brain (122 stars, last pushed 2mo ago), licensed MIT. It adds 31 tokens to every session and 2,428 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
agent-brain-install-agent compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-brain-install-agentSpillwaveSolutions/agent-brain | Command | 122 | 2mo ago | MIT | B | 31 | Claude Code, Codex |
| gsd:docs-updatemrboups/xbrain | Command | 2 | 2mo ago | MIT | A | 16 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | today | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 153k | today | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 153k | today | MIT | A | 35 | Claude Code |