Logo di Excalidraw It

Excalidraw It

Community
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.

Panoramica

Pubblicato daalberduris
Repositoryskills
Nome della skillexcalidraw-it
Stelle
25
Fork
2
File inclusi
201
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 201

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da alberduris su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Excalidraw It in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/alberduris/skills/tree/main/plugins/excalidraw-it/skills/excalidraw-it
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Excalidraw It in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Excalidraw It non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Excalidraw It non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

e 140 file in più.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Excalidraw It su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Excalidraw It è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Excalidraw It in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/alberduris/skills/tree/main/plugins/excalidraw-it/skills/excalidraw-it. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Excalidraw It?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Excalidraw It?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Excalidraw It: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Excalidraw It è gratuita?

Sì. È pubblicata su GitHub da alberduris con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