aws-natgw-traffic-analysis

aws-natgw-traffic-analysis is a skill for Claude Code, Codex from aws/tools-for-devops-agent. It costs 218 tokens per session (4,737 once invoked), scanned A, original, Apache-2.0.

A read-only workflow for analysing which traffic passes through an AWS NAT Gateway and why. An AWS NAT Gateway lets private cloud resources reach outside networks, and its usage can affect cloud costs.

In plain words
What is it for?
Use it to classify NAT traffic, check endpoint coverage, investigate unexpected public or cross-region paths, and produce commands for read-only validation.
Why use it?
It helps identify traffic taking an unnecessary route, unused private endpoints, or other network paths that may increase NAT Gateway charges without changing the infrastructure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to classify NAT traffic, check endpoint coverage, investigate unexpected public or cross-region paths, and produce commands for read-only validation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws/tools-for-devops-agent/aws-natgw-traffic-analysis
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 aws-natgw-traffic-analysis
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 aws-natgw-traffic-analysis

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/tools-for-devops-agent/aws-natgw-traffic-analysis"><img src="https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/aws-natgw-traffic-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 218 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,737 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.00218 $0.04737
Opus 5.5 $0.00087 $0.01895
Sonnet 5.5 $0.00044 $0.00947
Haiku 4.5 $0.00022 $0.00474

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

Security

Grade A, and why

aws-natgw-traffic-analysis 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 27d 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/aws-natgw-traffic-analysis/SKILL.md · 125 lines

How it starts

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

Overview

This skill analyzes NAT Gateway traffic — where it is actually going and why it takes that path — to surface network architecture issues (endpoints that exist but aren't used, internal services talking over public IPs, unintended cross-region data paths) and the cost reduction that follows from fixing them. NAT Gateway bills on GB processed, and the flow log destination IP is the only reliable way to know whether that traffic is addressable (routable around NAT for free or near-free) or genuinely has to leave the VPC.

It is read-only: it produces traffic categorization, endpoint-coverage findings, and read-only validation commands (describe-*, get-*, list-*) — never mutating actions. It does not modify route tables, create endpoints, or change peering.

Verification & Anti-Hallucination Directives (Mandatory)

  • Answer first, then ask. When the user describes a situation, answer from that description: give the explanation and the likely causes, state your assumptions, then list the data or read-only commands that would confirm it. Do not end your turn with only a question. Stop to ask before answering only when the request cannot be answered at all without more input.
  • Do not generate any fact, categorization, or cost estimate that is not grounded in the provided flow log data, the user's description, or a verified API response. If you lack a verified source, state "unable to verify" rather than inventing a category or IP owner.
  • State assumptions explicitly before presenting findings — especially the data source (NAT Gateway ENI vs. instance ENI), the analysis window and how it was chosen, and its representativeness.
  • Cross-check every "AWS Service" tag in the flow log data against ip-ranges.amazonaws.com before trusting it. The tag reflects IP-to-service mapping at export time and can be stale.
  • Do not name a specific AWS API service (for example STS, ECR, CloudWatch Logs) from an IP range alone — most of them share the generic AMAZON range (Hard Rule 12).
  • Do not report dollar figures — no savings totals, monthly or yearly estimates, ranges, or per-GB prices. This holds even when the user asks for dollars and even when you can retrieve the account's own rates (for example from Cost Explorer): a rate from one service, region, or billing window applied to flow-log GB from another produces a confident wrong number. Report traffic volume in GB and % of total, then give the user the formula and inputs to price it themselves (GB × their NAT Gateway processing rate, minus the GB × their rate for the replacement path).
  • Never present a Gateway/Interface Endpoint recommendation as risk-free without checking the CopyObject/UploadPartCopy interaction first (see Hard Rule 3 below).

Read the full file on GitHub · 125 lines

Files

What ships with it

60 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. 27d ago First seen · 125 lines · 218 tokens per session scan A 10b206529aa1

Subscribe to this mod's changes

aws-natgw-traffic-analysis is a skill published in the GitHub repository aws/tools-for-devops-agent (153 stars, last pushed yesterday), licensed Apache-2.0. It adds 218 tokens to every session and 4,737 once invoked, about $0.0009 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-11-03.

Related

aws-natgw-traffic-analysis compared with skills from other repositories

aws-natgw-traffic-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aws-natgw-traffic-analysisaws/tools-for-devops-agentSkill153yesterdayApache-2.0A218Claude Code, Codex
amplify-workflowawslabs/agent-pluginsSkill953todayApache-2.0A214Claude Code
hyperpod-cluster-debuggerawslabs/agent-pluginsSkill953todayApache-2.0A80Claude Code
hyperpod-ncclawslabs/agent-pluginsSkill953todayApache-2.0A150Claude Code
hyperpod-performance-debuggerawslabs/agent-pluginsSkill953todayApache-2.0A133Claude Code
aws-step-functionsawslabs/agent-pluginsSkill953todayApache-2.0A57Claude Code
hyperpod-issue-reportawslabs/agent-pluginsSkill953todayApache-2.0A99Claude Code