Logo: Excalidraw It

Excalidraw It

Communautéit
alberduris
excalidraw-it

Draw diagrams with the operator on a live Excalidraw+ scene, through the Excalidraw+ MCP. Draws each diagram type from a few lines of YAML with a generator of its own, and carries the known sins agents commit on the canvas, each with the rule that prevents it and the lint check that catches it, plus a ledger of prefab pieces that come out right the first time.

Iwwersiicht

Editeuralberduris
Repositoryskills
Skill-Nummexcalidraw-it
Stären
25
Forks
2
Matgeliwwert Dateien
201
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 201 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    alberduris huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Excalidraw It an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/alberduris/skills/tree/main/plugins/excalidraw-it/skills/excalidraw-it
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/alberduris/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/excalidraw-it/skills/excalidraw-it .claude/skills/excalidraw-it
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Excalidraw It an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Excalidraw It automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Excalidraw It net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

A diagram here is a scene in the operator's Excalidraw+ workspace. You write it through the MCP, and the operator's browser shows each write as soon as the server saves it. The operator edits the scene by hand only to correct something, and tells you when they do: read back only the elements they name, never the whole scene.

[!SETUP]:

  1. Before the first JSON you write by hand, or the first create_diagram, call the format guide that matches the task, once per session: read_diagram_format, read_freeform_format or read_presentation_format. It costs about 10k tokens. Skip it while draw.py, pieces.py or mermaid.py write every element: their payloads already follow the format.
  2. Use an existing scene id, or create_scene in the collection the operator names; with none named, in the one list_collections marks isDefault: true (private works only with a personal API key). Give the operator the link https://app.excalidraw.com/s/<workspace>/<sceneId>, with metadata.workspace and metadata.id of the create_scene response.

[!TYPES]:

python3 <base_directory>/scripts/draw.py --help lists the diagram types that have a generator: a script that draws the whole diagram, title and note included, from its data in YAML. For one of them, draw.py <type> --help shows the YAML it takes, and it is all you need to read: write the data and run python3 <base_directory>/scripts/draw.py <type> data.yaml | python3 <base_directory>/scripts/write.py <sceneId>. To change a generated diagram, change its data and draw it again: first send {"delete": [...]} with the addedElementIds of its write answer, and their labels go with them. Edit elements by hand only for what the data cannot say. For a type with no generator, read its entry in ledger/types.yaml: which route draws it (create_diagram, Mermaid through mermaid-to-excalidraw, or by hand with edit_scene_content) and why the others are vetoed. A type with no entry: draw it by hand from the entry of the closest type, and propose an entry for it to the operator.

[!EVERY-WRITE]:

  1. Before you write JSON by hand, check the plan against the sins and use every piece from the ledger that fits; a generator already does both.
  2. Write through python3 <base_directory>/scripts/write.py <sceneId>, with the payload on stdin: an add array, or an object with delete, update and add. It calls edit_scene_content over HTTP and prints one line; the full answer goes to $TMPDIR/excalidraw-it/.
  3. After the write, run python3 <base_directory>/scripts/lint.py <sceneId> --fix. It applies the fix of every finding and lints the scene again.
  4. Once the lint is clean, call take_screenshot before you show the result. Render per frame when the scene is larger than one screen, because a full-scene render is scaled down to 1920x1080 and small defects stop being visible.

[!READING]:

Each way of reading the scene costs a different amount of context. Measured on a scene of 107 elements:

  • search_scene_content with a query returns only the matching elements, about 200 tokens each. It matches shape labels and standalone text, and never returns the text of a label bound to a shape (containerId set), so it cannot tell you where a label sits.
  • get_scene_content returns every element: 73 KB, about 20k tokens. Never call it.
  • python3 <base_directory>/scripts/fetch.py <sceneId> downloads the same content through the REST API into a local file, with the key in EXCALIDRAW_API_KEY. Query that file with Python and print only the fields you need. Use it for every question about geometry: label padding, arrow endpoints, overlaps.
  • take_screenshot costs between a few hundred tokens and about 3k, depending on the render size. To check a layout, it is cheaper than reading the JSON.

edit_scene_content answers with the id and position of each element it added: about 4k tokens for 83 elements.

[!SINS]:

ledger/sins.yaml lists the mistakes agents make on the canvas again and again i.e., what happens, and the rule that prevents it. Read it before the first write by hand. Each sin has a lint check with the same id, except the ones marked lint: none.

[!PIECES]:

ledger/pieces.yaml lists prefab pieces i.e., what each one is, when to use it, and the variants it takes. Each piece id is also a command of scripts/pieces.py, which prints the add payload with every coordinate computed. Pipe it into write.py: pieces.py <id> … | write.py <sceneId>. Run python3 <base_directory>/scripts/pieces.py <id> --help for its parameters, and never draw a piece by hand.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

An nach 140 weider Dateien.

Heefeg gestallte Froen

Wat mécht de KI-Skill Excalidraw It?

Draw diagrams with the operator on a live Excalidraw+ scene, through the Excalidraw+ MCP. Draws each diagram type from a few lines of YAML with a generator of its own, and carries the known sins agents commit on the canvas, each with the rule that prevents it and the lint check that catches it, plus a ledger of prefab pieces that come out right the first time.

Firwat Excalidraw It op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Excalidraw It besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Excalidraw It an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/alberduris/skills/tree/main/plugins/excalidraw-it/skills/excalidraw-it an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Excalidraw It benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Excalidraw It benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Excalidraw It domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Excalidraw It gratis?

Jo. alberduris huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