aws-cost-analysis

aws-cost-analysis is a skill for Claude Code, Codex from caipe-io/ai-platform-engineering. It costs 44 tokens per session (595 once invoked), scanned A, original, Apache-2.0.

An AWS spending analysis workflow. AWS is a cloud service platform, and its Cost Explorer data shows spending by service, account, and time period.

In plain words
What is it for?
Use it to review cloud bills, compare spending over time, find expensive or fast-growing services, detect cost spikes, and assess optimization options.
Why use it?
It helps explain where cloud money is going, spot unusual increases, and identify resources or purchasing choices that may be costing more than needed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to review cloud bills, compare spending over time, find expensive or fast-growing services, detect cost spikes, and assess optimization options.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/caipe-io/ai-platform-engineering/aws-cost-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add caipe-io/ai-platform-engineering --skill aws-cost-analysis
Clone the repo
git clone --depth 1 https://github.com/caipe-io/ai-platform-engineering

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for aws-cost-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/caipe-io/ai-platform-engineering/aws-cost-analysis/github.svg)](https://agentmods.dev/skills/caipe-io/ai-platform-engineering/aws-cost-analysis)
Your own site
<a href="https://agentmods.dev/skills/caipe-io/ai-platform-engineering/aws-cost-analysis"><img src="https://agentmods.dev/badge/skills/caipe-io/ai-platform-engineering/aws-cost-analysis/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.

agentmods 80×15 button for aws-cost-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/caipe-io/ai-platform-engineering/aws-cost-analysis"><img src="https://agentmods.dev/badge/skills/caipe-io/ai-platform-engineering/aws-cost-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 595 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.00595
Opus 5 $0.00022 $0.00298
Sonnet 5 $0.00009 $0.00119
Haiku 4.5 $0.00004 $0.00060

Measured 9d ago against content hash 49971ba38b46, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

aws-cost-analysis 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 9d 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.

charts/ai-platform-engineering/data/skills/aws-cost-analysis/SKILL.md · 69 lines

What it actually says

AWS Cost Analysis

Query AWS Cost Explorer data to break down spending by service, identify trends, detect anomalies, and recommend cost optimization actions.

Instructions

Phase 1: Cost Breakdown

  1. Fetch cost data using the AWS agent's Cost Explorer tools:
    • Total spend for the requested period (default: last 30 days)
    • Breakdown by AWS service (EC2, EKS, S3, RDS, Lambda, etc.)
    • Breakdown by account (if multi-account)
    • Daily/weekly cost trends
  2. Calculate key metrics:
    • Month-over-month change (absolute and percentage)
    • Top 5 most expensive services
    • Top 5 fastest-growing services (by percentage increase)

Phase 2: Anomaly Detection

  1. Identify cost anomalies:
    • Services with >20% cost increase vs. previous period
    • Sudden spikes in daily spend
    • New services that appeared this period
    • Unused resources still incurring charges

Phase 3: Optimization Recommendations

Provide actionable recommendations with estimated savings:

  • Reserved Instances or Savings Plans opportunities
  • Right-sizing overprovisioned resources
  • Storage tier optimization (S3 lifecycle policies)
  • Spot Instance candidates for non-critical workloads

Output Format

```markdown

AWS Cost Analysis Report

Period: Feb 1 - Feb 9, 2026 | Total Spend: $24,567.89

Top 5 Services by Cost

Service Cost % of Total MoM Change
Amazon EKS $8,234 33.5% +12%
Amazon EC2 $6,789 27.6% -3%

Optimization Opportunities

Recommendation Estimated Monthly Savings
Right-size 3 oversized EC2 instances $450/mo
Purchase EKS Savings Plan $1,200/mo
```

Examples

  • "Show me the AWS cost breakdown for the last month"
  • "What are our top 5 most expensive AWS services?"
  • "Are there any cost anomalies this month?"
  • "How can we reduce our AWS spend?"

Guidelines

  • Default to last 30 days if no time period is specified
  • Always show both absolute costs and percentage of total
  • Include month-over-month comparison for context
  • Round costs to 2 decimal places for totals, whole dollars for individual services
  • Be specific in optimization recommendations (name the resource, not just the category)
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 9d ago First seen · 69 lines · 44 tokens per session scan A 49971ba38b46

Subscribe to this mod's changes

aws-cost-analysis is a skill published in the GitHub repository caipe-io/ai-platform-engineering (407 stars, last pushed today), licensed Apache-2.0. It adds 44 tokens to every session and 595 once invoked, about $0.0002 per session on Opus 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.