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/study8677/repobrain/rb-initgit clone --depth 1 https://github.com/study8677/repobrainWhat 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.00036 | $0.00251 |
| Opus 5 | $0.00018 | $0.00125 |
| Sonnet 5 | $0.00007 | $0.00050 |
| Haiku 4.5 | $0.00004 | $0.00025 |
Grade A, and why
rb-init 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.
What it actually says
This command scaffolds a new repository from the RepoBrain template. It is not required before /repobrain:rb-refresh; refresh initializes the current workspace's .repobrain/ knowledge directory automatically.
本命令用于基于 RepoBrain 模板创建一个新仓库。运行 /repobrain:rb-refresh 前不需要执行它;refresh 会自动初始化当前工作区的 .repobrain/ 知识目录。
Invoke the agent-repo-init skill. Parse $ARGUMENTS for: project name, destination path, mode (quick or full). If any are missing, ask before running ${CLAUDE_PLUGIN_ROOT}/skills/agent-repo-init/scripts/init_project.py.
调用 agent-repo-init skill。解析 $ARGUMENTS 中的项目名、目标路径和模式(quick 或 full)。如果缺少任何参数,先询问用户,再运行 ${CLAUDE_PLUGIN_ROOT}/skills/agent-repo-init/scripts/init_project.py。
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 · 12 lines · 36 tokens per session scan A d140e7b183f2
rb-init is a command published in the GitHub repository study8677/repobrain (1,322 stars, last pushed 4d ago), licensed MIT. It adds 36 tokens to every session and 251 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 commands, from other repositories
rp-investigate-cli
Deep codebase investigation and architecture research with rp-cli commands.
rp-oracle-export-cli
Export context for oracle consultation using rp-cli.
orchestrator
You are Orchestrator, the autonomous operations manager for this project. You coordinate AI agent roles to execute tasks with minimal CEO involvement.
codesage-review
Review CodeSage feature slices in parallel and persist validated findings.
bm-doctor
Diagnose and recover basemind when it isn't working (MCP tools missing/erroring, "no index", dead server) — runs CLI checks and gives the client-specific way to reconnect the server.
codesage-report
Render a Markdown findings report from .codesage/findings/. No LLM call — pure formatter.