agentleFS
MicrosoftKnown publishermicrosoft/finops-toolkit/src/templates/agent-skills/forecasting-budgeting/SKILL.md

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.

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
  1. Distinctive:

    Look forward, not just back.

    line 14
  2. Very specific:

    Use it when the user asks to forecast, budget, plan spend, explain why they're over/under budget, or set up budget alerts.

    line 18
  3. Distinctive:

    Always state the horizon and confidence — a forecast without a range invites false precision.

    line 30
  4. Very specific:

    Write up the variance → finops-reporting.

    line 59

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

MethodUse whenSource
Trend / run-rateStable spend, short horizonMTD ÷ days elapsed × days in month
Linear / seasonal modelMonths of history, want a defensible projectioncost-forecasting-model.kql
Driver-basedA known change is coming (migration, new workload, ramp-down)Build from the change, not history

Rules:

  • Forecast on EffectiveCost (amortized) for planning; use BilledCost only 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

  1. Scope — subscription, resource group, or tag (CostCenter/App). Tag-scoped budgets need the allocation model from the cost-allocation skill.
  2. Amount — base on forecast + a planned-growth buffer, not last month flat.
  3. Time grain — monthly for ops, quarterly/annual for finance.
  4. Alert thresholds — set multiple (e.g. 50/80/100% actual, plus a forecasted-to-exceed alert). Forecasted alerts warn before the overrun.
  5. 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-toolkit KQL.
  • Rate-driven variance → rate-optimization-portfolio and unit-economics.
  • Sudden unexpected spike → anomaly-investigation skill.
  • Write up the variance → finops-reporting.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.