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 instructions/sandeep84397/agent-brain/agents-mdgit clone --depth 1 https://github.com/sandeep84397/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/instructions/sandeep84397/agent-brain/agents-md)<a href="https://agentmods.dev/instructions/sandeep84397/agent-brain/agents-md"><img src="https://agentmods.dev/badge/instructions/sandeep84397/agent-brain/agents-md.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.00241 | $0.00241 |
| Opus 5 | $0.00120 | $0.00120 |
| Sonnet 5 | $0.00048 | $0.00048 |
| Haiku 4.5 | $0.00024 | $0.00024 |
Grade A, and why
agent-brain AGENTS.md 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.
What it actually says
AGENTS.md
Repository Expectations
- Use the installed brain venv for server commands when dependencies are not installed in the active shell:
~/.agent-brain/.venv/bin/python ~/.agent-brain/server.py <cmd>. - Run focused tests after changing setup, hooks, or compatibility helpers. For Codex compatibility, run
python3 -m unittest tests.test_codex_setup -v. - Keep setup commands idempotent. Re-running
./setup.sh --codex,./setup.sh --all, or project-link commands must not duplicate config blocks.
Agent Brain Protocol
- Before non-trivial implementation work, call
get_roadmapandpre_checkwhen theagent-brainMCP server is available. - Before editing code, call
log_decisionso the choice is stored for later sessions. - Prefer
query_sanandget_san(file_path="<absolute path>")for code exploration when SAN briefs exist; use raw reads for exact edits, non-code files, or files without SAN. - After user review or test results, call
log_outcomewhen a decision id is available.
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 · 15 lines · 241 tokens per session scan A cfa34ded3602
agent-brain AGENTS.md is an instructions file published in the GitHub repository sandeep84397/agent-brain (10 stars, last pushed 1mo ago), licensed MIT. It adds 241 tokens to every session, about $0.0012 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 instructions, from other repositories
memex AGENTS.md
Instructions for iamtouchskyer/memex, covering memex — agent working instructions, what is this, before you touch anything, how the code is layered and files you'll actually need.
gomaa AGENTS.md
Instructions for M4F-S/gomaa, covering 🧠 gomaa autonomous agent ecosystem & vps operations guide, 🌐 production vps infrastructure, 🤖 the 5-agent hermes fleet (per-agent memory databases), ⚡ quick operations cli (./scripts/vps.sh) and 2. run runtime mcp health audit across all agents.
brain-os AGENTS.md
Instructions for brainOS-HQ/brain-os, covering agents.md, context, the hard rule, tool routing (in order) and mutation safety.
brain-os copilot-instructions.md
Instructions for brainOS-HQ/brain-os, covering github copilot instructions, read this first, critical rules (also in agents.md) and known bugs (v0.4.1 fixes pending).
brain-os CLAUDE.md
Instructions for brainOS-HQ/brain-os, covering claude.md, agent instructions, build / dev, publish flow and project memory.
superlocalmemory AGENTS.md
AGENTS.md instructions for qualixar/superlocalmemory, covering gitnexus — code intelligence, always do, never do, resources and cli.