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/prakrititz/relaybrain/agents-mdgit clone --depth 1 https://github.com/prakrititz/relayBrainWhat 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.00598 | $0.00598 |
| Opus 5 | $0.00299 | $0.00299 |
| Sonnet 5 | $0.00120 | $0.00120 |
| Haiku 4.5 | $0.00060 | $0.00060 |
Grade A, and why
relayBrain 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 3d 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.
This is a copy
100% identical to relayBrain copilot-instructions.md — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 36 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Relay (auto-installed)
This project uses Relay for cross-agent memory. Do not ask the user to configure agent files manually.
Every session — read first: .relay/AGENT_BOOTSTRAP.md
| Phase | Action |
|---|---|
| Session start | Read .relay/relay_context.md (handoff). Never paste raw transcripts. |
| After agent work | You update .relay/*.md from compile_brief.md (stop hook triggers this) |
| Background sync | relay watch . keeps memory.json + compile_brief.md fresh |
| Not installed? | Run relay add . or relay init in project root |
Stop hooks: Cursor, Claude Code, Codex, Copilot CLI, Antigravity — installed by relay add / relay init.
Relay MCP: relay_room_brief, locks, chat history — installed into each agent's MCP config by relay add.
Relay pseudo-commands (user chat)
These are not built-in slash commands. They are a project convention — phrases the user types so agents recognize Relay intent.
When the user sends any of these phrases (with or without a leading /), treat them as Relay instructions — not casual chat:
| User says | You do |
|---|---|
/relay update or relay update |
relay sync . → relay compile . → read .relay/compile_brief.md → update .relay/project.md, current_task.md, decisions.md, failures.md → relay context . → confirm "Relay updated." |
/relay context or relay context |
Read .relay/relay_context.md (run relay context . first if stale). Summarize handoff briefly. |
/relay ask or relay ask |
Call Relay MCP tool relay_room_brief (MCP server relay). Required on Cursor, Claude Code, Codex, Copilot CLI, and Antigravity — not a terminal command for the human. Summarize teammate chat, code edits, locks, and file-sync notes. Tell the user before you edit shared files. If relay MCP is missing, say so and suggest relay add . + agent restart (do not ask the user to run relay ask). |
/relay init or relay init |
Run relay init in project root if .relay/ missing; else confirm already installed. |
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.
- 3d ago First seen · 36 lines · 598 tokens per session scan A 1b5a4028a8ce
relayBrain AGENTS.md is an instructions file published in the GitHub repository prakrititz/relayBrain (31 stars, last pushed 3d ago), licensed MIT. It adds 598 tokens to every session, about $0.0030 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to relayBrain copilot-instructions.md, differing in 1 line, and is treated as a copy.
Other instructions, from other repositories
deer-flow copilot-instructions.md
Copilot instructions for bytedance/deer-flow, covering copilot onboarding instructions for deerflow, 1) repository summary, 2) runtime and toolchain requirements, 3) build/test/lint/run - verified command sequences and a. bootstrap and install.
deer-flow CLAUDE.md
Claude Code instructions for bytedance/deer-flow: The repo's agent guidance lives in AGENTS.md so it is shared across coding agents (Claude Code, Codex, and others). Claude Code imports it below.
nexent AGENTS.md
AGENTS.md instructions for ModelEngine-Group/nexent, covering agents, available skills, project overview, developer commands and backend (python 3.11).
zypher-agent CLAUDE.md
Instructions for corespeed-io/zypher-agent, covering claude.md, development commands, code quality, architecture overview and monorepo structure.
agent-skills AGENTS.md
AGENTS.md instructions for tech-leads-club/agent-skills, covering agents.md, workflow orchestration, 1. plan mode default, 2. subagent strategy and 3. verification before done.
agent-graph AGENTS.md
AGENTS.md instructions for keta1930/agent-graph, covering commands, architecture, git conventions and test and format infrastructure.