llm-public-opinion-analytics-assistant
llm public opinion analytics assistant
claude-email-marketing-skill
Give Claude deep expertise in email marketing strategy, deliverability, automation, copywriting, and ESP selection
Full skill instructions
Skill by ara.so — Marketing Skills collection.
This skill provides Claude with opinionated, practitioner-level expertise in email marketing. It covers authentication (SPF, DKIM, DMARC), list building, segmentation, copywriting, automation sequences, deliverability optimization, metrics analysis, and ESP selection.
Transforms Claude into an email marketing expert who can:
git clone https://github.com/jacquescorbytuech/email-marketing-skill.git
.claude/settings.json:{
"skills": [
"/absolute/path/to/email-marketing-skill/email-marketing"
]
}
email-marketing/SKILL.mdInclude the contents of email-marketing/SKILL.md in your system prompt:
import anthropic
import os
with open('email-marketing/SKILL.md', 'r') as f:
email_skill = f.read()
client = anthropic.Anthropic(api_key=os.environ.get("ANTHROPIC_API_KEY"))
message = client.messages.create(
model="claude-3-5-sonnet-20241022",
max_tokens=4096,
system=email_skill,
messages=[
{"role": "user", "content": "Help me fix my email deliverability issues"}
]
)
The skill is organized into focused modules:
authentication.md — SPF, DKIM, DMARC setup and troubleshootinglist-building.md — Lead magnets, opt-in strategies, subscriber trackingsegmentation-and-data.md — Dynamic/static segments, data hygiene, GDPR compliancecopywriting.md — Subject lines, email structure, CTAs, spam trigger wordsautomation-and-sequences.md — Trigger-based workflows, sequence designdeliverability.md — Inbox placement, IP warming, spam folder recoveryesp-and-reference.md — Provider comparison, legislation reference, glossary"My emails are going to spam. I'm sending from sendgrid.net,
my open rate dropped from 22% to 3% last week, and Gmail is
the worst performer. What's wrong?"
Claude will diagnose:
"Create a 5-email welcome sequence for new SaaS trial users.
Product is a project management tool, trial is 14 days,
main friction point is CSV import complexity."
Claude generates:
"Walk me through setting up SPF, DKIM, and DMARC for my domain
example.com. I'm using Postmark for transactional email and
Mailchimp for marketing."
Claude provides:
"I need an ESP for a 50k subscriber ecommerce list.
Heavy personalization, abandoned cart is critical,
budget is $500/month. Compare options."
Claude evaluates:
"I have purchase history, email engagement data, and
product category preferences. How should I segment?"
Claude recommends:
_dmarc.example.com. IN TXT "v=DMARC1; p=none; rua=mailto:[email protected]; ruf=mailto:[email protected]; fo=1"
p=none — Monitor mode (start here)rua — Aggregate reportsruf — Forensic reportsfo=1 — Report if either SPF or DKIM fails// Track cart abandonment event
fetch('https://a.klaviyo.com/api/track', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
token: process.env.KLAVIYO_PUBLIC_API_KEY,
event: 'Abandoned Cart',
customer_properties: {
$email: '[email protected]'
},
properties: {
$value: 129.99,
items: [
{ product_name: 'Widget', sku: 'WID-001', price: 49.99 },
{ product_name: 'Gadget', sku: 'GAD-002', price: 80.00 }
]
}
})
});
Trigger 3-email sequence:
<!DOCTYPE html>
<html>
<body>
<h1>Hi *|FNAME|*,</h1>
<p>Based on your interest in *|INTEREST_CATEGORY|*, we thought you'd like:</p>
*|IF:PURCHASE_COUNT > 0|*
<p>Welcome back! Your last order was *|LAST_PRODUCT|*.</p>
*|ELSE:|*
<p>First-time customers get 15% off with code WELCOME15</p>
*|END:IF|*
<a href="*|PRODUCT_URL|*">Shop Now</a>
</body>
</html>
curl -X POST https://api.sendgrid.com/v3/asm/groups \
-H "Authorization: Bearer $SENDGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Product Updates",
"description": "New features and product announcements",
"is_default": false
}'
Users can unsubscribe from this category without leaving all emails.
Apple Mail Privacy Protection (MPP) pre-loads images:
This is normal for marketing email:
Common triggers:
# Check SPF
dig example.com TXT | grep "v=spf1"
# Check DKIM (replace 'selector' with your actual selector)
dig selector._domainkey.example.com TXT
# Check DMARC
dig _dmarc.example.com TXT
Common issues:
include sparingly)IF subscriber hasn't opened in 90 days:
→ Send "We miss you" email with preference center
IF opens:
→ Move to "warming" segment
ELSE IF clicks:
→ Move to "active" segment
ELSE (after 30 more days):
→ Send final "Stay or go?" email
IF no action:
→ Suppress (don't send marketing, keep in database)
-- Example query for sunset suppression
SELECT email
FROM subscribers
WHERE last_open_date < DATE_SUB(NOW(), INTERVAL 180 DAY)
AND last_click_date < DATE_SUB(NOW(), INTERVAL 180 DAY)
AND signup_date < DATE_SUB(NOW(), INTERVAL 270 DAY);
Protects sender reputation by excluding chronically unengaged subscribers.
p=none, move to p=quarantine after monitoring| Regulation | Applies To | Key Requirement |
|---|---|---|
| CAN-SPAM | US recipients | Physical address, unsubscribe link, honor opt-outs within 10 days |
| GDPR | EU recipients | Explicit consent, right to erasure, data processing agreements |
| CASL | Canadian recipients | Express consent required, must identify sender |
| CCPA | California residents | Right to opt-out of data sale, privacy policy disclosure |
"My bounce rate is 8% — is that normal?"
"Write 10 subject line variations for a webinar reminder"
"Compare Sendinblue vs Mailgun for transactional email"
"How do I set up a product recommendation sequence?"
"What's a good click-to-open rate for ecommerce?"
"Create a sunset policy for inactive subscribers"
"Why are my emails rendering badly in Outlook?"
The skill references real-world scenarios, ESP-specific quirks, and regulatory requirements. When Claude has this skill active, it will:
Maintenance: This skill is based on the MIT-licensed repository. Contributions welcome at github.com/jacquescorbytuech/email-marketing-skill.
llm public opinion analytics assistant
apache airflow orchestration
roblox mm2 analytics toolkit
mm2 analytics roblox tracker
mm2 analytics roblox toolkit
understand anything knowledge graph
mm2 roblox analytics tracker
murder mystery 2 analytics toolkit
mm2 analytics dashboard roblox
mm2 roblox analytics toolkit
agent browser automation
agency agents ai specialists
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience