config-cost-optimization

config-cost-optimization is a skill for Claude Code, Codex from aws/tools-for-devops-agent. It costs 174 tokens per session (2,631 once invoked), scanned A, original, Apache-2.0.

A read-only review tool for AWS Config, the AWS service that records resource configuration changes and checks them against rules. It examines recording settings, rules, conformance packs, and usage to identify cost-saving opportunities.

In plain words
What is it for?
Use it to review AWS Config costs, investigate configuration-item spikes, compare continuous and daily recording, and assess recorded resource types and compliance checks.
Why use it?
It helps explain increases in configuration-item charges and assess whether recording frequency, resource coverage, or checks are creating unnecessary spend. It does not change recorders, rules, or conformance packs.

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 AWS Config costs, investigate configuration-item spikes, compare continuous and daily recording, and assess recorded resource types and compliance checks.

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

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 config-cost-optimization

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/tools-for-devops-agent/config-cost-optimization"><img src="https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/config-cost-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 174 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,631 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 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.00174 $0.02631
Opus 5.5 $0.00070 $0.01052
Sonnet 5.5 $0.00035 $0.00526
Haiku 4.5 $0.00017 $0.00263

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

Security

Grade A, and why

config-cost-optimization 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 8d 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.

skills/config-cost-optimization/SKILL.md · 190 lines

How it starts

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

AWS Config Cost Optimization

Identify, quantify, and prioritize AWS Config cost optimization opportunities aligned with Optimize AWS Config costs, Cost optimization recommendations for AWS Config, and AWS Config pricing.

This skill uses read-only Config, CloudWatch, S3, and Organizations APIs only. It never starts, stops, or reconfigures a recorder, rule, or conformance pack — all remediation is delivered as recommendations for a human to review and apply.

When to Use

Activate this skill when the user asks to:

  • Reduce or optimize AWS Config costs
  • Investigate an unexpected Config cost or configuration-item (CI) spike
  • Decide between continuous and daily recording frequency
  • Review which resource types are recorded, or which rules/conformance packs run
  • Perform a Config cost review or FinOps assessment

How AWS Config Billing Works

The pricing model is the foundation of every finding below. The essentials:

  • Configuration items (CIs) are the dominant cost driver — billed per CI recorded.
  • Recording frequency sets the CI price and cadence: continuous bills a CI for every change ($0.003 each); daily bills at most one CI per resource per day ($0.012 each). For high-churn resources, daily is often materially cheaper despite the higher sticker price; for low-churn resources continuous is usually cheaper. The right choice is per-resource-type.
  • Config rule and conformance pack evaluations are billed per evaluation.
  • S3 storage holds configuration history and snapshots in the delivery bucket.

For the full charge table, per-mode pricing, and the high-churn reasoning the checks rely on, load references/billing-model.md when you need to decide whether continuous or daily is cheaper for a resource type, or to explain a charge.

Read the full file on GitHub · 190 lines

Files

What ships with it

37 files 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. 8d ago First seen · 190 lines · 174 tokens per session scan A c89acc416902

Subscribe to this mod's changes

config-cost-optimization is a skill published in the GitHub repository aws/tools-for-devops-agent (107 stars, last pushed today), licensed Apache-2.0. It adds 174 tokens to every session and 2,631 once invoked, about $0.0007 per session on Opus 5.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-10-08.

Related

Other skills, from other repositories

Cloud Billing Analyst

FOCUS-first analyst for cloud billing data across AWS, Azure, GCP, OCI, and SaaS. Translates raw exports into Finance, Engineering, and Leadership narratives. Knows provider-native quirks (CUR / Cost Management / BigQuery export) but defaults to FOCUS columns for portability.

Cletrics/finops-agents · 64 tokens

Commitment Discount Strategist

Cross-cloud commitment portfolio specialist. Designs and maintains Reserved Instances, Savings Plans, Reservations, and Committed Use Discounts across AWS, Azure, GCP, and OCI using FOCUS Commitment Discount columns. Maximizes effective discount without bleeding on unused commitment.

Cletrics/finops-agents · 55 tokens

Budget & Anomaly Operator

Designs and tunes the alerting layer for cloud spend -- both budget-trajectory alerts (Budgeting capability) and statistical anomaly detection (Anomaly Management capability). Optimizes for precision and time-to-action, not coverage.

Cletrics/finops-agents · 50 tokens

AWS Cost Explorer Analyst

Expert analyst for AWS Cost Explorer, Cost and Usage Report (CUR), and Cost Categories. Turns raw billing line items into service-level, team-level, and workload-level narratives that drive action.

Cletrics/finops-agents · 43 tokens

Cost Anomaly Detector

Builds and tunes anomaly detection for cloud spend -- z-score, seasonal decomposition, and segment-aware baselines that surface real issues without drowning teams in false positives.

Cletrics/finops-agents · 37 tokens

Azure Cost Management Navigator

Expert in Azure Cost Management, enterprise enrollments, subscriptions, management groups, and the specific shape of Azure billing exports -- FOCUS, EA, MCA, and CSP scenarios.

Cletrics/finops-agents · 40 tokens