← ClaudeAtlas

spend-anomaly-triagelisted

Triage a cost spike or creep to its cause — separating rate, usage, and mix changes, then correlating the usage half against deploys, flag flips, traffic, backfills, and incidents to produce a ranked suspect ledger with a confirm/refute test for each. Run when a detector fires, when a bill moves unexpectedly, or when a slow creep has doubled a line over a quarter. Explains WHY spend moved — `unit-cost-probe` gives the number, `commitment-coverage` explains the rate half, `egress-trace` explains transfer.
adnanmokhtar/refract · ★ 1 · AI & Automation · score 77
Install: claude install-skill adnanmokhtar/refract
# Skill: spend-anomaly-triage ## Premise A cost spike has a cause, and the cause is almost always something a human did on a specific day. The triage is a correlation problem with a small suspect list: deploys, feature-flag changes, traffic changes, scheduled jobs and backfills, commitment expiries, provider price changes, and incidents. The failure mode is stopping at "service X went up" — that is the observation, not the cause. Every suspect carries a **confirm/refute test**: something cheap that would settle it. A suspect list with no tests is a list of theories. ## Halt conditions - **Daily granularity unavailable.** Monthly figures cannot be correlated with a deploy. Get daily (ideally hourly) cost data or say the anomaly is not triageable at this granularity. - **Change log unavailable** — no deploy history, no flag-change history. Say so; the correlation half of the method is unavailable and the output is a mechanism hypothesis at best. - **The "anomaly" is a billing artefact** — an unamortised upfront purchase, a support fee, a credit expiring, a period boundary. Check these first, always; they explain a surprising share of apparent spikes and cost nothing to rule out. - **Baseline never declared.** If no expectation existed, this is not an anomaly, it is a discovery. Say which — the follow-up actions differ. ## When to run - A cost anomaly detector fired. - The bill moved and nobody can say why. - A slow creep: a line that has roughly doubled over a quarter wi