architecture-diagramming

architecture-diagramming is a skill for Claude Code from sigistry/marketplace. It costs 73 tokens per session (652 once invoked), scanned A, original, MIT.

A method for creating architecture diagrams from a codebase using the C4 Model and Mermaid. The C4 Model shows software at levels ranging from the overall system to its internal code, while Mermaid is a text-based diagram format.

In plain words
What is it for?
Use it to create system-context, service, component, dependency, data-flow, database, deployment, event-flow, and sequence diagrams based on what exists in the codebase.
Why use it?
It turns complex relationships between services, databases, APIs, events, and infrastructure into diagrams that are easier to inspect and discuss.

Skill for Claude Code

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

Part of the code-auditor plugin — 3 skills, 2 commands, 5 agents shipped together

Good fit Use it to create system-context, service, component, dependency, data-flow, database, deployment, event-flow, and sequence diagrams based on what exists in the codebase.

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

Made for: Claude Code.

Or install code-auditor, the plugin that ships this one along with the rest of its 3 skills, 2 commands, 5 agents.

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-diagramming

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sigistry/marketplace/architecture-diagramming"><img src="https://agentmods.dev/badge/skills/sigistry/marketplace/architecture-diagramming.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 652 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.00073 $0.00652
Opus 5 $0.00036 $0.00326
Sonnet 5 $0.00015 $0.00130
Haiku 4.5 $0.00007 $0.00065

Measured 11d ago against content hash 32333d96ee74, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

architecture-diagramming 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 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.

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.

plugins/code-auditor/skills/architecture-diagramming/SKILL.md · 71 lines

How it starts

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

Architecture Diagramming

Purpose

Provide standardized methodology and templates for generating architecture diagrams from codebase analysis. Uses the C4 Model for hierarchical architecture views and Mermaid for diagram rendering.

C4 Model Overview

The C4 Model defines four levels of architecture abstraction:

Level Name Shows When to Use
1 System Context System + external actors Always, the "big picture"
2 Container Applications, data stores, services When multiple deployable units exist
3 Component Internal modules within a container When analyzing a specific service
4 Code Classes, interfaces Rarely, only for critical components

Diagram Selection Guide

Choose diagrams based on what exists in the codebase:

What You Find Diagrams to Generate
Multiple services/microservices System Overview (L1), Container (L2), Dependency Graph
Database schemas/models ER Diagram
API endpoints API Interaction Diagram
Message queues/events Event Flow Diagram
Multi-step workflows Sequence Diagrams
Docker/K8s configs Deployment/Infrastructure Diagram
Monolith with modules Component Diagram (L3)

Diagram Generation Process

  1. Scan project structure to identify components and boundaries
  2. Read config files (docker-compose, k8s, CI/CD, infrastructure-as-code)
  3. Map entry points, routes, and service communication
  4. Identify data stores and their relationships
  5. Select appropriate diagram types from the guide above
  6. Generate only diagrams relevant to findings, do not include generic templates
  7. Use proper Mermaid syntax with styling (subgraphs, colors, labels)

Mermaid Styling Conventions

%% Color coding for diagram elements:
%% - External actors/users: fill:#e1f5fe (light blue)
%% - External services: fill:#ffebee (light red)
%% - Core services: default styling
%% - Databases: use cylinder notation [( )]
%% - Critical components: fill:#fff3e0 (light orange)

Read the full file on GitHub · 71 lines

Files

What ships with it

1 file 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. 11d ago First seen · 71 lines · 73 tokens per session scan A 32333d96ee74

Subscribe to this mod's changes

architecture-diagramming is a skill published in the GitHub repository sigistry/marketplace (3 stars, last pushed 2d ago), licensed MIT. It adds 73 tokens to every session and 652 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

top-design

Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax storytelling", "cinematic web design", "portfolio site", or "brand experience". Also trigger when elevating a standard…

wondelai/skills · 113 tokens

design-everyday-things

Apply foundational design principles: affordances, signifiers, constraints, feedback, and conceptual models. Use when the user mentions "why is this confusing", "affordance", "error prevention", "discoverability", "human-centered design", "mental model", "mapping", "seven stages of action", "users keep making…

wondelai/skills · 132 tokens

design-sprint

Run a structured 5-day process to prototype, test, and validate product ideas with real users. Use when the user mentions "design sprint", "validate before we build", "rapid prototype", "test with users", or "should we build this". Also trigger when a team is stuck in endless debate over a high-stakes product…

wondelai/skills · 137 tokens

steve-jobs-design-review

Review designs, products, and features with Steve Jobs' standards: ruthless simplicity, focus, and end-to-end excellence. Use when the user mentions "Steve Jobs review", "design review", "product review", "what would Steve do", "insanely great", "this feels too complicated", "too many features", "product taste"…

wondelai/skills · 191 tokens

web-typography

Select, pair, and implement typefaces for web projects. Use when the user mentions "font pairing", "which typeface", "line height", "responsive typography", "web font loading", "type hierarchy", "variable fonts", "FOUT/FOIT", "typographic scale", or "the text is hard to read". Also trigger when choosing between system…

wondelai/skills · 128 tokens

hooked-ux

Design habit-forming product loops using the Hook Model (Trigger, Action, Variable Reward, Investment). Use when the user mentions "users arent coming back", "habit formation", "engagement loops", "habit zone", or "the manipulation matrix". Also trigger when designing notification or re-engagement strategies, building…

wondelai/skills · 109 tokens