Aws Cost Ops logo

Aws Cost Ops

Community
automateyournetwork
aws-cost-ops

AWS Cost Explorer — spending analysis, service breakdowns, forecasts, cost anomalies. Use when analyzing AWS spending, investigating cost spikes, reviewing network cost drivers like NAT Gateway, or forecasting next month's bill.

Overview

Publisherautomateyournetwork
Repositorynetclaw
Skill nameaws-cost-ops
Stars
680
Forks
189
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by automateyournetwork on GitHub. Read the source before you install it.

Installation

Install the Aws Cost Ops AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/aws-cost-ops
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/automateyournetwork/netclaw.git /tmp/netclaw
mkdir -p .claude/skills
cp -r /tmp/netclaw/workspace/skills/aws-cost-ops .claude/skills/aws-cost-ops
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Aws Cost Ops in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Aws Cost Ops on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Aws Cost Ops is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

AWS Cost Operations

MCP Server

  • Command: uvx awslabs.cost-explorer-mcp-server@latest (stdio transport)
  • Requires: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION (or AWS_PROFILE)
  • Note: Cost Explorer API charges $0.01 per request — be mindful of query volume

Key Capabilities

  • Cost breakdown: Spending by service, account, region, or tag
  • Time series: Daily, monthly, or custom date range cost trends
  • Forecasts: Predicted spend based on historical patterns
  • Anomaly detection: Unusual spending spikes
  • Filtering: Narrow by service (EC2, VPC, TGW, NAT GW, VPN, etc.)

Workflow: Network Cost Analysis

When a user asks "how much is our AWS network costing?":

  1. Total network spend: Cost breakdown for VPC, Transit Gateway, NAT Gateway, VPN, ELB, Direct Connect
  2. Trend: Monthly trend for network services over last 6 months
  3. Top services: Rank network services by spend (NAT GW data processing is often #1)
  4. Per-region: Break down network costs by region
  5. Forecast: Projected network spend for next month
  6. Report: Network cost dashboard with optimization recommendations

Workflow: Cost Anomaly Investigation

When investigating unexpected charges:

  1. Daily breakdown: Get daily costs for the spike period
  2. Service drill-down: Which service caused the spike?
  3. Region check: Was the spike in a specific region?
  4. Correlate: Cross-reference with CloudTrail for resource creation events
  5. Report: Root cause and recommended action

Workflow: Monthly Cost Review

For regular FinOps review:

  1. Month-over-month: Compare current vs previous month spending
  2. Service breakdown: Top 10 services by cost
  3. Network focus: VPC, TGW, NAT GW, VPN, ELB, Direct Connect costs
  4. Growth rate: Percentage change per service
  5. Forecast: Next month projection
  6. Report: Executive cost summary with trends

Common AWS Network Cost Drivers

ServiceCost ComponentTypical Driver
NAT GatewayData processing$0.045/GB — largest network cost for most
NAT GatewayHourly charge$0.045/hr per NAT GW
Transit GatewayData processing$0.02/GB per attachment
Transit GatewayHourly charge$0.05/hr per attachment
VPNHourly charge$0.05/hr per VPN connection
VPNData transfer$0.09/GB outbound
ELB (ALB)Hourly + LCU$0.0225/hr + LCU charges
ELB (NLB)Hourly + NLCU$0.0225/hr + NLCU charges
Direct ConnectPort hours$0.03-$0.30/hr depending on speed
Data TransferCross-AZ$0.01/GB each direction
Data TransferCross-Region$0.02/GB
Data TransferInternet out$0.09/GB (first 10TB)

Cost Optimization Tips

FindingRecommendation
High NAT GW data processingUse VPC endpoints for S3/DynamoDB (free)
Multiple NAT GWs per AZConsolidate if traffic allows
Idle VPN connectionsDelete unused VPN tunnels
Cross-AZ trafficCo-locate resources in same AZ where possible
Oversized ELBRight-size based on actual LCU/NLCU usage
Unused EIPsRelease unattached Elastic IPs ($0.005/hr)

Important Rules

  • Cost Explorer API charges $0.01 per request — batch queries, avoid excessive polling
  • Data lag — Cost data can be delayed up to 24 hours
  • Unblended vs amortized — clarify which cost type the user wants
  • Record in GAIT — log cost investigations for audit trail

Environment Variables

  • AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION (or AWS_PROFILE)

Failure Behavior

  • On a tool error (timeout, unreachable host, malformed response), report the failure and its error message directly to the user rather than fabricating or guessing at results.
  • For a confirmed read-only call, check connectivity and retry once if appropriate. For any call that changes state or sends a message, a timeout does not prove the action failed: inspect current state or delivery status before retrying, preserve the required approval/change gates, and do not repeat an action whose outcome is unknown.

Frequently asked questions

What does the Aws Cost Ops AI skill do?

AWS Cost Explorer — spending analysis, service breakdowns, forecasts, cost anomalies. Use when analyzing AWS spending, investigating cost spikes, reviewing network cost drivers like NAT Gateway, or forecasting next month's bill.

Why use Aws Cost Ops on TypingMind?

Because you install it once and use it with any model. Aws Cost Ops is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Aws Cost Ops in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/aws-cost-ops. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Aws Cost Ops?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Aws Cost Ops?

As many as you like. As long as a model supports skills, you can use Aws Cost Ops with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Aws Cost Ops AI skill free?

Yes. It is published on GitHub by automateyournetwork under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