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/iannuttall/mailroom/agents-mdgit clone --depth 1 https://github.com/iannuttall/mailroomWrote 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/iannuttall/mailroom/agents-md)<a href="https://agentmods.dev/instructions/iannuttall/mailroom/agents-md"><img src="https://agentmods.dev/badge/instructions/iannuttall/mailroom/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.01620 | $0.01620 |
| Opus 5 | $0.00810 | $0.00810 |
| Sonnet 5 | $0.00324 | $0.00324 |
| Haiku 4.5 | $0.00162 | $0.00162 |
Grade A, and why
mailroom 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.
How it starts
The opening of the file, as written. The whole thing — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent notes
This repository contains Mailroom, a private Cloudflare email service, global
CLI, TypeScript library, router skill, and stdio MCP server. The public
repository is iannuttall/mailroom. The public npm package is
@iannuttall/mailroom.
Read PRODUCT.md before making product-shape decisions. Read CONTENT.md
before writing user-facing copy, command help, MCP descriptions, or
documentation.
CLAUDE.md must remain a symlink to this file.
Public package contract
The repository is a monorepo internally, but users install one package.
@iannuttall/mailroom TypeScript API
@iannuttall/mailroom/mcp stdio MCP server API
bin: mailroom executable CLI
skills/mailroom router skill
prompts automation prompts
config safe example configuration
Internal workspace packages are private. Do not publish or teach
@mailroom/core, @mailroom/cli, or @mailroom/mcp.
Node 22.19 or newer is required for the public package. The runtime Workers are
configured separately under apps/.
Repository map
packages/core: schemas, operation registry, API client, parsing helpers, routing, search documents, automation configuration, and shared types.packages/cli: themailroomcommand, Keychain-backed auth, curated help, and human output.packages/mcp: a stdio MCP server exposing compact list, describe, and run tools.apps/worker: central Email Service handler, private API, D1, R2, AI Search, Telegram, and outbound mail.apps/ingress: small cross-account relay for signed inbound and outbound delivery.prompts: versioned Markdown instructions used by optional automation.config: non-secret automation examples.migrations: D1 migrations owned by the central Worker.skills/mailroom/SKILL.md: one router skill for discovery.docs/index.md: public documentation map and setup order.docs/deploy.md: central and cross-account Cloudflare deployment.docs/configuration.md: bindings, variables, secrets, and credential boundaries.docs/gmail.md: Gmail forwarding, Send As, SMTP, and Sent synchronization.docs/testing.md: phased installation acceptance tests.docs/migration.md: MX cutover and rollback.docs/troubleshooting.md: evidence-first setup diagnosis.docs/agents.md: agent and browser-assisted installation runbook.
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 · 194 lines · 1,620 tokens per session scan A eedbdeb62c2b
mailroom AGENTS.md is an instructions file published in the GitHub repository iannuttall/mailroom (15 stars, last pushed 3d ago), licensed Apache-2.0. It adds 1,620 tokens to every session, about $0.0081 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
agentteam-email AGENTS.md
Instructions for agentteamhq/agentteam-email, covering agent requirements, documentation, architecture and integration boundaries, fixes and failures and open source boundary.
agentteam-email CLAUDE.md
Instructions for agentteamhq/agentteam-email, a project described as: Open-source email infrastructure for AI agents.
agents AGENTS.md
AGENTS.md instructions for cloudflare/agents, covering agents.md, project overview, repository structure, nested agents.md files and setup.
cloudflare-workers-nextjs-saas-template AGENTS.md
AGENTS.md instructions for LubomirGeorgiev/cloudflare-workers-nextjs-saas-template, covering project context, vinext, general coding rules, control flow and comments.
email-templates CLAUDE.md
Instructions for ColorlibHQ/email-templates, covering claude.md, repository purpose, layout, commands and editing or adding a template.
claude-skills CLAUDE.md
Claude Code instructions for jezweb/claude-skills, covering claude skills, philosophy, directory structure, plugin anatomy (anthropic spec) and adding a new plugin.