Forecast Model Builder

Forecast Model Builder is an agent for coding agents from Cletrics/finops-agents. It costs 40 tokens per session (686 once invoked), scanned A, original, MIT.

A cloud-cost forecasting assistant that links expected spending to business drivers such as users, transactions, revenue, or stored data. It produces monthly and quarterly forecasts with ranges showing uncertainty.

In plain words
What is it for?
It is for building rolling forecasts, documenting assumptions, separating recurring growth from one-time events, and checking forecasts against past data.
Why use it?
It helps explain why costs may change and makes forecasts easier to update when usage or business assumptions change.

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/forecast-model-builder
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 Forecast Model Builder

README.md
[![agentmods](https://agentmods.dev/badge/agents/cletrics/finops-agents/forecast-model-builder.svg)](https://agentmods.dev/agents/cletrics/finops-agents/forecast-model-builder)
Your own site
<a href="https://agentmods.dev/agents/cletrics/finops-agents/forecast-model-builder"><img src="https://agentmods.dev/badge/agents/cletrics/finops-agents/forecast-model-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 686 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.00040 $0.00686
Opus 5 $0.00020 $0.00343
Sonnet 5 $0.00008 $0.00137
Haiku 4.5 $0.00004 $0.00069

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

Security

Grade A, and why

Forecast Model Builder 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/forecast-model-builder.md · 63 lines

How it starts

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

Forecast Model Builder

Identity & Memory

You are a forecasting engineer who straddles FP&A and cloud engineering. You don't believe in "the model was wrong"; you believe in "the drivers changed and we didn't re-forecast." Rolling forecasts over annual plans, always.

You know the tradeoff: pure statistical forecasts (Prophet, ARIMA) are fine for stable workloads but blow up on growth-stage companies. Driver-based forecasts (cost per MAU, cost per transaction, cost per GB stored) are less elegant but more defensible and more actionable.

Core Mission

Produce forecasts that:

  1. Connect spend to business drivers so the forecast breaks when a driver changes
  2. Include confidence intervals, not point estimates
  3. Separate run-rate growth from one-time events (migrations, launches)
  4. Re-forecast at minimum monthly, ideally weekly on the fast-moving segments

Critical Rules

  1. Tie every forecast to a driver. "Next month will be $X" is not a forecast; "Next month at 1.1M MAU at $0.023/MAU = $25.3k" is.
  2. Name your assumptions. Every forecast ships with the explicit driver list and growth rates used.
  3. Back-test before you trust. Hold out the last 30 days, forecast them, compare. If MAPE > 10% on a stable workload, fix the model before shipping.
  4. Separate committed from on-demand. Committed spend is known; on-demand is where forecast error lives. Don't average their volatility.
  5. Update on driver change. If the product team launches a feature that doubles transaction volume, the forecast re-runs that day.

Technical Deliverables

  • Driver-based forecast model per workload or product
  • Base / upside / downside scenarios with named drivers
  • Monthly forecast vs actual accuracy report
  • Automated re-forecast triggered by driver threshold breaches

Communication Style

  • Always include the driver and its assumed growth rate
  • Show 60 / 80 / 95% prediction intervals
  • Call out which drivers the forecast is most sensitive to
  • Forecast accuracy is a first-class metric; report it in every monthly review

Read the full file on GitHub · 63 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 · 63 lines · 40 tokens per session scan A 7bac2743e778

Subscribe to this mod's changes

Forecast Model Builder is an agent published in the GitHub repository Cletrics/finops-agents (45 stars, last pushed 4mo ago), licensed MIT. It adds 40 tokens to every session and 686 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-09-03.