automating-excalidraw

Automate Excalidraw diagram creation, editing, and export via CLI and file-based API.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/pelchers/SessionSaver --skill automating-excalidraw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: automating-excalidraw
Source: https://github.com/pelchers/SessionSaver/tree/main/.codex/skills/automating-excalidraw
Command: npx skills add https://github.com/pelchers/SessionSaver --skill automating-excalidraw

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) components.

What problem does it solve?

Automates the process of creating, editing, and exporting Excalidraw diagrams, reducing manual steps in documentation and architecture visuals.

Core Features & Use Cases

  • Diagram generation: Create diagrams from code
  • File manipulation: Read, edit, save .excalidraw files
  • Export automation: Generate PNG, SVG, PDF outputs
  • Template creation: Build reusable diagram templates
  • Integration: Embed diagrams in docs and apps
  • Batch processing: Generate multiple diagrams

Quick Start

Run the provided scripts to generate an Excalidraw diagram from code and export it to your chosen format.

Frequently Asked Questions about automating-excalidraw

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Excalidraw diagram creation and export to PNG or SVG?

You can automate Excalidraw diagram creation and export by running provided CLI scripts that generate diagrams from code and export them to formats like PNG, SVG, or PDF. This reduces manual steps for documentation visuals.

Can I programmatically generate multiple Excalidraw diagrams in batch?

Yes, you can programmatically generate multiple Excalidraw diagrams in batch. The automation scripts support batch processing, allowing you to produce multiple diagrams simultaneously for documentation and architecture visuals.

How do I read and edit existing .excalidraw files programmatically?

You can read, edit, and save existing .excalidraw files programmatically through the file-based API. This allows direct file manipulation to update diagram elements without opening the Excalidraw editor.

Do I need Playwright to run Excalidraw export automation scripts?

Yes, Playwright is required as a dependency to run the Excalidraw export automation scripts. It provides the browser automation environment needed to render and export diagrams to PNG, SVG, or PDF formats.

What is the best way to build reusable Excalidraw diagram templates?

The best way to build reusable Excalidraw diagram templates is through code-driven generation. The automation scripts support template creation, enabling you to define reusable diagram structures and programmatically populate them for consistent documentation.

How do I embed programmatically generated Excalidraw diagrams into documentation?

You can embed programmatically generated Excalidraw diagrams into documentation by exporting them to SVG or PNG outputs via the CLI scripts. These exported files can then be directly integrated into docs and apps as architecture visuals.