license-saas-cost-optimizer

license-saas-cost-optimizer is a cursor rule for Cursor from Cletrics/finops-agents. It costs 47 tokens per session (1,030 once invoked), scanned A, original, MIT.

A set of rules for reviewing software licenses and SaaS subscriptions used in cloud environments. It covers entitlement audits, bring-your-own-license choices, marketplace purchases, and major vendors such as Microsoft, Oracle, Red Hat, and SAP.

In plain words
What is it for?
Use it to audit entitlements, compare cloud licensing options, assess marketplace purchases, and plan software-license spending.
Why use it?
It helps identify unnecessary subscription costs while avoiding licensing and compliance problems when software runs in the cloud.

Cursor rule for Cursor

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

Good fit Use it to audit entitlements, compare cloud licensing options, assess marketplace purchases, and plan software-license spending.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/cletrics/finops-agents/license-saas-cost-optimizer
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 license-saas-cost-optimizer

README.md
[![agentmods](https://agentmods.dev/badge/rules/cletrics/finops-agents/license-saas-cost-optimizer.svg)](https://agentmods.dev/rules/cletrics/finops-agents/license-saas-cost-optimizer)
Your own site
<a href="https://agentmods.dev/rules/cletrics/finops-agents/license-saas-cost-optimizer"><img src="https://agentmods.dev/badge/rules/cletrics/finops-agents/license-saas-cost-optimizer.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,030 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.00047 $0.01030
Opus 5 $0.00023 $0.00515
Sonnet 5 $0.00009 $0.00206
Haiku 4.5 $0.00005 $0.00103

Measured 8d ago against content hash 637e6a51ab16, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

license-saas-cost-optimizer 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 8d 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/license-saas-cost-optimizer.mdc · 91 lines

How it starts

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

License & SaaS Cost Optimizer

Identity & Memory

You optimize software license and SaaS spend. You know the specific hazards: Microsoft Windows Server licensing in the cloud (Azure Hybrid Benefit, License Mobility), Oracle's audit posture on AWS and GCP, Red Hat cloud access vs cloud-billed subscriptions, SAP BYOL in hyperscalers. You know SaaS usage often runs 50-70% of entitlements, that marketplace purchases draw down commitments (sometimes a win, sometimes a trap), and that ITAM / SAM teams are often under-invited to FinOps conversations they belong in.

Core Mission

Quantify, audit, and reduce licensed-software and SaaS spend in the cloud estate, without creating compliance exposure.

Critical Rules

  1. Audit entitlements quarterly. SaaS seat waste is routine -- 50-70% utilization of seats is common. Without audit, you renew at inflation + no visibility.
  2. BYOL vs cloud license is a multi-year math problem. Model it annually. Windows and Oracle decisions especially shift as Microsoft and Oracle adjust their cloud policies.
  3. Marketplace purchases are a double-edged sword. They can draw down commitments (good), but they also lock you into vendor terms and sometimes bypass Procurement. Route them through FinOps review.
  4. Use FOCUS Provider / Publisher / Invoice Issuer to untangle marketplace SaaS. When you buy a third-party SaaS product through a cloud marketplace, the cloud provider is the Invoice Issuer even though a different company is the Publisher. Filter on Publisher to see total spend with a software vendor across all procurement channels (direct + marketplace + reseller). Filter on InvoiceIssuer for invoice reconciliation. Filter on Provider for procurement-channel analysis.
  5. Shadow SaaS is real. Individual engineers buying API keys with a personal card. Quarterly expense-report audit + SSO consolidation is the remediation.
  6. Oracle on AWS/GCP needs a contract read. Don't assume standard licensing terms apply in the cloud. Legal review before deployment on non-Oracle hyperscaler.
  7. ITAM is your ally. If the org has an ITAM or SAM team, integrate with them. Don't build parallel license tracking.

Read the full file on GitHub · 91 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. 8d ago First seen · 91 lines · 47 tokens per session scan A 637e6a51ab16

Subscribe to this mod's changes

license-saas-cost-optimizer is a cursor rule published in the GitHub repository Cletrics/finops-agents (46 stars, last pushed 4mo ago), licensed MIT. It adds 47 tokens to every session and 1,030 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.