Reallocate marketing spend across channels using performance data and diminishing-returns modeling — produces a current-vs-optimized allocation table, projected ROI ranges with confidence intervals, a phased 4-8 week reallocation timeline, and a 10-15% testing reserve. Recommends shifts only; it never changes spend on any platform. Triggers on \"/digital-marketing-pro:budget-optimizer\", \"optimize my marketing budget\", \"which channels should get more spend\", \"reallocate budget based on ROAS
git clone https://github.com/indranilbanerjee/digital-marketing-pro.git--- name: budget-optimizer description: "Reallocate marketing spend across channels using performance data and diminishing-returns modeling — produces a current-vs-optimized allocation table, projected ROI ranges with confidence intervals, a phased 4-8 week reallocation timeline, and a 10-15% testing reserve. Recommends shifts only; it never changes spend on any platform. Triggers on \"/digital-marketing-pro:budget-optimizer\", \"optimize my marketing budget\", \"which channels should get more spend\", \"reallocate budget based on ROAS\", \"is our channel split right\". Reads the brand profile and guidelines, runs scripts/budget-optimizer.py, and pairs with /digital-marketing-pro:budget-tracker for in-flight pacing." argument-hint: "[total-budget]" --- # /digital-marketing-pro:budget-optimizer ## Purpose Data-driven marketing budget optimization across channels using performance data and industry benchmarks. Analyzes current spend efficiency, models diminishing returns per channel, and produces an optimized allocation with projected ROI improvement and a phased reallocation timeline. ## Input Required The user must provide (or will be prompted for): - **Current budget by channel**: How spend is distributed today (e.g., paid search, paid social, SEO, email, content, display, affiliate, events, etc.) - **Performance data by channel**: Key metrics per channel — spend, revenue or conversions, CPA, ROAS, and conversion volume over the measurement period - **Total budget available**: Overall marketing budget for the optimization period (monthly, quarterly, or annual) - **Business goals**: Primary objective — maximize revenue, minimize CPA, hit a specific lead or revenue target, balance growth with efficiency - **Constraints**: Minimum spend requirements, channel mandates from leadership, seasonal considerations, contractual commitments, or platform minimums - **Measurement period**: Timeframe the performance data covers (last 30, 60, 90 days, or custom range) - **Attribution model**: How conversions are currently attributed (last-click, first-click, linear, data-driven, or unknown) - **Seasonality factors**: Upcoming seasonal peaks, promotional periods, or industry events that affect channel performance - **Historical context**: Whether performance data reflects a typical period or was influenced by one-time events (product launch, viral moment, outage) ## Process 1. **Load brand context**: Read `~/.claude-marketing/brands/_active-brand.json` for the active slug, then load `~/.claude-marketing/brands/{slug}/profile.json`. Apply brand voice, compliance rules for target markets (`skills/context-engine/compliance-rules.md`), and industry context. **Also check for guidelines** at `~/.claude-marketing/brands/{slug}/guidelines/_manifest.json` — if present, load restrictions and relevant category files. Check for custom templates at `~/.claude-marketing/brands/{slug}/templates/`. Check for agency SOPs at `~/.claude-marketing/sops/`. If no brand exists, ask: "Set up a brand first (/digital-marketing-pro:brand-setup)?" — or proceed with defaults. 2. **Run budget-optimizer.py script**: Execute `python "${CLAUDE_PLUGIN_ROOT}/scripts/budget-optimizer.py" --channels '[{"name":"google_ads","spend":10000,"roas":4.2}]' --total-budget {amount}` (`--total-budget` is required; pass channel data via `--channels` JSON or `--file`) to compute baseline efficiency metrics and generate optimization scenarios 3. **Calculate efficiency metrics per channel**: Compute ROAS, CPA, cost per lead, revenue per dollar, contribution margin, and marginal cost of acquisition for each channel 4. **Rank channels by marginal efficiency**: Order channels by incremental return per additional dollar spent, accounting for current saturation levels and historical performance trends 5. **Apply diminishing returns model**: Model how each channel's efficiency degrades as spend increases — identify the inflection point and saturation ceiling for each channel 6. **Generate optimized allocation**: Redistribute budget to maximize the stated objective while respecting all constraints and minimum viable spend thresholds 7. **Compare current vs optimized**: Build a side-by-side comparison showing spend shifts, projected metric changes, and net improvement across all KPIs 8. **Project ROI improvement**: Estimate total revenue, conversion volume, ROAS, and CPA gains from the reallocation with confidence intervals 9. **Account for minimum viable spend thresholds**: Ensure no channel drops below the minimum spend needed to generate meaningful data, maintain auction competitiveness, or fulfill contractual obligations 10. **Include testing budget**: Reserve 10-15% of total budget for experimentation — new channels, creative testing, audience expansion, or emerging platforms 11. **Flag attribution caveats**: Note where attribution model limitations may skew efficiency calculations and recommend adjustments 12. **Create reallocation timeline**: Phase budget shifts over 4-8 weeks to avoid performance disruption — gradual ramp-up and ramp-down with weekly checkpoints and rollback triggers ## Output A structured budget optimization plan containing: - **Current vs optimized allocation table**: Side-by-side channel budgets with dollar amounts, percentage of total, and change from current - **Projected ROI improvement**: Expected gains in revenue, conversions, ROAS, and CPA with confidence ranges - **Channel efficiency ranking**: Channels ordered by marginal return with diminishing returns curves and saturation indicators - **Reallocation recommendations**: Specific dollar shifts with clear rationale for each increase, decrease, or hold - **Scenario comparison**: Best-case, expected, and conservative projections for the optimized allocation - **Implementation timeline**: Phased reallocation schedule with weekly checkpoints, performance triggers, and rollback criteria - **Risk assessment**: Potential downsides of each shift, minimum viable spend warnings, attribution blind spots, and mitigation strategies - **Testing budget plan**: Recommended experiments with allocated budget, hypotheses, success criteria, and measurement approach - **Attribution notes**: Caveats on how the current attribution model may over- or under-credit specific channels - **Executive summary**: 1-page overview of key findings and recommended actions for stakeholder presentation ## Agents Used - **analytics-analyst** — Performance data analysis, efficiency calculations, diminishing returns modeling, ROI projections, attribution assessment - **media-buyer** — Channel-level budget strategy, spend threshold expertise, reallocation sequencing, platform-specific benchmarks, auction dynamics
["Gather data: Export 3-6 months of budget/spend data and performance metrics (e.g., from Google Analytics, Meta Ads Manager, CRM) for [CHANNELS].","Define goals: Specify primary objectives (e.g., revenue growth, lead volume) and constraints (e.g., minimum brand awareness spend).","Run analysis: Use tools like Excel, Google Sheets, or budgeting software (e.g., HubSpot, Allocadia) to identify underperformers (e.g., channels with ROI < target or high CAC).","Generate plan: Input findings into the prompt template, replacing placeholders with your data and goals. Iterate with AI until satisfied with the reallocation strategy.","Implement & track: Execute the phased plan, monitor KPIs weekly, and adjust allocations quarterly based on performance data. Use dashboards (e.g., Looker Studio) to visualize spend vs. ROI."]
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/indranilbanerjee/digital-marketing-pro/tree/main/skills/budget-optimizerCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Act as a budget optimization consultant for [COMPANY_NAME]'s [DEPARTMENT/TEAM]. Review the current budget allocation across [CHANNELS: e.g., paid social, SEO, email, events] with spend of [$X] over the last [TIME PERIOD: e.g., 3 months]. Analyze performance metrics like [KPIs: e.g., CAC, ROAS, conversion rate, lead quality] and identify underperforming channels with spend >[$Y] and ROI <[Z%]. Propose a reallocated budget distribution that maximizes [PRIMARY GOAL: e.g., revenue growth, lead volume, profit margin] while maintaining minimum thresholds for [CONSTRAINTS: e.g., brand awareness, customer retention]. Provide a phased implementation plan with expected outcomes for each quarter.
For EcoGrow Solutions, a sustainable gardening startup with a $500,000 Q2 marketing budget, I analyzed spend across paid social ($180,000), SEO/content ($120,000), email ($80,000), events ($70,000), and PR ($50,000). Key findings revealed: 1) Paid social underperformed with a $3.20 CAC (target: $2.50) and 15% ROAS (target: 25%), despite accounting for 36% of spend; 2) SEO drove 40% of organic traffic but required $120,000 to maintain rankings; 3) Email had a 22% open rate (industry avg: 18%) but low conversion (1.8% vs. 3% target). Reallocated budget: Paid social reduced to $120,000 (focus on high-intent audiences), SEO increased to $150,000 (content expansion), email budget reallocated to $100,000 with A/B testing for subject lines, events reduced to $50,000 with focus on high-ROI webinars, and PR increased to $80,000 for influencer partnerships. Expected outcomes: 15% reduction in CAC to $2.70, 10% increase in ROAS to 27.5%, and 8% lift in conversion rate. Implementation: Phase 1 (Q3) reallocates $60,000 from paid social to SEO and email; Phase 2 (Q4) shifts $20,000 from events to PR based on webinar performance data.
skills-collection
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan