AI Blocks › Track your numbers
Marketing budget scenario planner
Give it past spend and results by channel. Get low and high forecasts for a new budget, with diminishing returns built in.
Marketing budget scenario planner is a free AI skill for the job "Track your numbers". Give the instructions to an AI assistant that supports the required files and tools, then review its output.
Free · No account · MIT licence · Made by wizard7558 · Level: expert · Thinking: high
Start this task
Download the complete instructions and supporting files. Add the material the task needs in an AI that supports those files and tools.
Made by wizard7558. See the original on GitHub; we copied it as it is, with its licence.
What it does
Low and high forecasts for a new marketing budget, based on your past spend and results, with diminishing returns built in. The model does not assume that doubling spend doubles results. You give weekly or monthly spend by channel and the outcomes at each funnel stage. A saturation curve is fitted to each channel. Missing spend data is treated as a gap, not as zero. For a new budget it projects outcomes, then runs many random simulations to give a cautious p10 and an optimistic p90. If you ask it to allocate money, it uses proper optimisation rules so it does not pile everything into one channel. It also backtests on past periods.
You give it
- Past spend by channel and period
- Funnel results by period
- The new total budget
- The timeframe
You get
- Conservative and optimistic forecasts
- A channel allocation
- Fitted return curves
- A past-period error check
Use it when
- You have a bigger budget next quarter and need a realistic forecast.
- You want to split budget across channels based on evidence.
- Your plan assumes spend and results scale in a straight line.
- You want to know how wrong the model was on past periods.
More for Track your numbers
Every track your numbers skill
Full instructions
- Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
- Ask for the job in your own words. Your AI opens the skill when it fits.
- It works best when your AI can run code and read your spreadsheet.
Full instruction file
Budget Scenario Planning
Use this skill when analyzing marketing budgets, forecasting outcomes, fitting Hill-saturation curves, projecting funnel performance using Monte Carlo sampling, or backtesting models against historical scenarios.
This skill provides a mathematically rigorous approach to marketing budget allocation, replacing flat multiplier forecasting with methods that account for diminishing returns and variance.
Core concepts & workflow
- Calibrate: Ingest historical weekly/monthly spend by channel alongside funnel outcomes.
- Curve-fit: Fit a Hill-saturation curve
f_c(x) = a_c * x / (b_c + x)for each channel using thea_c = 4 * μ_c * β_cheuristic to cap the upside of low-spend, high-return channels. - Project: Given a total budget and timeframe, project the expected outcome across funnel stages.
- Sample: Run Monte Carlo simulations to generate p10 (conservative) and p90 (optimistic) bands.
- Backtest: Compare projected scenarios against historical hold-out periods to measure model error (e.g., RMSE, MAPE).
Mandatory constraints (Contract Boundaries)
- Unknown ≠ Zero: If historical spend data is missing for a period, treat it as a missing data point (gap), not as $0 spend.
- No allocator hallucination: When asked to "optimize" or "allocate" a budget, you MUST use the Karush-Kuhn-Tucker (KKT) conditions on the Hill curves. DO NOT use a naive linear programming solver that dumps 100% of the budget into the single highest ROI channel.
- Strict framing: Projections are observational estimates based on historical correlation. Explicitly communicate to the user that these are forecasts, NOT causal incrementality guarantees.
- Date alignment: Funnel projection periods must cleanly map to the historical fit window.
Using the included artifacts
- Consult
references/planning-math.mdfor exact formulas (Hill calibration, KKT allocation, Monte Carlo sampling). - Use
scripts/run-budget-scenario.pyto project budgets deterministically. - Use
references/scenario-fixtures.jsonto mock inputs or test the script. - Check
references/eval.mdandreferences/eval-cases.jsonfor validation criteria and evaluation prompts.