/marketing-skills:email-sequencefrom marketing-skills
Designs, checks, and diagnoses lifecycle email sequences (welcome, nurture, re-engagement, trial expiration, post-purchase) for SaaS/B2B. Writes copy and timing, validates sequence definitions, and recommends fixes from per-email metrics.
Ships in marketing-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Category: Marketing Tags: email sequences, drip campaigns, nurture flows, onboarding emails, lifecycle marketing, automation
Email Sequence Design creates complete, ready-to-implement email automation flows. Every output includes subject lines, preview text, full body copy, CTAs, send timing, and exit conditions. The goal is sequences that nurture relationships and drive specific conversion actions -- not just "stay top of mind" email noise.
This skill writes the sequences. For email HTML templates and rendering infrastructure, use email-template-builder. For tracking email performance, use analytics-tracking.
| Type | Trigger | Goal | Typical Length |
|---|---|---|---|
| Welcome/Onboarding | New signup | Activate user, show core value | 5-7 emails over 14 days |
| Trial Expiration | Trial nearing end | Convert to paid | 4-5 emails over 7 days |
| Lead Nurture | Content download, webinar | Qualify and convert | 6-8 emails over 30 days |
| Re-engagement | Inactive 30+ days | Bring back or clean list | 3-4 emails over 14 days |
| Post-Purchase | Subscription start | Reduce churn, expand | 4-6 emails over 30 days |
| Event-Based | Specific user action | Drive next action | 2-3 emails over 7 days |
| Sales (Warm) | MQL or PQL signal | Book meeting or start trial | 4-5 emails over 14 days |
Before designing the sequence, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
Before writing any email, define the architecture:
Sequence Name: [Name]
Trigger: [What starts the sequence]
Primary Goal: [Single conversion action]
Secondary Goals: [Relationship building, data collection]
Length: [Number of emails]
Duration: [Total time span]
Exit Conditions: [When they leave the sequence]
Suppression: [Other sequences to suppress while active]
Each email serves a purpose in a progression:
| Emotional State | Purpose | Key Message | |
|---|---|---|---|
| 1 | Curious, uncertain | Welcome, set expectations | "Here's what to expect" |
| 2 | Exploring, evaluating | Demonstrate core value | "Here's the one thing to try first" |
| 3 | Engaged or dropping off | Social proof | "Here's how others succeeded" |
| 4 | Considering commitment | Remove objections | "Common concerns addressed" |
| 5 | Ready to decide | Create urgency | "Your trial ends in X days" |
For every email in the sequence, deliver:
Email [#]: [Name/Purpose]
Send: [Timing from trigger or previous email]
Segment: [Conditions -- who receives this variant]
Subject: [Subject line - under 50 characters]
Preview: [Preview text - 80-120 characters, complements subject]
Body:
[Complete copy -- not an outline, not bullets, the actual words]
CTA: [Button text] → [Destination URL]
P.S.: [Optional -- works for urgency or human touch]
Not everyone follows the same path. Define branches:
After Email 2:
IF user activated core feature → Skip to Email 4 (post-activation)
IF user has not logged in → Send Email 2B (re-engagement variant)
IF user unsubscribed → Exit sequence
After Email 4:
IF user converted → Exit sequence, enter post-purchase sequence
IF user visited pricing 2+ times → Send Email 4B (pricing objection handler)
ELSE → Continue to Email 5
| Day | Subject | Purpose | |
|---|---|---|---|
| 1 | 0 (immediate) | Welcome to [Product] -- start here | Set expectations, one CTA to activate |
| 2 | 1 | The one feature that changes everything | Drive to core value action |
| 3 | 3 | How [Company] got [Result] in [Timeframe] | Social proof, case study |
| 4 | 5 | Quick question | Check engagement, offer help |
| 5 | 7 | 3 things you might have missed | Feature discovery, breadth |
| 6 | 10 | Your trial is halfway done | Progress report, urgency |
| 7 | 13 | Last day of your trial | Convert or lose access |
Exit conditions: User converts to paid at any point, user unsubscribes, user explicitly requests removal.
Branching:
| Day | Subject | Purpose | |
|---|---|---|---|
| 1 | 0 | Your [resource name] is ready | Deliver promised content |
| 2 | 3 | The mistake most [role] make with [topic] | Educational, establish authority |
| 3 | 7 | [Company] went from [problem] to [result] | Case study, social proof |
| 4 | 14 | The [topic] framework we use internally | Exclusive value, reciprocity |
| 5 | 21 | Quick question about [their challenge] | Personal, segmentation |
| 6 | 28 | See if [Product] is right for you | Soft CTA, demo or trial |
Exit conditions: Books demo, starts trial, unsubscribes, or completes sequence.
| Day | Subject | Purpose | |
|---|---|---|---|
| 1 | 0 | We noticed you've been away | Acknowledge absence, show value |
| 2 | 3 | Here's what you missed | Product updates, new features |
| 3 | 7 | [Exclusive offer or incentive] | Incentivize return |
| 4 | 14 | Should we stop emailing you? | Clean list, last chance |
Critical rule: If no engagement after Email 4, remove from active email list. Sending to unengaged contacts damages sender reputation.
| Day Before Expiry | Subject | Purpose | |
|---|---|---|---|
| 1 | 7 | Your trial ends in one week | Awareness, usage summary |
| 2 | 3 | Here's what you'll lose access to | Loss aversion, feature list |
| 3 | 1 | Tomorrow is your last day | Urgency, simple CTA |
| 4 | 0 | Your trial just ended | Conversion, offer extension option |
| 5 | +3 | We saved your data for 30 days | Last chance, data retention |
| Formula | Example | Why It Works |
|---|---|---|
| How [company] [achieved result] | "How Stripe reduced churn 23%" | Specific, curiosity, social proof |
| The [number] [thing] [audience] [needs] | "The 3 metrics every PM tracks" | Specific, relevant, scannable |
| Quick question about [topic] | "Quick question about your trial" | Personal, non-threatening |
| [Name], [action-oriented statement] | "Sarah, your dashboard is ready" | Personal, action-oriented |
| Your [asset] is [status] | "Your free trial ends tomorrow" | Ownership, urgency |
Common practice, not a measured benchmark: test against your own data.
| Day | Time Window | Notes |
|---|---|---|
| Tuesday | 9-11 AM recipient's timezone | Common default |
| Wednesday | 9-11 AM | Common default |
| Thursday | 9-11 AM | Good for follow-ups |
| Monday | 10 AM-12 PM | After inbox clearing |
| Friday | Avoid for important emails | Low engagement |
| Weekend | Avoid for B2B | Exception: consumer products |
These ranges are commonly quoted practitioner figures with no single published source. performance_analyzer.py uses the lower bounds as defaults and labels them internal heuristic; put your own numbers in "targets" once you have a baseline. The one sourced threshold is spam complaints: Google's bulk-sender guidelines (Feb 2024) ask senders to stay below 0.10% and never reach 0.30%.
| Metric | Welcome | Nurture | Re-engagement | Trial Expiration |
|---|---|---|---|---|
| Open rate (directional only) | 50-70% | 25-40% | 15-25% | 40-60% |
| Click rate | 10-20% | 3-8% | 2-5% | 8-15% |
| Conversion rate | 5-15% | 1-3% | 3-8% | 10-25% |
| Unsubscribe rate | <0.5% | <0.3% | 1-3% | <0.5% |
Open rates are inflated and unreliable. Apple Mail Privacy Protection downloads remote content (including tracking pixels) in the background by default, whether or not the recipient reads the email (Apple — Mail Privacy Protection). Opens from Apple Mail users register as "opens" regardless of engagement, and some security scanners do the same. Treat opens as a directional signal only; judge sequences on clicks, replies, conversions, unsubscribes/complaints, and inbox placement. Exclude machine opens (where your ESP flags them) before comparing to any open-rate benchmark.
| Signal | Meaning | Action |
|---|---|---|
| Click rate declining across sequence | Fatigue or irrelevance | Shorten sequence, sharpen each email's single CTA |
| High opens, low clicks | Body/CTA doesn't land — or opens are machine-inflated (Apple MPP) | Check opens excluding machine opens; rewrite body copy, simplify CTA |
| High click rate, low conversion | Landing page problem | Audit post-click experience |
| Rising unsubscribes after Email 3 | Too frequent or too salesy | Increase spacing, add more value |
| Email 1 low clicks and replies, or rising spam-folder placement | Deliverability issue | Run an inbox placement / seed test, check sender reputation (e.g., Google Postmaster Tools) and SPF/DKIM/DMARC |
| Segment | Definition | Sequence Adjustment |
|---|---|---|
| Power users | Used core feature 5+ times | Skip beginner content, focus on advanced features |
| Window shoppers | Signed up, never activated | More hand-holding, simpler first steps |
| Pricing page visitors | Viewed pricing 2+ times | Address pricing objections directly |
| Feature explorers | Used 3+ features | Highlight integration and workflow value |
| Ghost users | No login in 7+ days | Re-engagement sequence |
| Tier | Effort | Impact | Example |
|---|---|---|---|
| 1: Name + company | Low | Moderate | "Hi Sarah, how's the Acme team finding..." |
| 2: Behavioral | Medium | High | "Since you set up your first project..." |
| 3: Segment-specific copy | High | Highest | Entirely different email body per segment |
| Skill | Use When |
|---|---|
| email-template-builder | Building HTML email templates and rendering infrastructure |
| analytics-tracking | Setting up email click tracking and UTM attribution |
| launch-strategy | Coordinating email sequences around product launches |
| content-creator | Writing landing page copy that email CTAs point to |
| ab-test-setup | Designing statistically valid email A/B tests |
| Symptom | Likely Cause | Fix |
|---|---|---|
| Welcome email low click rate or poor inbox placement | Deliverability issue or weak subject/offer | Run an inbox placement test; check sender reputation and SPF/DKIM/DMARC. Test subject variants and judge them on clicks, not opens. |
| Clicks declining across sequence | Fatigue or irrelevance | Shorten sequence, improve subject lines, or add more value per email. |
| High opens, low clicks | Body copy or CTA is weak, or opens inflated by Apple MPP | Check machine-open-excluded opens; rewrite body with stronger benefit and simplify CTA to one action. |
| High click rate, low conversion | Landing page problem | Audit post-click experience: message match, page speed, form friction. |
| Rising unsubscribes after email 3 | Too frequent or too salesy | Increase spacing between emails and add more educational content. |
| Emails clipped by Gmail | HTML template over 102KB | Use render_size_analyzer.py from email-template-builder to reduce size. |
| Sequence not triggering | Automation platform misconfiguration | Verify trigger events, check suppression rules for conflicts. |
Targets below are heuristics (see the table above) except the complaint ceiling.
In Scope: Lifecycle email sequence design, copy, timing, branching logic, segmentation, and performance optimization for SaaS/B2B.
Out of Scope: Email HTML rendering (use email-template-builder), cold outreach sequences (use cold-email), marketing automation platform setup, transactional email infrastructure.
Limitations: Benchmarks are SaaS/B2B focused. Adjust thresholds for e-commerce, consumer, or other verticals.
All three tools read your input, print a verdict line first (PASS, FIX N issues, or BLOCKED: <reason>), quote your text or numbers in every finding, and give the fix. None of them prints a score: a score that could not tell a good sequence from a bad one was dropped. Standard library only, no network.
| Code | Meaning |
|---|---|
| 0 | No findings |
| 1 | Findings to act on |
| 2 | Unusable input (missing file, invalid JSON, wrong shape, impossible counts); one-line BLOCKED: message |
All tools take --format text|json (default text); --json is an alias for --format json.
scripts/subject_line_scorer.py)Checks subjects for unrendered merge tags ({{first_name}}, *|FNAME|*), unfilled template placeholders ([Product]), fake Re:/Fwd:, unreadable text, generic wording, spam phrases, ALL CAPS, repeated punctuation and length, then rewrites each flagged subject from your own words.
python3 scripts/subject_line_scorer.py "Your trial ends tomorrow"
python3 scripts/subject_line_scorer.py --file assets/flawed_subjects.txt
python3 scripts/subject_line_scorer.py "Quick question" --about "your March export" --format json
Real output (excerpt) of python3 scripts/subject_line_scorer.py --file assets/flawed_subjects.txt:
FIX 8 issues in 6 of 6 subjects
Read 6 subject line(s) from assets/flawed_subjects.txt. No score: findings only.
1. "{{first_name}}, your March report is ready" (42 chars, 6 words)
[hard] unrendered-merge-tag: "{{first_name}}" (rule: no merge-tag text may reach the inbox; rendering check)
Fix: If this is the sent subject, the tag did not render. Give the tag a fallback in your ESP (e.g. {{ first_name | default: 'there' }}) or drop it, as in the suggested subject.
Suggested subject: "Your March report is ready"
2. "asdf qwer zxcv" (14 chars, 3 words)
[hard] unreadable: "asdf qwer zxcv" (rule: half or more of the words must be readable; internal heuristic)
...
4. "URGENT: act now, your trial expires today!!" (43 chars, 7 words)
[fix] spam-phrase: "act now, urgent" (rule: none of the listed phrases; internal heuristic)
[fix] punctuation: "!!" (rule: no repeated ! ? or ellipsis; at most one !; internal heuristic)
Suggested subject: "Your trial expires today"
Input file: one subject per line, # lines are comments.
scripts/sequence_mapper.py)Checks a sequence definition before launch: send-day order, same-day sends, gaps longer than the type allows (heuristic), email count for the type, branches that point at emails that do not exist, missing trigger/goal, missing conversion and unsubscribe exits, and every subject (merge tags are allowed here; [Placeholder] text is not). Prints the flow map and a paste-ready markdown table.
python3 scripts/sequence_mapper.py assets/sample_sequence.json
python3 scripts/sequence_mapper.py assets/flawed_sequence.json --format json
Input shape: see assets/sample_sequence.json (name, type, trigger, goal, emails[{position, day, subject, purpose}], branches[{after_email, condition, action}], exit_conditions[]).
scripts/performance_analyzer.py)Reads per-email metrics and reports, in order of impact: spam complaints (Google bulk-sender guidelines, 2024), bounces, unsubscribes, clicks, click cliffs between emails, and sequence conversion. Each finding names the email, quotes your counts, states the threshold and its source, and gives the change (a new send day, the number of clicks or complaints that would meet the target, which email's CTA to test where). Opens are shown but never judged (Apple Mail Privacy Protection, 2021). Missing metrics are listed as missing, not scored as zero; emails with under 100 delivered are not judged on rates.
python3 scripts/performance_analyzer.py assets/sample_metrics.json
python3 scripts/performance_analyzer.py assets/flawed_metrics.json --format json
Input shape: see assets/sample_metrics.json (sequence_type, optional targets in percent, emails[{position, subject, day, sent, delivered, opened, clicked, converted, unsubscribed, complaints}]). Only sent or delivered is required per email.
assets/ holds a sound (exit 0), flawed (exit 1) and malformed (exit 2) input for each tool; assets/contract.json declares the runs checked by scripts/skill_contract_check.py.
assets/contract.json (opens in a new tab)assets/flawed_metrics.json (opens in a new tab)assets/flawed_sequence.json (opens in a new tab)assets/flawed_subjects.txt (opens in a new tab)assets/malformed_metrics.json (opens in a new tab)assets/malformed_sequence.json (opens in a new tab)assets/malformed_subjects.txt (opens in a new tab)assets/sample_metrics.json (opens in a new tab)assets/sample_sequence.json (opens in a new tab)assets/sample_subjects.txt (opens in a new tab)scripts/performance_analyzer.py (opens in a new tab)scripts/sequence_mapper.py (opens in a new tab)scripts/subject_line_scorer.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub borghei/claude-skills --plugin marketing-skills46 skills in this plugin
/ab-test-setupCalculates A/B test sample size and duration, writes a reviewable test plan, and analyzes conversion results (z-test, confidence interval, sample ratio check, ship/revert/inconclusive verdict). Use when setting up an A/B test, sizing an experiment, checking whether a test ran long enough, or deciding whether to ship a variant from visitor and conversion counts.
/ad-creativeDesign ad creative across Google, Meta, LinkedIn, Twitter/X, and TikTok with platform format specs, headline formulas, and A/B testing. Use when writing ad copy, generating headline variations, creating ad sets, or validating creative.
/aeoAnswer Engine Optimization (AEO): checks a page for the structures LLM answers quote (definition first, tables, numbered steps, sourced numbers, question headings, visible date), generates FAQ/HowTo JSON-LD from the page's own Q&A, and tallies brand mentions and cited URLs in saved LLM answers. Use when auditing a page for LLM citability, adding Q&A schema, or measuring whether ChatGPT, Claude, Perplexity or Gemini name your brand.
/ai-content-disclosureCheck AI-generated marketing content and reviews for required disclosures under the EU AI Act, FTC rules and platform AI-label policies. Use when you have a list of AI-made ads, deepfakes, chatbots, influencer posts or testimonials to clear before publishing, or a set of customer reviews to vet for fakes.
/ai-seoOptimize content to rank in AI search engines (AI Overviews, Perplexity, ChatGPT) via generative engine optimization (GEO), citability audits, and schema markup. Use when optimizing for AI search, generative search, or LLM visibility, when auditing a page for AI citability, when checking which passage answers a query, or when classifying keywords by intent for AI answers.
/analytics-trackingAnalytics implementation for web and SaaS (GA4, Google Tag Manager, event taxonomy, conversion tracking, UTM strategy) with three checkers: UTM links, event names/params/PII, and funnel drop-off. Use when building a tracking plan, validating a UTM sheet or event list before launch, finding where a funnel leaks, debugging missing events, or auditing existing analytics.
Other plugins' skills for the same job