Cloud cost anomaly review
Weekly agent pass over cloud spend that explains anything more than 15% above its four-week average.
Source: scripts/dev/review-runbooks/cost-anomaly-review.yaml. CI checks it with runbook spec validate; teams,
people, skills and called runbooks it names resolve against your server
when you publish it.
apiVersion: therunbook.app/v1kind: Runbookmetadata: id: cost-anomaly-review title: Cloud cost anomaly review description: Weekly agent pass over cloud spend that explains anything more than 15% above its four-week average. owners: [team:oncall] tags: [cost, finops, agentic]spec: execution: title: "Cost review, week of ${{ inputs.week }}" inputs: week: { type: string, required: true } defaults: { actor: agent } steps: - id: pull_costs title: Pull last week's spend by service instructions: Export last week's spend per service and account from the billing export. outputs: total_usd: { type: number, required: true } - id: anomalies title: Explain anomalies check: true instructions: For each service more than 15% above its four-week average, find the cause (new resources, traffic, pricing). outputs: anomalies: { type: integer, required: true }Publish it to a project:
runbook push cost-anomaly-review.yaml --project <project> --draftrunbook publish cost-anomaly-review --project <project>