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.
curl -O https://raw.githubusercontent.com/LuRenJiasWorld/Claude-Code-Mailer/main/CLAUDE.mdgit clone --depth 1 https://github.com/LuRenJiasWorld/Claude-Code-MailerWrote 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.
[](https://agentmods.dev/instructions/lurenjiasworld/claude-code-mailer/claude-md)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 中的语言检测逻辑
- 更新相关文档中的语言列表
- 测试新语言功能
新语言添加流程
如需添加新语言支持:
- 创建新的模板文件
config/templates.[语言代码].yaml - 复制现有模板结构并翻译内容
- 更新
src/mailer.js中的语言支持 - 更新
.env.template中的语言选项说明 - 更新
README.md和README.zh.md - 更新所有相关文档中的语言列表
文件结构参考
config/
├── templates.zh-CN.yaml # 简体中文模板
├── templates.zh-HK.yaml # 繁体中文模板
├── templates.en.yaml # 英文模板
README.md # 英文文档
README.zh.md # 中文文档
.env.template # 多语言配置模板
自动化提醒
- 每次修改模板时,检查所有语言版本
- 每次更新文档时,确保中英文版本同步
- 每次添加新功能时,考虑所有语言的支持
- 使用
node bin/cli.js test测试所有语言模板
常见错误避免
- ❌ 只更新英文文档,忘记更新中文文档
- ❌ 只修改简体中文模板,忘记繁体中文和英文模板
- ❌ 添加新功能时,没有更新所有语言版本
- ❌ 修改配置说明时,没有同步到所有文档
质量检查
提交代码前,请运行:
# 测试所有功能
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
发布流程
- 版本管理 - 自动更新 package.json 版本号
- Git 操作 - 自动提交更改并创建 Git tag
- 推送远程 - 推送代码和 tag 到远程仓库
- 自动发布 - GitHub Actions 自动发布到 npm
- Release 创建 - GitHub Actions 自动创建 GitHub Release
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.
- 8d ago First seen · 265 lines · 2,047 tokens per session scan A bb594cdce9d5
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.
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.
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.
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).
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).
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.
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.