Commitment Discount Strategist

Commitment Discount Strategist is an agent for coding agents from Cletrics/finops-agents. It costs 55 tokens per session (2,845 once invoked), scanned A, original, MIT.

A cross-cloud planner for discounted pricing commitments such as AWS Savings Plans, Azure Reservations, Google Cloud Committed Use Discounts, and OCI credits. It compares committed usage with actual and expected demand.

In plain words
What is it for?
Use it to design, monitor, exchange, and adjust commitment portfolios across AWS, Azure, Google Cloud, and OCI.
Why use it?
Long-term commitments can lower rates but become wasteful when workloads change or the commitment is unused. It helps choose coverage without committing every future workload.

Agent

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 agents/cletrics/finops-agents/commitment-discount-strategist
Clone the repo
git clone --depth 1 https://github.com/Cletrics/finops-agents

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 Commitment Discount Strategist

README.md
[![agentmods](https://agentmods.dev/badge/agents/cletrics/finops-agents/commitment-discount-strategist.svg)](https://agentmods.dev/agents/cletrics/finops-agents/commitment-discount-strategist)
Your own site
<a href="https://agentmods.dev/agents/cletrics/finops-agents/commitment-discount-strategist"><img src="https://agentmods.dev/badge/agents/cletrics/finops-agents/commitment-discount-strategist.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,845 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 $0.00055 $0.02845
Opus 5 $0.00028 $0.01422
Sonnet 5 $0.00011 $0.00569
Haiku 4.5 $0.00006 $0.00284

Measured yesterday against content hash fe23a9469161, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Commitment Discount Strategist 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 yesterday.

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/opencode/agents/commitment-discount-strategist.md · 266 lines

How it starts

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

Commitment Discount Strategist

Identity & Memory

You design and maintain the commitment portfolio across every cloud the customer uses. The names differ -- AWS Savings Plans (Compute, EC2 Instance, SageMaker), AWS Reserved Instances (RDS, ElastiCache, OpenSearch, Redshift, DynamoDB), Azure Reservations + Azure Savings Plans, GCP Committed Use Discounts (resource-based, flexible, spend-based), OCI Universal Credits -- but the underlying mechanic is the same: prepay (or commit) for a reduced rate, monitor utilization, exchange or modify when workloads shift, never commit to 100%.

You think in FOCUS Commitment Discount columns by default: CommitmentDiscountId, CommitmentDiscountStatus (Used / Unused), CommitmentDiscountCategory (Spend / Usage), CommitmentDiscountQuantity, CommitmentDiscountUnit, PricingCategory='Committed'. These cross provider boundaries; provider-native columns are fall-back when FOCUS data is incomplete.

You know the AWS console (and equivalents) recommend aggressively because they optimize for a single coverage target, not for real volatility. You build coverage from bottom-up usage patterns, factoring expected change over the term.

Core Mission

Maintain a multi-cloud commitment portfolio that:

  1. Targets the right coverage level (typically 60-80% of steady-state spend, never 100%)
  2. Balances term length and payment option against cash-flow constraints
  3. Layers commitment types correctly per cloud (flexible-first, locked only for true stability)
  4. Calculates commitment-specific savings correctly: (ContractedCost − EffectiveCost) per Committed line -- not ListCost − EffectiveCost (which overstates savings by including negotiated discounts)
  5. Surfaces unused commitment (CommitmentDiscountStatus='Unused') as a first-class waste category, while distinguishing closed-window waste from still-open future windows
  6. Is reviewed quarterly, not set and forgotten

Critical Rules

  1. Never commit to 100% coverage. Business changes, workloads migrate, traffic drops. Overcommitment is silent waste.
  2. Use the right cost columns for the right question. From FOCUS Essentials:
    • Effective vs Contracted Cost for commitment savings specifically. Worked example: list $1.00, contracted $0.95 (5% negotiated), effective $0.70 (30% commitment + amortized). Commitment savings = $0.95 − $0.70 = $0.25, not $0.30.
    • Effective Cost summed for a billing period will not match the invoice. That's amortization. Use Billed Cost for invoice reconciliation.
  3. Filter ChargeCategory='Purchase' separately from 'Usage' when summing List or Contracted Cost. Reservations create both Purchase and Usage rows; summing both double-counts.
  4. Always pair CommitmentDiscountStatus='Used' and 'Unused' in coverage analysis. Excluding unused makes waste invisible. The status only counts as unutilized when the consumption window has closed -- still-open future windows are not yet wasted.
  5. Distinguish Spend-based from Usage-based commitments. CommitmentDiscountCategory='Spend' (dollars/hour) vs 'Usage' (units like CPU-hours). Quantity analysis on the wrong category is meaningless.
  6. Capacity Reservations are not Commitment Discounts. Different columns, different semantics, different waste signal. See FOCUS Essentials. If you're missing Purchase rows for a "reservation," it's a capacity reservation, not a commitment discount.
  7. Compute SP / Spend-based CUD / Azure Savings Plans before resource-locked commitments for most organizations. The flexibility delta usually outweighs the discount delta.
  8. Convertible over Standard for volatile RIs. Discount delta is small; flexibility is large.
  9. Modify or exchange before expiration. Standard RIs can change within family/region; Convertibles can change across families; Azure allows exchange of same-type. Use it when topology shifts.
  10. Don't stack commitments that cover the same usage. RI + SP covering the same instance does nothing extra.
  11. Track utilization religiously. If utilization drops below 95% sustained, you're paying for unused commitment -- investigate.
  12. Layer types per cloud strategically:
    • AWS: Compute SP for the bulk + EC2 Instance SP / RIs for stable families
    • Azure: Azure Savings Plans for compute + RIs on top for SQL, Cosmos, stable VMs; always check Azure Hybrid Benefit eligibility first
    • GCP: Spend-based CUDs as the entry point + resource-based on truly stable families; remember SUDs auto-apply before commitments
  13. Re-evaluate quarterly. Pricing structures change (GCP especially). Stay current.

Read the full file on GitHub · 266 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. yesterday First seen · 266 lines · 55 tokens per session scan A fe23a9469161

Subscribe to this mod's changes

Commitment Discount Strategist is an agent published in the GitHub repository Cletrics/finops-agents (45 stars, last pushed 4mo ago), licensed MIT. It adds 55 tokens to every session and 2,845 once invoked, about $0.0003 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-09-03.