mail-time CLAUDE.md

mail-time CLAUDE.md is an instructions file for coding agents from veliovgroup/mail-time. It costs 1,420 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

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/veliovgroup/mail-time/claude-md
Clone the repo
git clone --depth 1 https://github.com/veliovgroup/mail-time

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,420 This file is loaded in full into every session.
When invoked 1,420 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.01420 $0.01420
Opus 5 $0.00710 $0.00710
Sonnet 5 $0.00284 $0.00284
Haiku 4.5 $0.00142 $0.00142

Measured 4d ago against content hash 112877096dc1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

CLAUDE.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 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 · 58 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. 4d 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 22d ago), licensed BSD-3-Clause. It adds 1,420 tokens to every session, about $0.0071 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.