aws-billing-and-cost-management

aws-billing-and-cost-management is a skill for Claude Code, Codex from XyrusCode/ai-sync. It costs 113 tokens per session (2,155 once invoked), scanned A, a copy of aws-billing-and-cost-management, MIT.

Guidance for analyzing and managing spending in Amazon Web Services (AWS), including bills, budgets, pricing, usage, and savings options.

In plain words
What is it for?
Use it to analyze Cost Explorer data, set budget alerts, evaluate Savings Plans and Reserved Instances, right-size EC2, Lambda, RDS, and EBS, query billing data with Athena, and investigate anomalies.
Why use it?
It helps identify cost increases, unused or oversized resources, available discounts, budget risks, and Free Tier usage.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to analyze Cost Explorer data, set budget alerts, evaluate Savings Plans and Reserved Instances, right-size EC2, Lambda, RDS, and EBS, query billing data with Athena, and investigate anomalies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xyruscode/ai-sync/aws-billing-and-cost-management
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 XyrusCode/ai-sync --skill aws-billing-and-cost-management
Clone the repo
git clone --depth 1 https://github.com/XyrusCode/ai-sync

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-billing-and-cost-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/xyruscode/ai-sync/aws-billing-and-cost-management/github.svg)](https://agentmods.dev/skills/xyruscode/ai-sync/aws-billing-and-cost-management)
Your own site
<a href="https://agentmods.dev/skills/xyruscode/ai-sync/aws-billing-and-cost-management"><img src="https://agentmods.dev/badge/skills/xyruscode/ai-sync/aws-billing-and-cost-management/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-billing-and-cost-management

Your own site · 80×15
<a href="https://agentmods.dev/skills/xyruscode/ai-sync/aws-billing-and-cost-management"><img src="https://agentmods.dev/badge/skills/xyruscode/ai-sync/aws-billing-and-cost-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,155 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.
Origin 98% copy Near-identical to another mod 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.00113 $0.02155
Opus 5.5 $0.00045 $0.00862
Sonnet 5.5 $0.00023 $0.00431
Haiku 4.5 $0.00011 $0.00215

Measured 3mo ago against content hash e890f6456a0c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aws-billing-and-cost-management 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 3mo 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.

Origin

This is a copy

98% identical to aws-billing-and-cost-management — 26 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/aws-billing-and-cost-management/SKILL.md · 164 lines

How it starts

The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Read the full file on GitHub · 164 lines

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. 3mo ago First seen · 164 lines · 113 tokens per session scan A e890f6456a0c

Subscribe to this mod's changes

aws-billing-and-cost-management is a skill published in the GitHub repository XyrusCode/ai-sync (3 stars, last pushed 6d ago), licensed MIT. It adds 113 tokens to every session and 2,155 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 98% identical to aws-billing-and-cost-management, differing in 26 lines, and is treated as a copy.

Related

aws-billing-and-cost-management compared with skills from other repositories

aws-billing-and-cost-management next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aws-billing-and-cost-managementXyrusCode/ai-syncSkill36d agoMITA113Claude Code, Codex
aws-cost-operationssickn33/agentic-awesome-skillsSkill51kyesterdayMITA44Claude Code
aws-cost-cleanupsickn33/agentic-awesome-skillsSkill51kyesterdayMITA15Claude Code
estimating-aws-workload-costsaws/agent-toolkit-for-awsSkill3.6ktodayApache-2.0A173Claude Code, Codex
azure-computemicrosoft/skillsSkill3.3kyesterdayMITA154Claude Code
azure-costmicrosoft/skillsSkill3.3kyesterdayMITA94Claude Code
cost-estimationmicrosoft/skillsSkill3.3kyesterdayMITA97Claude Code