Agent skill

AWS Cost Optimization

by ahmedasmar in ahmedasmar/devops-claude-skills

AWS cost optimization and FinOps workflows. An agent skill from ahmedasmar/devops-claude-skills.

No licenceAuto-check passedDevOps & Cloud

Install AWS Cost Optimization

skills CLI
$ npx skills add ahmedasmar/devops-claude-skills --skill aws-cost-optimization -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ahmedasmar/devops-claude-skills aws-cost-optimization --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ahmedasmar/devops-claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/aws-cost-optimization/skills .claude/skills/aws-cost-optimization && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
aws-cost-optimization
GitHub stars
203
Token cost
~4.3k tokens
SKILL.md length
1,191 words
Files
5 (incl. references, assets)
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

AWS cost optimization and FinOps workflows. An agent skill from ahmedasmar/devops-claude-skills.

  • Works in 5 steps: Discover — Find waste using aws ec2 and… → Analyze — Find opportunities with aws… → Prioritize — Quick wins (low risk, high… → …
  • The user mentions AWS costs
  • SKILL.md covers Cost Optimization Workflow, Core Workflows, Quick Reference and Service-Specific Optimization, plus 5 more sections
  • Calls aws

What it does

AWS Cost Optimization is an agent skill from ahmedasmar/devops-claude-skills. AWS cost optimization and FinOps workflows. Use this skill whenever the user mentions AWS costs, cloud spending, FinOps, Reserved Instances, Savings Plans, or cost reduction. Triggers include finding unused resources, analyzing the AWS bill, rightsizing EC2 or RDS instances, evaluating Spot instances, detecting cost anomalies, migrating to Graviton or newer instance generations, implementing tagging for cost allocation, setting up AWS Budgets, conducting monthly cost reviews, comparing RI vs Savings Plans, and…

Its SKILL.md is about 4.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files and assets (for example `assets/templates/monthly_cost_report.md`, `references/best_practices.md` and `references/finops_governance.md`).

It sits in DevOps & Cloud, covering Cloud cost optimization. It works with Amazon Web Services. The repository describes itself as: A Claude Code Skills Marketplace for DevOps workflows.

When your agent uses it

  • The user mentions AWS costs
  • Reserved Instances
  • Include finding unused resources
  • Analyzing the AWS bill

Example prompts

  • “/aws-cost-optimization”

Requirements

  • Docker

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Discover — Find waste using aws ec2 and aws ce CLI commands to identify unused resources and cost anomalies
  2. Analyze — Find opportunities with aws compute-optimizer, aws cloudwatch, and aws ce for rightsizing, generation upgrades, Spot, and RI…
  3. Prioritize — Quick wins (low risk, high savings) first, then low-hanging fruit, then strategic improvements
  4. Implement — Delete unused resources, rightsize instances, purchase commitments, migrate generations
  5. Monitor — Monthly cost reviews, tag compliance, budget variance tracking

What it can do on your machine

Read from SKILL.md and the folder at commit 1489c33. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • aws

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use aws, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

AWS Cost Optimization loads about 4.3k tokens when it runs, and up to ~16k if it reads all its reference files. Until then it costs about 146 tokens; SKILL.md has 1,191 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~146
When it runs · the whole SKILL.md, loaded when a task matches
~4.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~16k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,191 words (~4,306 tokens).

“Systematic workflows for AWS cost optimization and financial operations management.”

— opening of SKILL.md by ahmedasmar
name
aws-cost-optimization

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (references, assets) in aws-cost-optimization/skills of ahmedasmar/devops-claude-skills.

  • SKILL.md
  • assets/templates/monthly_cost_report.md
  • references/best_practices.md
  • references/finops_governance.md
  • references/service_alternatives.md

Open the folder on GitHubat commit 1489c33

Compare with similar skills

AWS Cost Optimization next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

AWS Cost Optimization compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AWS Cost Optimization this skillahmedasmar/devops-claude-skills203—~4.3kAutomated safety check: PassNone
Cloud Cost Optimizationwshobson/agents40k14 repos~1.7kAutomated safety check: PassMIT
Spotinfoalexei-led/spotinfo164—~1.8kAutomated safety check: PassApache-2.0
FrugalyuanboP/frugal198—~2.1kAutomated safety check: PassMIT
AWS Lambda Managed Instancesawslabs/agent-plugins916—~4kAutomated safety check: PassApache-2.0
SkyPilot Multi-Cloud OrchestrationOrchestra-Research/AI-Research-SKILLs13k4 repos~2.4kAutomated safety check: PassMIT

Similar skills

  • Cuts cloud spend across AWS, Azure, GCP and OCI with cost tagging, rightsizing, commitment and spot pricing models, and architecture changes.

    40k GitHub starsUsed in 14 repos~1.7k tokens
    DevOps & CloudAuto-check passed
  • Spotinfo

    alexei-led/spotinfo

    Query Spot/preemptible VM prices, savings and interruption risk across AWS, GCP and Azure with the spotinfo CLI.

    164 GitHub stars~1.8k tokensUpdated 5 days ago
    DevOps & CloudAuto-check passed
  • Frugal

    yuanboP/frugal

    Cloud cost awareness for agents. An agent skill from yuanboP/frugal.

    198 GitHub stars~2.1k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed
  • AWS Lambda Managed Instances

    awslabs/agent-plugins

    Official

    Evaluate, configure, and migrate workloads to AWS Lambda Managed Instances (LMI).

    916 GitHub stars~4k tokensUpdated today
    DevOps & CloudAuto-check passed
  • SkyPilot Multi-Cloud Orchestration

    Orchestra-Research/AI-Research-SKILLs

    Runs ML training and batch jobs across clouds with SkyPilot, using spot instances, automatic region selection and managed recovery to cut GPU cost.

    13k GitHub starsUsed in 4 repos~2.4k tokens
    DevOps & CloudAuto-check passed
  • AWS Cost Operations

    zxkane/aws-skills

    AWS cost optimization, monitoring, and operational excellence expert.

    367 GitHub stars~2.4k tokensUpdated 3 mo ago
    DevOps & CloudAuto-check passed

More from ahmedasmar/devops-claude-skills

  • CI CD

    ahmedasmar/devops-claude-skills

    CI/CD pipeline design, optimization, DevSecOps security scanning, and troubleshooting.

    203 GitHub stars~3.5k tokensUpdated 6 mo ago
    Auto-check passed
  • Iac Terraform

    ahmedasmar/devops-claude-skills

    Infrastructure as Code with Terraform and Terragrunt. An agent skill from ahmedasmar/devops-claude-skills.

    203 GitHub stars~2.6k tokensUpdated 6 mo ago
    Auto-check passed
  • Monitoring Observability

    ahmedasmar/devops-claude-skills

    Monitoring and observability strategy, implementation, and troubleshooting.

    203 GitHub stars~3.9k tokensUpdated 6 mo ago
    Auto-check passed
  • K8s Troubleshooter

    ahmedasmar/devops-claude-skills

    Systematic Kubernetes troubleshooting and incident response.

    203 GitHub stars~2.4k tokensUpdated 6 mo ago
    Auto-check passed

Categories

Questions about AWS Cost Optimization

What does AWS Cost Optimization do?

AWS cost optimization and FinOps workflows. An agent skill from ahmedasmar/devops-claude-skills. AWS Cost Optimization is an agent skill from ahmedasmar/devops-claude-skills. AWS cost optimization and FinOps workflows.

When should I use AWS Cost Optimization?

AWS Cost Optimization fits situations like: the user mentions AWS costs; reserved Instances; include finding unused resources; analyzing the AWS bill.

How do I install AWS Cost Optimization in Claude Code?

Run `npx skills add ahmedasmar/devops-claude-skills --skill aws-cost-optimization -a claude-code`. Or copy the skill folder (aws-cost-optimization/skills in ahmedasmar/devops-claude-skills) into .claude/skills/aws-cost-optimization in your project. Claude Code loads it when a task matches its description.

How do I install AWS Cost Optimization in Codex?

Run `npx skills add ahmedasmar/devops-claude-skills --skill aws-cost-optimization -a codex`. Or copy the skill folder (aws-cost-optimization/skills in ahmedasmar/devops-claude-skills) into .agents/skills/aws-cost-optimization in your project. Codex loads it when a task matches its description.

Can I use AWS Cost Optimization in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ahmedasmar/devops-claude-skills --skill aws-cost-optimization -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/aws-cost-optimization, .gemini/skills/aws-cost-optimization, .github/skills/aws-cost-optimization and .opencode/skills/aws-cost-optimization in your project.

What does AWS Cost Optimization need to run?

Going by SKILL.md and its folder, AWS Cost Optimization needs the command-line tools its instructions call (aws). Our summary lists: Docker.

Does AWS Cost Optimization access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is AWS Cost Optimization safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does AWS Cost Optimization use?

No licence was found for AWS Cost Optimization or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does AWS Cost Optimization use?

About 4.3k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 11k tokens, read only when the agent opens those files.

What are the alternatives to AWS Cost Optimization?

Skills that share tags, products or a category with AWS Cost Optimization: Cloud Cost Optimization (wshobson/agents, 40k stars), Spotinfo (alexei-led/spotinfo, 164 stars), Frugal (yuanboP/frugal, 198 stars) and AWS Lambda Managed Instances (awslabs/agent-plugins, 916 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains AWS Cost Optimization?

ahmedasmar (a GitHub user) maintains it in ahmedasmar/devops-claude-skills, which has 203 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on April 11, 2026.

Source: ahmedasmar/devops-claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.