Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

aws-billing-and-cost-management

skill · aws/agent-toolkit-for-awsApache-2.0 licenceAudited 13 Nov 2026 · source 75364bae3177

★ 3,484pushed todayversion 1
✓SAFEGrade B · 89/100 · 13 Nov 2026 · 75364ba
3,484repo stars · whole aws/agent-toolkit-for-aws

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 75364bae3177 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Analyze AWS costs, find savings, manage budgets, evaluate Savings Plans and Reserved Instances, right-size EC2/Lambda/RDS/EBS with Compute Optimizer, look up service pricing, query CUR with Athena, detect cost…

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “aws-billing-and-cost-management (aws/agent-toolkit-for-aws)”. Retrieved 13 Nov 2026. https://modelsatlas.com/skills/aws/aws-billing-and-cost-management

Trust audit

Audit 0.4.1 · source read 13 Nov 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (0)

No findings at any severity. We re-audit when the source changes.

Audit 0.4.1 · source sha 75364bae3177 · 13 Nov 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • Publisheraws GitHub organizationOwner of the repository this skill is read from
  • Source folderaws/agent-toolkit-for-aws/skills/core-skills/aws-billing-and-cost-managementThe exact folder we audited
  • LicenceApache-2.0As the repository states it
  • Commit pinned for this verdict75364bae3177A new audit runs when the source changes
  • Repository statusNot archivedPushed today
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: Analyze AWS costs, find savings, manage budgets, evaluate Savings Plans and Reserved Instances, right-size EC2/Lambda/RDS/EBS with Compute Optimizer, look up service pricing, query CUR with Athena, detect cost…

---
name: aws-billing-and-cost-management
description: |
  Analyze AWS costs, find savings, manage budgets, evaluate Savings Plans and
  Reserved Instances, right-size EC2/Lambda/RDS/EBS with Compute Optimizer,
  look up service pricing, query CUR with Athena, detect cost anomalies,
  scope costs to billing views, and monitor Free Tier usage. Triggers on:
  AWS bill, cost analysis, reduce spend, savings plan, reserved instance,
  right-size, budget alert, cost optimization, pricing, free tier, cost
  anomaly, CUR, cost audit, billing view, billing view ARN.
metadata:
  version: "1"
---

# Billing and Cost Management

## Overview

Analyze, optimize, and manage AWS costs. This skill encodes domain expertise from AWS's cost management products — gotchas, correct API usage patterns, and optimization workflows that models frequently get wrong.

## Usage

Use this skill when:

- Analyzing AWS spending, cost trends, or cost breakdowns
- Setting up or managing budget alerts
- Evaluating Savings Plans or Reserved Instance purchases
- Right-sizing EC2, Lambda, RDS, or EBS resources
- Looking up AWS service pricing
- Running cost audits or investigating cost spikes
- Querying CUR data with Athena
- Scoping cost analysis to a specific billing view
- Checking Free Tier usage

## Core Concepts

- **Cost Explorer** — query cost/usage data by service, account, tag, or time range
- **Budgets** — set spending thresholds with alerts; supports billing view scoping
- **Billing Views** — scope cost data to a subset of billing (custom view, billing group, or primary)
- **Compute Optimizer** — right-sizing recommendations for EC2, Lambda, EBS, RDS
- **Cost Optimization Hub** — aggregated savings recommendations across services
- **Savings Plans / Reserved Instances** — commitment-based discounts
- **CUR 2.0** — detailed line-item billing data queryable via Athena

**Recommended setup:** Use the AWS MCP server for sandboxed execution, audit logging, and enterprise controls. See: https://docs.aws.amazon.com/aws-mcp/

**Without AWS MCP:** All commands use standard AWS CLI syntax and work with any agent that has CLI access.

## Critical Rule: Always Check the Current Date

**Before making ANY Cost Explorer, Budgets, or Savings Plans API call, you MUST determine the current date.** Use a tool to get the current date and time — do NOT assume or guess the year. LLMs frequently default to dates from their training data instead of the actual current date, producing analyses of stale data that appear correct but are completely wrong.

## Critical Rule: Deterministic Calculations

**You MUST NEVER perform numerical calculations (sums, averages, percentages, comparisons, counts, min/max) by reasoning in your response.** LLM arithmetic is unreliable and produces wrong answers on cost data.

