html-mail-builder

html-mail-builder is a skill for Claude Code, Codex from serejaris/kimi-skills. It costs 102 tokens per session (2,034 once invoked), scanned A, original, MIT.

A generator for HTML email templates that work across Gmail, Outlook, Apple Mail, and other common email clients.

In plain words
What is it for?
Use it to create welcome, promotional, password-reset, notification, and order-confirmation emails from a structured configuration.
Why use it?
It helps avoid layout differences between email apps by using table-based structure, inline CSS, and mobile-responsive design.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create welcome, promotional, password-reset, notification, and order-confirmation emails from a structured configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/serejaris/kimi-skills/html-mail-builder
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.

Any agent
npx skills add serejaris/kimi-skills --skill html-mail-builder
Clone the repo
git clone --depth 1 https://github.com/serejaris/kimi-skills

Made for: Claude Code, Codex.

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 html-mail-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/serejaris/kimi-skills/html-mail-builder/github.svg)](https://agentmods.dev/skills/serejaris/kimi-skills/html-mail-builder)
Your own site
<a href="https://agentmods.dev/skills/serejaris/kimi-skills/html-mail-builder"><img src="https://agentmods.dev/badge/skills/serejaris/kimi-skills/html-mail-builder/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 html-mail-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/serejaris/kimi-skills/html-mail-builder"><img src="https://agentmods.dev/badge/skills/serejaris/kimi-skills/html-mail-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,034 The whole file, excluding the scripts and references it only reads on demand.
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.00102 $0.02034
Opus 5 $0.00051 $0.01017
Sonnet 5 $0.00020 $0.00407
Haiku 4.5 $0.00010 $0.00203

Measured 9d ago against content hash 5edccfaa41b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

html-mail-builder 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate_email_template.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/html-mail-builder/SKILL.md · 213 lines

How it starts

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

Email Template Designer

生成专业的 HTML 邮件模板,完全兼容 Gmail、Outlook、Apple Mail 等主流邮件客户端。采用 table 布局 + inline CSS 方案,确保在所有客户端中渲染一致,同时通过 media query 实现移动端响应式适配。

使用场景

  • 新用户欢迎邮件(Welcome)
  • 促销活动 / 限时折扣邮件(Promotional)
  • 密码重置 / 安全验证邮件(Password Reset)
  • 系统通知邮件(Notification)
  • 订单确认邮件(Order Confirmation)

支持的模板类型

类型 说明 典型用途
welcome 欢迎注册,含功能亮点和入门引导 新用户 Onboarding
promotional 促销活动,含商品展示和优惠码 营销推广、节日促销
password_reset 密码重置链接,简洁安全 安全类事务邮件
notification 通用通知,可自定义标题和内容 系统通知、状态更新
order_confirmation 订单确认,含商品列表和金额汇总 电商交易确认

工作流程

第一步:收集用户需求

向用户了解以下信息:

  1. 邮件类型:欢迎?促销?密码重置?通知?订单确认?
  2. 品牌信息:公司名称、主色调、Logo URL
  3. 具体内容:因模板类型不同,需要的内容字段各异(见下方详解)
  4. 语言偏好:邮件内容的语言

第二步:生成配置文件

根据用户需求,创建 JSON 配置文件并保存。不同模板类型的配置结构如下。

通用字段(所有类型共享)
{
  "template_type": "welcome",
  "theme": {
    "primary_color": "#4A90D9",
    "secondary_color": "#2C5282",
    "accent_color": "#ED8936",
    "bg_color": "#F7FAFC",
    "content_bg_color": "#FFFFFF",
    "text_color": "#2D3748",
    "muted_text_color": "#718096",
    "font_family": "Arial, Helvetica, sans-serif",
    "max_width": 600,
    "border_radius": 8
  },
  "header": {
    "logo_url": "",
    "logo_alt": "Company Logo",
    "company_name": "MyCompany"
  },
  "preheader": "显示在收件箱预览中的文本",
  "footer": {
    "company": "MyCompany Inc.",
    "address": "北京市朝阳区xxx路1号",
    "unsubscribe_url": "#",
    "support_email": "[email protected]",
    "extra_links": [
      {"text": "官网", "url": "https://example.com"}
    ]
  }
}
Welcome 模板内容字段
{
  "content": {
    "user_name": "张三",
    "greeting": "欢迎加入 MyCompany!",
    "message": "感谢你注册成为我们的用户。以下是帮助你快速上手的功能介绍。",
    "cta_text": "开始使用",
    "cta_url": "https://example.com/get-started",
    "features": [
      {"icon": "📊", "title": "数据仪表盘", "description": "实时查看关键指标"},
      {"icon": "🤝", "title": "团队协作", "description": "邀请团队成员一起工作"},
      {"icon": "🔔", "title": "智能提醒", "description": "重要事项自动通知"}
    ]
  }
}

Read the full file on GitHub · 213 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 213 lines · 102 tokens per session scan A 5edccfaa41b1

Subscribe to this mod's changes

html-mail-builder is a skill published in the GitHub repository serejaris/kimi-skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 102 tokens to every session and 2,034 once invoked, about $0.0005 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-09-03.