Agent skill

Email Write

by AgriciDaniel in AgriciDaniel/claude-email

Compose high-converting emails using proven copy frameworks (PAS, AIDA, BAB, FAB, 4Ps).

MITAuto-check passedWriting & Content

Install Email Write

skills CLI
$ npx skills add AgriciDaniel/claude-email --skill email-write -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AgriciDaniel/claude-email email-write --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AgriciDaniel/claude-email.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/email-write .claude/skills/email-write && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
email-write
GitHub stars
128
Token cost
~2.8k tokens
SKILL.md length
819 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Compose high-converting emails using proven copy frameworks (PAS, AIDA, BAB, FAB, 4Ps).

  • Works in 8 steps: Gather Context → Select Copy Framework → Generate Subject Lines → …
  • Tasks that involve Newsletters
  • SKILL.md covers Purpose, Activation and Workflow
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Email Write is an agent skill from AgriciDaniel/claude-email. Compose high-converting emails using proven copy frameworks (PAS, AIDA, BAB, FAB, 4Ps). Generates subject line variants with scores, responsive HTML templates with dark mode support, plain-text fallback, and preheader recommendations. Optimized for cold outreach, newsletters, product launches, promotions, and transactional emails. Adapts to user context from email-profile.md.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Writing & Content, covering Newsletters, Product launch strategy and Cold outreach. The repository describes itself as: AI-powered email management and marketing skill for Claude Code. Inbox triage, composition, quality review, deliverability audit, automation sequences, and marketing strategy. The licence is MIT.

When your agent uses it

  • Tasks that involve Newsletters
  • Tasks that involve Product launch strategy
  • Tasks that involve Cold outreach

Example prompts

  • “/email-write”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Grep, Glob

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Gather Context
  2. Select Copy Framework
  3. Generate Subject Lines
  4. Write Preheader Text
  5. Compose Email Body
  6. Generate HTML Version
  7. Generate Plain-Text Version
  8. Output Format

What it can do on your machine

Read from SKILL.md and the folder at commit 182270a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are html and markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Email Write loads about 2.8k tokens when it runs. Until then it costs about 98 tokens; SKILL.md has 819 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~98
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from AgriciDaniel/claude-email at commit 182270a, republished under its MIT licence (© AgriciDaniel). 819 words, ~2,812 tokens.

