architecture-diagram

architecture-diagram is a skill for Claude Code, Codex from boshi-xixixi/TraeSkill. It costs 37 tokens per session (2,419 once invoked), scanned A, a copy of architecture-diagram, MIT.

A tool for creating dark-themed system and infrastructure diagrams as standalone HTML files with SVG graphics. SVG is a web-based format for drawing diagrams that stay sharp when resized.

In plain words
What is it for?
It helps document application architecture, cloud infrastructure, security layouts, networks, databases, backends, frontends, and message systems.
Why use it?
It provides consistent visual rules for showing different parts of a technical system and how they connect.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit It helps document application architecture, cloud infrastructure, security layouts, networks, databases, backends, frontends, and message systems.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/architecture-diagram/github.svg)](https://agentmods.dev/skills/boshi-xixixi/traeskill/architecture-diagram)
Your own site
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/architecture-diagram"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/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/boshi-xixixi/traeskill/architecture-diagram"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/architecture-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,419 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 100% copy Near-identical to another mod 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.00037 $0.02419
Opus 5.5 $0.00015 $0.00968
Sonnet 5.5 $0.00007 $0.00484
Haiku 4.5 $0.00004 $0.00242

Measured 2mo ago against content hash a8dc11b2a648, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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.

Origin

This is a copy

100% identical to architecture-diagram — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.trae/Skills/.agents/skills/architecture-diagram/SKILL.md · 178 lines

How it starts

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

Architecture Diagram Skill

Create professional technical architecture diagrams as self-contained HTML files with inline SVG graphics and CSS styling.

Version 1.1 · MIT License · Authored by Cocoon AI

Design System

Color Palette

Use these semantic colors for component types:

Component Type Fill (rgba) Stroke
Frontend rgba(8, 51, 68, 0.4) #22d3ee (cyan-400)
Backend rgba(6, 78, 59, 0.4) #34d399 (emerald-400)
Database rgba(76, 29, 149, 0.4) #a78bfa (violet-400)
AWS/Cloud rgba(120, 53, 15, 0.3) #fbbf24 (amber-400)
Security rgba(136, 19, 55, 0.4) #fb7185 (rose-400)
Message Bus rgba(251, 146, 60, 0.3) #fb923c (orange-400)
External/Generic rgba(30, 41, 59, 0.5) #94a3b8 (slate-400)

Typography

Use JetBrains Mono for all text (monospace, technical aesthetic):

<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">

Font sizes: 12px for component names, 9px for sublabels, 8px for annotations, 7px for tiny labels.

Visual Elements

Background: #020617 (slate-950) with subtle grid pattern:

<pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse">
  <path d="M 40 0 L 0 0 0 40" fill="none" stroke="#1e293b" stroke-width="0.5"/>
</pattern>

Component boxes: Rounded rectangles (rx="6") with 1.5px stroke, semi-transparent fills.

Security groups: Dashed stroke (stroke-dasharray="4,4"), transparent fill, rose color.

Region boundaries: Larger dashed stroke (stroke-dasharray="8,4"), amber color, rx="12".

Arrows: Use SVG marker for arrowheads:

<marker id="arrowhead" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">
  <polygon points="0 0, 10 3.5, 0 7" fill="#64748b" />
</marker>

Arrow z-order: Draw connection arrows early in the SVG (after the background grid) so they render behind component boxes. SVG elements are painted in document order, so arrows drawn first will appear behind shapes drawn later.

Read the full file on GitHub · 178 lines

Files

What ships with it

2 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. 2mo ago First seen · 178 lines · 37 tokens per session scan A a8dc11b2a648

Subscribe to this mod's changes

architecture-diagram is a skill published in the GitHub repository boshi-xixixi/TraeSkill (282 stars, last pushed 5mo ago), licensed MIT. It adds 37 tokens to every session and 2,419 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to architecture-diagram, differing in 0 lines, and is treated as a copy.

Related

architecture-diagram compared with skills from other repositories

architecture-diagram next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architecture-diagramboshi-xixixi/TraeSkillSkill2825mo agoMITA37Claude Code, Codex
<skill-name>Lion-1209/Lion-SkillsSkill54mo agoMITA82Claude Code
spec-writingLion-1209/Lion-SkillsSkill54mo agoMITA25Claude Code
onboarding-unknown-codebaseLion-1209/Lion-SkillsSkill54mo agoMITA21Claude Code
commit-messageLion-1209/Lion-SkillsSkill54mo agoMITA15Claude Code
clarifying-questionsLion-1209/Lion-SkillsSkill54mo agoMITA29Claude Code
testingLion-1209/Lion-SkillsSkill54mo agoMITA16Claude Code