Excalidraw
Was er macht
Zeichnet Diagramme im Handzeichnungsstil auf einer lokalen Excalidraw Fläche, die du beobachten und bearbeiten kannst. Er ist für Leute gedacht, die eine Idee oder eine grobe Skizze in ein klares Diagramm verwandeln wollen.
Wann du ihn nutzt
- ✓Wenn du eine Idee als handgezeichnetes Diagramm auf einem Whiteboard umsetzen willst.
- ✓Wenn du eine grobe Skizze auf deiner Fläche als strukturierte Daten auslesen willst.
- ✓Wenn du ein Mermaid Diagramm in eine bearbeitbare Excalidraw Zeichnung umwandeln musst.
Link zum Skill
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Excalidraw/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Skizziere auf dem Whiteboard ein einfaches Diagramm, wie der Login Ablauf meiner App funktioniert.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Skill zeichnet das Diagramm während der Arbeit auf einer lokalen Fläche, sodass du zusehen und es bearbeiten kannst. Bevor das Diagramm geteilt wird, prüft er, dass der Text sowohl im hellen als auch im dunklen Design lesbar ist.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Excalidraw
Drives a live Excalidraw canvas from the command line via the community mcp-excalidraw-server package (MIT), version-pinned through Tools/Canvas.ts. The canvas runs locally; the user watches the diagram draw itself at the canvas URL and can hand-edit the moment the model stops. Two directions: model → canvas (sketch ideas) and canvas → model (describe reads a human's rough canvas back as structured data).
Ideal State
- Every diagram left behind is readable by the person it is for: no truncated or overlapping text, label style set at creation, and
Tools/ContrastCheck.tsexiting 0 against the real ground, which holds in light and dark themes alike. - What leaves the machine is the form that renders correctly: a link from
Tools/Share.tsfor a scene without images, the exported.excalidrawfile (or a PNG flattened from it) for a scene carrying screenshots, and never a local canvas screenshot as final art. - The canvas is driven only through
Tools/Canvas.ts, so the pinned package version and port hold, and the skill registers no MCP server. - A human's canvas is read back faithfully and nothing they drew is lost: risky changes are snapshotted first, and the detached server is stopped when the drawing work is done unless the user keeps using it.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| SketchDiagram | "sketch a diagram", "draw this", "put this on a canvas" | Intents/SketchDiagram.md |
| RefineDiagram | "refine the diagram", "read my canvas", "organize my whiteboard", edit an existing .excalidraw |
Intents/RefineDiagram.md |
| File | Read when |
|---|---|
References/Cheatsheet.md |
writing element JSON or using a command the intents do not show: full command list, element format, palette and sizing, layout anti-patterns, quality checklist, error recovery, raw REST API |
Data & Config
User customizations live at <configRoot>/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Excalidraw/ (configRoot is $CLAUDE_CONFIG_DIR when set, else ~/.claude). When the directory exists, its PREFERENCES.md (default export directory, preferred palette, canvas port override) applies; when it is absent, the defaults stand.
Quick Reference
- Tool:
bun ~/.claude/skills/Excalidraw/Tools/Canvas.ts <command> [...]— pinsmcp-excalidraw-server@2.0.0and port3579; all commands pass through. - Canvas URL:
http://127.0.0.1:3579— the user opens this to watch live and hand-edit. Any canvas-touching command auto-starts the server. - Contrast gate:
bun ~/.claude/skills/Excalidraw/Tools/ContrastCheck.ts [--bg <hex>]— deterministic WCAG check of every text element against its effective background; MUST exit 0 before any diagram is declared done. - Embed an image:
bun ~/.claude/skills/Excalidraw/Tools/AddImage.ts <image> --x N --y N [--w N --h N]or--replace <shapeId>to fit a screenshot inside an existing box. Registers the bytes as a data-URL file and adds animageelement; the file travels inside the exported.excalidraw. Use for real screenshots as diagram nodes (e.g. a dashboard capture as the "Agents Dashboard" node). - Black-canvas share:
bun ~/.claude/skills/Excalidraw/Tools/Share.ts <scene.excalidraw> [--bg <hex>]— uploads to excalidraw.com with the canvas background baked in (default#111114). Use it, never the CLIshare(which hardcodes a white canvas). The shared-link editor does not reliably honor the file'sviewBackgroundColoralone, so a non-white scene also carries a backdrop rectangle (Gotchas). - Exit codes: 0 ok, 1 error, 2 usage, 3 canvas unreachable, 4 browser tab required.
- Files: exported
.excalidrawfiles open at excalidraw.com (File → Open) or in the Excalidraw VS Code extension. A.excalidraw.mdexport targets the Obsidian plugin's native format.
Gotchas
- Label styling is set at CREATION, deterministically — the export/share expansion gives each bound label its shape's
strokeColorand the shape'sfontSizeprop (default 16). So: putfontSize: 20on labeled shapes, choose stroke colors that read on the fill, and give solid-color focal boxes a PALE fill with a saturated stroke (never saturated fill + dark stroke, which makes the label invisible). No post-add patching, no free-text label workaround — free labels detach from shapes and were retracted after live use (2026-08-26). The viewer's dark mode inverts the whole canvas, so colored text on colored fill can vanish even when a light-
Häufige Fragen
Kann ich das Diagramm danach bearbeiten?
Ja. Sobald das Zeichnen aufhört, kannst du die Fläche von Hand bearbeiten.
Wie kann ich das Diagramm teilen?
Er kann einen Freigabe Link erstellen oder eine .excalidraw Datei oder ein PNG exportieren, wenn die Szene Bilder enthält.
Kann er meine eigene Skizze lesen?
Ja. Er kann eine grobe Fläche lesen, die du gezeichnet hast, und als strukturierte Daten zurückgeben.
Details
Originalbeschreibung des Autors
Sketches ideas as hand-drawn Excalidraw diagrams on a live local canvas via the pinned mcp-excalidraw-server CLI, with mermaid conversion, file I/O, and share links. USE WHEN excalidraw, whiteboard, canvas, sketch a diagram, draw this on a canvas, hand-drawn diagram, draw my idea, architecture sketch, live canvas, put this on the whiteboard, read my canvas, organize my whiteboard, .excalidraw file, mermaid to excalidraw. NOT FOR polished images (Art), web UI (Webdesign), video (HyperFrames).
repo: danielmiessler/LifeOS
Beliebtheit
- GitHub-Sterne
- 20k
- Platz im Ranking
- #10423
- Lizenz
- MIT
- Aktualisiert
- 28.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
LifeOS
20kHilft deinem Agenten, LifeOS einzurichten, ein persönliches System, das deinen aktuellen Stand über ein Interview und ein Dashboard mit deinem Zielzustand verbindet.
AnnualReports
20kHilft deinem Agenten, Jahresberichte zur Cybersicherheit großer Anbieter zu finden und zu vergleichen, etwa zu Trends bei Datenlecks und Ransomware, mit einer Quelle für jede Zahl.
ApertureOscillation
20kBringt deinem Agenten bei, eine Designfrage im engen und im weiten Rahmen zu prüfen und die Stellen zu benennen, an denen sich beide Antworten widersprechen, bevor gebaut wird.
Aphorisms
20kHilft deinem Agenten, passende Zitate aus einer kuratierten Sammlung zu finden, zuzuordnen und zu verfolgen, und vermeidet Zitate, die kürzlich im Newsletter standen.
Ähnliche Skills
canvas
394kLässt deinen Agenten ein gehostetes visuelles Widget auf einem verbundenen Mac-Panel zeigen und das Panel danach ausblenden oder auf eine andere Seite verschieben.
control-ui
394kHilft deinem Agenten, die OpenClaw-Control-UI zu ordnen und zu prüfen, einschließlich Sitzungen, Dashboards und verbundener Gateways.
diagram-maker
394kHilft deinem Agenten, klare Diagramme als SVG, HTML oder bearbeitbare Excalidraw-Dateien zu erstellen, für Prozesse, Systemarchitekturen und Whiteboard-Skizzen.