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 18 Mar 2026
  • Snyk fail 15 Feb 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 $0.00014 $0.01138
Sonnet 5 $0.00005 $0.00455
Haiku 4.5 $0.00003 $0.00228

Measured 11d ago against content hash 443d1c5e0f43, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 11d 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. 11d 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 (40 stars, last pushed 5mo ago), licensed MIT. It adds 27 tokens to every session and 2,276 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

dstack-prototyping

Use with the dstack skill for model-serving work when the image, serving command, resources, backend/fleet choice, or service behavior is not proven. Guides task-first prototyping on real hardware, choosing fleets/backends that can reuse idle instances and caches, checking vLLM/SGLang sources, and verifying the final…

dstackai/dstack · 80 tokens

aws-architecture-diagram

Generate validated AWS architecture diagrams as draw.io XML using official AWS4 icon libraries. Use this skill whenever the user wants to create, generate, or design AWS architecture diagrams, cloud infrastructure diagrams, or system design visuals. Also triggers for requests to visualize existing infrastructure from…

awslabs/agent-plugins · 110 tokens

architecture-diagram

Dark-themed SVG architecture/cloud/infra diagrams as HTML.

mateaix/mateclaw · 15 tokens

drawio-aws

Use when the user asks for an AWS architecture diagram — VPC/networking, event-driven, landing zone, multi-AZ, serverless pipeline, or any diagram built with AWS service icons. Builds with the declarative layout engine using ground-truth mxgraph.aws4 stencils, validates (stencils/colors/nesting/geometry), runs a…

sparklabx/drawio-ai-kit · 94 tokens

aws-architecture-diagram

AWS architecture diagrams — generate visual network topology diagrams from live AWS infrastructure. Use when drawing AWS network diagrams, visualizing VPCs, mapping Transit Gateway topology, or generating architecture documentation.

automateyournetwork/netclaw · 43 tokens

aws-drawio-architecture-diagrams

Creates professional AWS architecture diagrams in draw.io XML format (.drawio files) using official AWS Architecture Icons (aws4 library). Use when the user asks for AWS diagrams, VPC layouts, multi-tier architectures, serverless designs, network topology, or draw.io exports involving Lambda, EC2, RDS, or other AWS…

giuseppe-trisciuoglio/developer-kit · 76 tokens