Set up and run an AI marketing team with 4 specialized agents, battle-tested frameworks, and persistent memory for campaign execution
triggers
["set up marketing os","create ai marketing team","configure marketing agents","run marketing campaign with agents","deploy marketing os starter","initialize marketing automation system","build marketing agent pipeline","launch ai marketing workflow"]
Marketing OS Starter is a complete AI marketing team built for Claude Code. It includes 4 specialized agents (Orchestrator, Researcher, Strategist, Copywriter), 5 marketing skills, and battle-tested frameworks that turn research into creative briefs into finished copy — all with persistent memory that compounds across sessions.
The system runs on structured agent handoffs (JSON schemas), enforces brand voice automatically, and applies proven frameworks like the 6 Hook Formulas and BOFU Domination to every piece of output.
Installation
# Clone the repository
git clone https://github.com/ericosiu/marketing-os-starter.git my-marketing-os
cd my-marketing-os
# [Your Agency Name]## Overview
[2-3 sentence value proposition]
## What We Do- [Service 1]
- [Service 2]
- [Service 3]
## Public Client Examples- [Client success story 1]
- [Client success story 2]
Edit brands/your-agency/voice.md:
# Voice Guidelines## Tone- Direct and data-driven
- No jargon or corporate speak
- Numbers over adjectives
## Always Use- Specific metrics (e.g., "3.4x ROI" not "great results")
- Active voice
- Short sentences
## Never Use- leverage, synergize, value-add, paradigm
- "excited to announce"
- Corporate platitudes
## Examples That Nail Our Voice### Good
"We cut their CAC from $847 to $312 in 6 weeks. Here's the breakdown."
### Bad
"We're excited to share that our innovative approach helped drive meaningful results."
# Acme Corp## Company Overview-**Industry**: [SaaS/E-commerce/etc]
-**Target Market**: [B2B/B2C, company size, role]
-**Product**: [What they sell]
## Voice
[How this specific client speaks - may differ from agency voice]
## Past Campaigns
None yet.
Key Commands and Workflows
Running a Complete Campaign Pipeline
Start Claude Code and describe your need naturally:
"I need to promote Acme Corp's new analytics feature to marketing directors at B2B SaaS companies. Budget $5K, 45-day timeline."
{"target_audience":{"role":"Marketing Director","company_size":"50-500 employees","industry":"B2B SaaS"},"pain_points":[{"pain":"Attribution reporting takes 2-3 days to compile","evidence":"14 Reddit posts in r/marketing, 23 G2 reviews","quote":"I spend more time building reports than reading them"}],"voice_of_customer":{"actual_phrases":["I spend more time building reports than reading them","My CEO thinks marketing is a cost center because I can't prove otherwise"]}}
Strategist Reads the audience profile and outputs (creative-brief.json):
{"campaign_name":"Acme Attribution Fix","core_message":"Stop spending 2 days building reports. See real-time attribution in 15 minutes.","proof_points":["14 Reddit posts confirm this pain point","Average time saved: 2.3 days per month"],"growth_playbook":"Playbook 6: Marketing Mistakes Content","hook_formula":"Harsh Reality","deliverables":{"landing_page_hero":1,"linkedin_posts":5,"email_sequence":3}}
Copywriter Reads the brief and produces final copy with the selected hook formula applied.
Working with Memory Files
Campaign History
After each campaign, the Strategist logs results to memory/marketing-os/campaign-history.md:
## Campaign: Acme Attribution Fix-**Date**: 2026-05-15
-**Channel**: LinkedIn + Landing Page
-**Result**: 47 demo requests, 12 closed deals
-**What Worked**: "Harsh Reality" hook + specific time-saved stat
-**What Didn't**: Generic "learn more" CTA underperformed vs "See your attribution now"
This memory prevents repeating failed approaches and reinforces what works.
Brand Voice Evolution
As you approve copy, add winning examples to memory/marketing-os/brand-voice.md:
After 5-10 campaigns, the Copywriter matches your voice without explicit direction.
Task Queue
memory/marketing-os/working.md tracks the current pipeline:
# Current Tasks## In Progress- [ ] Acme Q2 Campaign - waiting for client approval on headlines
- [ ] Research for DataPulse competitive analysis
## Blocked- [ ] Email sequence for Acme - need segment data from client
## Completed This Week- [x] Landing page copy for Acme Attribution Fix
- [x] 5 LinkedIn posts for Acme Q2
You can resume exactly where you left off in any session.
Real Usage Examples
Example 1: Full Campaign from Scratch
User: "Build a campaign to get 30 demo requests for Acme's new attribution feature. Target marketing directors at B2B SaaS companies, budget $5K, 45 days."
Orchestrator: Detecting new campaign request. Invoking full pipeline.
[Researcher produces audience-profile.json with 87 data points]
Strategist: Reading audience profile... Core pain point identified: "2-3 days per month wasted on attribution reports."
[Strategist produces creative-brief.json selecting Growth Playbook #6 and Harsh Reality hook]
Copywriter: Reading creative brief... Applying Harsh Reality hook formula.
[Copywriter produces 5 LinkedIn posts, 1 landing page hero, 3-email sequence]
Orchestrator: Campaign deliverables ready. Files saved to memory/marketing-os/campaigns/acme-q2/.
Example 2: Research Only
User: "Who should we target for a marketing attribution tool?"
[Orchestrator detects research intent, invokes Researcher]
Researcher: Conducting BOFU-first research...
- Analyzing search intent for "best marketing attribution tool"
- Scraping G2 reviews for voice-of-customer quotes
- Cross-referencing Reddit r/marketing pain points
[Produces audience-profile.json with job titles, pain points, actual quotes]
Example 3: Writing with Existing Brief
User: "Write 5 LinkedIn posts using the Acme Q2 brief."
[Orchestrator detects copywriting intent with existing brief, invokes Copywriter]
Copywriter: Reading brief at memory/marketing-os/campaigns/acme-q2/creative-brief.json...
- Hook formula: Harsh Reality
- Proof point: "2.3 days saved per month"
- Voice check: Loading brands/your-agency/clients/acme-corp/voice.md
[Produces 5 posts, each with different hook formula variation]
Configuration Reference
Agent Roles
Agent
File
Primary Function
Orchestrator
.claude/agents/marketing-os/orchestrator.md
Routes requests, tracks pipeline, never writes copy
Test the full pipeline before setting up your own brand:
"Build a campaign for DataPulse targeting marketing directors at mid-market SaaS companies."
Pattern: Voice Evolution Loop
Generate copy with current voice guidelines
Review and edit to match your actual voice
Log approved examples to memory/marketing-os/brand-voice.md
Repeat — the Copywriter learns from approved examples
After 5-10 campaigns, the voice matching becomes automatic.
Troubleshooting
Issue: Generic output despite brand voice file
Problem: Copy doesn't match your voice, sounds generic.
Solution:
Check brands/your-agency/voice.md has specific examples (not just rules)
Add 2-3 "Good vs Bad" examples showing your voice clearly
Add winning headlines to memory/marketing-os/brand-voice.md
## Examples That Nail Our Voice### Good
"We cut their CAC from $847 to $312 in 6 weeks. Here's the breakdown."
### Bad
"We're excited to share that our innovative approach helped drive meaningful results."
Issue: Agent doesn't invoke the right skill
Problem: You ask for research but get copy instead.
Solution: The proactive routing in .claude/rules/proactive-marketing.md may need more trigger phrases. Add your common phrasing:
## Research Triggers- "who should we target"
- "what do they care about"
- "audience analysis"
- [ADD YOUR PHRASE HERE]
Or invoke skills manually: /research instead of relying on auto-detection.
Issue: Handoff breaks between agents
Problem: Strategist can't find Researcher output.
Solution:
Check that Researcher saved output to memory/marketing-os/campaigns/[campaign-name]/
"Create a brief using the research at memory/marketing-os/campaigns/acme-q2/audience-profile.json"
Issue: Campaign history not influencing new campaigns
Problem: Strategist repeats a failed approach.
Solution: Ensure memory/marketing-os/campaign-history.md has clear "What Worked / What Didn't" sections:
## Campaign: Acme Q1 Email Sequence-**What Didn't Work**: Generic "Learn more" CTA → 1.2% CTR
-**Lesson**: Use specific action CTAs ("See your dashboard now" → 4.8% CTR)
The Strategist reads this file before creating new briefs.
Issue: Memory files getting too large
Problem: campaign-history.md or brand-voice.md becomes unwieldy after 50+ campaigns.
Solution: Archive old campaigns quarterly:
# Create archivemkdir -p memory/marketing-os/archive/2026-q1
# Move old campaign datamv memory/marketing-os/campaigns/acme-q1 memory/marketing-os/archive/2026-q1/
# Keep only last 10 campaigns in campaign-history.md# Move older entries to archive/campaign-history-2026-q1.md
Advanced: Adding Custom Skills
To add a new skill (e.g., /paid-ads):
Create .claude/skills/paid-ads.md
Define the skill structure:
---
name: paid-ads
description: Generate paid advertising strategy and ad copy
triggers:
- "create paid ads"
- "facebook ads"
- "google ads campaign"
---# Paid Ads Strategy## What This Skill Does
[Description]
## Inputs Required- Campaign brief (from Strategist)
- Budget and timeline
- Target platform (Meta, Google, LinkedIn)
## Outputs- Platform-specific ad copy
- Targeting recommendations
- Budget allocation
## Process
[Step-by-step]
Add trigger phrases to .claude/rules/proactive-marketing.md
Create a schema if needed: schemas/paid-ads-plan.json
The Orchestrator will automatically detect and route requests.
Integration with MCP Servers
To connect live data sources:
Google Analytics (GA4):
# Install GA4 MCP server (example - adjust to actual implementation)
npm install -g @mcp/google-analytics
# Add to Claude configuration# Reference in CLAUDE.md: "GA4 data available via MCP"
Then in research:
"Pull last 30 days of campaign data from GA4 for Acme Corp."
HubSpot CRM:
# Install HubSpot MCP server
npm install -g @mcp/hubspot
# Reference contact segments in research"Get email engagement data for Ghost Users segment from HubSpot."
The Researcher and Strategist can query live data instead of relying solely on manual input.
Start using Marketing OS: Open Claude Code in your marketing-os-starter directory and describe your first campaign. The system handles the rest.