Claude-Code-Mailer: Instructions file for Claude Code

CLAUDE.md

Claude-Code-Mailer CLAUDE.md is an instructions file for Claude Code from LuRenJiasWorld/Claude-Code-Mailer. It costs 2,047 tokens per session, scanned A, original, MIT.

A set of project instructions for Claude Code Mailer, a software project that sends multilingual emails. It requires English, Simplified Chinese, and Hong Kong Traditional Chinese documentation and templates to stay aligned.

In plain words
What is it for?
Use it when changing README files, email templates, configuration settings, language support, or related mailer code.
Why use it?
It helps prevent one language version or configuration file from falling out of sync with the others. This reduces inconsistent documentation and email templates.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to LuRenJiasWorld/Claude-Code-Mailer. 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/LuRenJiasWorld/Claude-Code-Mailer/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/LuRenJiasWorld/Claude-Code-Mailer

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 Claude-Code-Mailer CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lurenjiasworld/claude-code-mailer/claude-md"><img src="https://agentmods.dev/badge/instructions/lurenjiasworld/claude-code-mailer/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,047 This file is loaded in full into every session.
When invoked 2,047 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.02047 $0.02047
Opus 5 $0.01024 $0.01024
Sonnet 5 $0.00409 $0.00409
Haiku 4.5 $0.00205 $0.00205

Measured 8d ago against content hash bb594cdce9d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

Claude-Code-Mailer 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 8d 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 · 265 lines

How it starts

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

Claude Code Mailer Project - 多语言项目管理规则

项目语言支持

本项目支持三种语言,所有修改必须同步到所有语言版本:

  • zh-CN - 简体中文
  • zh-HK - 繁体中文(香港)
  • en - English

文档同步规则

README 文件

  • README.md - 英文文档
  • README.zh.md - 中文文档
  • 两个文件内容必须保持同步,只是语言不同

模板文件同步

  • config/templates.zh-CN.yaml - 简体中文邮件模板
  • config/templates.zh-HK.yaml - 繁体中文邮件模板
  • config/templates.en.yaml - 英文邮件模板
  • 所有模板文件结构必须保持一致(相同的 events 和 variables)

配置文件同步

  • .env.template - 注释需要同时支持中英文理解
  • 确保所有语言版本的配置项一致

修改检查清单

在进行任何修改时,请按以下清单检查:

📋 文档修改

  • 更新 README.md (英文)
  • 更新 README.zh.md (中文)
  • 确保两个文档内容一致
  • 更新项目结构说明(如有新增文件)

📋 模板修改

  • 修改 templates.zh-CN.yaml
  • 修改 templates.zh-HK.yaml
  • 修改 templates.en.yaml
  • 确保所有模板结构一致
  • 测试模板渲染功能

📋 配置修改

  • 更新 .env.template
  • 更新 README 中的配置说明
  • 确保注释清晰易懂

📋 代码修改

  • 如需支持新语言,更新 mailer.js 中的语言检测逻辑
  • 更新相关文档中的语言列表
  • 测试新语言功能

新语言添加流程

如需添加新语言支持:

  1. 创建新的模板文件 config/templates.[语言代码].yaml
  2. 复制现有模板结构并翻译内容
  3. 更新 src/mailer.js 中的语言支持
  4. 更新 .env.template 中的语言选项说明
  5. 更新 README.mdREADME.zh.md
  6. 更新所有相关文档中的语言列表

文件结构参考

config/
├── templates.zh-CN.yaml  # 简体中文模板
├── templates.zh-HK.yaml  # 繁体中文模板
├── templates.en.yaml      # 英文模板

README.md                # 英文文档
README.zh.md             # 中文文档
.env.template            # 多语言配置模板

自动化提醒

  • 每次修改模板时,检查所有语言版本
  • 每次更新文档时,确保中英文版本同步
  • 每次添加新功能时,考虑所有语言的支持
  • 使用 node bin/cli.js test 测试所有语言模板

常见错误避免

  1. ❌ 只更新英文文档,忘记更新中文文档
  2. ❌ 只修改简体中文模板,忘记繁体中文和英文模板
  3. ❌ 添加新功能时,没有更新所有语言版本
  4. ❌ 修改配置说明时,没有同步到所有文档

质量检查

提交代码前,请运行:

# 测试所有功能
node bin/cli.js test

# 检查模板是否能正常加载
node bin/cli.js config

# 验证所有语言的模板文件
ls config/templates.*.yaml

版本管理和提交规范

版本发布流程

本项目使用 tag-release.sh 脚本进行版本发布,发布流程完全自动化:

发布方法
# 发布补丁版本 (1.0.0 -> 1.0.1)
./scripts/tag-release.sh patch

# 发布次版本 (1.0.0 -> 1.1.0)  
./scripts/tag-release.sh minor

# 发布主版本 (1.0.0 -> 2.0.0)
./scripts/tag-release.sh major
发布流程
  1. 版本管理 - 自动更新 package.json 版本号
  2. Git 操作 - 自动提交更改并创建 Git tag
  3. 推送远程 - 推送代码和 tag 到远程仓库
  4. 自动发布 - GitHub Actions 自动发布到 npm
  5. Release 创建 - GitHub Actions 自动创建 GitHub Release

Read the full file on GitHub · 265 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. 8d ago First seen · 265 lines · 2,047 tokens per session scan A bb594cdce9d5

Subscribe to this mod's changes

Claude-Code-Mailer CLAUDE.md is an instructions file published in the GitHub repository LuRenJiasWorld/Claude-Code-Mailer (2 stars, last pushed 4mo ago), licensed MIT. It adds 2,047 tokens to every session, about $0.0102 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-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens