architecture-diagram

architecture-diagram is a skill for Claude Code from Mathews-Tom/armory. It costs 162 tokens per session (4,691 once invoked), scanned A, original, MIT.

A tool guide for building AI agents with Claude Code's software tools and command-line mode.

In plain words
What is it for?
Creating programmatic agents, running Claude Code without an interactive terminal, adding custom tools, and connecting MCP servers.
Why use it?
It explains how to automate Claude Code while reusing its existing settings, tools, and login setup instead of building a separate API integration.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the armory plugin — 85 skills shipped together

Good fit Creating programmatic agents, running Claude Code without an interactive terminal, adding custom tools, and connecting MCP servers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mathews-tom/armory/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 Mathews-Tom/armory --skill architecture-diagram
Clone the repo
git clone --depth 1 https://github.com/Mathews-Tom/armory

Made for: Claude Code.

Or install armory, the plugin that ships this one along with the rest of its 85 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mathews-tom/armory/architecture-diagram"><img src="https://agentmods.dev/badge/skills/mathews-tom/armory/architecture-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 162 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,691 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. Third-party audits
  • NVIDIA SkillSpector pass 7 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.00162 $0.04691
Opus 5 $0.00081 $0.02346
Sonnet 5 $0.00032 $0.00938
Haiku 4.5 $0.00016 $0.00469

Measured 4d ago against content hash 0e09c028a09c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

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 4d ago.

The scan reads SKILL.md. This mod also ships 37 executable files (engine/__init__.py, engine/__main__.py, engine/commands.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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

How it starts

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

Architecture Diagram Generator

Produces standalone, fully editable .svg files: real inlined vector icons (AWS/Azure/GCP official architecture icons, or a hand-drawn generic set for everything else), deterministic zone-aware layout, orthogonal connection routing, and real <text> labels. deliver --emit drawio additionally produces a self-contained editable .drawio mxGraph companion. SVG output uses zero raster images and zero <use> clones; draw.io output uses independently editable cells with local vector icon data and no remote image, external URL, or provider stencil dependency.

When to use this

Situation Use this skill?
"Draw our AWS/Azure/GCP architecture" Yes
"System topology diagram for docs" Yes
"I need to edit this diagram afterward in Figma" Yes — this is the differentiator vs. every raster-output alternative
Multi-cloud or hybrid (cloud + on-prem) diagram Yes — mix provider: per node freely
Interactive, click-through, or animated diagram No — use static-web-artifacts-builder
Hand-drawn / whiteboard-style sketch No — use tldraw
Data chart, plot, or dashboard No — use chart-clarity
Reviewing or critiquing an existing architecture No — use architecture-reviewer
Single-frame concept illustration with no components/connections No — use concept-to-image

Prerequisites

Run the following commands from this skill directory (skills/architecture-diagram in a checkout).

  • python3 with pyyaml installed (uv run --with pyyaml python3 -m engine ... if not already available).

  • Cloud-provider icons need a one-time, per-machine network fetch. Icons are never bundled in this skill; their providers publish diagram-use terms, so architecture-diagram records each provider's source and terms in the local cache rather than redistributing icon assets. The first time a diagram needs a given provider's icons, run:

    python3 -m engine.fetch_icons --provider aws    # ~5s, 1037 icons
    python3 -m engine.fetch_icons --provider gcp    # ~5s, 297 icons
    python3 -m engine.fetch_icons --provider azure  # ~60s, 704 icons
    # or: --provider all
    

Read the full file on GitHub · 291 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. 4d ago Changed · +4 lines · +16 tokens per session 0e09c028a09c
  2. 5d ago Changed · +32 lines 2d5fbfe7b307
  3. 11d ago First seen · 255 lines · 146 tokens per session scan A a26147922e8f

Subscribe to this mod's changes

architecture-diagram is a skill published in the GitHub repository Mathews-Tom/armory (316 stars, last pushed 4d ago), licensed MIT. It adds 162 tokens to every session and 4,691 once invoked, about $0.0008 per session on Opus 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-08-30.

Related

Other skills, from other repositories

art-director

Orchestrate iterative visual style searches with branch prompts, decision graphs, feedback loops, and final direction selection.

serejaris/personal-corp-os · 26 tokens

html-draft

Use when user wants a standalone HTML diagram in flat engineering blueprint style — architecture diagrams, system flows, technical spec sheets, component maps. Generates one HTML file using Tailwind v4 (browser CDN) for layout and D3 v7 (CDN) for SVG diagrams. User-invoked only — do NOT auto-trigger. Triggers on…

serejaris/personal-corp-os · 130 tokens

parallel-design-variants

A workflow for producing several genuinely different visual design directions at the same time. It uses distinct visual references, gathers the results into a comparison gallery, and can support choosing winners before another design round.

serejaris/personal-corp-os · 91 tokens

idea-superpowers-suite

Use when running the full idea workflow: capture a rough idea, expand it into design/UI/implementation docs, research similar products, and generate build-ready Markdown artifacts.

AkoliteZA/hermes-agent-idea-workflow · 38 tokens

idea-to-design-doc

Use when turning a rough idea into a focused product/design Markdown doc through guided questions, without moving into implementation too early.

AkoliteZA/hermes-agent-idea-workflow · 29 tokens

idea-to-ui-design-brief

Use when turning a product/design doc into a focused UI design brief, optional AI image-generation concept prompts, and implementation-ready UI direction without replacing the main idea workflow.

AkoliteZA/hermes-agent-idea-workflow · 40 tokens