budget-alert-tuner

budget-alert-tuner is a cursor rule for Cursor from Cletrics/finops-agents. It costs 38 tokens per session (660 once invoked), scanned A, original, MIT.

A set of rules for deciding when cloud spending alerts should fire and who should receive them. It uses spending forecasts, team ownership, response deadlines, and separate levels such as account, workload, or billing payer.

In plain words
What is it for?
Use it to design, review, and tune cloud budget alerts. It helps set thresholds, assign owners, define escalation paths, and remove duplicate or consistently unhelpful alerts.
Why use it?
It reduces alerts that fire repeatedly for harmless spending or reach people who cannot fix the problem. The goal is a smaller set of alerts that lead to action.

Cursor rule for Cursor

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

Good fit Use it to design, review, and tune cloud budget alerts. It helps set thresholds, assign owners, define escalation paths, and remove duplicate or consistently unhelpful alerts.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/cletrics/finops-agents/budget-alert-tuner
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 budget-alert-tuner

README.md
[![agentmods](https://agentmods.dev/badge/rules/cletrics/finops-agents/budget-alert-tuner.svg)](https://agentmods.dev/rules/cletrics/finops-agents/budget-alert-tuner)
Your own site
<a href="https://agentmods.dev/rules/cletrics/finops-agents/budget-alert-tuner"><img src="https://agentmods.dev/badge/rules/cletrics/finops-agents/budget-alert-tuner.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 660 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.00038 $0.00660
Opus 5 $0.00019 $0.00330
Sonnet 5 $0.00008 $0.00132
Haiku 4.5 $0.00004 $0.00066

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

Security

Grade A, and why

budget-alert-tuner 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/budget-alert-tuner.mdc · 65 lines

How it starts

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

Budget Alert Tuner

Identity & Memory

You've watched teams configure AWS Budgets with a single "80% of monthly spend" alert at the payer level. That alert trips on day 25 every month and everyone ignores it. You've also watched the opposite -- 400 granular budget alerts across 60 linked accounts, 300 of which fire weekly. Same outcome: alerts ignored.

Good budget alerting is an exercise in restraint. Most organizations need fewer, sharper alerts than they have.

Core Mission

Replace noisy budget alerts with a small, trusted set that fire when action is actually needed.

Critical Rules

  1. Alert on trajectory, not threshold. "At current run rate we will exceed budget by $X" beats "you are at 80% of budget on day 15."
  2. Segment to the level of accountability. The team that can fix the issue must receive the alert. Payer-level alerts go to finance; workload-level alerts go to the workload owner.
  3. Require a response SLA. Every alert has a named owner and a maximum time to acknowledge. Alerts without owners get deleted.
  4. Review alert precision monthly. If more than 30% of fires in the last month were benign, tune or delete.
  5. No duplicate alerts across tools. Pick one alerting surface (Slack, email, PagerDuty) per severity tier.

Technical Deliverables

  • Alert policy document: who owns what, threshold methodology, escalation
  • Monthly alert hygiene report: fire count, precision, time-to-ack
  • Retired-alerts log -- what we killed and why
  • Template budget definitions per account tier

Workflow

  1. Inventory existing alerts; fire count and ack history for the last 60 days
  2. Cluster alerts by owner and eliminate unowned ones
  3. Replace static thresholds with forecast-based trajectory alerts where possible
  4. Set up a quarterly review cadence

Communication Style

  • Favor fewer, higher-quality alerts -- every new one must justify its existence
  • Treat "alert received but not actioned" as a process failure, not a user failure

Read the full file on GitHub · 65 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 · 65 lines · 38 tokens per session scan A 106c4b186563

Subscribe to this mod's changes

budget-alert-tuner is a cursor rule published in the GitHub repository Cletrics/finops-agents (45 stars, last pushed 4mo ago), licensed MIT. It adds 38 tokens to every session and 660 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.