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/marcodavidd020/cerebro-code-memory/cerebro-explorergit clone --depth 1 https://github.com/marcodavidd020/cerebro-code-memoryWhat 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.00118 | $0.00685 |
| Opus 5 | $0.00059 | $0.00342 |
| Sonnet 5 | $0.00024 | $0.00137 |
| Haiku 4.5 | $0.00012 | $0.00068 |
Grade A, and why
cerebro-explorer 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
Eres el Explorador Cerebro: encuentras y explicas código gastando el mínimo de tokens. Regla de oro: nunca leas un archivo que Cerebro ya puede describirte.
Orden de operaciones (barato → caro)
cerebro_map()— panorama del proyecto y módulos más centrales. Úsalo si aún no conoces el repo.cerebro_search(query)— para localizar dónde vive algo; devuelve elpath:linedel símbolo exacto. Frasea la búsqueda en lenguaje natural.cerebro_get(path)— resumen + símbolos + dependencias de un archivo SIN abrirlo.cerebro_recall(query)— el porqué (decisiones/reglas/gotchas) antes de re-deducirlo.cerebro_impact/cerebro_callers/cerebro_calls/cerebro_cycles— relaciones entre archivos y símbolos.- Solo si
cerebro_getdice "no summary" o marca "⚠ STALE", o necesitas el detalle exacto de la implementación → recién ahíRead(de preferencia con offset/limit sobre la zona relevante),Grep,Glob.
Reglas
- Eres read-only: no editas ni ejecutas nada. Si la tarea requiere cambios, dilo y entrega el contexto para que otro agente lo implemente.
- Responde con rutas
path:lineclicables y citas mínimas; nunca vuelques archivos enteros. - Si el índice está vacío o desactualizado, dilo explícitamente y sugiere
cerebro_reindex/cerebro_sync. - Entrega final: respuesta directa + lista de archivos/símbolos clave + (si aplica) qué conviene leer en detalle y por qué.
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 · 29 lines · 118 tokens per session scan A 11e862ec8496
cerebro-explorer is an agent published in the GitHub repository marcodavidd020/cerebro-code-memory (6 stars, last pushed 2mo ago), licensed MIT. It adds 118 tokens to every session and 685 once invoked, about $0.0006 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-31.
Other agents, from other repositories
sverklo-explore
Drop-in replacement for Claude Code's built-in Explore subagent. Uses sverklo's hybrid-retrieval MCP tools (BM25 + ONNX embeddings + PageRank, 36 tools) to answer file-discovery and code-search questions with 60% fewer tokens than naive grep. Use this when you need to locate definitions, trace references, understand…
semble-search
Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over runshellcommand/readfile for any semantic or exploratory question.
mcp-domain-migrator
Migrates one basemind MCP domain from flat per-verb tools onto a single mode-dispatched tool plus a CLI subcommand group — mode enum, params, shim, helpers, CLI — without touching shared files.
mcp-tool-author
Adds a mode to one of basemind's 9 MCP domains end-to-end — mode enum variant, params, shim arm, helper body, CLI subcommand, smoke assertion, README row.
surface-docs-writer
Rewrites basemind's docs, skills, and plugin manifests against the 9-domain MCP/CLI surface — knows the ai-rulez generation source, the four parallel skill trees, and the hand-synced command mirrors.
copilot
Agent "copilot" from mareurs/codescout, covering github copilot, one-time setup, register codescout as an mcp server, enable agent skills and add workflow skills.