/doddleOS-marketing:campaign:run campaign-name-or-goalfrom doddleOS-marketing
Executes the full DoddleOS campaign pipeline from intake through distribution with a human approval gate before distribution. Collects campaign goals, channels, and parameters interactively.
Ships in doddleOS-marketing. Installing the plugin adds it to Claude Code.
CRITICAL: Respond in the same language the user is using. If Vietnamese, respond in Vietnamese. If Spanish, respond in Spanish.
Standards: Token efficiency, sacrifice grammar for concision, list unresolved questions at end.
Skills: Activate marketing-intake, campaign-plan, measurement-plan, budget-allocator, analytics-attribution skills. Channel skills (per selected channels): copywriting, email-marketing, social-media, paid-advertising.
Components: Reference ./.claude/components/interactive-questions.md and ./.claude/components/date-helpers.md
Workflows: Follow ./.claude/workflows/data-reliability-rules.md (MANDATORY) at every stage.
This command executes the full DoddleOS campaign pipeline:
Intake → Plan → Measurement → Budget → Create → APPROVE GATE → Distribute → Measure
Each stage saves a numbered artifact to ./plans/campaigns/<campaign-name>/ so a run can be resumed. Stage 6 is a hard human approval gate — the pipeline always stops there.
Execute BEFORE asking any questions:
CURRENT_DATE=$(date +%Y-%m-%d)
CURRENT_MONTH=$(date +"%B %Y")
YYMMDD=$(bash -c 'date +%y%m%d')
echo "Pipeline run date: $CURRENT_DATE"
Check if ./plans/campaigns/<campaign-name>/01-brief-protocol.json exists (or ask the user if a prior run exists).
**Question:** "Resume an existing campaign run or start fresh?"
**Header:** "Resume"
**MultiSelect:** false
**Options:**
- **Resume at stage [N]** - Continue from the last saved artifact
- **Start fresh** - New run; existing artifacts will be overwritten
On resume: read the latest numbered artifact, show its summary, continue from the next incomplete stage.
Question: "What is the goal of this campaign? Describe the problem or opportunity in your own words." Header: "Goal" MultiSelect: false
Collect via interactive questions (max 5): goal/problem, product/offer, audience, budget, timeline. Anything else becomes a flagged assumption in the brief protocol — never fabricated.
Question: "Which channels are in scope?" Header: "Channels" MultiSelect: true
Options:
Display summary:
## Pipeline Configuration
| Parameter | Value |
|-----------|-------|
| Campaign | [name] |
| Goal | [user's words] |
| Channels | [selected] |
| Budget | [from intake or TBD at Stage 4] |
| Timeline | [from intake] |
| Run directory | ./plans/campaigns/[name]/ |
| Approval gate | Stage 6 (hard stop) |
Question: "Proceed with the full pipeline (stop at approval before any distribution)?" Header: "Confirm" MultiSelect: false
Options:
assumptions with proposed defaults01-brief.md and 01-brief-protocol.json02-job-map.json and 02-orchestration-notes.mdIF [metric] [op] [threshold] BY week N THEN [action]03-tracking-plan.md, 03-kpi-targets.json, 03-decision-rules.md04-budget-split.json, 04-unit-economics.mdFor each wave-2 job, dispatch to the matching agent/skill:
copywriter (copywriting, email-sequence skills)copywriter (social-media skill)copywriter (paid-advertising skill); support metrics from measurement-plan onlysales-enabler, attraction-specialistEach asset claims its tracking references (UTMs, event names) from Stage 3 — no asset ships without them.
Save: one asset file per job in 05-assets/, named per the job map.
## 🛑 APPROVAL REQUIRED
Before anything is distributed:
1. Show asset index: file | job | channel | claims used
2. Route rejected-flag assets back to the owner agent with the user's notes (max 2 revise rounds)
3. Do NOT proceed to distribution without explicit user approval of every asset
Question: "Approve all listed assets for distribution?" Header: "Approve" MultiSelect: true (per-asset or all)
Options:
On partial revise: loop Stage 5 for the revised jobs, then re-present only those assets.
Distribution capability depends on MCP configuration:
| Capability | MCP Server | Fallback |
|---|---|---|
| Publish social | twitter, tiktok | "⚠️ NOT AVAILABLE — post manually" |
| Send email | hubspot | "⚠️ NOT AVAILABLE — export files" |
| Launch ads | meta-ads | "⚠️ NOT AVAILABLE — set up manually" |
| Team notify | slack, notion, asana | "⚠️ NOT AVAILABLE" |
Save: 07-distribution-log.md (channel, action, status, ⚠️ flags)
/campaign:analyze against the campaign after its first data window (≥7 days for most channels)03-kpi-targets.json; execute 03-decision-rules.md as written/campaign:reallocate (when available) or next run iterationSave: 08-measurement-notes.md
doddle-core/registry/integrations/_registry.mdassumed everywhere they appear (brief, budget split, KPI targets)| Stage | Agent | Trigger |
|---|---|---|
| Intake + gatekeeping | project-manager | Protocol, verification |
| Wave decomposition | planner | Job map |
| Baseline + measurement | researcher | Tracking + KPI data |
| Asset creation | copywriter (+ channel skills) | Per job map |
| Gate rework review | researcher + channel agents | Revise loops |
| Distribution | mcp-manager | Platform actions |
Save all stages to ./plans/campaigns/[campaign-name]/:
./plans/campaigns/[name]/
├── 01-brief.md / 01-brief-protocol.json
├── 02-job-map.json / 02-orchestration-notes.md
├── 03-tracking-plan.md / 03-kpi-targets.json / 03-decision-rules.md
├── 04-budget-split.json / 04-unit-economics.md
├── 05-assets/
├── 06-approval-log.md
├── 07-distribution-log.md
└── 08-measurement-notes.md
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: hooks: Invalid string: must end with ".json", agents: Invalid string: must end with ".md"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
262 commands in this plugin
Other plugins' commands for the same job