Download SKILL.mdSave it as .claude/skills/email-write/SKILL.md (or your agent's skills folder).
name
email-write
description
Compose high-converting emails using proven copy frameworks (PAS, AIDA, BAB, FAB, 4Ps). Generates subject line variants with scores, responsive HTML templates with dark mode support, plain-text fallback, and preheader recommendations. Optimized for cold outreach, newsletters, product launches, promotions, and transactional emails. Adapts to user context from email-profile.md.
allowed-tools
Read, Write, Grep, Glob
user-invocable
false

Email Write Sub-Skill

Purpose

Generate professional, high-converting email copy using proven copywriting frameworks. Produces subject line variants with scoring, responsive HTML templates with dark mode support, plain-text fallback, and preheader recommendations.

Activation

This sub-skill is invoked by the main /email skill when the user needs to compose a new email.

Workflow

1. Gather Context

First, check if email-profile.md exists in the project directory. If yes, load business type, tone preferences, and target audience from the profile.

If no profile exists or user provides new context, ask for:

  • Email Purpose: cold outreach, newsletter, product launch, promotional, re-engagement, welcome, feature announcement, etc.
  • Recipient: name, role, relationship (new lead, existing customer, subscriber, team member)
  • Tone: professional, friendly, casual, authoritative, empathetic, enthusiastic
  • Business Type: (from profile or ask) SaaS, e-commerce, service business, agency, creator, B2B, B2C
  • Key Message: what action should the recipient take?
  • Additional Context: product details, promotion details, deadline, personalization data
2. Select Copy Framework

Based on the email purpose, choose the appropriate framework from references/copy-frameworks.md:

Email PurposeRecommended FrameworkWhy
Cold outreachPASEmpathy-driven, addresses pain points
Product launchAIDABuilds excitement, drives action
NewsletterBAB or AIDAAspirational or engaging storytelling
Feature announcementFABClear value proposition for features
Promotional/saleAIDACreates desire and urgency
Re-engagementPASIdentifies problem of disengagement
Welcome emailBABShows transformation journey
Case study4PsProof-heavy, testimonial-driven
Review requestPASEmpathetic ask for feedback
Appointment reminderDirectNo framework needed

If uncertain, default to AIDA for marketing emails or PAS for relationship emails.

3. Generate Subject Lines

Create 3 subject line variants using these strategies:

  1. Curiosity-Driven: Creates intrigue, open loop, question, teaser
  2. Benefit-Driven: Clear value proposition, outcome, result
  3. Urgency-Driven: Time-sensitive, scarcity, FOMO (but not spammy)

Subject Line Rules:

  • Optimal length: 6-10 words / 30-50 characters
  • Never use ALL CAPS
  • Maximum 1 exclamation mark per subject line
  • Avoid spam triggers: "FREE!!!", "Act Now", "Limited Time Only", "Guaranteed", "Cash", "No obligation"
  • Include personalization where possible (beyond first name: behavior, location, purchase history)
  • Use power words: exclusive, secret, insider, proven, breakthrough, transform, discover

Scoring Methodology (0-100):

CriteriaWeightScoring
Length20100 if 30-50 chars, -10 per 5 chars over/under
Power Words20+20 per power word (max 2)
Personalization25+25 if personalized beyond first name
Spam Triggers-50-50 if contains spam word
Clarity20100 if benefit/topic is clear
Curiosity15+15 if creates open loop

Minimum passing score: 70

4. Write Preheader Text

Generate preheader recommendation (30-80 characters):

  • Must complement (not repeat) the subject line
  • Include secondary value proposition or CTA preview
  • Avoid generic text like "View this email in your browser"

Example:

  • Subject: "Your personalized SEO roadmap is ready"
  • Preheader: "3 quick wins to boost your rankings this week"
Show full SKILL.md (371 more words)Show less
5. Compose Email Body

Apply the chosen framework structure. Load full framework details from references/copy-frameworks.md before writing.

General Email Writing Rules:

  • Opening: Hook in first sentence, address recipient by name if available
  • Body: Use short paragraphs (2-3 sentences max), bullet points for scannability
  • Tone: Match requested tone from profile or user input
  • Personalization: Use merge tags like {{firstName}}, {{company}}, {{productName}}
  • CTA: One primary CTA, clear and action-oriented ("Get Your Free Audit", "Claim Your Spot", "Start Your Trial")
  • Social Proof: Include if available (testimonial, stat, case study result)
  • Signature: Professional sign-off with name, title, company

Framework-Specific Structure:

Load the full structure from references/copy-frameworks.md and apply. Each framework has:

  • Section breakdown (e.g., PAS: Problem → Agitate → Solve)
  • Transition phrases
  • Example templates
6. Generate HTML Version

Create a responsive, dark-mode compatible HTML email using these specifications:

HTML Template Structure:

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="color-scheme" content="light dark">
  <meta name="supported-color-schemes" content="light dark">
  <title>{{emailSubject}}</title>
  <style>
    /* Inline critical CSS */
    body { margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; }
    table { border-collapse: collapse; }
    .email-container { max-width: 600px; margin: 0 auto; }
    .body-text { font-size: 16px; line-height: 1.6; color: #333333; }
    .cta-button {
      display: inline-block;
      padding: 14px 28px;
      background-color: #0066cc;
      color: #ffffff;
      text-decoration: none;
      border-radius: 4px;
      font-weight: bold;
      min-height: 44px;
      min-width: 44px;
    }

    /* Dark mode styles */
    @media (prefers-color-scheme: dark) {
      body { background-color: #1a1a1a !important; }
      .body-text { color: #e0e0e0 !important; }
      .email-container { background-color: #2a2a2a !important; }
    }

    /* Mobile responsive */
    @media only screen and (max-width: 600px) {
      .body-text { font-size: 14px !important; }
      .headline { font-size: 22px !important; }
      .cta-button { display: block !important; width: 100% !important; }
    }
  </style>
</head>
<body>
  <!-- Email content goes here -->
</body>
</html>

HTML Rules:

  • Use table-based layout (not CSS Grid/Flexbox for email client compatibility)
  • Max width: 600px
  • Inline critical CSS (some clients strip <style> tags)
  • Web-safe fonts with fallbacks: Arial, Helvetica, Georgia, Times New Roman
  • Minimum 14px body text, 22px headlines on mobile
  • CTA button: minimum 44x44px touch target, high contrast ratio (4.5:1)
  • Include color-scheme: light dark meta tag
  • Dark mode CSS using @media (prefers-color-scheme: dark)
  • Alt text on all images (describe content, not "image" or "photo")
  • Always include plain-text MIME part for accessibility

CTA Button Best Practices:

  • One primary CTA per email (secondary CTAs okay as text links)
  • Use <a> tag with role="button" for accessibility
  • Padding: 14px vertical, 28px horizontal minimum
  • Background color with 4.5:1 contrast ratio against text
  • Include fallback for dark mode (lighter background or inverted colors)
7. Generate Plain-Text Version

Create a plain-text fallback with:

  • No HTML tags
  • Line breaks for readability (max 70 characters per line)
  • CTA as full URL on separate line
  • Signature block with contact info
8. Output Format

Present the final email composition in this structure:

markdown
## Email Composition

**Framework**: [chosen framework name]
**Purpose**: [email purpose]
**Tone**: [tone]
**Recipient Type**: [recipient type]

---

### Subject Line Options

| # | Subject | Score | Type | Notes |
|---|---------|-------|------|-------|
| 1 | [subject line 1] | 87 | Curiosity | [why this works] |
| 2 | [subject line 2] | 82 | Benefit | [why this works] |
| 3 | [subject line 3] | 79 | Urgency | [why this works] |

**Recommended**: #1 (highest score)

**Preheader Text**: [30-80 char preheader recommendation]

---

### Email Body (Plain Text)

[Full email body using framework structure]

[Include merge tags like {{firstName}}, {{company}}]

[CTA]

[Signature]

---

### HTML Version

```html
[Complete HTML email code with inline CSS, dark mode support, responsive design]

Plain Text Version
[Plain text fallback with line breaks, CTA as full URL]

Email Metadata
  • Word Count: [body word count]
  • Reading Time: [estimated reading time]
  • Character Count (with spaces): [count]
  • CTA Count: [number of CTAs]

Next Steps
  • Review and edit copy
  • Choose subject line variant
  • Test HTML rendering in email client preview tool
  • Send as draft via MCP (if available) or copy to email platform
  • A/B test subject lines if sending to large list

## Quality Gates

Before delivering the email, verify:

1. **Subject line scores**: At least one variant scores 70+
2. **Preheader length**: 30-80 characters
3. **Framework alignment**: Body follows chosen framework structure
4. **CTA clarity**: Primary CTA is clear and action-oriented
5. **Mobile readability**: Paragraphs are 2-3 sentences max
6. **HTML validity**: Table-based layout, inline CSS, dark mode support
7. **Accessibility**: Alt text on images, plain-text fallback included
8. **Spam check**: No spam trigger words in subject or body
9. **Personalization**: Merge tags used where appropriate
10. **Tone match**: Email tone matches requested tone from profile

If any gate fails, revise before output.

## Error Handling

- If `references/copy-frameworks.md` is missing, warn user and use basic AIDA structure
- If `email-profile.md` is missing, prompt user for context (don't fail)
- If subject line scores are all below 70, generate new variants
- If HTML template fails validation, fall back to plain-text only and warn user

## Resources

- `references/copy-frameworks.md` - Full framework structures and examples
- `email-profile.md` - User's business context and preferences (optional)

## Example Invocation

User: "Write a cold outreach email to a SaaS founder about my SEO audit service"

Agent:
1. Loads email-profile.md (if exists)
2. Selects PAS framework (cold outreach)
3. Generates 3 subject line variants with scores
4. Writes email body following PAS structure
5. Creates HTML template with dark mode
6. Creates plain-text fallback
7. Outputs full email composition with metadata and next steps

## Notes

- This sub-skill focuses on composition only (no sending/scheduling)
- For sending emails, use `email-send` sub-skill or MCP email tools
- For A/B testing, generate multiple variants using different frameworks
- Always adapt tone and complexity to recipient type (B2B vs B2C, technical vs non-technical)

© AgriciDaniel, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/email-write of AgriciDaniel/claude-email.

Open the folder on GitHubat commit 182270a

Compare with similar skills

Email Write next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Email Write compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Email Write this skillAgriciDaniel/claude-email128—~2.8kAutomated safety check: PassMIT
Public RelationsCesarjoquin/Marketing-Skills199—~1.8kAutomated safety check: PassMIT
49 HTML Email Template Globalminhnv0807/ai-business-skills608—~2.6kAutomated safety check: PassMIT
Email ManagerLeoYeAI/openclaw-master-skills2.2k—~5.5kAutomated safety check: PassMIT
Templatical Email Templatestemplatical/sdk520—~870Automated safety check: PassMIT
Publishingdanjdewhurst/story-skills2751 repos~3.7kAutomated safety check: PassMIT

Similar skills

  • Public Relations

    Cesarjoquin/Marketing-Skills

    When the user wants help with public relations, earned media, press coverage, journalist outreach, or media strategy (not pull requests).

    199 GitHub stars~1.8k tokensUpdated 23 days ago
    Writing & ContentAuto-check passed
  • 49 HTML Email Template Global

    minhnv0807/ai-business-skills

    A skill your agent uses when responsive HTML email has to render correctly in every client — table-based structure, inline CSS, 600px max width, dark mode handling, quirks for Gmail, Apple Mail…

    608 GitHub stars~2.6k tokensUpdated 25 days ago
    Frontend & DesignAuto-check passed
  • Email Manager

    LeoYeAI/openclaw-master-skills

    When user asks to write email, draft reply, manage inbox, email template, follow up email, cold email, professional email, email subject line, thank you email, apology email, meeting request email…

    2.2k GitHub stars~5.5k tokensUpdated 2 mo ago
    Writing & ContentAuto-check passed
  • Authors, edits, validates and previews Templatical email template JSON and helps integrate the @templatical/editor SDK into an application.

    520 GitHub stars~870 tokensUpdated today
    Writing & ContentAuto-check passed
  • Publishing

    danjdewhurst/story-skills

    This skill should be used when the user asks to "self-publish", "publish my book", "ISBN", "copyright page", "book metadata", "BISAC", "keywords", "KDP", "IngramSpark", "Draft2Digital", "go wide"…

    275 GitHub starsUsed in 1 repo~3.7k tokens
    Writing & ContentAuto-check passed
  • Press Media Relations

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "build a media list for my launch", "write a launch press release", or "pitch press under embargo"; produces a three-tier media and analyst list (Tier 1…

    2.9k GitHub stars~3.1k tokensUpdated today
    Writing & ContentAuto-check passed

More from AgriciDaniel/claude-email

  • Email Plan

    AgriciDaniel/claude-email

    Generate comprehensive email marketing strategy with 90-day implementation roadmap.

    128 GitHub stars~4.3k tokensUpdated 4 mo ago
    Auto-check passed
  • Email Audit

    AgriciDaniel/claude-email

    Audits email domain deliverability setup (SPF, DKIM, DMARC, MX records, blacklists, TLS) and generates health score (0-100) with prioritized fix list.

    128 GitHub stars~3k tokensUpdated 4 mo ago
    Auto-check: notes
  • Email Check

    AgriciDaniel/claude-email

    Intelligent inbox triage that connects to Gmail or Outlook, scores emails by importance (0-100) using sender recognition, urgency keywords, thread depth, time sensitivity, and business relevance…

    128 GitHub stars~2.4k tokensUpdated 4 mo ago
    Auto-check passed
  • Email Review

    AgriciDaniel/claude-email

    Pre-send email quality review and scoring across 5 dimensions (subject line, copy quality, technical/HTML, deliverability, compliance).

    128 GitHub stars~3.3k tokensUpdated 4 mo ago
    Auto-check: notes
  • Email Sequence

    AgriciDaniel/claude-email

    Designs complete email automation sequences with timing, subject lines, copy, and conditional logic.

    128 GitHub stars~2.8k tokensUpdated 4 mo ago
    Auto-check passed
  • Email

    AgriciDaniel/claude-email

    Comprehensive email management and marketing for any business type.

    128 GitHub stars~2k tokensUpdated 4 mo ago
    Auto-check: notes

Questions about Email Write

What does Email Write do?

Compose high-converting emails using proven copy frameworks (PAS, AIDA, BAB, FAB, 4Ps). Email Write is an agent skill from AgriciDaniel/claude-email. Compose high-converting emails using proven copy frameworks (PAS, AIDA, BAB, FAB, 4Ps).

When should I use Email Write?

Email Write fits situations like: tasks that involve Newsletters; tasks that involve Product launch strategy; tasks that involve Cold outreach.

How do I install Email Write in Claude Code?

Run `npx skills add AgriciDaniel/claude-email --skill email-write -a claude-code`. Or copy the skill folder (skills/email-write in AgriciDaniel/claude-email) into .claude/skills/email-write in your project. Claude Code loads it when a task matches its description.

How do I install Email Write in Codex?

Run `npx skills add AgriciDaniel/claude-email --skill email-write -a codex`. Or copy the skill folder (skills/email-write in AgriciDaniel/claude-email) into .agents/skills/email-write in your project. Codex loads it when a task matches its description.

Can I use Email Write in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AgriciDaniel/claude-email --skill email-write -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/email-write, .gemini/skills/email-write, .github/skills/email-write and .opencode/skills/email-write in your project.

What does Email Write need to run?

SKILL.md names no scripts, command-line tools or credentials: Email Write is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Grep, Glob.

Does Email Write access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Email Write safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Email Write use?

Email Write is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Email Write use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Email Write?

Skills that share tags, products or a category with Email Write: Public Relations (Cesarjoquin/Marketing-Skills, 199 stars), 49 HTML Email Template Global (minhnv0807/ai-business-skills, 608 stars), Email Manager (LeoYeAI/openclaw-master-skills, 2.2k stars) and Templatical Email Templates (templatical/sdk, 520 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Email Write?

AgriciDaniel (a GitHub user) maintains it in AgriciDaniel/claude-email, which has 128 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on May 23, 2026.

Source: AgriciDaniel/claude-email on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.