aws-diagram-png

aws-diagram-png is a skill for Claude Code, Codex from seandkendall/kiro-config. It costs 61 tokens per session (1,989 once invoked), scanned A, original, Apache-2.0.

A tool for generating PNG images of AWS architecture, using official AWS service icons. AWS architecture diagrams show the cloud services in a system and how they connect.

In plain words
What is it for?
Use it to create architecture images from CloudFormation, CDK, or Terraform projects, or from a planned AWS design, for slides, documents, or reviews.
Why use it?
It turns infrastructure code or a described design into a shareable image, avoiding the need to draw every AWS component by hand. The output is a PNG rather than an editable diagram file.

Skill for Claude CodeCodex

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

Good fit Use it to create architecture images from CloudFormation, CDK, or Terraform projects, or from a planned AWS design, for slides, documents, or reviews.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seandkendall/kiro-config/aws-diagram-png
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 seandkendall/kiro-config --skill aws-diagram-png
Clone the repo
git clone --depth 1 https://github.com/seandkendall/kiro-config

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-diagram-png

README.md
[![agentmods](https://agentmods.dev/badge/skills/seandkendall/kiro-config/aws-diagram-png/github.svg)](https://agentmods.dev/skills/seandkendall/kiro-config/aws-diagram-png)
Your own site
<a href="https://agentmods.dev/skills/seandkendall/kiro-config/aws-diagram-png"><img src="https://agentmods.dev/badge/skills/seandkendall/kiro-config/aws-diagram-png/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-diagram-png

Your own site · 80×15
<a href="https://agentmods.dev/skills/seandkendall/kiro-config/aws-diagram-png"><img src="https://agentmods.dev/badge/skills/seandkendall/kiro-config/aws-diagram-png.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,989 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.00061 $0.01989
Opus 5.5 $0.00024 $0.00796
Sonnet 5.5 $0.00012 $0.00398
Haiku 4.5 $0.00006 $0.00199

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

Security

Grade A, and why

aws-diagram-png 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 today.

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-diagram-png/SKILL.md · 204 lines

How it starts

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

AWS Diagram PNG Generator (awsdac)

Generate production-ready PNG diagrams with official AWS architecture icons using the awsdac CLI tool. Use this skill when the user wants a PNG image (not draw.io XML).

When to Use This Skill vs. aws-architecture-diagram

  • Use this skill (aws-diagram-png) when the user wants a PNG file directly, a ready-to-share image, or a diagram for a slide/doc
  • Use aws-architecture-diagram when the user wants editable draw.io XML that they can modify later in app.diagrams.net
  • Use aws-diagram-html when the user wants a polished HTML page with hand-routed connectors that never overlap (awsdac auto-layout can route lines across each other)

Prerequisites

awsdac must be installed on the user's machine:

# macOS
brew install awsdac

# Go 1.21+
go install github.com/awslabs/diagram-as-code/cmd/awsdac@latest

Verify with: awsdac --version

Workflow

Mode A — Codebase Analysis

If the user says "analyze", "scan", "from code", or references their existing project:

  1. Scan for infrastructure files: CloudFormation (*.yaml, *.json), CDK (cdk.json, app.py), Terraform (*.tf)
  2. Extract services, relationships, VPC structure, and data flow
  3. Confirm discovered architecture with the user before generating
  4. Shortcut: If the user has a CloudFormation template, use awsdac -c template.yaml to auto-generate the diagram directly (beta feature)

Mode B — Brainstorming / From Scratch

If the user describes an architecture or says "brainstorm" / "design" / "from scratch":

  1. Ask 3-5 focused questions (purpose, services, scale, security, traffic pattern)
  2. Propose the architecture with service recommendations and data flow
  3. Iterate if needed, then generate

Generation Steps

  1. Write the YAML file (see structure below) to a sensible path — typically docs/diagrams/<name>.yaml or architecture/<name>.yaml
  2. Run: awsdac <name>.yaml -o <name>.png
  3. Verify the PNG was created: check that output file exists and is non-zero size
  4. Tell the user the path to the generated PNG

Read the full file on GitHub · 204 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. today First seen · 204 lines · 61 tokens per session scan A adf8c63a6a84

Subscribe to this mod's changes

aws-diagram-png is a skill published in the GitHub repository seandkendall/kiro-config (8 stars, last pushed yesterday), licensed Apache-2.0. It adds 61 tokens to every session and 1,989 once invoked, about $0.0002 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-10-27.