Command Palette

Search for a command to run...

Назад к скиллам
скилл № 69643

excalidraw

Hand-drawn Excalidraw sketches that agents and people edit together. Use when a diagram should look like a whiteboard sketch or the user wants to rearrange it…

БесплатноЗапускает вложенные скрипты
hyper-code-harnessот hyper-code-harness★ 22 звезды на GitHub

Установить excalidraw в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

excalidraw

Drawings are files: <root>/<name>.excalidraw (the scene) and <name>.svg (a preview the editor exports on every save). Root is the excalidraw.root setting, default drawings/ in the project.

Workflow

  1. Create: excalidraw.write({ name, mermaid }) — easiest; or skeleton: [{ type: "rectangle", id: "a", x: 0, y: 0, label: { text: "API" } }, { type: "arrow", x: 0, y: 0, start: { id: "a" }, end: { id: "b" } }]; or full elements. In a skeleton, shapes with a label grow to fit the text around the same centre, and arrows with start/end ids and no points are routed edge to edge, so arrow x/y can be left at 0.
  2. Open: give the user /excalidraw/<name> (or ui.openUrl). Mermaid/skeleton are converted to real elements on first open, then the editor autosaves scene + SVG.
  3. Read back: excalidraw.read({ name }) → outline lists shapes, labels and arrows; svg is the preview.
  4. Show inline in Markdown:
```excalidraw
butler
```

The block body is just the drawing name. Before the first open there is no preview, so the fence shows only the editor link.

Drawing together on the canvas

  • Open a board beside the chat: canvas.show({ kind: "excalidraw.board", args: { name } }) — a new name starts a blank board. Never use a url or html tab for Excalidraw.
  • See what the person drew: excalidraw.read({ name }) → outline (shapes, labels, arrows); to actually look, render <root>/<name>.svg to PNG (qlmanage -t -s 900 -o /tmp <name>.svg) and read the image.
  • Add to their drawing without losing it: excalidraw.read({ name, scene: true }), keep scene.elements, append new full elements, excalidraw.write({ name, elements }). A skeleton/mermaid write REPLACES the whole drawing.
  • excalidraw.write reloads any open board tab of that name on your canvas, so the person sees the change at once.

/excalidraw lists all drawings. The editor loads Excalidraw from esm.sh, so it needs internet access in the browser.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • package.json
  • src/excalidraw/$app_excalidraw.json
  • src/excalidraw/$canvas_board.ts
  • src/excalidraw/$fence_excalidraw.ts
  • src/excalidraw/$route_$name_GET.ts
  • src/excalidraw/$route_$name_POST.ts
  • src/excalidraw/$route__GET.ts
  • src/excalidraw/$setting_root.ts
  • src/excalidraw/$style_excalidraw.css
  • src/excalidraw/cleanSvg.ts
  • src/excalidraw/dir.ts
  • src/excalidraw/editorPage.ts
  • src/excalidraw/file.ts
  • src/excalidraw/list.ts
  • src/excalidraw/read.ts
  • src/excalidraw/write.ts

FAQ

Что делает скилл excalidraw?

Hand-drawn Excalidraw sketches that agents and people edit together. Use when a diagram should look like a whiteboard sketch or the user wants to rearrange it by hand: create it with excalidraw.write (from Mermaid, a simple element skeleton or full elements), give the user /excalidraw/<name> to edit, read their changes back with excalidraw.read, and show it inline with a ```excalidraw fence.

Как установить скилл excalidraw?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл excalidraw запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить excalidraw с