Marketing Writer
A multi-agent marketing copywriting system that produces persuasive, conversion-optimized marketing content through a structured pipeline.
When to Use This Skill
Use this skill when the user wants to:
- Write marketing copy for a product, book, or service
- Create promotional articles or soft-sell content
- Generate story-driven marketing content
- Develop conversion-optimized landing page copy
- Produce content for WeChat, Xiaohongshu, or other platforms
Quick Start
# Initialize a project
marketing-writer init my-campaigns
cd my-campaigns
# Create a campaign
marketing-writer campaign create \
--product "《深度工作》书籍" \
--type book \
--platform wechat \
--words 1500
# Run full pipeline
marketing-writer run --campaign 深度工作
# Export final copy
marketing-writer export --campaign 深度工作 --format md
Workflow
Stage 1: Strategist (策略分析)
Analyzes product information to extract:
- Core selling points
- Target audience pain points
- Emotional anchor
- Differentiation positioning
Command: marketing-writer analyze --campaign <name> [--input <file>]
Stage 2: Planner (结构设计)
Designs copy structure based on strategy:
- Hook candidates (3-5 options)
- Content framework (AIDA/PAS/Story/Listicle)
- Section breakdown with word counts
Command: marketing-writer plan --campaign <name> [--framework <type>] [--hook-type <type>]
Frameworks:
AIDA: Attention → Interest → Desire → ActionPAS: Problem → Agitate → SolveStory: Story-driven narrative structureListicle: List-based content
Hook types:
story: Personal story openingscene: Vivid scene descriptiondata: Surprising statisticquestion: Rhetorical question
Stage 3: Writer (内容创作)
Generates content section by section using LLM
Command: marketing-writer write --campaign <name> [--context "..."]
Stage 4: Editor (润色优化)
Polishes the copy for:
- Conversational tone
- Vivid imagery
- Rhythm and pacing
- Style consistency
Command: marketing-writer edit --campaign <name>
Stage 5: Critic (审核质检)
8-dimension quality check:
- Hook strength - Does it grab attention in 3 seconds?
- Pain point precision - Will the target audience resonate?
- Selling point clarity - Is the core benefit obvious?
- Trust building - Are there credentials/evidence?
- CTA clarity - Is the call-to-action clear?
- Compliance safety - Any exaggeration/violations?
- Rhythm flow - Is the reading experience smooth?
- Emotional arc - Is there ups and downs?
Command: marketing-writer audit --campaign <name> [--fix]
Configuration
First Time Setup
Configure LLM provider:
marketing-writer config
Select from:
- OpenAI
- Anthropic (Claude)
- Kimi (Moonshot)
- Custom OpenAI-compatible API
Manual Configuration
Edit ~/.marketing-writer-config.json:
{
"llm": {
"provider": "kimi",
"api_key": "your-api-key",
"base_url": "https://api.moonshot.cn/v1",
"model": "moonshot-v1-8k",
"temperature": 0.7,
"max_tokens": 4096
}
}
Commands Reference
| Command | Description | Example |
|---------|-------------|---------|
| init <name> | Initialize project | marketing-writer init my-project |
| config | Configure LLM | marketing-writer config |
| campaign create | Create campaign | --product "X" --type book --words 1500 |
| campaign list | List campaigns | marketing-writer campaign list |
| analyze | Run Strategist | --campaign my-campaign |
| plan | Run Planner | --campaign my-campaign --framework Story |
| write | Run Writer | --campaign my-campaign --context "..." |
| edit | Run Editor | --campaign my-campaign |
| audit | Run Critic | --campaign my-campaign --fix |
| run | Run full pipeline | --campaign my-campaign |
| export | Export final copy | --campaign my-campaign --format md |
Project Structure
After initialization:
my-project/
├── .marketing-writer # Project marker
├── campaigns/
│ └── <campaign-name>/
│ ├── config.json # Campaign config
│ ├── stages/ # Stage outputs
│ │ ├── strategy.md
│ │ ├── structure.md
│ │ ├── draft.md
│ │ ├── edited.md
│ │ └── audit.md
│ └── drafts/ # Working drafts
└── templates/ # Custom templates
References
- Marketing Frameworks - AIDA, PAS, Story, Listicle
- Hook Patterns - 8 hook types with examples
- Compliance Rules - Marketing compliance guidelines
Templates
Located in assets/templates/:
story_short.md- Story-driven soft articlelisticle.md- List-based contentcomparison.md- Comparison-based content
Example Session
User: 帮我写一篇推广《深度工作》这本书的营销软文
→ Check if project exists
→ If not: marketing-writer init marketing-projects
cd marketing-projects
→ Create campaign:
marketing-writer campaign create \
--product "《深度工作》" \
--type book \
--platform wechat \
--words 1500
→ Run full pipeline:
marketing-writer run --campaign 深度工作
→ Export and show result:
marketing-writer export --campaign 深度工作 --format md
cat campaigns/深度工作/深度工作.md
Tips
- Provide rich context - The more product info, the better the output
- Iterate on hooks - Review Planner output and choose the best hook
- Review audit results - Critic provides actionable feedback
- Use --context - Add target audience info in Writer stage
- Platform matters - Different platforms (WeChat vs Xiaohongshu) need different tones
Troubleshooting
"LLM not configured"
→ Run marketing-writer config first
"Campaign not found"
→ Check marketing-writer campaign list
→ Verify campaign ID spelling
Pipeline stops at a stage → Check previous stage output exists → Review error message → Run stages individually to debug
License
MIT - See LICENSE file

Scan to join WeChat group