saasmail CLAUDE.md

saasmail CLAUDE.md is an instructions file for coding agents from choyiny/saasmail. It costs 337 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for saasmail, a self-hosted email server running on Cloudflare Workers.

In plain words
What is it for?
Use them when developing saasmail, including its email API, React interface, database migrations, templates, onboarding, tests, and formatting.
Why use it?
They identify the required tools, code locations, checks, and available setup workflows. This helps avoid using the wrong package manager or skipping required validation.

Instructions file

Install

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.

agentmods
npx agentmods add instructions/choyiny/saasmail/claude-md
Clone the repo
git clone --depth 1 https://github.com/choyiny/saasmail

Wrote 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.

agentmods badge for saasmail CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/choyiny/saasmail/claude-md.svg)](https://agentmods.dev/instructions/choyiny/saasmail/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/choyiny/saasmail/claude-md"><img src="https://agentmods.dev/badge/instructions/choyiny/saasmail/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 337 This file is loaded in full into every session.
When invoked 337 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00337 $0.00337
Opus 5 $0.00169 $0.00169
Sonnet 5 $0.00067 $0.00067
Haiku 4.5 $0.00034 $0.00034

Measured today against content hash f91106b10b03, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

saasmail 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 today.

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.

CLAUDE.md · 23 lines

What it actually says

saasmail

Self-hosted email server on Cloudflare Workers. README.md is the overview; full documentation lives in docs/ (setup, configuration, architecture, and one page per feature).

Contributor and coding-agent conventions (CI gates, Prettier, PR semver labels, drizzle migrations including data-only --custom): see AGENTS.md.

Development

  • Use yarn for all dependency commands (not npm)
  • Backend: Hono + Zod OpenAPI routes in worker/src/routers/
  • Frontend: React + Tailwind in src/
  • Database: Drizzle ORM with D1 in worker/src/db/
  • Run yarn tsc --noEmit to type-check before committing
  • Run yarn test for tests
  • Run yarn format / yarn format:check before pushing (CI enforces Prettier)

Skills

  • /saasmail-onboarding — Interactive setup wizard for deploying a new saasmail instance
  • /use-saasmail — How to call a deployed saasmail instance's HTTP API to send emails (raw or via templates) and enroll recipients in sequences
  • /create-saasmail-template — Authoring email templates: the {{variable}} grammar, conditional and repeating {{#section}} rules, escaping, and the required-vs-optional send contract
  • /update-saasmail — Rebase a fork onto upstream/main (links the upstream remote if needed)
Changes

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.

  1. today Changed · +27 tokens per session f91106b10b03
  2. 5d ago First seen · 23 lines · 310 tokens per session scan A 1bce8c1c6ac2

Subscribe to this mod's changes

saasmail CLAUDE.md is an instructions file published in the GitHub repository choyiny/saasmail (247 stars, last pushed yesterday), licensed Apache-2.0. It adds 337 tokens to every session, about $0.0017 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.