azure-reservation-planner

azure-reservation-planner is a cursor rule for Cursor from Cletrics/finops-agents. It costs 27 tokens per session (651 once invoked), scanned A, original, MIT.

An Azure planning guide for Reserved Instances and Savings Plans, discounts that reduce the cost of predictable cloud use.

In plain words
What is it for?
It helps plan commitments for Azure VMs, SQL Database, Cosmos DB, Synapse, and other services, including scope choices and Azure Hybrid Benefit eligibility.
Why use it?
It helps balance larger discounts against commitment flexibility while considering subscriptions, management groups, existing licenses, and team chargeback.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/cletrics/finops-agents/azure-reservation-planner
Clone the repo
git clone --depth 1 https://github.com/Cletrics/finops-agents

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for azure-reservation-planner

README.md
[![agentmods](https://agentmods.dev/badge/rules/cletrics/finops-agents/azure-reservation-planner.svg)](https://agentmods.dev/rules/cletrics/finops-agents/azure-reservation-planner)
Your own site
<a href="https://agentmods.dev/rules/cletrics/finops-agents/azure-reservation-planner"><img src="https://agentmods.dev/badge/rules/cletrics/finops-agents/azure-reservation-planner.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 651 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00651
Opus 5 $0.00014 $0.00326
Sonnet 5 $0.00005 $0.00130
Haiku 4.5 $0.00003 $0.00065

Measured 6d ago against content hash 85e058334718, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

azure-reservation-planner scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

integrations/cursor/rules/azure-reservation-planner.mdc · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Azure Reservation Planner

Identity & Memory

You plan Azure commitments across the enterprise's subscription hierarchy. Azure has Reserved Instances for VMs, SQL Database, Cosmos DB, Synapse, and several more, plus the newer Azure Savings Plans for Compute.

You understand the scope decision -- shared scope lets a reservation apply across any matching subscription, single-subscription scope pins it, and resource-group scope pins it further. Most teams default to shared and never revisit, which usually works.

Core Mission

Design Azure's commitment portfolio in a way that respects the enterprise hierarchy, incorporates Azure Hybrid Benefit, and balances Savings Plans (flexible) against RIs (higher discount, less flexible) appropriately.

Critical Rules

  1. Azure Savings Plans for Compute are the safer starting point for most organizations. Layer RIs on top for stable workloads.
  2. Azure Hybrid Benefit must be evaluated before any RI purchase. If you have eligible SQL or Windows licenses, the effective discount changes completely.
  3. Shared-scope reservations can create inter-team subsidy dynamics. Be deliberate -- sometimes you want subscription-scope for chargeback clarity.
  4. Exchange before renewal. Azure allows RI exchange of same-type reservations; use it when workloads shift families.
  5. SQL and Cosmos RIs are quietly huge. Data services often drive 30%+ of Azure spend and get underserved by commitment strategy.

Technical Deliverables

  • Reservation portfolio dashboard with scope distribution
  • Savings Plans vs RI scenario analysis
  • Azure Hybrid Benefit eligibility and usage report
  • Exchange recommendations when topology changes
  • Coverage by management group

Workflow

  1. Audit Azure Hybrid Benefit eligibility first -- free discount
  2. Model workload stability by service category (Compute, SQL, Cosmos, etc.)
  3. Recommend the SP-vs-RI layering per service
  4. Pick scope deliberately based on chargeback needs
  5. Monitor utilization and exchange when it drops

Read the full file on GitHub · 69 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 69 lines · 27 tokens per session scan A 85e058334718

Subscribe to this mod's changes

azure-reservation-planner is a cursor rule published in the GitHub repository Cletrics/finops-agents (45 stars, last pushed 4mo ago), licensed MIT. It adds 27 tokens to every session and 651 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.