architecture-diagrams

architecture-diagrams is a skill for Claude Code, Codex from kok-o/contextos-agents. It costs 36 tokens per session (1,246 once invoked), scanned A, original, Apache-2.0.

A diagram tool that creates self-contained SVG and HTML visuals from architecture and process descriptions. It supports system layouts, step-by-step sequence diagrams, and data or event flows.

In plain words
What is it for?
Use it to show distributed systems, microservices, authentication flows, payment processes, or event-driven data pipelines.
Why use it?
It replaces plain text diagrams and helps make complex system boundaries and interactions easier to inspect.

Skill for Claude CodeCodex

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

Good fit Use it to show distributed systems, microservices, authentication flows, payment processes, or event-driven data pipelines.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kok-o/contextos-agents/architecture-diagrams"><img src="https://agentmods.dev/badge/skills/kok-o/contextos-agents/architecture-diagrams.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,246 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.00036 $0.01246
Opus 5.5 $0.00014 $0.00498
Sonnet 5.5 $0.00007 $0.00249
Haiku 4.5 $0.00004 $0.00125

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

Security

Grade A, and why

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

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

catalog/skills/architecture-diagrams/SKILL.md · 109 lines

How it starts

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

architecture-diagrams

Overview

Visual architecture engineering skill inspired by tt-a1i/archify. Replaces static ASCII art and rigid default diagrams with crisp, self-contained SVG and responsive HTML diagrams featuring modern dark-mode palettes, pulse animations for event flows, and strict C4-model component boundaries.

When to Use

Activate whenever:

  • Designing or explaining distributed systems, microservices, or full-stack architectures.
  • Visualizing complex auth flows (OAuth2, PKCE), multi-step payment sagas, or CDC outbox data pipelines.
  • User requests an architecture diagram, flow chart, sequence diagram, or visual system design.

Rules & Patterns

1. Diagram Types Supported

  1. System Landscape / C4 Container Diagram:
    • Clients (Web, Mobile, Third-party) → API Gateway / CDN → Microservices / Serverless → Storage / Event Brokers.
  2. Sequence Flow Diagram:
    • Step-by-step lifecycles with synchronous requests, asynchronous pub/sub events, and compensating transactions.
  3. Data Pipeline & Event-Driven Topology:
    • Primary DB → Transactional Outbox → CDC (Debezium) → Kafka Topic → Consumers → Materialized Views.

2. Aesthetic & Visual Invariants

  • Dark Theme by Default: Surface #0B0F19, containers #1E293B, borders #334155, text #F8FAFC.
  • Semantic Component Accents:
    • Client / Frontend: Sky Blue (#38BDF8)
    • API Gateway / Router: Indigo (#818CF8)
    • Business Services: Emerald Green (#34D399)
    • Databases / Storage: Amber / Orange (#F59E0B)
    • Message Brokers / Event Buses: Purple (#A855F7)
  • Active Data-Flow Motion: Use subtle CSS @keyframes on SVG stroke dashes (stroke-dasharray, stroke-dashoffset) to show active direction of messages and data streams.

Code Examples

Standalone Animated SVG Data-Flow Pattern

<svg viewBox="0 0 800 200" xmlns="http://www.w3.org/2000/svg" class="bg-slate-950 rounded-xl p-4 w-full">
  <defs>
    <style>
      .flow-line { stroke: #38BDF8; stroke-width: 2; stroke-dasharray: 6,6; animation: flow 1.5s linear infinite; }
      @keyframes flow { to { stroke-dashoffset: -12; } }
      .box { fill: #1E293B; stroke: #334155; stroke-width: 1.5; rx: 8; }
      .text-title { fill: #F8FAFC; font-family: sans-serif; font-size: 14px; font-weight: 600; }
      .text-sub { fill: #94A3B8; font-family: monospace; font-size: 11px; }
    </style>
  </defs>

  <!-- Client Node -->
  <rect x="30" y="70" width="160" height="60" class="box" />
  <text x="110" y="96" text-anchor="middle" class="text-title">Next.js Client</text>
  <text x="110" y="114" text-anchor="middle" class="text-sub">React 19 / RSC</text>

  <!-- Data Flow -->
  <line x1="190" y1="100" x2="330" y2="100" class="flow-line" />

  <!-- API Gateway -->
  <rect x="330" y="70" width="160" height="60" class="box" />
  <text x="410" y="96" text-anchor="middle" class="text-title">API Gateway</text>
  <text x="410" y="114" text-anchor="middle" class="text-sub">Auth & Rate Limiting</text>

  <!-- Flow to Database -->
  <line x1="490" y1="100" x2="630" y2="100" class="flow-line" />

  <!-- Database -->
  <rect x="630" y="70" width="140" height="60" class="box" />
  <text x="700" y="96" text-anchor="middle" class="text-title">PostgreSQL</text>
  <text x="700" y="114" text-anchor="middle" class="text-sub">Prisma / Outbox</text>
</svg>

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

Subscribe to this mod's changes

architecture-diagrams is a skill published in the GitHub repository kok-o/contextos-agents (10 stars, last pushed today), licensed Apache-2.0. It adds 36 tokens to every session and 1,246 once invoked, about $0.0001 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-25.

Related

Other skills, from other repositories

tailwind-design-system

Build scalable design systems with Tailwind CSS v4, design tokens, component libraries, and responsive patterns. Use when creating component libraries, implementing design systems, or standardizing UI patterns.

calesthio/OpenMontage · 42 tokens

motion-graphics

Use when the user wants a short, design-led motion graphic where motion is the message: kinetic typography, stat or number count-up, chart/data-viz hit, logo sting, brand lockup, lower-third, callout, social overlay, animated headline/tweet/news item, motion poster, or quick captured-page highlight. Usually under 10s…

calesthio/OpenMontage · 187 tokens

visual-style

Create, extract, and apply portable visual design systems via visual-style.md files. Use when: (1) Creating a visual-style.md design system from scratch, (2) Extracting a visual style from a website URL, video, or PDF brand guide, (3) Applying a visual style to HeyGen videos, HTML slides, Figma, or paper.design, (4)…

calesthio/OpenMontage · 136 tokens

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

calesthio/OpenMontage · 58 tokens

web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

calesthio/OpenMontage · 44 tokens

figma-connect

Figma-to-code bridge combining Figma MCP server tools with the Code Connect CLI for end-to-end design implementation workflows. Use this skill when implementing UI components from Figma design URLs, publishing Code Connect mappings to Figma Dev Mode, extracting design tokens from Figma variables, setting up Figma Code…

anton-abyzov/vskill · 223 tokens