aws-cost

aws-cost is a skill for Claude Code from timurgaleev/vibestack. It costs 86 tokens per session (9,898 once invoked), scanned C, original, MIT.

A read-only review of an AWS account's cloud spending, comparing the latest month with the previous one.

In plain words
What is it for?
Use it to investigate an AWS bill increase, review cloud usage and examine savings-plan coverage.
Why use it?
It shows where the bill changed and identifies the main actions for reducing or controlling costs.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; positional $N argument.

Good fit Use it to investigate an AWS bill increase, review cloud usage and examine savings-plan coverage.

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

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/timurgaleev/vibestack/aws-cost"><img src="https://agentmods.dev/badge/skills/timurgaleev/vibestack/aws-cost.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,898 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00086 $0.09898
Opus 5 $0.00043 $0.04949
Sonnet 5 $0.00017 $0.01980
Haiku 4.5 $0.00009 $0.00990

Measured 6d ago against content hash 227588c8f10b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade C, and why

aws-cost scanned grade C with 1 finding 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 6d 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

`~/.aws/credentials`.
skills/aws-cost/SKILL.md · 723 lines

How it starts

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

When to invoke

Use when: "aws cost", "aws bill", "why did AWS cost go up", "finops review", "cost explorer", "savings plans coverage", "cloud spend review", "what are we paying for".

Preamble

eval "$(~/.vibestack/bin/vibe-slug 2>/dev/null)" 2>/dev/null || SLUG="unknown"
_LEARN_FILE="${VIBESTACK_HOME:-$HOME/.vibestack}/projects/${SLUG:-unknown}/learnings.jsonl"
if [ -f "$_LEARN_FILE" ]; then
  _LEARN_COUNT=$(wc -l < "$_LEARN_FILE" 2>/dev/null | tr -d ' ')
  echo "LEARNINGS: $_LEARN_COUNT entries loaded"
  if [ "$_LEARN_COUNT" -gt 5 ] 2>/dev/null; then
    ~/.vibestack/bin/vibe-learnings-search --limit 5 2>/dev/null || true
  fi
else
  echo "LEARNINGS: none yet"
fi

{{include lib/snippets/session-host.md}}

{{include lib/snippets/decision-brief.md}}

{{include lib/snippets/working-protocols.md}}

{{include lib/snippets/state-protocols.md}}

User-invocable

When the user types /aws-cost, run this skill.


Step 0: Pick the data path

Two ways to get billing data. Decide once, up front, and say which one you are on.

MCP path. Look at the tools available in this session. If any tool name starts with mcp__awslabs_billing, the billing MCP server is connected. The ones this skill uses: cost-explorer, cost-comparison, cost-anomaly, cost-optimization, compute-optimizer, sp-performance, ri-performance, budgets, free-tier-usage. Prefer this path when it exists: it returns structured JSON and handles pagination.

CLI path. If no billing MCP tool is present, the aws CLI must work. Settle the profile first, then prove it authenticates. In this order:

  1. If $AWS_PROFILE is set, use it. Do not ask.
  2. Otherwise run aws sts get-caller-identity --output json against the default profile. If it succeeds, default is the profile; do not ask, even when other profiles exist.
  3. If it fails and aws configure list-profiles prints more than one name, ask which one to use (AskUserQuestion, one option per name), export the answer as AWS_PROFILE, and run aws sts get-caller-identity --output json again.
  4. If the check still fails, stop and print a setup note: which profile was tried, the error text, and the two fixes (aws configure --profile <name> or aws sso login --profile <name>). Do not guess at credentials. Do not read ~/.aws/credentials.

Read the full file on GitHub · 723 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. 6d ago First seen · 723 lines · 86 tokens per session scan C 227588c8f10b

Subscribe to this mod's changes

aws-cost is a skill published in the GitHub repository timurgaleev/vibestack (6 stars, last pushed 7d ago), licensed MIT. It adds 86 tokens to every session and 9,898 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

bitcoin-infrastructure-node-distros

Self-hosted Bitcoin node distros: Umbrel, Start9 Embassy, RaspiBlitz, MyNode, Citadel. Pre-configured Bitcoin + Lightning + apps. USE WHEN: deploying personal node infrastructure, choosing between distros.

claude-dev-suite/claude-dev-suite · 56 tokens

bedrock-agentcore

Deploy and operate agents on Amazon Bedrock AgentCore — Runtime, Harness, Memory, Identity, and Observability. Use when hosting an agent on AWS, containerising an agent for AgentCore Runtime, wiring session or long-term memory, or choosing between Harness, Runtime, and plain Lambda.

ihatesea69/kiro-kit · 63 tokens

mcp-server-hosting

Build and host a remote MCP server on AWS — Lambda, Fargate/ECS, or AgentCore Runtime — with OAuth via Cognito, Okta, or Auth0 and the RFC 7235 401 + WWW-Authenticate handshake. Use when deploying an MCP server for remote agents rather than local stdio use.

ihatesea69/kiro-kit · 71 tokens

terraform-modules

Design and implement reusable Terraform modules with proper interfaces, testing, and documentation. Use when creating or refactoring infrastructure modules.

ihatesea69/kiro-kit · 28 tokens

audit-infra-cost

Read-only audit of hosting, database, storage, egress, and serverless spend (Supabase, Vercel, S3/R2, edge). Use when "hosting bill is high", "cut infra costs", or a bill jumps. CI minutes → audit-cicd. Model tokens → plan-llm-cost-guardrails. Consumes test-load numbers.

kensaurus/cursor-kenji · 81 tokens

payment-integration

Implement payment integrations with SePay (Vietnamese payment gateway with VietQR, bank transfers, cards) and Polar (global SaaS monetization platform with subscriptions, usage-based billing, automated benefits). Use when integrating payment processing, implementing checkout flows, managing subscriptions, handling…

ihatesea69/kiro-kit · 120 tokens