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/skynetcmd/m3-memory/gemini-mdgit clone --depth 1 https://github.com/skynetcmd/m3-memoryWrote 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/skynetcmd/m3-memory/gemini-md)<a href="https://agentmods.dev/instructions/skynetcmd/m3-memory/gemini-md"><img src="https://agentmods.dev/badge/instructions/skynetcmd/m3-memory/gemini-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.00312 | $0.00312 |
| Opus 5 | $0.00156 | $0.00156 |
| Sonnet 5 | $0.00062 | $0.00062 |
| Haiku 4.5 | $0.00031 | $0.00031 |
Grade A, and why
m3-memory GEMINI.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
docs/AGENT_INSTRUCTIONS.md
Git Standards
- Commit Messages: Do NOT include "Co-Authored-By" lines in commit messages. Focus on clear, concise descriptions of "why" and "what".
- Pre-push process (MANDATORY, all agents): After cloning, run
python bin/setup_hooks.pyonce to enable the shared pre-push gate. Before any push, the tool-catalog drift check (python bin/check_tool_catalog_drift.py) and bench-data leakage scan must pass. If you changebin/mcp_tool_catalog.py, regenerate the catalog/inventory and update the "N tools" counts in the same change. Full rationale: the "Pre-push process — ALL agents" section indocs/AGENT_INSTRUCTIONS.md. This is enforced by the local hook AND CI, not just convention.
Homecoming Architecture
- Unified Root: All persistent state (databases, configs, logs, models) defaults to
~/.m3-memory/. - Environment Override: Use
M3_MEMORY_ROOTto relocate the entire system state. - Data Location:
- Databases:
~/.m3-memory/memory/*.db - Configs:
~/.m3-memory/memory/.chatlog_config.json, etc. - Security Salt:
~/.m3-memory/.agent_os_salt
- Databases:
- Migration: Use
bin/homecoming.pyto relocate legacy repo-relative state to the new home root.
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 · 312 tokens per session scan A 6a135e01c6df
m3-memory GEMINI.md is an instructions file published in the GitHub repository skynetcmd/m3-memory (23 stars, last pushed 4d ago), licensed Apache-2.0. It adds 312 tokens to every session, about $0.0016 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 instructions, from other repositories
obsidian-mind AGENTS.md
AGENTS.md instructions for breferrari/obsidian-mind, covering obsidian mind, hooks, commands, memory and reaching this vault from another repo.
Dragon-Brain CLAUDE.md
Instructions for iikarus/Dragon-Brain, covering dragon brain — claude.md, the harness, audit remediation (april–may 2026, complete 2026-05-09), the lie this audit closed and the contract that matters now.
hybridclaw CLAUDE.md
Claude Code instructions for HybridAIOne/hybridclaw: Follow AGENTS.md as the canonical repo instruction set for this repository.
powerbrain CLAUDE.md
Instructions for nuetzliches/powerbrain, covering claude.md — powerbrain context engine, project overview, architecture, directory structure and components and ports.
obsidian-llm-hub AGENTS.md
Instructions for takeshy/obsidian-llm-hub, a project described as: Obsidian plugin for AI chat, workflow automation, and semantic search — supports Gemini, OpenAI, OpenRouter, Grok, Ollama, and CLI backends.
llm-swarm-router CLAUDE.md
Claude Code instructions for matthewdcage/llm-swarm-router, covering claude code: swarm-llm and honcho memory (mcp).