Excalidraw Diagram Generator for Openclaw

Transform text descriptions into beautiful, hand-drawn diagrams and architecture charts rendered as high-quality PNG images.

a-anand-91119
v1.0.0
Feb 1, 2026
13
7.3k
49

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install excalidraw

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install excalidraw using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Excalidraw Diagram Generator?

The Excalidraw Diagram Generator is a specialized tool designed to bridge the gap between technical descriptions and visual documentation. By leveraging the popular Excalidraw format, this skill allows AI agents to create system architectures, flowcharts, and UI wireframes that have a human, sketchy aesthetic. This approach is often more approachable for team discussions and documentation than rigid, automated diagrams.

Integration via Openclaw Skills ensures that the rendering process is seamless, taking raw JSON data and outputting clean PNG files ready for inclusion in reports or pull request descriptions. The skill handles everything from simple geometric shapes to complex, routed arrow bindings, making it an essential utility for developers and architects alike.

Excalidraw Diagram Generator Use Cases

  • Creating system architecture diagrams for technical documentation.
  • Mapping out complex logic flowcharts for business processes.
  • Rapidly prototyping UI wireframes with a sketchy, hand-drawn feel.
  • Visualizing database schemas and entity relationships.
  • Generating visual aids for technical tutorials or blog posts.

How Excalidraw Diagram Generator Works

  1. The AI agent interprets the user's request and generates a structured JSON element array following the Excalidraw schema.
  2. The skill writes this JSON data to a temporary file location on the host system.
  3. A Node.js rendering script is invoked to process the JSON file and convert it into a high-resolution PNG image.
  4. The final image is delivered to the user through the agent's message tool using the generated file path.

Excalidraw Diagram Generator Setup

To get started with this skill, ensure you have Node.js installed in your environment. Follow these steps for configuration:

  1. Ensure the rendering script is present in your scripts directory.
  2. Install any necessary Node.js dependencies for the renderer.
  3. Test the rendering capability manually using the following CLI command:
node <skill_dir>/scripts/render.js input.excalidraw output.png

Excalidraw Diagram Generator Data Schema & Taxonomy

The skill organizes data using a specific JSON structure for Excalidraw elements. Below is the primary schema layout:

Attribute Description
type The shape type (rectangle, ellipse, diamond, arrow, line, text)
id Unique identifier used for linking and arrow binding
strokeColor Hex code for the outline color
backgroundColor Hex code for the fill color
fillStyle The fill texture (hachure, cross-hatch, or solid)
roughness The level of hand-drawn sketchiness (0 to 2)
fontFamily Typeface choice (1=hand-drawn, 2=sans, 3=code)

Excalidraw Diagram Generator Advanced Features

  • Intelligent Arrow Binding: Automatically calculates intersection points between shapes so you don't have to manage coordinates manually.
  • Multi-segment Routing: Supports absolutePoints for complex paths that need to navigate around other diagram elements.
  • Sketchy Aesthetics Control: Adjustable roughness levels allow for everything from pixel-perfect clean diagrams to highly organic sketches.
  • Thematic Coloring: Pre-defined color palettes for fills and strokes to maintain visual consistency across large diagrams.
  • Bidirectional Arrowheads: Simple boolean flags for creating two-way relationships in flowcharts using Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*