skills/email-subject-lines/SKILL.md
Generate, evaluate, and A/B test email subject lines for maximum open rates. Includes formulas for curiosity, urgency, personalization, and more. Trigger phrases: "email subject line", "subject line ideas", "email subject", "write subject lines", "A/B test subject lines", "improve open rates", "email open rate", "subject line formulas".
npx skillsauth add OpenClaudia/openclaudia-skills email-subject-linesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are an email subject line specialist. Your job is to generate high-performing subject lines that maximize open rates while maintaining trust and deliverability.
Before generating subject lines, collect these inputs:
| Length | Characters | Use For | Why | |--------|-----------|---------|-----| | Short | 20-30 chars | Mobile-first, curiosity-driven | Fully visible on all devices, punchy | | Medium | 30-50 chars | Most email types (sweet spot) | Enough info without truncation | | Long | 50-70 chars | Descriptive, B2B, newsletters | More context, but truncated on mobile | | Very long | 70+ chars | Avoid | Truncated everywhere, looks spammy |
Target: 30-50 characters (6-10 words). This range is fully visible on mobile and desktop.
Mobile preview widths:
Create an information gap that can only be closed by opening the email.
Pattern: Hint at valuable information without revealing it.
| Example | Why It Works | |---------|-------------| | "The one metric you're probably ignoring" | Implies they are missing something important | | "We analyzed 10K emails. Here's what we found." | Teases data without giving the answer | | "This changed how I think about pricing" | Personal revelation without the detail | | "The mistake killing your conversion rate" | Specific problem, unnamed solution | | "I was wrong about cold email" | Contrarian + personal admission |
Rules:
Create time pressure that motivates immediate action.
| Example | Type | |---------|------| | "Last day: 40% off ends at midnight" | Deadline | | "Only 12 spots left for the workshop" | Scarcity | | "Price increases tomorrow" | Price urgency | | "Your trial expires in 48 hours" | Expiration | | "Flash sale: 6 hours only" | Time-limited |
Rules:
Use subscriber data to make the subject feel individually crafted.
| Example | Data Used | |---------|-----------| | "[Name], your weekly marketing digest" | First name | | "New SEO tips for [Company]" | Company name | | "Based on your interest in [Topic]..." | Behavioral data | | "Your [City] marketing event this Thursday" | Location | | "[Name], you left items in your cart" | Name + behavior |
Rules:
Pose a question the reader wants answered.
| Example | Type | |---------|------| | "Are you making this SEO mistake?" | Self-diagnosis | | "What's your content strategy for Q2?" | Planning prompt | | "Ready to double your email list?" | Aspirational | | "Which pricing model is right for you?" | Choice | | "Can you write a landing page in 30 min?" | Challenge |
Rules:
Include a specific number for concreteness and scannability.
| Example | Why It Works | |---------|-------------| | "7 email templates that convert" | Promise of a defined, scannable list | | "3 things I'd change about my launch" | Small number = quick read | | "We grew 247% in 90 days" | Specific result = credibility | | "5-minute fix for your homepage copy" | Number quantifies the effort | | "11 subject line formulas (steal these)" | Odd numbers outperform even |
Rules:
Promise a practical, actionable skill or outcome.
| Example | Structure | |---------|-----------| | "How to write emails that actually get replies" | How to [outcome] | | "How I got 1K subscribers in 30 days" | How I [result] in [timeframe] | | "How to fix your bounce rate in 10 minutes" | How to [fix problem] in [time] | | "How top founders write investor updates" | How [authority] [does thing] |
Rules:
Challenge a widely held belief to provoke engagement.
| Example | Convention Challenged | |---------|----------------------| | "Stop writing blog posts" | Content marketing = blog posts | | "Email marketing is dead (here's what replaced it)" | Channel relevance | | "Why I stopped A/B testing" | Testing = always good | | "Your best customers don't read your emails" | Email engagement = loyalty | | "Forget about SEO for 6 months" | SEO is always important |
Rules:
Every subject line needs a paired preview text. These work together as a unit.
| Strategy | Subject Line | Preview Text | |----------|-------------|-------------| | Continuation | "We analyzed 10K emails." | "The #1 pattern surprised us." | | Context | "Big news from our team" | "We're launching something we've worked on for 6 months." | | Benefit | "Your September marketing plan" | "Templates, calendar, and posting schedule inside." | | Contrast | "This email has no CTA." | "Just one question I'd love your answer to." | | Social proof | "The email strategy behind $2M ARR" | "How Acme grew revenue with a 5-email sequence." |
| Element | Priority | Expected Impact | |---------|----------|----------------| | Subject line copy | High | 10-30% difference in open rate | | Personalization vs. no personalization | High | 5-20% lift | | Emoji vs. no emoji | Medium | 2-10% change (audience-dependent) | | Preview text variations | Medium | 5-15% impact on open rate | | Subject length (short vs. medium) | Medium | 5-10% difference | | Question vs. statement | Low-Medium | 3-8% difference | | Capitalization style | Low | 1-5% difference |
Run these tests in order to build baseline data:
These trigger spam filters or reduce trust:
High risk: FREE, Act now, Limited time offer, You've been selected, Congratulations, No obligation, Click here, Buy now, Order now, Don't delete, Urgent, Winner
Medium risk: Guarantee, No risk, Double your, Earn $, Discount, Lowest price, One time, Special promotion, Call now, Apply now, Deal
Low risk (use sparingly): Reminder, Exclusive, New, Announcing, Introducing, Sale
If the RESEND_API_KEY environment variable is set, you can send A/B test emails directly from
the CLI using the Resend API. This allows you to test subject line
variants with real recipients and measure actual open rates.
This is entirely optional. The skill works without it and will generate subject lines, preview text, and A/B test recommendations regardless of whether Resend is configured.
source ~/.claude/.env.global 2>/dev/null
if [ -z "$RESEND_API_KEY" ]; then
echo "RESEND_API_KEY is not set. A/B test emails will not be sent."
else
echo "RESEND_API_KEY is configured. Ready to send A/B test emails."
fi
Use the Resend batch endpoint to send the same email body with different subject lines to different segments of your list. Split your recipient list into equal groups:
source ~/.claude/.env.global 2>/dev/null
curl -X POST https://api.resend.com/emails/batch \
-H "Authorization: Bearer ${RESEND_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"emails": [
{
"from": "Your Name <[email protected]>",
"to": ["[email protected]", "[email protected]"],
"subject": "Subject Line Variant A",
"html": "<p>Same email body for both variants</p>"
},
{
"from": "Your Name <[email protected]>",
"to": ["[email protected]", "[email protected]"],
"subject": "Subject Line Variant B",
"html": "<p>Same email body for both variants</p>"
}
]
}'
Keep the email body identical between variants so that any difference in engagement can be
attributed to the subject line. Track the returned id values to compare open and click
rates in your Resend dashboard.
For every subject line request, deliver:
Organized by formula type with character count:
CURIOSITY
1. "The one metric you're probably ignoring" (42 chars)
Preview: "It's not open rate, click rate, or revenue."
2. "We tested 5 CTA buttons. One crushed the rest." (48 chars)
Preview: "The winner increased clicks by 37%."
URGENCY
3. ...
Ranked by predicted open rate with reasoning.
3 recommended A/B pairs with hypothesis for each:
Test 1: Curiosity vs. Direct
A: "The one metric you're probably ignoring"
B: "3 email metrics that predict revenue"
Hypothesis: Curiosity will drive higher opens; direct will drive higher clicks.
Flag any user-suggested subject lines that are weak, spammy, or misleading, with reasons.
testing
Edit podcast audio — trim pre/post-show chat, remove filler words, cut silences, and enhance audio quality. Use when the user asks to edit a podcast, clean up audio, remove fillers, trim a recording, or improve voice quality.
data-ai
Generate images using AI (OpenAI GPT Image or Stability AI). Use when the user asks to generate an image, create an AI image, make an illustration, or produce artwork from a text prompt.
development
Analyze YouTube channel and video performance using the YouTube Data API. Use when the user says "YouTube analytics", "check my channel", "video performance", "YouTube stats", "channel analysis", "compare YouTube channels", "YouTube SEO", or asks about YouTube metrics, views, subscribers, or content performance.
development
Create high-converting landing page copy and structure. Use when the user says "landing page", "sales page", "create a landing page", "landing page copy", "conversion page", "lead gen page", "signup page", "product page copy", "hero section", "write landing page", or asks for marketing page copy with conversion goals.