All skills
aws avatar

/aws-billing-and-cost-management

@b33847d

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.

Use this Skill: https://skilld.dev/gh/aws/agent-toolkit-for-aws/aws-billing-and-cost-management

This session only. Nothing lands on disk.

referencesbudgets.md

≈604 tokens on demand. Your agent reads this file only when SKILL.md points to it.

AWS Budgets

Pricing note: All prices shown are approximate as of early 2026 and may change. Always verify current pricing before reporting to users.

Budget Types

Type Use Case
COST Track spend against dollar amount (default)
USAGE Track usage quantity (e.g., EC2 hours)
RI_UTILIZATION Alert when RI utilization drops below threshold
SAVINGS_PLANS_UTILIZATION Alert when SP utilization drops

Use FORECASTED notification type to catch runaway costs before they hit threshold.

Create Budget with Alerts

aws budgets create-budget --region us-east-1 \
  --account-id 123456789012 \
  --budget '{"BudgetName":"Monthly-Total","BudgetLimit":{"Amount":"1000","Unit":"USD"},"TimeUnit":"MONTHLY","BudgetType":"COST"}' \
  --notifications-with-subscribers '[
    {"Notification":{"NotificationType":"ACTUAL","ComparisonOperator":"GREATER_THAN","Threshold":80,"ThresholdType":"PERCENTAGE"},"Subscribers":[{"SubscriptionType":"EMAIL","Address":"team@example.com"}]},
    {"Notification":{"NotificationType":"FORECASTED","ComparisonOperator":"GREATER_THAN","Threshold":100,"ThresholdType":"PERCENTAGE"},"Subscribers":[{"SubscriptionType":"SNS","Address":"arn:aws:sns:us-east-1:123456789012:budget-alerts"}]}
  ]'

Each threshold is a separate entry in NotificationsWithSubscribers. Do NOT put multiple thresholds in one notification object.

Tag-Based Budget

Use CostFilters with TagKeyValue key and tag-key$tag-value format:

"CostFilters": {"TagKeyValue": ["user:Environment$production"]}

Budget Actions

Automatically apply IAM deny policies or SCPs when threshold is breached. Use for hard spending limits. Budget Actions cannot directly stop EC2 instances — use SNS → Lambda for custom actions.

Gotchas

  • Budgets API requires us-east-1 region for global billing data
  • Monitoring-only budgets (no actions) are free — unlimited
  • First 2 action-enabled budgets are free; additional action-enabled budgets cost $0.10/day each
  • Budget Reports cost $0.01 per report delivered
  • Budget alerts evaluate once per day — up to 24-hour delay, not real-time
  • FORECASTED alerts use ML-based forecasting — useful for catching runaway costs early
  • Budget Actions are powerful but dangerous — test in non-prod first
  • RI/SP utilization budgets default to 100% — set to 80% for practical alerting

Source: SKILL.md on GitHub

No alerts17d3 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    This skill provides comprehensive instructions for analyzing and optimizing AWS costs. It incorporates security-conscious patterns, such as recommending sandboxed execution via the AWS MCP server and requiring deterministic Python scripts for all mathematical calculations to ensure data integrity and accuracy.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW · No issues

Signed by skilld at b33847d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
metadata
{
  "version": "1"
}

README badge

README badge for aws/agent-toolkit-for-aws/aws-billing-and-cost-management