mail-time: Instructions file for Claude Code

CLAUDE.md

mail-time CLAUDE.md is an instructions file for Claude Code from veliovgroup/mail-time. It costs 1,558 tokens per session, scanned A, original, BSD-3-Clause.

Repository instructions for mail-time, an NPM package that queues and sends email from Node.js or Bun applications using storage systems such as MongoDB, Redis, or PostgreSQL.

In plain words
What is it for?
Changing email-queue behavior, adding storage adapters or presets, running unit tests, and checking integrations that use live databases.
Why use it?
They show where core behavior, adapters, presets, tests, and generated type definitions belong, reducing the risk of editing the wrong file or skipping integration checks.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is veliovgroup/mail-time's own configuration. It tells Claude Code how to work on mail-time 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 mail-time configures →

Reuse

Borrowing it

Nothing to install: this file belongs to veliovgroup/mail-time. 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/veliovgroup/mail-time/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/veliovgroup/mail-time

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 mail-time CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/veliovgroup/mail-time/claude-md/github.svg)](https://agentmods.dev/instructions/veliovgroup/mail-time/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/veliovgroup/mail-time/claude-md"><img src="https://agentmods.dev/badge/instructions/veliovgroup/mail-time/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 mail-time CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/veliovgroup/mail-time/claude-md"><img src="https://agentmods.dev/badge/instructions/veliovgroup/mail-time/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,558 This file is loaded in full into every session.
When invoked 1,558 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.01558 $0.01558
Opus 5.5 $0.00623 $0.00623
Sonnet 5.5 $0.00312 $0.00312
Haiku 4.5 $0.00156 $0.00156

Measured 1mo ago against content hash 02ff935758ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mail-time 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 1mo 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 · 63 lines

How it starts

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

CLAUDE.md

This file is Claude Code's working brief for the mail-time repository. It complements AGENTS.md (general agent guidelines) and skills/mail-time/SKILL.md (the distributable user-facing skill).

What this repo is

mail-time is an NPM package that queues and sends emails (via nodemailer transports) across horizontally scaled Node.js / Bun apps. It uses Mongo / Redis / Postgres (or a custom adapter) for queue storage and the josk library for cluster-aware scheduling.

Where to look first

  • Editing core behavior? → index.js. Everything else (CJS bundle, types) is regenerated from it.
  • Adding / fixing an adapter? → adapters/<store>.js plus adapters/blank-example.js as scaffold + docs/queue-api.md for the contract.
  • Tuning a preset / adding one? → presets.js. Test in test/jest/presets.test.js. The re-export from index.js is already wired.
  • Testing? → test/jest/*.test.js is the fast unit suite (no live DB). test/npm-*.js is the integration suite that needs REDIS_URL / MONGO_URL / PG_URL.
  • TS types? → JSDoc lives in index.js, presets.js, and adapters/*.js. The .d.ts is generated. To strip private members, scripts/strip-internal-dts.mjs runs as part of prepublishOnly.
  • User docs? → README.md (public), docs/{multi-instance,dedicated-mail-host,tuning,queue-api,meteor,migration-v3-v4}.md (dive-in examples), and skills/mail-time/SKILL.md (Claude-facing).
  • AI instructions and guidelines? → AGENTS.md and this file CLAUDE.md (Claude-facing).

Mental model for changes

  1. Read the JoSk skill (/josk or ~/.claude/skills/josk/) when changing scheduler-related code. MailTime is a thin layer over JoSk for an email-shaped workload — most "should this happen?" questions resolve through JoSk's contract.
  2. Public methods on MailTime and the three queues are stable contract. Internal helpers (___send, ___compileMailOpts, __getKey, etc.) are explicitly marked internal and stripped from .d.ts — they're free to change.
  3. The only runtime dep is josk. Don't add another without a written reason in the PR description.

Read the full file on GitHub · 63 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. 1mo ago Changed · +5 lines · +87 tokens per session 02ff935758ca
  2. 1mo ago Changed · +51 tokens per session 0ee8b77a109b
  3. 2mo ago First seen · 58 lines · 1,420 tokens per session scan A 112877096dc1

Subscribe to this mod's changes

mail-time CLAUDE.md is an instructions file published in the GitHub repository veliovgroup/mail-time (143 stars, last pushed 9d ago), licensed BSD-3-Clause. It adds 1,558 tokens to every session, about $0.0062 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-08-30.

Related

mail-time CLAUDE.md compared with instructions from other repositories

mail-time CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mail-time CLAUDE.mdveliovgroup/mail-timeInstructions file1439d agoBSD-3-ClauseA1,558Claude Code
plan-forge caching.instructions.mdsrnichols/plan-forgeInstructions file62d agoMITA733GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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