excalidraw

excalidraw is a skill for Claude Code, Codex from AlekseiUL/sprut-agent-kit. It costs 61 tokens per session (1,243 once invoked), scanned A, original, MIT.

A tool for creating diagrams and visual explanations in Excalidraw, a hand-drawn-style drawing app, for use in Obsidian, a note-taking application.

In plain words
What is it for?
Use it to make flowcharts, system diagrams, and other visual notes inside an Obsidian vault.
Why use it?
It handles the special file format Obsidian needs so diagrams open as editable drawings instead of plain text.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/gen_excalidraw_v2.js > "obsidian/Название.excalidraw.md".

Good fit Use it to make flowcharts, system diagrams, and other visual notes inside an Obsidian vault.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/AlekseiUL/sprut-agent-kit
agentmods
npx agentmods add skills/alekseiul/sprut-agent-kit/excalidraw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for excalidraw

README.md
[![agentmods](https://agentmods.dev/badge/skills/alekseiul/sprut-agent-kit/excalidraw/github.svg)](https://agentmods.dev/skills/alekseiul/sprut-agent-kit/excalidraw)
Your own site
<a href="https://agentmods.dev/skills/alekseiul/sprut-agent-kit/excalidraw"><img src="https://agentmods.dev/badge/skills/alekseiul/sprut-agent-kit/excalidraw/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for excalidraw

Your own site · 80×15
<a href="https://agentmods.dev/skills/alekseiul/sprut-agent-kit/excalidraw"><img src="https://agentmods.dev/badge/skills/alekseiul/sprut-agent-kit/excalidraw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,243 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.01243
Opus 5 $0.00030 $0.00622
Sonnet 5 $0.00012 $0.00249
Haiku 4.5 $0.00006 $0.00124

Measured 9d ago against content hash 4581be2ab34e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

excalidraw scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (template.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/excalidraw/SKILL.md · 166 lines

How it starts

The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.


name: excalidraw description: "Создание схем и диаграмм в Excalidraw для Obsidian. Use when user says 'сделай схему', 'нарисуй диаграмму', 'excalidraw', 'схема в obsidian', 'визуализация'."

Excalidraw Skill — Создание схем для Obsidian

Триггеры: "сделай схему", "нарисуй диаграмму", "excalidraw", "схема в obsidian", "визуализация"


Важно! Формат Excalidraw в Obsidian

Obsidian Excalidraw плагин использует сжатый формат compressed-json (LZ-string). Обычный JSON в code block НЕ РАБОТАЕТ — схема откроется как текст!


Как создавать схему

Шаг 1: Использовать генератор

Запустить скрипт scripts/gen_excalidraw_v2.js как шаблон или создать новый:

node scripts/gen_excalidraw_v2.js > "obsidian/Название.excalidraw.md"

Шаг 2: Структура файла

---
excalidraw-plugin: parsed
tags: [excalidraw, тема]
---

# Excalidraw Data

## Text Elements
Текст блока 1 ^id1

Текст блока 2 ^id2

%%
## Drawing
\`\`\`compressed-json
[сжатый JSON через lz-string]
\`\`\`
%%

Шаг 3: Привязка текста к блокам (КРИТИЧНО!)

Текст ОБЯЗАТЕЛЬНО должен быть привязан к контейнеру!

На прямоугольнике:

{
  "type": "rectangle",
  "id": "box1",
  "boundElements": [{ "type": "text", "id": "box1-text" }]
}

На тексте:

{
  "type": "text",
  "id": "box1-text",
  "containerId": "box1"
}

Без этой связи текст НЕ отображается внутри блоков!


Скрипт-генератор

Путь: scripts/gen_excalidraw_v2.js

Использует:

  • lz-string для сжатия (npm install lz-string)
  • Helper функции для создания блоков с привязанным текстом

Основные функции:

// Блок с текстом внутри
createBox(id, x, y, width, height, strokeColor, bgColor, text, fontSize)

// Отдельный текст (заголовки)
createText(id, x, y, text, fontSize, color)

// Стрелка
createArrow(id, x, y, dx, dy, color)

Стиль схем для владельца

Цвета фона

  • Чёрный фон: #000000
  • Тёмно-серый блок: #111827
  • Очень тёмный: #0f0f23

Read the full file on GitHub · 166 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 166 lines · 61 tokens per session scan A 4581be2ab34e

Subscribe to this mod's changes

excalidraw is a skill published in the GitHub repository AlekseiUL/sprut-agent-kit (63 stars, last pushed 3mo ago), licensed MIT. It adds 61 tokens to every session and 1,243 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

skin-creator

Create and apply a two-asset LobsterAI visual skin from the user's style description. Use only when the AI Skin Designer kit supplies the structured skinpack workflow marker; do not use for ordinary theme or image requests.

netease-youdao/LobsterAI · 48 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

netease-youdao/LobsterAI · 59 tokens

nextclaw-skin-studio

A studio for browsing, applying, creating, refining, switching, inspecting, and removing custom NextClaw skins. A skin changes an app's visual appearance and can include CSS, JavaScript, images, SVG, layout changes, and motion.

Peiiii/nextclaw · 115 tokens

infographic-builder

Turns textual content into structured infographic formats suitable for reports, presentations, and educational materials.

thesongzhu/Friday · 0 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

PM-Shawn/Abu-Cowork · 59 tokens

infographic

A guide for creating infographics with only HTML and CSS. Infographics present structured information visually, such as timelines, comparisons, funnels and organisation charts.

PM-Shawn/Abu-Cowork · 71 tokens