forecasting-budgeting
Skill633 starsChanged 3 months agoMITView on GitHub
Use when the user wants to forecast future Azure cost, design or evaluate budgets, run budget-vs-actual variance analysis, set up budget alerts, or model the cost impact of a planned change. Covers planning and the "manage anomalies and budgets" side of FinOps.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- src/templates/finops-hub-copilot/copilot-instructions.mdCopilot instructions
- microsoft-writing-style-guideSkill
- support-reportSkill
- support-sweepSkill
- finops-toolkitSkill
- anomaly-investigationSkill
- azure-policy-governanceSkill
- azure-workbooks-finopsSkill
- cost-allocationSkill
- cost-data-sourceSkill
- finops-multitoolSkill
- finops-reportingSkill
- focus-data-qualitySkill
- power-bi-finopsSkill
- rate-optimization-portfolioSkill
- sustainability-carbonSkill
- unit-economicsSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Look forward, not just back.
- Very specific: line 18
Use it when the user asks to forecast, budget, plan spend, explain why they're over/under budget, or set up budget alerts.
- Distinctive: line 30
Always state the horizon and confidence — a forecast without a range invites false precision.
- Very specific: line 59
Write up the variance → finops-reporting.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Forecasting and budgeting
Look forward, not just back. This skill projects future spend, designs budgets, and explains variance so teams can plan and stay accountable.
When to use this skill
Use it when the user asks to forecast, budget, plan spend, explain why they're over/under budget, or set up budget alerts. Pull history from cost trend / monthly-cost-trend.kql and current budget state from budget status, then plan here.
Forecasting
| Method | Use when | Source |
| Trend / run-rate | Stable spend, short horizon | MTD ÷ days elapsed × days in month |
| Linear / seasonal model | Months of history, want a defensible projection | cost-forecasting-model.kql |
| Driver-based | A known change is coming (migration, new workload, ramp-down) | Build from the change, not history |
Rules:
- Forecast on
EffectiveCost(amortized) for planning; useBilledCostonly for invoice/cash projections. - Always state the horizon and confidence — a forecast without a range invites false precision.
- Early in the month, run-rate forecasts are noisy (tag-dimensioned and some usage data lag a few days). Flag this rather than over-trusting a day-3 projection.
- Re-forecast when a commitment expires or a major workload changes — both break historical trend.
Budget design
- Scope — subscription, resource group, or tag (CostCenter/App). Tag-scoped budgets need the allocation model from the
cost-allocationskill. - Amount — base on forecast + a planned-growth buffer, not last month flat.
- Time grain — monthly for ops, quarterly/annual for finance.
- Alert thresholds — set multiple (e.g. 50/80/100% actual, plus a forecasted-to-exceed alert). Forecasted alerts warn before the overrun.
- Actions — wire alerts to an action group (email/Teams/webhook). For automated response, trigger off the budget alert, not a manual check.
Variance analysis (budget vs actual)
For an over/under, decompose the gap:
- Volume — more/less usage of the same things.
- Rate — price changed, or a discount/commitment expired (check ESR via
unit-economics). - New/retired — resources added or removed since the budget was set.
- Allocation — a tag changed and moved cost between buckets.
Report each driver with its $ contribution so the variance is explained, not just stated.
For the month-by-month picture, run Budget History from finops-multitool rather than rebuilding the series from cost trend — it returns actuals per budget per month, which is the series variance analysis needs.
Hand-offs
- History + current budgets →
finops-multitool(cost trend, budget status, budget history) /finops-toolkitKQL. - Rate-driven variance →
rate-optimization-portfolioandunit-economics. - Sudden unexpected spike →
anomaly-investigationskill. - Write up the variance →
finops-reporting.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

