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/totooss/relaycore/claude-mdgit clone --depth 1 https://github.com/totooss/relaycoreWrote 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/totooss/relaycore/claude-md)<a href="https://agentmods.dev/instructions/totooss/relaycore/claude-md"><img src="https://agentmods.dev/badge/instructions/totooss/relaycore/claude-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.00634 | $0.00634 |
| Opus 5 | $0.00317 | $0.00317 |
| Sonnet 5 | $0.00127 | $0.00127 |
| Haiku 4.5 | $0.00063 | $0.00063 |
Grade A, and why
relaycore CLAUDE.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.
How it starts
The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RelayCore Runtime Contract For Claude
Claude should use RelayCore as the durable memory backend for this repository.
RULES.md is the versioned editorial source for durable methodology and runtime rules. Sync it into RelayCore with relaycore sync-rules --rules-file RULES.md whenever the file changes.
Hard Rules
- Native Claude memory is not the project memory system.
- Do not assume built-in memory will be available in future sessions.
- Do not treat prior chat recall as an acceptable substitute for RelayCore.
- Any project decision that should survive the current session must be written to RelayCore.
Minimum Task Sequence
memory_auto_prepare- if unavailable, fall back to
memory_begin_taskandmemory_context - short preflight describing the loaded relevant rules, decisions, lessons, and rejected paths
- work
memory_addormemory_proposefor durable outcomesmemory_commit_task
What Must Go To RelayCore
- accepted decisions
- rejected options and reasons
- reusable rules
- lessons learned
- task progress that another runtime may need
- artifact references that matter later
What Does Not Need Durable Storage
- ephemeral chain-of-thought
- transient drafting text
- one-off exploration that does not affect future work
- formatting chatter that has no project value
Retrieval Guidance
- Prefer
memory_contextwith a bounded token budget. - Prefer
memory_auto_preparefor startup bootstrap andmemory_contextfor bounded follow-up retrieval. - Prefer compact summaries over dumping full historical transcripts.
- Read active decisions, rules, lessons, and relevant rejected knowledge before making new decisions.
- If
RULES.mdchanges, sync it into RelayCore before considering the rule change complete. - If the task involves planning, design, implementation, automation, or refactoring, preflight should explicitly verify whether the external-reference baseline rule applies.
Mission Control Boundary
- Treat Mission Control command publishing as a manual operator override path.
- Default to agent-driven command publication during normal runtime collaboration.
- Use the web UI command form only for fallback dispatch, debugging, or session seeding.
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 · 69 lines · 634 tokens per session scan A 547c1be05e6e
relaycore CLAUDE.md is an instructions file published in the GitHub repository totooss/relaycore (1 stars, last pushed 1mo ago), licensed MIT. It adds 634 tokens to every session, about $0.0032 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
LaPis AGENTS.md
Instructions for GeneGulanesJr/LaPis, covering protocols, 1. code & doc retrieval — use memory-code / memory-doc, 2. persistent memory — automatic, when to use the tools and content format.
rekal CLAUDE.md
Instructions for janbjorge/rekal, a project described as: Long-term memory for LLMs. MCP server backed by hybrid search in a single SQLite file.
claude-memory-mcp AGENTS.md
Instructions for WhenMoon-afk/claude-memory-mcp, covering mooncite repository contract, product boundary, fixed architecture, sources of truth and change discipline.
palaia AGENTS.md
AGENTS.md instructions for byte5ai/palaia, covering agent instructions, git workflow, pull requests, project and pre-push hook.
state-memory-mcp copilot-instructions.md
Instructions for putervision/state-memory-mcp, covering state memory (state-memory-mcp), 1. priority order, 2. when to write to the graph, 3. workflow pattern and 4. codebase seeding on initialization.
palaia CLAUDE.md
Claude Code instructions for byte5ai/palaia: All agent rules for this repository live in AGENTS.md — git workflow, the strict v2/v3 track separation, v3 project conventions, and PR requirements.