aws-architecture-diagram

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

A tool for generating editable AWS architecture diagrams as draw.io XML using official AWS icons. Draw.io is a diagram editor where you can open the file and change the layout or connections.

In plain words
What is it for?
Use it to create or design editable AWS and cloud-infrastructure diagrams for system design, reviews, and documentation.
Why use it?
It provides a structured diagram file that can be refined after generation instead of producing only a fixed image. It can also analyze infrastructure code or help turn a planned system into a diagram.

Skill for Claude CodeCodex

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

Good fit Use it to create or design editable AWS and cloud-infrastructure diagrams for system design, reviews, and documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seandkendall/kiro-config/aws-architecture-diagram
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-architecture-diagram
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-architecture-diagram

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/seandkendall/kiro-config/aws-architecture-diagram"><img src="https://agentmods.dev/badge/skills/seandkendall/kiro-config/aws-architecture-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,199 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.00055 $0.01199
Opus 5.5 $0.00022 $0.00480
Sonnet 5.5 $0.00011 $0.00240
Haiku 4.5 $0.00006 $0.00120

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

Security

Grade A, and why

aws-architecture-diagram 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-architecture-diagram/SKILL.md · 99 lines

How it starts

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

AWS Architecture Diagram Generator

Generate draw.io XML files with official AWS4 icons matching the style of AWS Reference Architecture diagrams.

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

  • Use this skill (aws-architecture-diagram) when the user wants editable draw.io XML they can refine in app.diagrams.net before exporting
  • Use aws-diagram-png (the awsdac-based skill) when the user wants a PNG image directly for slides, docs, or PRs
  • Use aws-diagram-html when the user wants a polished, self-contained HTML page (inline SVG, official icons, verified non-overlapping lines) to open in a browser

The two skills use different AWS icon libraries:

Skill Icon namespace Output
aws-architecture-diagram (this) mxgraph.aws4.* (draw.io's bundled AWS4 set) .drawio XML
aws-diagram-png awsdac's definition-for-aws-icons-light.yaml .png image

Resource type names differ between the two — this skill uses draw.io's resIcon=mxgraph.aws4.<service>, while aws-diagram-png uses CloudFormation-style AWS::<Service>::<Resource> with awsdac-specific fallback rules. Don't mix the two.

Modes

Mode A — Codebase Analysis

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

  1. Scan for infrastructure files: CloudFormation, CDK (cdk.json), Terraform (resource "aws_*")
  2. Extract services, relationships, VPC structure, and data flow
  3. For non-AWS technologies (Docker, databases, ML frameworks), map to general icons
  4. Confirm discovered architecture with user before generating

Mode B — Brainstorming

If 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

Read the full file on GitHub · 99 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 · 99 lines · 55 tokens per session scan A 468047c2f124

Subscribe to this mod's changes

aws-architecture-diagram is a skill published in the GitHub repository seandkendall/kiro-config (8 stars, last pushed yesterday), licensed Apache-2.0. It adds 55 tokens to every session and 1,199 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.