secondstep-claude-skills / email-marketing-claude
CLAUDE.md2 starsChanged 9 months agoMITView on GitHub
This is a Claude Code skill that turns Claude into a senior email marketing consultant. It performs 120+ checks across deliverability, sequences, segmentation, and automation. Both scripts support --json flag for machine-readable output.
In this repository47 other files it gives its agents.
- skills/ab-testing-claude/CLAUDE.mdCLAUDE.md
- skills/aeo-claude/CLAUDE.mdCLAUDE.md
- skills/competitor-analysis-claude/CLAUDE.mdCLAUDE.md
- skills/competitor-analysis-claude/competitor/CLAUDE.mdCLAUDE.md
- skills/conversion-tracking-claude/CLAUDE.mdCLAUDE.md
- skills/copywriting-frameworks-claude/CLAUDE.mdCLAUDE.md
- skills/ga4-audit-claude/CLAUDE.mdCLAUDE.md
- skills/google-ads-audit-claude/CLAUDE.mdCLAUDE.md
- skills/google-ads-copy-claude/CLAUDE.mdCLAUDE.md
- skills/google-ads-scripts-claude/CLAUDE.mdCLAUDE.md
- skills/landing-page-audit-claude/CLAUDE.mdCLAUDE.md
- skills/linkedin-ads-claude/CLAUDE.mdCLAUDE.md
- skills/local-seo-claude/CLAUDE.mdCLAUDE.md
- skills/meta-ads-audit-claude/CLAUDE.mdCLAUDE.md
- skills/negative-keywords-claude/CLAUDE.mdCLAUDE.md
- skills/pmax-claude/CLAUDE.mdCLAUDE.md
- skills/product-feed-claude/CLAUDE.mdCLAUDE.md
- skills/quality-score-claude/CLAUDE.mdCLAUDE.md
- skills/saas-metrics-claude/CLAUDE.mdCLAUDE.md
- skills/schema-markup-claude/CLAUDE.mdCLAUDE.md
- skills/smart-bidding-claude/CLAUDE.mdCLAUDE.md
- skills/tiktok-ads-claude/CLAUDE.mdCLAUDE.md
- skills/youtube-ads-claude/CLAUDE.mdCLAUDE.md
- abtestSkill
- aeoSkill
- competitor-analysisSkill
- conversion-tracking-claudeSkill
- copySkill
- copywriting-frameworks-claudeSkill
- emailSkill
- ga4-audit-claudeSkill
- ads-auditSkill
- google-ads-copy-claudeSkill
- google-ads-scripts-claudeSkill
- lp-auditSkill
- linkedin-ads-claudeSkill
- localSkill
- meta-auditSkill
- negativesSkill
- pmaxSkill
- product-feed-claudeSkill
- quality-score-claudeSkill
- saasSkill
- schema-markup-claudeSkill
- biddingSkill
- tiktokSkill
- youtube-ads-claudeSkill
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 74
All skill files are Markdown (SKILL.md) — no code in skill definitions.
- Distinctive: line 79
Never hardcode API keys or credentials in any file.
- Very specific: line 80
Keep templates in templates/ as standalone Markdown files.
- Very specific: line 81
Test scripts with: python3 scripts/dns_checker.py example.com --json
- Very specific: line 82
Test subject scorer with: python3 scripts/subject_line_scorer.py "Test subject" --json
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md — Email Marketing Audit & Optimization Skill
Architecture
This is a Claude Code skill that turns Claude into a senior email marketing consultant. It performs 120+ checks across deliverability, sequences, segmentation, and automation.
Directory Layout
email-marketing-claude/
├── email/SKILL.md # Main skill — command routing & fundamentals
├── skills/ # 10 sub-skills, one per audit dimension
│ ├── email-deliverability/ # SPF, DKIM, DMARC, reputation
│ ├── email-subject-lines/ # Subject line scoring & spam triggers
│ ├── email-sequences/ # Welcome, nurture, cart, win-back
│ ├── email-segmentation/ # RFM, behavioral, lifecycle
│ ├── email-ab-testing/ # Sample size, significance, winner criteria
│ ├── email-templates/ # Responsive, dark mode, accessibility
│ ├── email-automation/ # Triggers, workflows, branching logic
│ ├── email-analytics/ # Open rate, CTOR, RPE, cohort analysis
│ ├── email-compliance/ # CAN-SPAM, GDPR, CCPA
│ └── email-report/ # Comprehensive audit report generation
├── agents/ # 4 specialized agents
│ ├── deliverability-agent.md
│ ├── sequence-optimizer-agent.md
│ ├── segmentation-agent.md
│ └── compliance-agent.md
├── scripts/ # Python utilities
│ ├── dns_checker.py # SPF/DKIM/DMARC DNS validation
│ ├── subject_line_scorer.py # Subject line analysis & scoring
│ └── email_health_calculator.py
├── templates/ # Markdown report templates
├── docs/ # Reference docs (benchmarks, spam words)
├── install.sh # Copies skill files to ~/.claude/skills/
└── uninstall.sh # Removes installed skill filesHow It Works
- User invokes
/email <command>in Claude Code. email/SKILL.mdroutes to the matching sub-skill inskills/.- Sub-skills contain audit criteria, scoring rubrics, and industry benchmarks.
- Python scripts in
scripts/handle DNS lookups and subject line analysis. - Agents in
agents/provide deeper autonomous analysis for specific domains. - The Email Health Score (0-100) aggregates 10 weighted dimensions.
Commands
| Command | Description |
/email audit | Full audit across all 10 dimensions |
/email deliverability | SPF, DKIM, DMARC + sender reputation |
/email subjects | Subject line scoring & spam trigger detection |
/email sequences | Welcome, nurture, cart, win-back sequence audit |
/email segments | RFM analysis & behavioral segmentation |
/email test | A/B testing framework & statistical rigor |
/email templates | HTML email responsive/accessibility audit |
/email automation | Trigger mapping & workflow review |
/email analytics | Metrics deep dive (open rate, CTOR, RPE) |
/email compliance | CAN-SPAM, GDPR, CCPA compliance check |
/email report | Generate scored audit report with action items |
Scripts
| Script | Usage | Dependencies |
dns_checker.py | python3 dns_checker.py example.com | dnspython |
subject_line_scorer.py | python3 subject_line_scorer.py "Subject" | stdlib only |
Both scripts support --json flag for machine-readable output.
Dev Rules
- All skill files are Markdown (SKILL.md) — no code in skill definitions.
- Python scripts must degrade gracefully when optional packages are missing.
- Scripts must support both human-readable and
--jsonoutput modes. - Industry benchmarks live in
email/SKILL.mdas the single source of truth. - Each sub-skill scores its dimension 0-100; weights are defined in the main SKILL.md.
- Never hardcode API keys or credentials in any file.
- Keep templates in
templates/as standalone Markdown files. - Test scripts with:
python3 scripts/dns_checker.py example.com --json - Test subject scorer with:
python3 scripts/subject_line_scorer.py "Test subject" --json
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

