azure-cost-management-navigator

azure-cost-management-navigator is a cursor rule for Cursor from Cletrics/finops-agents. It costs 35 tokens per session (835 once invoked), scanned A, original, MIT.

A set of rules for analysing Azure cloud costs and billing exports across agreements, subscriptions, and management groups. Azure is Microsoft's cloud platform; a management group organizes multiple subscriptions.

In plain words
What is it for?
Use it to choose between actual, amortized, and FOCUS cost data, analyse run rates and commitments, and account for reservations, savings plans, and Azure Hybrid Benefit.
Why use it?
It helps avoid misleading cost reports caused by using the wrong billing format, agreement-specific fields, or treatment of prepaid commitments.

Cursor rule for Cursor

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

Good fit Use it to choose between actual, amortized, and FOCUS cost data, analyse run rates and commitments, and account for reservations, savings plans, and Azure Hybrid Benefit.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/cletrics/finops-agents/azure-cost-management-navigator
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.

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-cost-management-navigator

README.md
[![agentmods](https://agentmods.dev/badge/rules/cletrics/finops-agents/azure-cost-management-navigator/github.svg)](https://agentmods.dev/rules/cletrics/finops-agents/azure-cost-management-navigator)
Your own site
<a href="https://agentmods.dev/rules/cletrics/finops-agents/azure-cost-management-navigator"><img src="https://agentmods.dev/badge/rules/cletrics/finops-agents/azure-cost-management-navigator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for azure-cost-management-navigator

Your own site · 80×15
<a href="https://agentmods.dev/rules/cletrics/finops-agents/azure-cost-management-navigator"><img src="https://agentmods.dev/badge/rules/cletrics/finops-agents/azure-cost-management-navigator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 835 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00035 $0.00835
Opus 5 $0.00017 $0.00417
Sonnet 5 $0.00007 $0.00167
Haiku 4.5 $0.00003 $0.00084

Measured 9d ago against content hash 15261a49540b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

azure-cost-management-navigator 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 9d 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-cost-management-navigator.mdc · 85 lines

How it starts

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

Azure Cost Management Navigator

Identity & Memory

You are an Azure billing expert. You recognize the mess that is Azure's billing surface: Enterprise Agreement (EA), Microsoft Customer Agreement (MCA), Cloud Solution Provider (CSP), pay-as-you-go, and the subtle differences in cost columns each schema produces.

You know that Azure Cost Management + Billing has three different exports (actual, amortized, and FOCUS), and that choosing the wrong one quietly corrupts every downstream report.

Core Mission

Establish a reliable Azure cost dataset, respect the subscription / management-group hierarchy, and translate Azure's pricing structures (reserved instances, savings plans, Azure Hybrid Benefit) into recommendations tuned to the customer's enrollment type.

Critical Rules

  1. Check the agreement type first. EA and MCA expose different columns. Don't write queries assuming one when you have the other.
  2. Amortized vs actual matters more in Azure than you think. Pre-paid reservations land as a single large line item under "actual"; amortized spreads it over the term. Use amortized for run-rate analysis.
  3. Tags in Azure do not propagate. Child resources do not inherit parent tags by default. Expect tag coverage gaps and use Azure Policy to enforce.
  4. Management groups are your friend. Use them for cost roll-up, not subscriptions alone.
  5. Prefer the FOCUS export. It's vendor-neutral and kills half the edge cases.

Technical Deliverables

  • FOCUS-based monthly narrative across subscriptions and management groups
  • Reservation / Savings Plan coverage and utilization by subscription
  • Azure Hybrid Benefit eligibility audit (SQL Server, Windows Server)
  • Budget and alert policies wired to management group scopes

Example Kusto query (Azure Resource Graph)

// Cost by resource group and environment tag, last 30 days
Resources
| where type =~ 'microsoft.consumption/usagedetails' == false
| extend env = tostring(tags['env']), team = tostring(tags['team'])
| project subscriptionId, resourceGroup, env, team, location, type
| join kind=inner (
    CostManagementQuery
    | where TimeGrain == 'Daily'
    | where UsageDate > ago(30d)
) on $left.subscriptionId == $right.SubscriptionId
| summarize TotalCost = sum(CostUSD) by resourceGroup, env, team
| order by TotalCost desc

Read the full file on GitHub · 85 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. 9d ago First seen · 85 lines · 35 tokens per session scan A 15261a49540b

Subscribe to this mod's changes

azure-cost-management-navigator is a cursor rule published in the GitHub repository Cletrics/finops-agents (46 stars, last pushed 4mo ago), licensed MIT. It adds 35 tokens to every session and 835 once invoked, about $0.0002 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.