Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

cost-anomaly-detection

Skill by kortix-ai

Detects unusual daily AWS spend by comparing each service and account against its own running baseline. Posts alerts with the likely driver to a Slack channel. Read-only, for teams that want cost spikes caught the day they happen.

  • Score 78
  • 21k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install cost-anomaly-detection

Built from the published package, never by AI.

git clone --depth 1 https://github.com/kortix-ai/suna /tmp/suna && mkdir -p ~/.claude/skills && cp -r /tmp/suna/packages/starter/templates/marketplace/runtime/skills/cost-anomaly-detection ~/.claude/skills/cost-anomaly-detection

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install cost-anomaly-detection in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Cost Anomaly Detection is an agent skill for spotting unexpected AWS spend. It runs as a daily reusable-session runbook. Each day it reads the most recently closed day from AWS Cost Explorer, grouped by service and linked account, and folds that data into a running baseline stored in memory/cloud-cost-baseline.md. Spend that rises more than a set percentage above that baseline is flagged.

For each flagged service and account, the skill checks whether usage changed along with cost to suggest a likely driver, such as a new resource, a traffic surge, a region shift, or a price change. It posts the dollar and percent delta with the evidence to a Slack channel. It never changes AWS resources or budgets. It suits teams running AWS who want daily cost alerts that a person can act on.

Written from the project's SKILL.md and checked against it.

What it can do

  • Daily spend pullReads the most recently closed day of AWS Cost Explorer spend, grouped by service and linked account, read-only.
  • Baseline updateFolds each new data point into a trailing mean and spread per service and account pair.
  • Anomaly detectionFlags pairs whose spend clears a set percentage above their own baseline, not a flat dollar threshold.
  • Driver attributionSuggests a likely cause such as a new resource, traffic surge, region shift, or price change, with evidence.
  • Slack alertsPosts one message per anomaly, or one combined message, to the configured alert channel.
  • Ledger updatesRecords the refreshed baseline, anomalies alerted, and known planned patterns in a memory ledger file.
  • Known pattern suppressionStops alerting on seasonal or planned spend patterns a human has confirmed in the ledger.

What you need

  • AWS account with Cost Explorer access through a read-only connector
  • Slack channel to receive alerts
  • Scheduler or daily cron to re-prompt the session
  • Persistent memory for the baseline ledger

Try asking

  • Check today's AWS cost anomalies and explain the likely driver
  • Show the current cost baseline for each service and account
  • Mark the weekly RDS spike in production as a known pattern

Good to know

  • Strictly read-only and alert-only. It never changes AWS resources or budgets.
  • The first run is baseline-only and sends no alerts.
  • Cost Explorer data typically settles about 24 hours behind.
  • Alert channel and anomaly threshold placeholders must be filled in before use.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: packages/starter/templates/marketplace/runtime/skills/cost-anomaly-detection/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to cost-anomaly-detection

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

cost-anomaly-detection: common questions

Does it change my AWS resources or budgets?

No. The skill is read-only and alert-only. It never launches, modifies, or deletes resources, and never changes a budget or spending control.

What happens on the first run?

The first run builds the baseline from up to 90 days of Cost Explorer history and sends no alerts. Pairs with too little history are not checked until they have a meaningful normal.

How does it decide that spend is anomalous?

It compares each service and account against its own baseline and flags spend that rises above a set percentage. It does not use a single flat dollar threshold across services.

How do I install cost-anomaly-detection?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is cost-anomaly-detection free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is cost-anomaly-detection safe to use?

It scores 78 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to cost-anomaly-detection?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

cost-anomaly-detection Install

Add to stack

Loading.