aws-diagrams

aws-diagrams is a skill for Claude Code from eraserlabs/eraser-io. It costs 27 tokens per session (2,276 once invoked), scanned A, original, MIT.

A tool that creates AWS infrastructure diagrams from CloudFormation templates, AWS command output, or written descriptions. AWS is Amazon's cloud platform, and these diagrams show its resources and connections.

In plain words
What is it for?
Use it to visualize AWS accounts or deployments, including VPCs, subnets, security groups, IAM roles, EC2, S3, RDS, and Lambda.
Why use it?
It makes cloud setups easier to understand by mapping resources such as servers, storage, databases, networks, and permissions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to visualize AWS accounts or deployments, including VPCs, subnets, security groups, IAM roles, EC2, S3, RDS, and Lambda.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eraserlabs/eraser-io/aws-diagrams
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 eraserlabs/eraser-io --skill aws-diagrams
Clone the repo
git clone --depth 1 https://github.com/eraserlabs/eraser-io

Made for: Claude Code.

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-diagrams

README.md
[![agentmods](https://agentmods.dev/badge/skills/eraserlabs/eraser-io/aws-diagrams/github.svg)](https://agentmods.dev/skills/eraserlabs/eraser-io/aws-diagrams)
Your own site
<a href="https://agentmods.dev/skills/eraserlabs/eraser-io/aws-diagrams"><img src="https://agentmods.dev/badge/skills/eraserlabs/eraser-io/aws-diagrams/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-diagrams

Your own site · 80×15
<a href="https://agentmods.dev/skills/eraserlabs/eraser-io/aws-diagrams"><img src="https://agentmods.dev/badge/skills/eraserlabs/eraser-io/aws-diagrams.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,276 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
How audits are shown
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.00027 $0.02276
Opus 5.5 $0.00011 $0.00910
Sonnet 5.5 $0.00005 $0.00455
Haiku 4.5 $0.00003 $0.00228

Measured 2mo ago against content hash 443d1c5e0f43, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aws-diagrams scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Read Write Bash(curl:*)
skills/aws-diagrams/SKILL.md · 272 lines

How it starts

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

AWS Diagram Generator

Generates architecture diagrams for AWS infrastructure from CloudFormation templates, AWS CLI output, or natural language descriptions.

When to Use

Activate this skill when:

  • User has AWS CloudFormation templates (YAML/JSON)
  • User provides AWS CLI output (e.g., aws ec2 describe-instances)
  • User wants to visualize AWS resources
  • User mentions AWS services (EC2, S3, RDS, Lambda, VPC, etc.)
  • User asks to "diagram my AWS infrastructure"

How It Works

This skill generates AWS-specific diagrams by parsing AWS resources and calling the Eraser API directly:

  1. Parse AWS Resources: Extract resources from CloudFormation, CLI output, or descriptions
  2. Map AWS Relationships: Identify VPCs, subnets, security groups, IAM roles
  3. Generate Eraser DSL: Create Eraser DSL code from AWS resources
  4. Call Eraser API: Use /api/render/elements with diagramType: "cloud-architecture-diagram"

Instructions

When the user provides AWS infrastructure information:

  1. Parse the Source

    • CloudFormation: Extract Resources section, identify types (AWS::EC2::Instance, etc.)
    • CLI Output: Parse JSON output from aws commands
    • Description: Identify AWS service names and relationships
  2. Identify AWS Components

    • Networking: VPCs, Subnets, Internet Gateways, NAT Gateways, Route Tables
    • Compute: EC2 Instances, Auto Scaling Groups, Lambda Functions, ECS Services
    • Storage: S3 Buckets, EBS Volumes, EFS File Systems
    • Databases: RDS Instances, DynamoDB Tables, ElastiCache Clusters
    • Security: Security Groups, IAM Roles, IAM Policies, NACLs
    • Load Balancing: ALB, NLB, CLB
    • Other: SQS Queues, SNS Topics, API Gateway, CloudFront
  3. Map Relationships

    • EC2 instances in subnets
    • Subnets in VPCs
    • Security groups attached to instances
    • IAM roles attached to services
    • Load balancers targeting instances
    • Databases accessed by applications

Read the full file on GitHub · 272 lines

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. 2mo ago First seen · 272 lines · 27 tokens per session scan A 443d1c5e0f43

Subscribe to this mod's changes

aws-diagrams is a skill published in the GitHub repository eraserlabs/eraser-io (47 stars, last pushed 7mo ago), licensed MIT. It adds 27 tokens to every session and 2,276 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

aws-diagrams compared with skills from other repositories

aws-diagrams next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aws-diagramseraserlabs/eraser-ioSkill477mo agoMITA27Claude Code
dstack-prototypingdstackai/dstackSkill2.3kyesterdayMPL-2.0A80Claude Code, Codex
aws-architecture-diagramawslabs/agent-pluginsSkill937yesterdayApache-2.0A110Claude Code
architecture-diagrammateaix/mateclawSkill1.2kyesterdayApache-2.0A15Claude Code, Codex
nvaf-architecture-diagramsNVIDIA/nvcfSkill2534d agoApache-2.0A70Claude Code, Codex
aws-architecture-diagramautomateyournetwork/netclawSkill715yesterdayApache-2.0A43Claude Code, Codex
archify_architectureantoinebou12/uml-mcpSkill109yesterdayMITA78Claude Code, Codex