**You MUST ALWAYS use a script or calculator tool** for any math on data returned from API calls. Write a Python script that performs the calculation and prints the result. If the AWS MCP server's `run_script` tool is available, use it. Otherwise, run the script locally.

Read `references/deterministic-calculations.md` for patterns and examples.

## Decision Guide

| Question | Tool | Reference |
|----------|------|-----------|
| What am I spending? Where are costs going up? | Cost Explorer | `references/cost-explorer.md` |
| How much does a service cost? | Price List API | `references/pricing-lookup.md` |
| Where can I save money? (start here) | Cost Optimization Hub | `references/cost-optimization-hub.md` |
| Should I buy Savings Plans? | CE SP Recommendations | `references/savings-plans.md` |
| Should I buy Reserved Instances? | CE RI Recommendations | `references/reserved-instances.md` |
| Deep-dive on a specific EC2/Lambda/EBS/RDS rec? | Compute Optimizer | `references/ec2-rightsizing.md`, `references/lambda-optimization.md`, `references/rds-optimization.md`, `references/ebs-optimization.md` |
| How do I set up budget alerts? | Budgets | `references/budgets.md` |
| What's causing a cost spike? | Cost Anomaly Detection | `references/cost-explorer.md` |
| Am I within Free Tier? | Free Tier API | `references/free-tier.md` |
| How do I reduce my bill? | Cost Audit workflow | `references/cost-audit.md` |
| How do I query detailed billing data? | CUR 2.0 + Athena | `references/cur-athena.md` |
| How do I optimize specific services? | Per-service patterns | `references/service-optimization.md` |
| How do I scope costs to a billing view? | Billing Views | See [Billing Views](#billing-views) below |

## Common Tasks

### Analyze costs by service

```bash
aws ce get-cost-and-usage \
  --time-period Start=2026-03-01,End=2026-04-01 \
  --granularity MONTHLY \
  --metrics UnblendedCost \
  --group-by Type=DIMENSION,Key=SERVICE
```

Default to `UnblendedCost`. Exclude Credits/Refunds with `--filter '{"Not":{"Dimensions":{"Key":"RECORD_TYPE","Values":["Credit","Refund"]}}}'`. End date is exclusive.

### Run a cost audit
Read `references/cost-audit.md` for the full 7-step workflow: top cost drivers → month-over-month comparison → optimization recommendations → idle resources → commitment coverage → per-service quick wins → report.

### Get right-sizing recommendations
Compute Optimizer requires opt-in first: `aws compute-optimizer update-enrollment-status --status Active`. Then read `references/ec2-rightsizing.md` for EC2 or the relevant resource-specific reference.

### Look up service pricing
Read `references/pricing-lookup.md` for service codes and attribute filters. Common trap: Price List API service codes differ from Cost Explorer service names.

## Billing Views

A billing view scopes cost and usage data to a specific slice of an account's billing (e.g., a billing group, custom view, or the default primary view). When the user wants to analyze costs through a particular billing view, add `--billing-view-arn` to supported API calls.

### Discover available billing views

```bash
aws billing list-billing-views \
  --billing-view-types PRIMARY 

Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 75364ba

Download folder ↗
git clone https://github.com/aws/agent-toolkit-for-aws
git -C agent-toolkit-for-aws checkout 75364bae3177

The author documents no install command, so this uses the repository directly. Our verdict covers commit 75364bae3177 only.

Works in

The author has not said which agents this skill supports, and we have not tested it in any.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 75364bae3177

README badge

For maintainers · shows the latest audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/aws/aws-billing-and-cost-management/badge.svg)](https://modelsatlas.com/skills/aws/aws-billing-and-cost-management/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

Add this badge to your README

[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/aws/aws-billing-and-cost-management/badge.svg)](https://modelsatlas.com/skills/aws/aws-billing-and-cost-management/)

Questions about aws-billing-and-cost-management

What does the aws-billing-and-cost-management skill do?
Official, AWS-supported MCP servers, skills, and plugins to help AI agents build on AWS
Is aws-billing-and-cost-management safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can aws-billing-and-cost-management access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (75364bae3177), read on 2026-11-13. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.