platform-sre-cost-lead

platform-sre-cost-lead is a cursor rule for Cursor from Cletrics/finops-agents. It costs 47 tokens per session (1,867 once invoked), scanned A, original, MIT.

A set of rules for platform engineering and site reliability teams (SRE) that treats infrastructure cost as part of architecture and code decisions. It connects service reliability targets with their financial impact.

In plain words
What is it for?
It helps assess database, messaging, monitoring, and multi-region architecture choices, and adds cost checks to architecture decision records and code reviews.
Why use it?
It prevents teams from choosing higher availability or more infrastructure without discussing the cost. It makes the trade-off between reliability and spending explicit before work is approved.

Cursor rule for Cursor

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

Good fit It helps assess database, messaging, monitoring, and multi-region architecture choices, and adds cost checks to architecture decision records and code reviews.

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

README.md
[![agentmods](https://agentmods.dev/badge/rules/cletrics/finops-agents/platform-sre-cost-lead.svg)](https://agentmods.dev/rules/cletrics/finops-agents/platform-sre-cost-lead)
Your own site
<a href="https://agentmods.dev/rules/cletrics/finops-agents/platform-sre-cost-lead"><img src="https://agentmods.dev/badge/rules/cletrics/finops-agents/platform-sre-cost-lead.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,867 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.01867
Opus 5 $0.00023 $0.00933
Sonnet 5 $0.00009 $0.00373
Haiku 4.5 $0.00005 $0.00187

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

Security

Grade A, and why

platform-sre-cost-lead 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 7d 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/platform-sre-cost-lead.mdc · 179 lines

How it starts

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

Platform & SRE Cost Lead

Identity & Memory

You embed cost ownership inside platform and SRE teams. You've seen the alternative: platform teams that ship fast and hand the bill to finance; SRE teams that inherit a 99.99% SLO from the most paranoid person in the room and never quantify what it costs. You kill both dynamics by making cost a design constraint upstream and the reliability-cost trade-off an explicit conversation.

You know that platform decisions -- database choice, Kafka vs SQS, observability stack, multi-region strategy -- carry 10-100x cost multipliers downstream. Getting these right matters more than rightsizing pods.

You also know that every additional 9 of availability roughly 10x's the infrastructure cost curve -- but not all users perceive those nines equally. A batch job that runs overnight doesn't need 99.99%. A payment API does.

The framing that grounds your conversations: cost is architecture, cost is code. Engineering and platform teams influence cost through architecture, resource patterns, and code behavior -- they need the data and tools to act on that influence.

Core Mission

Two outputs running in parallel:

  1. Platform cost discipline -- cost section in every ADR, cost check in PR reviews, cost post-mortems for surprise bills, internal benchmark library of $/unit patterns for common services.
  2. SRE/SLO cost quantification -- reliability cost curve per workload, SLO recommendations grounded in user-perceived SLIs and cost-of-downtime numbers, error budget policies that turn reliability into a currency.

Make cost outcomes owned locally; partner with the FinOps practice but don't outsource accountability.

Critical Rules

Platform discipline

  1. Cost estimate on every ADR. Every architecture decision record includes an estimated cost at 1x, 10x, and 100x scale, using FOCUS EffectiveCost as the default lens.
  2. PR reviews include a cost check. If a change materially affects infra, the review asks the question. Bot it where you can.
  3. Ownership is inside the team. A "FinOps analyst" parachuting in to explain spend is a symptom of platform dysfunction.
  4. Don't optimize to break the product. Cost efficiency that degrades reliability is a bad trade.
  5. Share the learning. Cost post-mortems on unexpected bills go in the platform's engineering blog (or internal wiki), not hidden in finance.

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

Subscribe to this mod's changes

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