agentleFS
MicrosoftKnown publishermicrosoft/finops-toolkit/src/templates/agent-skills/rate-optimization-portfolio/SKILL.md

rate-optimization-portfolio

Skill633 starsChanged 3 months agoMITView on GitHub

Use when the user manages commitment discounts as a portfolio over time — deciding the right mix of reservations, savings plans, and Azure Hybrid Benefit, planning purchases against coverage gaps, tracking utilization and expirations, and maximizing Effective Savings Rate across the whole estate rather than one instrument at a time.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never size a commitment to peak — size to the floor of sustained usage.

    line 51
  2. Distinctive:

    Prefer flexibility (savings plan, 1-year) when the estate is changing.

    line 52
  3. Distinctive:

    Treat utilization as the first KPI — an unused reservation costs more than paying on-demand.

    line 53

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

Rate optimization portfolio

Getting the best rate is a portfolio problem, not a one-off purchase. This skill manages the mix of reservations, savings plans, and Azure Hybrid Benefit over time to maximize Effective Savings Rate (ESR) without over-committing.

When to use this skill

Use it when the user asks about reservations vs savings plans, commitment strategy, coverage gaps, utilization, expirations, or "are we paying the best rate." For a single instrument's mechanics see the finops-multitool commitments reference; use this skill for the portfolio-level view across all of them.

The instruments

InstrumentDiscountFlexibilityBest for
Reservation (RI)HighestLocked to a service/family/region (some exchange)Stable, predictable workloads on a specific SKU
Savings planLower than RIFlexible across compute services/regionsVariable compute you'll keep running but may reshape
Azure Hybrid Benefit (AHB)Removes Windows/SQL license costReassignableExisting Windows Server / SQL with Software Assurance
On-demandNoneTotalSpiky, short-lived, or uncertain workloads

Layer them: AHB first (license), then RIs for the stable base, then a savings plan over the flexible remainder, leaving truly variable load on-demand.

Portfolio workflow

  1. Baseline coverage — what % of commitment-eligible cost is already covered? (commitment utilization, commitment-discount-utilization.kql)
  2. Utilization — are existing commitments fully used? Under-utilization is waste worse than on-demand. Fix before buying more.
  3. Gap — the stable, uncovered base is the buy target. Size to baseline usage, not peak — you can always add, you can't easily unwind.
  4. Instrument choice — RI for steady single-SKU base; savings plan for flexible compute; AHB for eligible Windows/SQL (ahb opportunities).
  5. Term — 1-year for changing estates, 3-year for proven-stable workloads (higher discount, longer lock).
  6. Track expirations — model the ESR cliff when a commitment lapses; renew or re-shape ahead of expiry.

Key signals

SignalMeaningAction
Coverage low, utilization highUnder-committedBuy into the stable base
Utilization lowOver-committed / wrong SKUExchange, right-size, or let lapse — don't buy more
ESR falling with no usage changeA commitment expiredRenew/re-shape (anomaly-investigation)
AHB-eligible VMs at full rateLeaving license savings on the tableApply AHB (ahb opportunities)
Recommendations show large net savingsGenuine gapValidate against baseline, then commit

Guardrails

  • Never size a commitment to peak — size to the floor of sustained usage.
  • Prefer flexibility (savings plan, 1-year) when the estate is changing; take the deeper discount (RI, 3-year) only when stability is proven.
  • Treat utilization as the first KPI — an unused reservation costs more than paying on-demand.

Hand-offs

  • Coverage/utilization/AHB data → finops-multitool scans.
  • Express the result as ESR / coverage KPIs → unit-economics.
  • Recommendation breakdown from hub data → finops-toolkit (reservation-recommendation-breakdown.kql).

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.