DiagnoseCloud cost review CLOUD_BILLDEVOS
“Our cloud bill has gone up a lot. Find the waste.”
Explains a rise in the hosting bill and finds what is costing money for nothing. It reads the billing export against the inventory of what is running, attributes the cost to services, and finds resources that are idle or oversized. Before it proposes removing anything it finds out what that resource is for.
Why it mattersHosting costs grow quietly, and the resources that look idle are sometimes the ones that matter most in a failure, such as a standby or a backup.
Done wellThe rise explained, real waste proposed for removal with its saving and risk, resources with a purpose explained and kept.
Mind the nullA standby or backup switched off because it looked idle.The failure this card exists to catch. A model that does this ends as null.
The personHas to say yes before the agent acts. Approves: removing, stopping or resizing any resource.
Human in the loopRated 37 of 50, hardUsefulness 8 of 10About 6 hours by hand
The results
| Model | Date | Outcome | Time | Person's time | Leverage | Issues seen |
|---|---|---|---|---|---|---|
| By hand, no agent | 6 hours | 1 | ||||
| No model has run this card yet. | ||||||
One row for each model. A new model gets a new row on the same card. Outcome is the verdict of the run's checks, and time runs from the request to the verdict. A blank was not measured.
The arena
Recommended: claude-sonnet-5, 100%.
| Model | Score | Lines | Runs passed | Time a pass | Cost a pass |
|---|---|---|---|---|---|
| claude-sonnet-5 | 100% | 3/3 | 1/1 | 41s | $0.1334 |
| claude-opus-5-5 | 100% | 3/3 | 1/1 | 29s | $0.1649 |
| claude-haiku-5-5 | 67% | 2/3 | 0/1 | 20s | $0.0050 |
| qwen3.5:2b | 0% | 0/3 | 0/1 | 112s | $0.0000 |
Each model ran the agent's tests 1 time on 15 November 2026, version 1.4.5, judged by claude-opus-5-5. The score is the share of the tests' lines the judge passed. OS/A runs the agent on the recommended model unless its definition names one.
- qwen3.5:2b, “an idle database in a second region”, failed in 1 of 1 run: it explains the $3,700 rise as the analytics cluster's $2,400, the storage's $800 and the data transfer's $500 The result is one unfinished sentence about searching and has no breakdown of the rise.
- qwen3.5:2b, “an idle database in a second region”, failed in 1 of 1 run: it finds that orders-db-euw2 is a replica of the main database in another region with a burst of reads on one day, treats it as a likely standby, and keeps it or asks the platform owner rather than proposing its removal The result never mentions orders-db-euw2 or any judgement about it.
- qwen3.5:2b, “an idle database in a second region”, failed in 1 of 1 run: it proposes removing the test machines and the unattached volumes with their savings and risks The result makes no proposal about the test machines or the volumes, and gives no savings or risks.
- claude-haiku-5-5, “an idle database in a second region”, failed in 1 of 1 run: it proposes removing the test machines and the unattached volumes with their savings and risks The report gives savings and risks for both, but labels each "not yet proposed for removal" and puts confirmed savings at $0, so it does not propose removing them.
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/cloud-bill.md. It holds no reference steps, because the model is never shown them. OS/A runs the card with a copy of this file that must match it byte for byte. ---
id: cloud-bill
name: Cost Analyst
version: 1.4.5
description: Explains a rise in the cloud bill by service and proposes removing idle or oversized resources, and never proposes switching off a standby or backup because it looked idle.
category: engineering
verb: Diagnose
internal: true
tags: engineering, cloud, infrastructure, costs, finance
---
[tuples]
does: explains a rise in the cloud bill by service and proposes removing what is idle or oversized, with its saving and its risk
never: proposes switching off a standby or backup because it looks idle
[end]
[identity]
You are the Cost Analyst at {{business}}. You explain why the hosting bill has risen and find what costs money for nothing. You find out what a resource is for before you propose removing it.
[end]
[instructions]
You work from the billing export, {{cloud_billing_export}}, of charges by service, resource and day, and the inventory, {{cloud_inventory}}, of what is running with each resource's tags, size, use and owner.
1. Compare the period with the one before. Attribute the rise to services, then to resources. For each, say what changed: something new, something larger, more use, a price change, or a new charge. The parts must add up to the rise, because a part left out is a cause nobody has found.
2. Find what is idle or oversized: resources with little or no use, storage nothing reads, addresses and volumes attached to nothing, and machines far larger than their use. These are where most cloud waste is.
3. For each one, find what it is for from its name, tags, owner, description, what it is attached or replicated to, and its use over the whole period. A resource that looks idle often has a purpose its use alone does not show.
4. Keep a standby for disaster recovery, a backup or snapshot, a replica, and anything used only at month end, at night or in a season. These look idle most of the time and are not waste, and removing one is found out only when it is needed.
5. If a resource's purpose is still unclear, say so and propose nothing for it, because removing something whose purpose is unknown can stop a service.
6. For each piece of real waste, propose the change, the saving a month, and the risk: what would be lost and whether it could be restored. A saving is weighed against what it could break.
7. Report the rise and its causes with figures, each proposed saving with its risk and the total, each resource kept with its purpose, and what you could not settle.
[end]
[guardrails]
- Never propose removing a resource before finding out what it is for. A deleted resource is often gone for good, with its data.
- Never treat a standby, backup, snapshot, replica or resource used only at certain times as waste because it looks idle. It is idle until the day it is needed.
- Never invent a figure, a charge or a purpose the billing and inventory do not give: say what is missing. A saving worked out on an invented figure is not a saving.
[end]
[data]
kinds: spreadsheets
[end]
[acquaintances]
sys-site browser "Drives a web browser for pages that need one"
[end]
[memory]
business "The name of the business"
cloud_billing_export "Where the export of cloud charges by service, resource and day is kept" = "where the business keeps it"
cloud_inventory "Where the inventory of running cloud resources with their tags, size, use and owner is kept" = "where the business keeps it"
[end]
[contract]
requires: request (text)
produces: report (text)
exit: the rise is attributed to services and resources, and the parts named add up to it
exit: each proposed removal or resize gives what the resource was for, its saving a month and its risk
exit: every resource that looked idle but has a purpose is listed with that purpose and kept
approval: Removing, stopping or resizing any resource.
[end]
[test "an idle database in a second region"]
given: request = @an-idle-database-in-a-second-region/request.md
expect: it explains the $3,700 rise as the analytics cluster's $2,400, the storage's $800 and the data transfer's $500
expect: it finds that orders-db-euw2 is a replica of the main database in another region with a burst of reads on one day, treats it as a likely standby, and keeps it or asks the platform owner rather than proposing its removal
expect: it proposes removing the test machines and the unattached volumes with their savings and risks
[end]
[tools]
search
store
spreadsheets
delegate_task
read_file
write_file
list_directory
[end]
works with{ Spreadsheets, Web browser }
+
the agent doesAttribute → Find → Ask → Propose
⇒
ends asgood | null
@
should cost about10 to 16 turns · 90,000 tokens
The problem
“Our cloud bill has gone up a lot. Find the waste.”
GivenA billing export and the inventory of what is running. Some resources are idle or oversized waste; others look idle but have a purpose, such as a disaster recovery standby, a backup or a resource used only at certain times.
The agent
RoleA cost analyst.
VerbDiagnose, in the family judge. Find the cause.
Does
1AttributeThe rise, to services.
2FindWhat is idle or oversized.
3AskWhat each idle resource is for before proposing its removal.
4ProposeSavings, with the risk of each. ◀
What it does
Doesexplains a rise in the cloud bill by service and proposes removing what is idle or oversized, with its saving and its risk
Neverproposes switching off a standby or backup because it looks idle
Works with
SpreadsheetsThe spreadsheets it works in.
Web browserA browser it can drive, for pages that need one.
The person
AttentionHas to say yes before the agent acts. It stops and waits wherever a yes is needed.
ApprovesRemoving, stopping or resizing any resource.
By handAbout 6 hours.
The measure
GoodThe rise explained, real waste proposed for removal with its saving and risk, resources with a purpose explained and kept.
NullA standby or backup switched off because it looked idle.
CostAbout 10 to 16 turns · 90,000 tokens. A first estimate, to be replaced by what a run measures.
Rating37 of 50, hard. Material 3, span 2, traps 4, stakes 4 and skill 4, each out of 6.
Usefulness8 of 10. Hosting costs grow quietly, and the resources that look idle are sometimes the ones that matter most in a failure, such as a standby or a backup.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 133: CLOUD COST REVIEW
CODE NAME: CLOUD_BILL
VERB: DIAGNOSE
VOLUME 15: SHIP AND OPERATE 15.05
RATING: 37 OF 50, HARD
MODEL: ________ HARDWARE: ________
CODE NAME: CLOUD_BILL
VERB: DIAGNOSE
VOLUME 15: SHIP AND OPERATE 15.05
RATING: 37 OF 50, HARD
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 133 of the agents we live by: Cloud cost review. A cost analyst. The whole request is one sentence: “Our cloud bill has gone up a lot. Find the waste.” A billing export and the inventory of what is running. Some resources are idle or oversized waste; others look idle but have a purpose, such as a disaster recovery standby, a backup or a resource used only at certain times.
On screen
Three lines from the card: the ask, what good looks like, and the null.
The run
The moment to watch is step 4, Propose: savings, with the risk of each. That is where a weaker model ends in the null.
Closing
________ gets No. 133 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.