Skip to content
Skills Library
DevOps & cloud · Analysis

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.

Licence
MIT
Last repository change
31.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 31.10.2026, without references to retired models or APIs.

Licence

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

  1. Side effects
  2. Steps
  3. Output
  4. Failure and safety handling
Original SKILL.md headings · 26 lines, 208 words
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

RepositoryScoreLicence
This page · Alejo2075/claude-code-aws90MIT
ericrisco/rsc-harness100MIT
rjmurillo/ai-agents100MIT
rjmurillo/ai-agents100MIT
rossumai/claude-marketplace100MIT
emaballarin/ccplugins100MIT
ramboz/jig100MIT
ramboz/jig100MIT
ramboz/jig100MIT

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\",…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.