ulises-jeremias/agent-toolkit/c4-model
Claude Code and agent skill by ulises-jeremias/agent-toolkit
- community
Checking that the SKILL.md file is still in the repository.
WHAT — C4 model methodology (Context, Container, Component, Code) guidance — what to draw at each level, when, and how to render C4-inspired diagrams via Mermaid (PlantUML/Structurizr optional advanced). Methodology not renderer.
Install
npx vskill@latest install ulises-jeremias/agent-toolkit/c4-modelSKILL.md
C4 Model — Methodology Overlay (WHAT → HOW via Mermaid)
Sources (2026-08-12): Simon Brown C4 https://c4model.com/ (Context, Container, Component, Code); Structurizr DSL https://github.com/structurizr/dsl (open-source DSL, paid cloud) + structurizr-mcp https://github.com/cubical6/structurizr-mcp + go-structurizr; C4-PlantUML https://github.com/plantuml-stdlib/C4-PlantUML; overarch https://github.com/soulspace-org/overarch (PlantUML/Structurizr generation); rendering via Mermaid mermaid-js/mermaid MIT per §44.
Pack:architecturecore (architect + ADR + TRD + threat-model + mermaid (+ C4 via mermaid)) —c4-modelteaches what to draw;mermaidrenders it. Seedocs/architecture/research-385-diagram.mdfor C4 vs Mermaid vs PlantUML/Structurizr decision (Excalidraw/draw.io REJECT).
When to use
- Need system Context / Container / Component / Code views.
Instructions
- Select level: Context (system + actors) → Container (apps/data stores) → Component (modules) → Code (classes, optional).
- Render via Mermaid (C4-inspired):
flowchart TDwithsubgraphfor boundaries, e.g.:
``mermaid flowchart TD user([User]) --> web[Web Container] web --> api[API Container] api --> db[(Database Container)] subgraph System Context user; web; api; db end ``
- Advanced (optional): For consistency checks across views, use Structurizr DSL (
structurizr-cli+workspace.dsl→ PlantUML/Mermaid) or C4-PlantUML (@startuml+!include C4_Context.puml); notestructurizrCLI requires DSL file and is heavier.
Collaboration
architectdefines system →c4-modelselects C4 level →mermaidrenders →ADRrecords decision.
Anti-patterns
- Do not mandate Structurizr DSL for every diagram — Mermaid suffices for most.
- Do not dump PlantUML infra as separate skill — keep as optional note.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/architecture/c4-model/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ulises-jeremias/agent-toolkit/c4-model)