agentleFS
qwwiwiqwwiwi/agentos-skills-public/skills/excalidraw/SKILL.md

excalidraw

Skill4 starsChanged 4 months agoMITView on GitHub

Генерация Excalidraw-схем (.excalidraw v2) из JSON. Поддерживает pipeline, mindmap, flowchart, sequence, freeform. Цветовая палитра и формат по стандартам MCP Excalidraw. Экспорт файла для excalidraw.com.

71 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use heartmula, webhook-subscriptions and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • math-incSkill

    heartmula

    Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.

    Also in 9 projects that use this

  • Tommy-ywSkill

    webhook-subscriptions

    Create and manage webhook subscriptions for event-driven agent activation, or for direct push notifications (zero LLM cost). Use when the user wants external services to trigger agent runs OR push notifications to chats.

    Also in 5 projects that use this

  • john-data-chenSkill

    touchdesigner-mcp

    Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

    Also in 7 projects that use this

  • math-incSkill

    minecraft-modpack-server

    Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.

    Also in 5 projects that use this

  • AlekseiULSkill

    TubeScribe

    YouTube video summarizer with speaker detection, formatted documents, and audio output. Works out of the box with macOS built-in TTS. Optional recommended tools (pandoc, ffmpeg, mlx-audio) enhance quality. Requires internet for YouTube access. No paid APIs or subscriptions. Use when user sends a YouTube URL or asks to summarize/transcribe a YouTube video.

    Also in 3 projects that use this

  • mae616Skill

    p5js

    p5.js(クリエイティブコーディング)のProcessing由来「コードでスケッチ」思想を軸に、setup/drawループ・座標系・インタラクション・パフォーマンス最適化を整理する。p5.js、Processing、クリエイティブコーディング、ジェネラティブアート、インタラクティブ表現、ビジュアルプログラミング、Canvas描画、パーティクル、フラクタル、ノイズ表現に関する相談で必ず使うこと。ユーザーが「コードでアート」「動くビジュアル」「インタラクティブな描画」と言った場合にも適用する。

    Also in 10 projects that use this

  • +5 more from math-inc

The file

Files
SKILL.md

Excalidraw Skill v2.0

Когда использовать

  • «нарисуй схему» / «визуализация» / «excalidraw»
  • «майнд-карта» / «mind map»
  • «pipeline схема» / «flowchart» / «sequence diagram»
  • «архитектура» / «diagram» / «нарисуй»

Типы диаграмм

ТипОписание
pipelineВертикальный flow по этапам со стрелками
mindmapРадиальная карта от центра
flowchartПроизвольный граф: nodes + edges
sequenceUML sequence: actors + messages
freeformСырые Excalidraw elements (полный контроль)

Скрипт

./scripts/excalidraw_gen.py

Входные данные

JSON через stdin или --input schema.json

Выход

stdout (по умолчанию) или --output result.excalidraw

Флаги

  • --dark -- тёмная тема

Стандарты визуализации (MCP Excalidraw)

Шрифты

  • fontFamily: 1 (Hand-drawn)
  • Body/labels: fontSize 18 (min 16)
  • Stage headers: fontSize 20
  • Titles: fontSize 28
  • Secondary annotations: fontSize 14 (только если необходимо)
  • НИКОГДА fontSize < 14

Sizing

  • Min shape: 120x60 для labeled rectangles
  • Gaps: 20-30px между элементами
  • Меньше крупных элементов лучше чем много мелких

Камера (4:3 ratio обязательно)

РазмерWidth x HeightКогда
S400x3002-3 элемента, close-up
M600x450Секция диаграммы
L800x600Стандарт (по умолчанию)
XL1200x900Большие диаграммы
XXL1600x1200Панорама сложных схем

Цвета

Полная палитра: ./references/color-palette.md

Быстрый маппинг типов:

