install
source · Clone the upstream repo
git clone https://github.com/jmagly/aiwg
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/jmagly/aiwg "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agents/skills/email-campaign" ~/.claude/skills/jmagly-aiwg-email-campaign && rm -rf "$T"
manifest:
.agents/skills/email-campaign/SKILL.mdsource content
Email Campaign Command
Create comprehensive email marketing campaign with strategy, content, and automation planning.
What This Command Does
-
Develops Email Strategy
- Campaign objectives
- Audience segmentation
- Email sequence planning
-
Creates Email Content
- Subject lines and preview text
- Email body copy
- CTA strategy
-
Plans Technical Setup
- Automation workflow
- Personalization strategy
- Testing plan
Orchestration Flow
Email Campaign Request ↓ [Email Marketer] → Campaign Strategy & Sequence ↓ [Copywriter] → Email Copy & Subject Lines ↓ [Graphic Designer] → Email Design Direction ↓ [Legal Reviewer] → CAN-SPAM Compliance ↓ [Quality Controller] → Email QC Checklist ↓ [Accessibility Checker] → Email Accessibility ↓ Email Campaign Package Complete
Agents Involved
| Agent | Role | Output |
|---|---|---|
| Email Marketer | Strategy lead | Sequence, automation |
| Copywriter | Content | Copy, subject lines |
| Graphic Designer | Design | Visual direction |
| Legal Reviewer | Compliance | Legal review |
| Quality Controller | QC | Pre-send checklist |
| Accessibility Checker | Accessibility | Email accessibility |
Campaign Types
| Type | Description | Typical Sequence |
|---|---|---|
| Nurture | Lead nurturing series | 5-7 emails over 2-4 weeks |
| Promotional | Sales/offer campaign | 2-3 emails over 1 week |
| Announcement | News/launch | 1-2 emails |
| Automated | Trigger-based | Varies by trigger |
Output Artifacts
Saved to
.aiwg/marketing/email/{campaign-name}/:
- Campaign strategyemail-strategy.md
- Email sequence planemail-sequence.md
- Individual email contentemails/email-1.mdemail-2.md- etc.
- Subject line optionssubject-lines.md
- Automation workflowautomation-flow.md
- A/B testing strategytesting-plan.md
- Legal compliancecompliance-checklist.md
Parameter Handling
--guidance Parameter
Purpose: Provide upfront direction to tailor priorities and approach
Examples:
--guidance "Nurture sequence for enterprise leads" --guidance "High personalization, segment by industry" --guidance "Mobile-first design, 60% mobile open rate"
How Applied:
- Parse guidance for keywords: priority, timeline, audience, focus, constraints
- Adjust agent emphasis and output depth based on stated priorities
- Modify deliverable order based on timeline constraints
- Influence scope and detail level based on context
--interactive Parameter
Purpose: Guide through discovery questions for comprehensive input
Questions Asked (if --interactive):
- What is the primary goal of this email campaign?
- Who is the target audience/segment?
- How many emails in the sequence?
- What is the timeline for sending?
- What offers or CTAs will be included?
- What automation triggers apply?
Usage Examples
# Nurture sequence /email-campaign "New Subscriber Welcome" --campaign-type nurture # Promotional campaign /email-campaign "Black Friday Sale" --campaign-type promotional # Product announcement /email-campaign "Feature Launch" --campaign-type announcement # With strategic guidance /email-campaign "Example" --guidance "Your specific context here" # Interactive mode /email-campaign "Example" --interactive
Success Criteria
- Campaign strategy defined
- Email sequence planned
- All email copy drafted
- Subject lines created with A/B variants
- Automation workflow documented
- Legal compliance verified
- QC checklist completed
- Accessibility reviewed
References
- @$AIWG_ROOT/agentic/code/frameworks/media-marketing-kit/README.md — Media marketing kit framework overview
- @$AIWG_ROOT/agentic/code/addons/voice-framework/README.md — Voice framework for email tone and messaging
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/subagent-scoping.md — Multi-agent email campaign orchestration
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference