/doddleOS-marketing:campaign:reallocate campaign-namefrom doddleOS-marketing
Reviews a live campaign's performance data against KPI targets and decision rules, then proposes budget reallocations across channels.
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 media-reallocator, measurement-plan, budget-allocator, analytics-attribution skills.
Components: Reference ./.claude/components/interactive-questions.md and ./.claude/components/date-helpers.md
Runs after a campaign has live data (typically ≥7 days, or the cadence defined in the campaign's measurement plan). Requires artifacts saved by /campaign:run:
./plans/campaigns/[name]/03-kpi-targets.json — targets to measure against
./plans/campaigns/[name]/03-decision-rules.md — rules to execute as written
./plans/campaigns/[name]/04-budget-split.json — current allocations
./plans/campaigns/[name]/04-unit-economics.md — CAC ceiling + scenarios in force
Execute BEFORE asking any questions:
CURRENT_DATE=$(date +%Y-%m-%d)
DATA_START=$(date -v-14d +%Y-%m-%d 2>/dev/null || date -d "-14 days" +%Y-%m-%d)
echo "Reallocation review: $CURRENT_DATE (window from $DATA_START)"
Ask which campaign to review. Read the four artifacts above; if any is missing, show exactly what is absent:
## Missing Artifacts
| Artifact | Status |
|----------|--------|
| 03-decision-rules.md | Requested |
| 04-budget-split.json | Show a "create via /campaign:run Stage 4 first" |
Reallocation without decision rules or a budget split is misdirected money — stop and route the user to the missing stage, don't improvise.
Follow ./.claude/workflows/data-reliability-rules.md:
| Data | MCP Server | Fallback |
|---|---|---|
| Channel traffic/conversions | google-analytics | "⚠️ NOT AVAILABLE — configure GA4" |
| Lead/deal performance | hubspot | "⚠️ NOT AVAILABLE — configure HubSpot" |
| Paid platform spend | meta-ads | "⚠️ NOT AVAILABLE" |
NEVER fabricate actuals. If all sources are unavailable, end with setup instructions and no plan — do not estimate channel performance.
Per the media-reallocator skill:
03-kpi-targets.json, CPA/ROAS trend, volume, phase (learning/scaling/bending)03-decision-rules.md as written — triggered / not-triggered lists, with thresholds and windowsConstrained by 04-budget-split.json floors and 04-unit-economics.md ceilings:
Display the moves table, then:
Question: "Apply these reallocation moves?" Header: "Approve" MultiSelect: true
Options:
Nothing executes before user approval. Rejected items are logged, not silenced.
| Execution | Method | Fallback |
|---|---|---|
| Platform budget changes | meta-ads (mcp-manager) | "⚠️ NOT AVAILABLE — change budgets in Platform UI per reallocation_plan" |
| Organic content shifts | Agent work per plan | Document as next-week jobs in 02-job-map.json |
| Team notification | slack, notion, asana | "⚠️ NOT AVAILABLE" |
Save:
./plans/campaigns/[campaign-name]/
├── 09-reallocation-plan-[YYMMDD].json — approved moves, watchlist, rules status
└── 09-reallocation-notes-[YYMMDD].md — scorecard, rules executed, audit notes
Ask for review cadence (default from measurement plan; weekly if unset). Offer /ops:weekly integration point: next review runs with fresh actuals against the updated split.
doddle-core/registry/integrations/_registry.mdWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
262 commands in this plugin
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.