fastmail-cli: Instructions file for Claude Code

CLAUDE.md

fastmail-cli CLAUDE.md is an instructions file for Claude Code from radiosilence/fastmail-cli. It costs 858 tokens per session, scanned A, original, MIT.

Project instructions for fastmail-cli, a command-line program and API for Fastmail email and contacts. They describe the project's Git rules, changelog process, checks, containers, and release process.

In plain words
What is it for?
Use them when developing, testing, documenting, or releasing fastmail-cli, including preparing changelog entries and release pull requests.
Why use it?
They give an agent the repository-specific rules needed to make changes without editing generated files, pushing to protected branches, or bypassing the release workflow.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is radiosilence/fastmail-cli's own configuration. It tells Claude Code how to work on fastmail-cli itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fastmail-cli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to radiosilence/fastmail-cli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/radiosilence/fastmail-cli/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/radiosilence/fastmail-cli

Made for: Claude Code.

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 fastmail-cli CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/radiosilence/fastmail-cli/claude-md/github.svg)](https://agentmods.dev/instructions/radiosilence/fastmail-cli/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/radiosilence/fastmail-cli/claude-md"><img src="https://agentmods.dev/badge/instructions/radiosilence/fastmail-cli/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fastmail-cli CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/radiosilence/fastmail-cli/claude-md"><img src="https://agentmods.dev/badge/instructions/radiosilence/fastmail-cli/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 858 This file is loaded in full into every session.
When invoked 858 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00858 $0.00858
Opus 5.5 $0.00343 $0.00343
Sonnet 5.5 $0.00172 $0.00172
Haiku 4.5 $0.00086 $0.00086

Measured 6d ago against content hash fd9444437ede, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fastmail-cli 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 6d 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.

CLAUDE.md · 31 lines

How it starts

The opening of the file, as written. The whole thing — 31 lines — stays where its author put it; the contents beside it link to each section on GitHub.

fastmail-cli

A CLI for Fastmail over JMAP (email) and CardDAV (contacts), installed as the fastmail binary, which also serves a GraphQL API as an MCP server over stdio or HTTP. It ships as release tarballs for Linux (x86_64 and aarch64) and Apple silicon macOS, and as a multi-arch container image on GHCR, which the MCP gateway runs as a backend and an updater tracks by its GitHub releases.

Git

  • Work in PRs; never push to main. PRs are squashed; merge main into a branch rather than rebasing.
  • Never push tags. CI tags and publishes when a release PR merges.
  • Commits are signed.

Changelog

CHANGELOG.md is generated by scripts/changelog.py and never edited by hand. Every change adds one fragment under changelog.d/unreleased/<section>/, named <pr>-<slug>.md and holding one - **Lead.** Detail. entry; to correct a note, edit its fragment. just changelog --stdout previews the result. The format is in changelog.d/README.md.

Releasing

just release patch|minor|major (or an exact X.Y.Z) branches from main, bumps Cargo.toml and Cargo.lock, turns the unreleased fragments into the version and opens the release PR; the Release workflow does the same from GitHub. Merging it is the release: CD pushes the vX.Y.Z, vX.Y, vX and latest image tags, then creates the GitHub release with the binaries and the changelog section as notes. The image goes first because consumers poll releases and would pin a version with no image behind it. A push releases only when it changes the version; gh workflow run ci-cd.yml on main retries a release that failed part way.

CI/CD

.github/workflows/ci-cd.yml is one pipeline: CI checks the change and ends in the Checks job, which is the only status the ruleset requires; CD runs on main after Checks passes and ships what CI built. The changes job decides from the diff which domains a change touches, and each CI job runs only for its domain, so a skipped job is expected and passes Checks (a failed or cancelled one fails it). The domains are rust (src/, tests/, templates/, the Cargo files; runs Check), docker (the Linux release binaries and the image: on a pull request when Dockerfile changes, on main whenever rust does, since CD ships them), changelog and workflows (.github/workflows/, .github/actions/; runs actionlint). Changes under .github/, a release, a manual run and the twice-weekly cache-warming schedule run every domain. A pull request diffs against its base; a push to main against the last main commit whose run passed, and runs everything when that commit cannot be found. To add a domain, add an output and its path allowlist to changes, gate the new job on it with a job-level if:, and add the job to the needs of Checks; a new top-level source directory is invisible until it is in an allowlist.

Read the full file on GitHub · 31 lines

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. 6d ago Changed · +4 tokens per session fd9444437ede
  2. 14d ago Changed · +23 tokens per session 0cfb6622e7dd
  3. 16d ago Changed · +6 lines · +401 tokens per session 4afa22d497c6
  4. 19d ago First seen · 25 lines · 430 tokens per session scan A 8d826ab5b81f

Subscribe to this mod's changes

fastmail-cli CLAUDE.md is an instructions file published in the GitHub repository radiosilence/fastmail-cli (80 stars, last pushed 3d ago), licensed MIT. It adds 858 tokens to every session, about $0.0034 per session on Opus 5.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-10-19.

Related

fastmail-cli CLAUDE.md compared with instructions from other repositories

fastmail-cli CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fastmail-cli CLAUDE.mdradiosilence/fastmail-cliInstructions file803d agoMITA858Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode