Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By aleksnikolaevv1.0.1MITIn 1 marketplace
Turns a plain-language system description into an editable C4 Container architecture diagram in draw.io format, with a legend and explicit coordinates. Opens in draw.io desktop or web for manual adjustments after generation.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Generate C4 Container diagrams (Simon Brown's standard) as editable .drawio files directly from Claude Code conversations.
Ask Claude Code:
/c4-diagram
Draw a C4 container diagram for an e-commerce system with:
- Web app (React), mobile app (Flutter)
- API gateway (Node.js)
- Order service, payment service (Python)
- PostgreSQL database, Redis cache
- External: Stripe payments, SendGrid email
Claude generates a .drawio file you can open and edit in draw.io:

Real output: AWS Deadline Cloud render pipeline with 3 persons, 2 system boundaries, 14 containers, 4 external systems.
Type these inside Claude Code:
/plugin marketplace add aleksnikolaev/c4-diagram-skill
/plugin install c4-diagram@c4-diagram-skill
The owner/repo shorthand clones over SSH. If you don't have SSH keys set up on GitHub, use the full HTTPS URL instead:
/plugin marketplace add https://github.com/aleksnikolaev/c4-diagram-skill.git
To pull updates later: /plugin marketplace update c4-diagram-skill
The skill lives in skills/c4-diagram/. Copy that directory, not the repository root — SKILL.md has to sit directly inside the skill folder.
Personal install, available in all your projects:
git clone https://github.com/aleksnikolaev/c4-diagram-skill.git
mkdir -p ~/.claude/skills
cp -r c4-diagram-skill/skills/c4-diagram ~/.claude/skills/c4-diagram
Single project only:
git clone https://github.com/aleksnikolaev/c4-diagram-skill.git
mkdir -p .claude/skills
cp -r c4-diagram-skill/skills/c4-diagram .claude/skills/c4-diagram
Either way you should end up with SKILL.md at ~/.claude/skills/c4-diagram/SKILL.md (or .claude/skills/c4-diagram/SKILL.md).
Run /c4-diagram in Claude Code, or just describe your system — Claude loads the skill on its own when a diagram would help.
c4-diagram-skill/
├── .claude-plugin/
│ ├── marketplace.json # Marketplace catalog entry
│ └── plugin.json # Plugin manifest
├── skills/
│ └── c4-diagram/
│ ├── SKILL.md # Main skill definition
│ └── references/
│ ├── element-templates.md # XML templates for each C4 element
│ ├── drawio-template.md # Base .drawio file structure
│ └── legend-template.md # Legend XML template
├── examples/
│ ├── ecommerce-example.drawio # Example output
│ └── ae-pipeline-c4-en.png # Rendered example
├── LICENSE
└── README.md
| Element | Color | Shape | When to Use |
|---|---|---|---|
| Person | #08427B | Stickman | Users, actors, roles |
| Container | #438DD5 | Rounded rect | Apps, services, APIs |
| Database | #438DD5 | Cylinder | Any data store |
| External System | #999999 | Rounded rect | Third-party services |
| System Boundary | transparent | Dashed rect | Groups your containers |
| Style | Meaning | Example |
|---|---|---|
| Solid arrow | Synchronous call | Makes API calls [REST/JSON] |
| Dashed arrow | Asynchronous flow | Publishes events [AMQP] |
Every connection is labeled with an action and protocol.
This skill generates Container diagrams (Level 2 in the C4 model):
| Level | What It Shows | This Skill |
|---|---|---|
| 1. Context | System + users + external systems | No |
| 2. Container | Containers + technologies + communication | Yes |
| 3. Component | Components inside a container | No |
| 4. Code | Classes / modules | No |
For the full C4 model specification, see c4model.com.
Built by Alex Nik, NIKSOFT. I design and document system architecture for logistics and operations software. Available for short paid architecture work: [email protected]
MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub aleksnikolaev/c4-diagram-skill --plugin c4-diagramPlugins from other owners that cover similar ground