arch-diagrams

Installation
SKILL.md

arch-diagrams

Purpose

This skill allows OpenClaw to generate, edit, and render architecture diagrams using tools like C4 model, PlantUML, Mermaid, sequence diagrams, ERDs, and infrastructure diagrams. It integrates diagram creation into coding workflows for visualizing system designs.

When to Use

Use this skill when documenting software architecture, planning system interactions, or creating visual aids for ERDs and sequence flows. Apply it during design phases, code reviews, or when collaborating on infrastructure setups to quickly prototype diagrams from text descriptions.

Key Capabilities

  • Generate C4 diagrams from high-level descriptions.
  • Render PlantUML code into SVG or PNG outputs.
  • Create Mermaid diagrams for flowcharts, sequences, and ERDs.
  • Support infrastructure diagrams with tools like AWS or generic cloud icons.
  • Edit existing diagrams by parsing and modifying source code (e.g., PlantUML syntax).
  • Export diagrams as code snippets or image files for inclusion in docs.

Usage Patterns

To accomplish tasks, provide a clear text description or partial diagram code to OpenClaw, then specify the diagram type. For example, invoke the skill via CLI or API with inputs like JSON configs. Always include context, such as "Generate a C4 container diagram for a web app with a database." Handle iterations by chaining commands, e.g., generate, review, and refine. Use environment variables for authentication, like setting $OPENCLAW_API_KEY before operations.

Related skills
Installs
27
GitHub Stars
5
First Seen
Mar 7, 2026