c4-architecture

c4-architecture is a skill for Claude Code from bitsmuggler/c4-skill. It costs 91 tokens per session (1,323 once invoked), scanned A, original, no licence file.

A skill for modelling software architecture with C4 diagrams. C4 is a way to show a system at different levels, from its surrounding users and systems down to its internal parts.

In plain words
What is it for?
Creating system-context, container, and component diagrams, or a Structurizr workspace.
Why use it?
It gives the agent guidance for turning architecture questions into structured diagrams and models.

Skill for Claude Code

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

Part of the c4-skill plugin — 1 skill, 1 command shipped together

Good fit Creating system-context, container, and component diagrams, or a Structurizr workspace.

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

Made for: Claude Code.

Or install c4-skill, the plugin that ships this one along with the rest of its 1 skill, 1 command.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bitsmuggler/c4-skill/c4-architecture"><img src="https://agentmods.dev/badge/skills/bitsmuggler/c4-skill/c4-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,323 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 unknown 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.00091 $0.01323
Opus 5.5 $0.00036 $0.00529
Sonnet 5.5 $0.00018 $0.00265
Haiku 4.5 $0.00009 $0.00132

Measured 1mo ago against content hash 02f77321557a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

c4-architecture 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/export-diagrams.sh), 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/c4-architecture/SKILL.md · 170 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

3 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. 1mo ago First seen · 170 lines · 91 tokens per session scan A 02f77321557a

Subscribe to this mod's changes

c4-architecture is a skill published in the GitHub repository bitsmuggler/c4-skill (61 stars, last pushed 8mo ago), with no licence file. It adds 91 tokens to every session and 1,323 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

architecture-diagram-creator

Create effective architecture diagrams following established diagramming standards (UML, C4, ArchiMate) with proper visual elements and presentation techniques. Use this skill whenever the user needs to create, review, or improve architecture diagrams, wants guidance on which diagramming standard to use, needs help…

bookforge-ai/bookforge-skills · 128 tokens

arch4-mcp

Use Arch4 MCP tools to create, update, build, and visualize repository architecture maps.

P451M/Arch4 · 23 tokens

editing-model-diagrams

Creates, edits, reviews, and regenerates C4 architecture diagrams written with goa.design/model and the mdl CLI. Use when changing Model DSL, model.go or views.go files, system landscape, context, container, component, dynamic, or deployment views, element relationships, boundaries, layout, or generated SVG diagrams.

goadesign/model · 69 tokens

nw-discuss

Conducts Jobs-to-be-Done analysis, UX journey design, and requirements gathering through interactive discovery. Use when starting feature analysis, defining user stories, or creating acceptance criteria.

nWave-ai/nWave · 39 tokens

nw-fp-usable-design

Naming conventions, API ergonomics, and usability patterns for functional code.

nWave-ai/nWave · 20 tokens

nw-diverge

Generates 3-5 divergent design directions through JTBD analysis, competitive research, structured brainstorming, and taste evaluation before convergence. Use when the team has a validated problem but hasn't chosen a solution approach.

nWave-ai/nWave · 45 tokens