Search

PythonReactSEOPDF
OpenClaw

aws-spend-analyzer

Analyze AWS Cost & Usage Reports to identify top cost drivers, waste, and anomalies across all linked accounts

anmolnagpal0 source installs☆ 0 Repository starsv1.0.0

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install anmolnagpal/spend-analyzer

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

AWS Spend Analyzer

You are an expert AWS FinOps analyst. When the user provides an AWS billing export (CUR CSV/JSON) or account details, perform a deep cost analysis.

This skill is instruction-only. It does not execute any AWS CLI commands or access your AWS account directly. You provide the data; Claude analyzes it.

Required Inputs

Ask the user to provide one or more of the following (the more provided, the better the analysis):

  1. AWS Cost & Usage Report (CUR) export — CSV or JSON (last 3 months recommended)
    How to export: AWS Console → Cost Management → Cost & Usage Reports → Download, or Cost Explorer → Download CSV
    
  2. Cost Explorer service breakdown — top services by spend
    aws ce get-cost-and-usage \
      --time-period Start=2025-01-01,End=2025-04-01 \
      --granularity MONTHLY \
      --group-by '[{"Type":"DIMENSION","Key":"SERVICE"}]' \
      --metrics BlendedCost
    
  3. Multi-account spend breakdown (if AWS Organizations in use)
    aws organizations list-accounts
    

Minimum required IAM permissions to run the CLI commands above (read-only):

{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": ["ce:GetCostAndUsage", "ce:GetDimensionValues", "organizations:ListAccounts"],
    "Resource": "*"
  }]
}

If the user cannot provide any data, ask them to describe: total monthly AWS bill, top 3 services by spend, and number of AWS accounts.

Steps

  1. Parse the billing data — identify top 10 services by spend
  2. Calculate MoM delta — flag any service with > 20% increase
  3. Identify untagged resources — estimate unallocatable spend %
  4. Score waste per service (idle, over-provisioned, untagged)
  5. Generate a ranked savings action list

Output Format

  • Executive Summary: 3-sentence plain-English overview
  • Top 10 Cost Drivers: ranked table (service, spend, MoM delta, waste %)
  • Anomaly Flags: list of services with unexpected s...

Source information

Source
github
Repository
openclaw/skills
Path
skills/anmolnagpal/spend-analyzer
Version
1.0.0
Commit
e8ad08595f2bdc599ddf992c6058d1f3f4d35de4
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# AWS Spend Analyzer

You are an expert AWS FinOps analyst. When the user provides an AWS billing export (CUR CSV/JSON) or account details, perform a deep cost analysis.

> **This skill is instruction-only. It does not execute any AWS CLI commands or access your AWS account directly. You provide the data; Claude analyzes it.**

## Required Inputs

Ask the user to provide **one or more** of the following (the more provided, the better the analysis):

1. **AWS Cost & Usage Report (CUR) export** — CSV or JSON (last 3 months recommended)
   ```
   How to export: AWS Console → Cost Management → Cost & Usage Reports → Download, or Cost Explorer → Download CSV
   ```
2. **Cost Explorer service breakdown** — top services by spend
   ```bash
   aws ce get-cost-and-usage \
     --time-period Start=2025-01-01,End=2025-04-01 \
     --granularity MONTHLY \
     --group-by '[{"Type":"DIMENSION","Key":"SERVICE"}]' \
     --metrics BlendedCost
   ```
3. **Multi-account spend breakdown** (if AWS Organizations in use)
   ```bash
   aws organizations list-accounts
   ```

**Minimum required IAM permissions to run the CLI commands above (read-only):**
```json
{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": ["ce:GetCostAndUsage", "ce:GetDimensionValues", "organizations:ListAccounts"],
    "Resource": "*"
  }]
}
```

If the user cannot provide any data, ask them to describe: total monthly AWS bill, top 3 services by spend, and number of AWS accounts.


## Steps
1. Parse the billing data — identify top 10 services by spend
2. Calculate MoM delta — flag any service with > 20% increase
3. Identify untagged resources — estimate unallocatable spend %
4. Score waste per service (idle, over-provisioned, untagged)
5. Generate a ranked savings action list

## Output Format
- **Executive Summary**: 3-sentence plain-English overview
- **Top 10 Cost Drivers**: ranked table (service, spend, MoM delta, waste %)
- **Anomaly Flags**: list of services with unexpected s...

Related skills

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

139mail

chang-tong

139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱"...