html-email

html-email is a skill for Claude Code from imMamdouhaboammar/get-fable. It costs 15 tokens per session (615 once invoked), scanned A, a copy of html-email, MIT.

A set of rules for building HTML email templates and newsletters that display consistently in Gmail, Outlook, Apple Mail, and other email clients. It uses email-safe HTML and inline styling instead of normal web-page features that many email apps remove.

In plain words
What is it for?
Use it to create responsive newsletters, announcements, and other self-contained marketing emails.
Why use it?
Email apps do not render web pages in the same way, so ordinary layouts, scripts, and external styles can break or disappear.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the get-fable plugin — 78 skills, 1 agent, 5 hooks shipped together

Good fit Use it to create responsive newsletters, announcements, and other self-contained marketing emails.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/immamdouhaboammar/get-fable/html-email
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 imMamdouhaboammar/get-fable --skill html-email
Clone the repo
git clone --depth 1 https://github.com/imMamdouhaboammar/get-fable

Made for: Claude Code.

Or install get-fable, the plugin that ships this one along with the rest of its 78 skills, 1 agent, 5 hooks.

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-email

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/immamdouhaboammar/get-fable/html-email"><img src="https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/html-email.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 615 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 91% copy Near-identical to another mod 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.00015 $0.00615
Opus 5 $0.00008 $0.00308
Sonnet 5 $0.00003 $0.00123
Haiku 4.5 $0.00002 $0.00061

Measured 7d ago against content hash 156a4cee8acd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

html-email 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 7d 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.

Origin

This is a copy

91% identical to html-email — 27 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

assets/skills/claude-design/html-email/SKILL.md · 54 lines

What it actually says

HTML email

Design an HTML email as ONE self-contained .html file that survives real email clients. Email rendering is not browser rendering — Gmail, Outlook, and Apple Mail each strip or mangle different things, and the rules below are what reliably survives all three. When a rule here conflicts with normal web-design instincts, the rule wins.

Layout and styling:

  • Structure with nested — no flexbox, no grid, no floats, no position. One centered wrapper table, max-width 600px, single-column flow (stacked rows beat side-by-side columns).
  • Inline EVERY style on the element it styles. A block in
  • No JavaScript anywhere (universally stripped). No external stylesheets. No web fonts — use email-safe stacks (Arial, Helvetica, Georgia, Verdana, Tahoma, 'Courier New') with generic fallbacks.
  • Build the visual design out of colored table cells, borders, spacer cells, and type — not images. There is nowhere to host project images from here: a referenced project file will not exist for recipients. If imagery is essential, leave a clearly-marked placeholder cell with alt text and tell the user to swap in a hosted https URL before sending.
  • Buttons are "bulletproof": a padded with bgcolor and inline border-radius, the filling it with display:block and inline color — never an image, never a styled .

Client quirks that matter:

  • Outlook (Word engine): give every table/cell explicit widths; set line-height with mso-line-height-rule:exactly; wrap Outlook-only fixes in conditionals.
  • Gmail clips messages beyond ~100KB of HTML — stay well under.
  • Add and pick colors that survive dark-mode inversion (avoid pure #000/#fff backgrounds; test text on mid-tone fills).

Deliverability and accessibility:

  • First element in : a hidden preheader span (~85 chars) that previews next to the subject line.
  • alt text on any image, lang on , real links (no dead # anchors), and a footer with a plausible unsubscribe line and postal address for anything marketing-shaped.

Show the design at 600px; mention in your reply that the file is send-ready HTML the user can drop into their email tool.

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. 7d ago First seen · 54 lines · 15 tokens per session scan A 156a4cee8acd

Subscribe to this mod's changes

html-email is a skill published in the GitHub repository imMamdouhaboammar/get-fable (4 stars, last pushed today), licensed MIT. It adds 15 tokens to every session and 615 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to html-email, differing in 27 lines, and is treated as a copy.

Related

Other skills, from other repositories

starting-a-new-project

Use when the workspace is empty — no code yet — and the user brings a raw idea: the brand-new branch of setting-up-a-project, normally reached via that dispatcher, directly only when the situation is unmistakable. Not for features in an existing project — use brainstorming instead.

JetBrains/thinkrail · 61 tokens

todos

This chat has a shared, live TODO plan — your tasks for the conversation, which the user also edits. Read this skill and reach for the todo tools whenever a request takes more than a couple of steps. It covers the plan model (group = task, items = its steps; loose items are the user's lane), how to work it: propose…

JetBrains/thinkrail · 127 tokens

writing-workflow-skills

Use when adding a new workflow skill to pi-thinkrail-workflow, changing an existing workflow skill's role, trigger, handoff, or structure, or checking a workflow skill against the workflow system's rules. Not for authoring general-purpose skills outside this package.

JetBrains/thinkrail · 60 tokens

brainstorming

Use this BEFORE any creative or feature work: building a new feature, adding functionality, changing behavior, or making a nontrivial design decision. Turns the user's request into a validated design — recorded as a spec-graph task-spec — before any implementation. Do not skip this because a change looks small.

JetBrains/thinkrail · 65 tokens

reviewing-changes

Use when a review package asks you to review a plan step's change set (todo.startReview): you are the REVIEWER, not the author. How to judge an agent-written diff, file findings with addreviewcomment, and settle with exactly one reviewverdict.

JetBrains/thinkrail · 59 tokens

spec-graph

The project's specs are its ground truth: durable documents describing the architecture, decisions, contracts, and boundaries behind the code, organized as a connected graph. Read this skill and reach for the spec tools FIRST — before reading code — whenever you explore the project, plan or start a task, add or change…

JetBrains/thinkrail · 97 tokens