Agent skill

AWS Cost Operations

by zxkane in zxkane/aws-skills

AWS cost optimization, monitoring, and operational excellence expert.

MITAuto-check passedDevOps & Cloud

Install AWS Cost Operations

skills CLI
$ npx skills add zxkane/aws-skills --skill aws-cost-operations -a claude-code

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

GitHub CLI
$ gh skill install zxkane/aws-skills aws-cost-operations --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/zxkane/aws-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/aws-cost-ops/skills/aws-cost-operations .claude/skills/aws-cost-operations && 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-operations
GitHub stars
367
Token cost
~2.4k tokens
SKILL.md length
1,041 words
Files
3 (incl. references)
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

AWS cost optimization, monitoring, and operational excellence expert.

  • Works in 3 steps: AWS Pricing MCP Server (pricing) → AWS Cost Explorer MCP Server (costexp) → Amazon CloudWatch MCP Server (cw)
  • Analyzing AWS bills
  • SKILL.md covers AWS Documentation Requirement, Integrated MCP Servers, When to Use This Skill and Cost Optimization Best Practices, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

AWS Cost Operations is an agent skill from zxkane/aws-skills. AWS cost optimization, monitoring, and operational excellence expert. Use when analyzing AWS bills, estimating costs, setting up CloudWatch alarms, querying logs, auditing CloudTrail activity, or assessing security posture. Essential when user mentions AWS costs, spending, billing, budget, pricing, CloudWatch, observability, monitoring, alerting, CloudTrail, audit, or wants to optimize AWS infrastructure costs and operational efficiency.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/cloudwatch-alarms.md` and `references/operations-patterns.md`).

It sits in DevOps & Cloud, covering Monitoring and alerting, MCP servers and Observability. It works with Amazon Web Services and Model Context Protocol. The repository describes itself as: Claude Code plugins and agent skills for AWS development — IaC(CDK/SST), serverless, cost ops, and Bedrock AgentCore. The licence is MIT.

When your agent uses it

  • Analyzing AWS bills
  • Estimating costs
  • Setting up CloudWatch alarms
  • Auditing CloudTrail activity

Example prompts

  • “/aws-cost-operations”

Requirements

  • Pre-approved tools (allowed-tools): mcp__pricing__*, mcp__costexp__*, mcp__cw__*, mcp__aws-mcp__*, mcp__awsdocs__*, Bash(aws ce *), Bash(aws cloudwatch *), Bash(aws logs *), Bash(aws budgets *), Bash(aws cloudtrail *), Bash(aws sts get-caller-identity)

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. AWS Pricing MCP Server (pricing)
  2. AWS Cost Explorer MCP Server (costexp)
  3. Amazon CloudWatch MCP Server (cw)

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • mcp__pricing__*
    • mcp__costexp__*
    • mcp__cw__*
    • mcp__aws-mcp__*
    • mcp__awsdocs__*
    • Bash(aws ce *)
    • Bash(aws cloudwatch *)
    • Bash(aws logs *)
    • Bash(aws budgets *)
    • Bash(aws cloudtrail *)

    …and 1 more on the same allowed-tools line.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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 Operations loads about 2.4k tokens when it runs, and up to ~8.4k if it reads all its reference files. Until then it costs about 115 tokens; SKILL.md has 1,041 words of instructions outside code blocks.

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

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

The full file from zxkane/aws-skills at commit 68530c6, republished under its MIT licence (© zxkane). 1,041 words, ~2,366 tokens.

Download SKILL.mdSave it as .claude/skills/aws-cost-operations/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
aws-cost-operations
description
AWS cost optimization, monitoring, and operational excellence expert. Use when analyzing AWS bills, estimating costs, setting up CloudWatch alarms, querying logs, auditing CloudTrail activity, or assessing security posture. Essential when user mentions AWS costs, spending, billing, budget, pricing, CloudWatch, observability, monitoring, alerting, CloudTrail, audit, or wants to optimize AWS infrastructure costs and operational efficiency.
allowed-tools
mcp__pricing__*, mcp__costexp__*, mcp__cw__*, mcp__aws-mcp__*, mcp__awsdocs__*, Bash(aws ce *), Bash(aws cloudwatch *), Bash(aws logs *), Bash(aws budgets *), Bash(aws cloudtrail *), Bash(aws sts get-caller-identity)
context
fork
skills
aws-mcp-setup

AWS Cost & Operations

This skill provides comprehensive guidance for AWS cost optimization, monitoring, observability, and operational excellence with integrated MCP servers.

AWS Documentation Requirement

Always verify AWS facts using MCP tools (mcp__aws-mcp__* or mcp__*awsdocs*__*) before answering. The aws-mcp-setup dependency is auto-loaded — if MCP tools are unavailable, guide the user through that skill's setup flow.

Integrated MCP Servers

This plugin provides 3 MCP servers:

Bundled Servers
1. AWS Pricing MCP Server (pricing)

Purpose: Pre-deployment cost estimation and optimization

  • Estimate costs before deploying resources
  • Compare pricing across regions
  • Calculate Total Cost of Ownership (TCO)
  • Evaluate different service options for cost efficiency
2. AWS Cost Explorer MCP Server (costexp)

Purpose: Detailed cost analysis and reporting

  • Analyze historical spending patterns
  • Identify cost anomalies and trends
  • Forecast future costs
  • Analyze cost by service, region, or tag
3. Amazon CloudWatch MCP Server (cw)

Purpose: Metrics, alarms, and logs analysis

  • Query CloudWatch metrics and logs
  • Create and manage CloudWatch alarms
  • Troubleshoot operational issues
  • Monitor resource utilization

Note: The following servers are available separately via the Full AWS MCP Server (see aws-mcp-setup skill) and are not bundled with this plugin:

  • AWS Billing and Cost Management MCP — Real-time billing details
  • CloudWatch Application Signals MCP — APM and SLOs
  • AWS Managed Prometheus MCP — PromQL queries for containers
  • AWS CloudTrail MCP — API activity audit
  • AWS Well-Architected Security Assessment MCP — Security posture assessment

When to Use This Skill

Use this skill when:

  • Optimizing AWS costs and reducing spending
  • Estimating costs before deployment
  • Monitoring application and infrastructure performance
  • Setting up observability and alerting
  • Analyzing spending patterns and trends
  • Investigating operational issues
  • Auditing AWS activity and changes
  • Assessing security posture
  • Implementing operational excellence

Cost Optimization Best Practices

Pre-Deployment Cost Estimation

Always estimate costs before deploying:

  1. Use AWS Pricing MCP to estimate resource costs
  2. Compare pricing across different regions
  3. Evaluate alternative service options
  4. Calculate expected monthly costs
  5. Plan for scaling and growth

Example workflow:

"Estimate the monthly cost of running a Lambda function with
1 million invocations, 512MB memory, 3-second duration in us-east-1"
Cost Analysis and Optimization

Regular cost reviews:

  1. Use Cost Explorer MCP to analyze spending trends
  2. Identify cost anomalies and unexpected charges
  3. Review costs by service, region, and environment
  4. Compare actual vs. budgeted costs
  5. Generate cost optimization recommendations

Cost optimization strategies:

  • Right-size over-provisioned resources
  • Use appropriate storage classes (S3, EBS)
  • Implement auto-scaling for dynamic workloads
  • Leverage Savings Plans and Reserved Instances
  • Delete unused resources and snapshots
  • Use cost allocation tags effectively
Budget Monitoring

Track spending against budgets:

  1. Use Billing and Cost Management MCP to monitor budgets
  2. Set up budget alerts for threshold breaches
  3. Review budget utilization regularly
  4. Adjust budgets based on trends
  5. Implement cost controls and governance

Monitoring and Observability Best Practices

CloudWatch Metrics and Alarms

Implement comprehensive monitoring:

  1. Use CloudWatch MCP to query metrics and logs
  2. Set up alarms for critical metrics:
    • CPU and memory utilization
    • Error rates and latency
    • Queue depths and processing times
    • API gateway throttling
    • Lambda errors and timeouts
  3. Create CloudWatch dashboards for visualization
  4. Use log insights for troubleshooting

Example alarm scenarios:

  • Lambda error rate > 1%
  • EC2 CPU utilization > 80%
  • API Gateway 4xx/5xx error spike
  • DynamoDB throttled requests
  • ECS task failures
Application Performance Monitoring

Monitor application health:

  1. Use CloudWatch Application Signals MCP for APM
  2. Track service-level objectives (SLOs)
  3. Monitor application dependencies
  4. Identify performance bottlenecks
  5. Set up distributed tracing
Container and Kubernetes Monitoring

For containerized workloads:

  1. Use AWS Managed Prometheus MCP for metrics
  2. Monitor container resource utilization
  3. Track pod and node health
  4. Create PromQL queries for custom metrics
  5. Set up alerts for container anomalies

Audit and Security Best Practices

CloudTrail Activity Analysis

Audit AWS activity:

  1. Use CloudTrail MCP to analyze API activity
  2. Track who made changes to resources
  3. Investigate security incidents
  4. Monitor for suspicious activity patterns
  5. Audit compliance with policies

Common audit scenarios:

  • "Who deleted this S3 bucket?"
  • "Show all IAM role changes in the last 24 hours"
  • "List failed login attempts"
  • "Find all actions by a specific user"
  • "Track modifications to security groups"
Show full SKILL.md (383 more words)Show less
Security Assessment

Regular security reviews:

  1. Use Well-Architected Security Assessment MCP
  2. Assess security posture against best practices
  3. Identify security gaps and vulnerabilities
  4. Implement recommended security improvements
  5. Document security compliance

Security assessment areas:

  • Identity and Access Management (IAM)
  • Detective controls and monitoring
  • Infrastructure protection
  • Data protection and encryption
  • Incident response preparedness

Using MCP Servers Effectively

Cost Analysis Workflow
  1. Pre-deployment: Use Pricing MCP to estimate costs
  2. Post-deployment: Use Billing MCP to track actual spending
  3. Analysis: Use Cost Explorer MCP for detailed cost analysis
  4. Optimization: Implement recommendations from Cost Explorer
Monitoring Workflow
  1. Setup: Configure CloudWatch metrics and alarms
  2. Monitor: Use CloudWatch MCP to track key metrics
  3. Analyze: Use Application Signals for APM insights
  4. Troubleshoot: Query CloudWatch Logs for issue resolution
Security Workflow
  1. Audit: Use CloudTrail MCP to review activity
  2. Assess: Use Well-Architected Security Assessment
  3. Remediate: Implement security recommendations
  4. Monitor: Track security events via CloudWatch
MCP Usage Best Practices
  1. Cost Awareness: Check pricing before deploying resources
  2. Proactive Monitoring: Set up alarms for critical metrics
  3. Regular Reviews: Analyze costs and performance weekly
  4. Audit Trails: Review CloudTrail logs for compliance
  5. Security First: Run security assessments regularly
  6. Optimize Continuously: Act on cost and performance recommendations

Operational Excellence Guidelines

Cost Optimization
  • Tag Everything: Use consistent cost allocation tags
  • Review Monthly: Analyze spending trends and anomalies
  • Right-size: Match resources to actual usage
  • Automate: Use auto-scaling and scheduling
  • Monitor Budgets: Set alerts for cost overruns
Monitoring and Alerting
  • Critical Metrics: Alert on business-critical metrics
  • Noise Reduction: Fine-tune thresholds to reduce false positives
  • Actionable Alerts: Ensure alerts have clear remediation steps
  • Dashboard Visibility: Create dashboards for key stakeholders
  • Log Retention: Balance cost and compliance needs
Security and Compliance
  • Least Privilege: Grant minimum required permissions
  • Audit Regularly: Review CloudTrail logs for anomalies
  • Encrypt Data: Use encryption at rest and in transit
  • Assess Continuously: Run security assessments frequently
  • Incident Response: Have procedures for security events

Additional Resources

For detailed operational patterns and best practices, refer to the comprehensive reference:

File: references/operations-patterns.md

This reference includes:

  • Cost optimization strategies
  • Monitoring and alerting patterns
  • Observability best practices
  • Security and compliance guidelines
  • Troubleshooting workflows

CloudWatch Alarms Reference

File: references/cloudwatch-alarms.md

Common alarm configurations for:

  • Lambda functions
  • EC2 instances
  • RDS databases
  • DynamoDB tables
  • API Gateway
  • ECS services
  • Application Load Balancers

© zxkane, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in plugins/aws-cost-ops/skills/aws-cost-operations of zxkane/aws-skills.

  • SKILL.md
  • references/cloudwatch-alarms.md
  • references/operations-patterns.md

Open the folder on GitHubat commit 68530c6

Compare with similar skills

AWS Cost Operations 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 Operations compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AWS Cost Operations this skillzxkane/aws-skills367—~2.4kAutomated safety check: PassMIT
AWS Cost OperationsMicrock/ordinary-claude-skills4041 repos~2.5kAutomated safety check: PassCustom licence
Eks Cost Intelligenceaws-samples/appmod-blueprints115—~3.8kAutomated safety check: WarnMIT-0
AWS Cost Operationssickn33/agentic-awesome-skills47k1 repos~2.4kAutomated safety check: PassMIT
AWS Strands Agents Agentcoresammcj/agentic-coding162—~3kAutomated safety check: PassApache-2.0
Ak Add Capabilitiesyaalalabs/agent-kernel192—~13kAutomated safety check: PassApache-2.0

Similar skills

  • AWS Cost Operations

    Microck/ordinary-claude-skills

    This skill provides AWS cost optimization, monitoring, and operational best practices with integrated MCP servers for billing analysis, cost estimation, observability, and security assessment.

    404 GitHub starsUsed in 1 repo~2.5k tokens
    DevOps & CloudAuto-check passed
  • Eks Cost Intelligence

    aws-samples/appmod-blueprints

    Official

    Run a live EKS cluster cost efficiency assessment — analyze spending across 6 dimensions (compute efficiency, Spot/Graviton adoption, networking, storage, observability, idle resources), calculate a…

    115 GitHub stars~3.8k tokensUpdated 2 days ago
    DevOps & CloudAuto-check: warnings
  • AWS Cost Operations

    sickn33/agentic-awesome-skills

    AWS cost optimization, monitoring, and operational excellence expert.

    47k GitHub starsUsed in 1 repo~2.4k tokens
    DevOps & CloudAuto-check passed
  • AWS Strands Agents Agentcore

    sammcj/agentic-coding

    A skill your agent uses when working with AWS Strands Agents SDK or Amazon Bedrock AgentCore platform for building AI agents.

    162 GitHub stars~3k tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed
  • Ak Add Capabilities

    yaalalabs/agent-kernel

    Add capabilities to an existing Agent Kernel project. An agent skill from yaalalabs/agent-kernel.

    192 GitHub stars~13k tokensUpdated yesterday
    DatabasesAuto-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

More from zxkane/aws-skills

  • AWS Cdk Development

    zxkane/aws-skills

    AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.

    367 GitHub starsUsed in 2 repos~2.5k tokens
    Auto-check passed
  • AWS Serverless Eda

    zxkane/aws-skills

    AWS serverless and event-driven architecture expert based on Well-Architected Framework.

    367 GitHub starsUsed in 4 repos~3.2k tokens
    Auto-check passed
  • AWS Agentic AI

    zxkane/aws-skills

    AWS Bedrock AgentCore comprehensive expert for deploying and managing AI agents at scale.

    367 GitHub stars~2.5k tokensUpdated 3 mo ago
    Auto-check passed
  • AWS MCP Setup

    zxkane/aws-skills

    Configure AWS MCP servers for documentation search and API access.

    367 GitHub stars~1.3k tokensUpdated 3 mo ago
    Auto-check passed
  • AWS Sst Development

    zxkane/aws-skills

    SST v4 (Ion) expert for managing AWS resources as code with the Pulumi-backed framework.

    367 GitHub stars~2.7k tokensUpdated 3 mo ago
    Auto-check: warnings

Categories

Questions about AWS Cost Operations

What does AWS Cost Operations do?

AWS cost optimization, monitoring, and operational excellence expert. AWS Cost Operations is an agent skill from zxkane/aws-skills. AWS cost optimization, monitoring, and operational excellence expert.

When should I use AWS Cost Operations?

AWS Cost Operations fits situations like: analyzing AWS bills; estimating costs; setting up CloudWatch alarms; auditing CloudTrail activity.

How do I install AWS Cost Operations in Claude Code?

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

How do I install AWS Cost Operations in Codex?

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

Can I use AWS Cost Operations 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 zxkane/aws-skills --skill aws-cost-operations -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-operations, .gemini/skills/aws-cost-operations, .github/skills/aws-cost-operations and .opencode/skills/aws-cost-operations in your project.

What does AWS Cost Operations need to run?

SKILL.md names no scripts, command-line tools or credentials: AWS Cost Operations is instructions for the agent only. Its frontmatter pre-approves these tools: mcp__pricing__*, mcp__costexp__*, mcp__cw__*, mcp__aws-mcp__*, mcp__awsdocs__*, Bash(aws ce *), Bash(aws cloudwatch *), Bash(aws logs *), Bash(aws budgets *), Bash(aws cloudtrail *), Bash(aws sts get-caller-identity).

Does AWS Cost Operations 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 Operations 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 Operations use?

AWS Cost Operations is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does AWS Cost Operations use?

About 2.4k tokens (SKILL.md is roughly 9.5k 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 6.1k tokens, read only when the agent opens those files.

What are the alternatives to AWS Cost Operations?

Skills that share tags, products or a category with AWS Cost Operations: AWS Cost Operations (Microck/ordinary-claude-skills, 404 stars), Eks Cost Intelligence (aws-samples/appmod-blueprints, 115 stars), AWS Cost Operations (sickn33/agentic-awesome-skills, 47k stars) and AWS Strands Agents Agentcore (sammcj/agentic-coding, 162 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains AWS Cost Operations?

zxkane (a GitHub user) maintains it in zxkane/aws-skills, which has 367 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on June 15, 2026.

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