analyze
/analyze
Read the account's billed cost from Cost Explorer for a recent window, grouped by service, Region, or account, with an announced request budget (each request costs about one cent). Use when the user asks what they actually spent, as opposed to an estimate.
- Author
- Alejo2075 ↗
- Repository
- claude-code-aws ↗
- Licence
- MIT
- Last repository change
- 31.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 31.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Read the account's billed cost from Cost Explorer for a recent window, grouped by service, Region, or account, with an announced request budget (each request costs about one cent). Use when the user asks what they actually spent, as opposed to an estimate.
Arguments
/analyze [--since 30d] [--group-by service|region|account]
Original author description
Read the account's billed cost from Cost Explorer for a recent window, grouped by service, Region, or account, with an announced request budget (each request costs about one cent). Use when the user asks what they actually spent, as opposed to an estimate.
How it works
- Side effects
- Steps
- Output
- Failure and safety handling
SKILL.md preview
---
name: analyze
description: Read the account's billed cost from Cost Explorer for a recent window, grouped by service, Region, or account, with an announced request budget (each request costs about one cent). Use when the user asks what they actually spent, as opposed to an estimate.
argument-hint: "[--since 30d] [--group-by service|region|account]"
allowed-tools: Bash(node ${CLAUDE_PLUGIN_ROOT}/dist/cli.mjs analyze *), Bash(node ${CLAUDE_PLUGIN_ROOT}/dist/cli.mjs budgets)
---
# Billed cost (actual)
Reads **what AWS billed**, which is different from an estimate (`/aws-cost:estimate`) and from a saving.
## Side effects
`read` (live AWS), **billed**: Cost Explorer charges about $0.01 per request, and each result page is a request. The command defaults to at most 2 requests and never exceeds the limit it announces.
## Steps
1. Run `node ${CLAUDE_PLUGIN_ROOT}/dist/cli.mjs analyze --since 30d` **without** `--approve-cost`. It verifies the account with STS and prints the window, the request limit, and the maximum cost, and reads nothing.
2. Tell the user the account (masked), the window, and the maximum cost, and ask if they want to proceed.
3. Only after they agree, run it again with `--approve-cost` (add `--max-requests 1` to cap the cost at one cent).
4. Present the total, the top lines, and the limitations the command prints (data lag, estimated latest period, what is included).
## Output
Billed amounts by group with shares, the number of requests made and their cost, and the caveats.
## Failure and safety handling
- Never run with `--approve-cost` without the user's agreement in this conversation.
- Never present billed amounts as a forecast, and never call a hypothesis a saving.
- If the identity cannot be verified, nothing is read.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · Alejo2075/claude-code-aws | 90 | MIT |
| ericrisco/rsc-harness | 100 | MIT |
| rjmurillo/ai-agents | 100 | MIT |
| rjmurillo/ai-agents | 100 | MIT |
| rossumai/claude-marketplace | 100 | MIT |
| emaballarin/ccplugins | 100 | MIT |
| ramboz/jig | 100 | MIT |
| ramboz/jig | 100 | MIT |
| ramboz/jig | 100 | MIT |
Database snapshot: 13.11.2026 · package version 8cd21a6ee2b3 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100budget-forecast
Estimate monthly cloud costs from infrastructure-as-code definitions and provide budget forecasting with cost breakdown by service, environment, and team. Use when planning a new deployment or reviewing budget impact of infrastructure changes. - 100top-cost-drivers
Use when identifying where cloud spend is concentrated — which services, accounts, teams, or regions are driving the most cost — to prioritize optimization efforts - 90cost-check
Analyze and optimize AWS costs. Use when reviewing infrastructure for cost savings, estimating costs for new architectures, investigating unexpected charges, or comparing pricing between service options. - 100analyze-costs
Analyze cloud costs, find optimization opportunities, and track anomalies using Harness CCM via MCP. Use when user says "cloud costs", "analyze costs", "cost optimization", "reduce spending", "cost report", or asks about cloud bills. - 100auditing-aws-cost
Runs an exhaustive evidence-based AWS cost and tagging audit: reads Terraform or CloudFormation first, then validates against the live account with read-only API calls, finds drift and shadow resources, walks every service family for waste and right-sizing, checks tag… - 82azure-cost
Unified Azure cost management: query historical costs, forecast future spending, and optimize to reduce waste. WHEN: \"Azure costs\", \"Azure spending\", \"Azure bill\", \"cost breakdown\", \"cost by service\", \"cost by resource\", \"how much am I spending\", \"show my bill\",…