Atlas / Skills / brycewang-stanford / Excalidraw Diagram Guide

Excalidraw Diagram GuideSAFE

skills/brycewang-stanford/excalidraw-diagram-guide

🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.

Verdict
SAFE
Grade
B
Trust score
89 /100
Version
—
Hosts
2 documented
License
NOASSERTION
Stars
4,535
01

Overview

🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.

Read from source at commit e1ba289846fdOBSERVED · 2026-10-08
02

Host compatibility

What the documentation claims. We have not run a compatibility test.

HostStatusNotes
cursormentioned
openclawmentioned
03

What it tells the agent

The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.

---
name: excalidraw-diagram-guide
description: "Generate hand-drawn style Excalidraw diagrams from text descriptions"
metadata:
  openclaw:
    emoji: "✏️"
    category: "tools"
    subcategory: "diagram"
    keywords: ["Excalidraw", "diagram", "whiteboard", "hand-drawn", "sketch", "visual"]
    source: "https://github.com/excalidraw/excalidraw"
---

# Excalidraw Diagram Guide

Generate hand-drawn style diagrams, wireframes, and visual explanations using Excalidraw's open-source whiteboard format. This skill enables researchers to create informal yet informative sketches for brainstorming sessions, presentations, and collaborative workshops.

## Overview

Excalidraw is an open-source virtual whiteboard tool that produces diagrams with a distinctive hand-drawn aesthetic. Unlike formal diagramming tools such as PlantUML or Visio, Excalidraw prioritizes approachability and rapid ideation. Its output looks intentionally informal, which makes it well-suited for early-stage research brainstorming, teaching materials, and conference posters where a polished UML diagram would feel overly rigid.

The tool stores diagrams in a JSON-based `.excalidraw` format, making them fully version-controllable and programmatically generatable. Researchers can describe what they need in natural language, and this skill translates those descriptions into valid Excalidraw scene files that can be opened in the Excalidraw editor or embedded directly into web pages.

Excalidraw supports real-time collaboration, end-to-end encryption for shared sessions, and export to PNG and SVG. The hand-drawn style is achieved through a custom rendering engine that applies subtle randomization to stroke paths, giving each element a natural, sketched appearance.

## Creating Diagrams from Descriptions

The Excalidraw JSON format consists of an array of elements, each with a type (rectangle, ellipse, arrow, text, line, diamond), position coordinates, dimensions, and style properties.

### Basic Element Structure

```json
{
  "type": "rectangle",
  "x": 100,
  "y": 200,
  "width": 200,
  "height": 80,
  "strokeColor": "#1e1e1e",
  "backgroundColor": "#a5d8ff",
  "fillStyle": "hachure",
  "strokeWidth": 1,
  "roughness": 1,
  "roundness": { "type": 3 }
}
```

### Key Properties

| Property | Values | Description |
|----------|--------|-------------|
| `fillStyle` | `hachure`, `cross-hatch`, `solid` | Fill pattern style |
| `roughness` | `0`, `1`, `2` | Hand-drawn roughness level |
| `strokeWidth` | `1`, `2`, `4` | Line thickness |
| `strokeStyle` | `solid`, `dashed`, `dotted` | Line style |
| `roundness` | `null`, `{ "type": 3 }` | Corner rounding |

### Common Academic Color Palette

```
Primary:   #1971c2 (blue)    Background: #a5d8ff
Accent:    #e03131 (red)     Background: #ffc9c9
Success:   #2f9e44 (green)   Background: #b2f2bb
Warning:   #f08c00 (orange)  Background: #ffec99
Neutral:   #495057 (gray)    Background: #dee2e6
```

## Research Workflow Diagrams

### Methodology Flowchart

Describe a research pipeline and generate the corresponding layout:

```
Input: "Create a flowchart showing: Literature Review -> Research Questions ->
        Hypothesis Formation -> Study Design -> Data Collection -> Analysis ->
        Results -> Discussion -> Publication"
```

Each step becomes a rounded rectangle connected by arrows. Decision points (e.g., "Results Significant?") use diamond shapes with branching arrows.

### System Architecture Sketches

For software or experimental system diagrams, use grouped rectangles with labeled connections:

```
Input: "Draw a system architecture with three layers:
        Frontend (React dashboard),
        Backend (FastAPI + PostgreSQL),
        External (OpenAlex API, CrossRef API)"
```

The output places each layer as a dashed-border container with internal component boxes and inter-layer arrows.

## Embedding and Export

### Export Options

- **PNG**: Best for slides and documents. Use `exportScale: 2` for high-DPI output.
- **SVG**: Ideal for papers and web embedding. Scales without quality loss.
- **JSON**: Native format for version control and programmatic manipulation.

### Web Embedding

```html
<iframe
  src="https://excalidraw.com/#json=YOUR_ENCODED_DATA"
  width="800"
  height="600"
  style="border: none;">
</iframe>
```

### Programmatic Generation (Python)

```python
import json

def create_box(text, x, y, width=200, height=80, color="#a5d8ff"):
    return [
        {
            "type": "rectangle",
            "x": x, "y": y,
            "width": width, "height": height,
            "backgroundColor": color,
            "fillStyle": "hachure",
            "roughness": 1,
            "strokeWidth": 1
        },
        {
            "type": "text",
            "x": x + 10, "y": y + 25,
            "text": text,
            "fontSize": 16
        }
    ]

scene = {
    "type": "excalidraw",
    "version": 2,
    "elements": create_box("Literature Review", 100, 100)
                + create_box("Data Analysis", 100, 250)
}

with open("research_flow.excalidraw", "w") as f:
    json.dump(scene, f, indent=2)
```

## Collaboration Features

Excalidraw supports live collaboration through shared session links. Each participant sees real-time cursor positions and edits. Sessions can be encrypted end-to-end using the built-in encryption feature, which is important when sketching unpublished research ideas.

For research teams, the recommended workflow is:

1. Create a shared session for the brainstorming phase
2. Export the final sketch as `.excalidraw` JSON and commit to the project repository
3. Generate high-resolution PNG/SVG exports for inclusion in papers or presentations

## Integration with Research Tools

- **Obsidian**: The Excalidraw plugin enables whiteboard sketching directly in research notes
- **Notion**: Embed via iframe or exported SVG
- **LaTeX**: Export as SVG, include with `\includesvg{}` (requires `svg` package)
- **Jupyter**: Display exported PNG inline using `IPython.displ
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeNA
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (0)

No findings outside the package's declared scope.

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha e1ba289846fdfull audit observations/trust-audit/skill/brycewang-stanford__excalidraw-diagram-guide.json · Report an issue / request a re-scan
05

Audit history

Every audit this skill has had.

DateSourceVerdictGradeScoreChange
2026-10-08e1ba289846fdSAFEB89first audit
06

Questions

What does the Excalidraw Diagram Guide skill do?

🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.

Is Excalidraw Diagram Guide safe to install?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.

What can Excalidraw Diagram Guide access on my machine?

The audit observed no filesystem, network or shell use at all in its source.

Which assistants does Excalidraw Diagram Guide work with?

Its documentation mentions cursor and openclaw. That is what the text claims, not a compatibility test we ran.

How current is this page?

The grade is for one exact copy of the source (e1ba289846fd), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.

Advertisement