TypeFillStroke
input#ffc9c9#ef4444
research#a5d8ff#4a9eed
analysis#d0bfff#8b5cf6
review#ffd8a8#f59e0b
final#b2f2bb#22c55e
storage#c3fae8#06b6d4
warning#fff3bf#f59e0b
metrics#eebefa#ec4899

Контраст текста

  • На белом фоне: min цвет текста #757575
  • На цветных fills: тёмные варианты (#15803d, не #22c55e)
  • Белый текст: только на тёмных backgrounds

Dark Mode

Включай "dark": true в JSON schema или --dark флаг. Автоматически: тёмный фон, тёмные fills, светлый текст.

Формат JSON по типам

Pipeline

{
  "title": "Pipeline название",
  "type": "pipeline",
  "dark": false,
  "stages": [
    {
      "label": "1. ЗАПРОС",
      "color": "input",
      "blocks": [{"text": "Новость\nПост"}]
    },
    {
      "label": "2. РЕСЁРЧ",
      "subtitle": "параллельно",
      "color": "research",
      "blocks": [
        {"text": "Grok\nВеб-поиск"},
        {"text": "Opus\nАнализ", "color": "analysis"}
      ]
    }
  ]
}

Mindmap

{
  "title": "Центральная тема",
  "type": "mindmap",
  "nodes": [
    {"text": "Ветка 1", "color": "research"},
    {"text": "Ветка 2", "color": "analysis"},
    {"text": "Ветка 3", "color": "success"}
  ]
}

Flowchart

{
  "title": "Architecture",
  "type": "flowchart",
  "nodes": [
    {"id": "api", "x": 0, "y": 0, "text": "API Server", "color": "analysis"},
    {"id": "db", "x": 0, "y": 200, "text": "PostgreSQL", "color": "storage"},
    {"id": "ui", "x": -300, "y": 0, "text": "React App", "color": "research"}
  ],
  "edges": [
    {"from": "ui", "to": "api", "label": "REST"},
    {"from": "api", "to": "db"}
  ]
}

Sequence

{
  "title": "Auth Flow",
  "type": "sequence",
  "actors": [
    {"id": "user", "name": "User"},
    {"id": "api", "name": "API"},
    {"id": "db", "name": "Database"}
  ],
  "messages": [
    {"from": "user", "to": "api", "label": "POST /login"},
    {"from": "api", "to": "db", "label": "SELECT user"},
    {"from": "db", "to": "api", "label": "user record", "response": true},
    {"from": "api", "to": "user", "label": "JWT token", "response": true}
  ]
}

Freeform (raw elements)

{
  "type": "freeform",
  "elements": [
    {"type":"cameraUpdate","width":800,"height":600,"x":0,"y":0},
    {"type":"rectangle","id":"b1","x":100,"y":100,"width":200,"height":80,
     "roundness":{"type":3},"backgroundColor":"#a5d8ff","fillStyle":"solid",
     "label":{"text":"Start","fontSize":20}}
  ]
}

Команды

# Pipeline
echo '{"title":"Test","type":"pipeline","stages":[...]}' | python3 scripts/excalidraw_gen.py > out.excalidraw

# Dark mode
python3 scripts/excalidraw_gen.py --input schema.json --output result.excalidraw --dark

# Freeform
echo '{"type":"freeform","elements":[...]}' | python3 scripts/excalidraw_gen.py > out.excalidraw

References

  • ./references/color-palette.md -- полная палитра цветов + dark mode
  • ./references/element-format.md -- формат JSON элементов, bindings, camera
  • ./references/examples.md -- примеры готовых диаграмм

Нюансы

  • Labeled shapes ("label" в rect/ellipse/diamond) экономят токены -- не нужен отдельный text element
  • Arrow bindings: fixedPoint для точного присоединения к сторонам shape
  • Drawing order = z-order: background -> shapes -> arrows
  • cameraUpdate -- мощный инструмент, направляет внимание пользователя
  • Emoji не рендерятся в шрифте Excalidraw -- используй текст

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.