Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/selvarajmurugesan90/ops-engineering-skillsnpx agentmods add skills/selvarajmurugesan90/ops-engineering-skills/cloud-cost-anomaly-investigationWrote 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.
[](https://agentmods.dev/skills/selvarajmurugesan90/ops-engineering-skills/cloud-cost-anomaly-investigation)<a href="https://agentmods.dev/skills/selvarajmurugesan90/ops-engineering-skills/cloud-cost-anomaly-investigation"><img src="https://agentmods.dev/badge/skills/selvarajmurugesan90/ops-engineering-skills/cloud-cost-anomaly-investigation/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/selvarajmurugesan90/ops-engineering-skills/cloud-cost-anomaly-investigation"><img src="https://agentmods.dev/badge/skills/selvarajmurugesan90/ops-engineering-skills/cloud-cost-anomaly-investigation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00143 | $0.04791 |
| Opus 5.5 | $0.00057 | $0.01916 |
| Sonnet 5.5 | $0.00029 | $0.00958 |
| Haiku 4.5 | $0.00014 | $0.00479 |
Grade A, and why
cloud-cost-anomaly-investigation 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 3mo ago.
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.
How it starts
The opening of the file, as written. The whole thing — 382 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cloud Cost Anomaly Investigation
Purpose
A cost anomaly alert or a finance Slack message ("why is spend up 30% this week?") starts a clock: the sooner the specific resource, tag, and owning team are identified, the cheaper and less politically charged the fix is. Left uninvestigated for a month, the same question turns into a formal FinOps review with executives in the room, and the trail (which engineer changed what, on which day) is much colder. This skill is the tactical, hours-not-weeks workflow for tracing a specific spike back to its cause — a runaway resource, a misconfigured autoscaler, a forgotten non-prod environment, a data-transfer surprise — using each provider's cost-explorer/billing-query tooling, so the on-call or platform engineer can hand finance an answer (and, ideally, a fix) inside the same week the alert fired. It assumes cost visibility (CUR, Cost Management, BigQuery export) is already enabled; if it isn't, that's the actual blocker — see cloud-cost-finops-optimization step 1 for standing that up first.
When to use
- A cost anomaly detection alert (AWS Cost Anomaly Detection, Azure Cost Management anomaly alert, a GCP budget/BigQuery-based alert) just fired and needs triage before it's dismissed or escalated.
- Someone asks "why did the bill jump" for a specific day/week/month and wants an answer faster than the next scheduled FinOps review.
- A budget alert threshold was crossed and the specific driver needs to be identified before deciding whether it's expected (legitimate scale- up) or a mistake.
- Preparing the input for a formal FinOps review so it starts from "here is what happened and why" instead of "we're still looking into it."
- Confirming whether a suspected cause (a deploy, a config change, a new feature launch) actually correlates with the cost increase, with data, not guesswork.
Prerequisites & environment
- Billing export already flowing with resource- and tag-level granularity: AWS Cost and Usage Report (CUR 2.0) in an S3 bucket (or Cost Explorer API access as a lighter-weight alternative for day/service-level slicing), Azure Cost Management scoped to the relevant subscription(s)/Management Group, or GCP Billing export to BigQuery (both the standard and detailed/pricing export tables). If this isn't enabled yet, that gap is the finding — escalate it as the first step rather than trying to reconstruct spend from the console UI.
- Read access to the query tooling for at least the provider(s) actually
in use: AWS CLI
ce(Cost Explorer) commands or Athena over CUR parquet files,az costmanagementCLI or the Cost Management portal,bq queryagainst the billing export dataset. - A tagging baseline (
cost-center/owner/environment/service) — even partial — to attribute spend to a team; without it, the investigation can identify the resource but not the owner, which is usually the actually-needed answer. See cloud-cost-finops-optimization for closing tagging gaps. - Knowledge of (or access to) a change log/deploy history (CI/CD deploy events, Terraform apply history, autoscaling group activity history) to correlate a cost change with a specific engineering event, not just a calendar date.
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.
- 3mo ago First seen · 382 lines · 143 tokens per session scan A f38c62025a9b
cloud-cost-anomaly-investigation is a skill published in the GitHub repository selvarajmurugesan90/ops-engineering-skills (48 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 143 tokens to every session and 4,791 once invoked, about $0.0006 per session on Opus 5.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-08-30.
cloud-cost-anomaly-investigation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cloud-cost-anomaly-investigationselvarajmurugesan90/ops-engineering-skills | Skill | 48 | 4mo ago | Apache-2.0 | A | 143 | Claude Code |
| gke-compute-classesgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 100 | Claude Code, Codex |
| cloud-operator-admin-setupgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 115 | Claude Code, Codex |
| gke-reliabilitygoogle/skills | Skill | 25k | today | Apache-2.0 | A | 85 | Claude Code, Codex |
| gke-workload-securitygoogle/skills | Skill | 25k | today | Apache-2.0 | A | 171 | Claude Code, Codex |
| nemo-automodel-launcher-configNVIDIA/skills | Skill | 4.3k | today | Apache-2.0 | A | 30 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 78 | Claude Code |