Excalidraw Generation

Excalidraw Generation is a skill for Claude Code from rhuss/cc-slidev. It costs 74 tokens per session (4,053 once invoked), scanned A, original, MIT.

A skill for creating Excalidraw diagrams, which are informal, hand-drawn-style diagrams and whiteboards. It covers diagrams such as architecture sketches, timelines, mind maps, and relationship maps.

In plain words
What is it for?
Use it for conceptual diagrams, architecture layouts, brainstorming, nested components, timelines, comparisons, and other spatial explanations.
Why use it?
It helps turn ideas and system relationships into approachable visual diagrams with supporting annotations.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the slidev plugin — 8 skills, 19 commands, 3 agents shipped together

Good fit Use it for conceptual diagrams, architecture layouts, brainstorming, nested components, timelines, comparisons, and other spatial explanations.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add rhuss/cc-slidev
Claude Code
/plugin install slidev

Made for: Claude Code.

Or install slidev, the plugin that ships this one along with the rest of its 8 skills, 19 commands, 3 agents.

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 Generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/rhuss/cc-slidev/excalidraw-generation/github.svg)](https://agentmods.dev/skills/rhuss/cc-slidev/excalidraw-generation)
Your own site
<a href="https://agentmods.dev/skills/rhuss/cc-slidev/excalidraw-generation"><img src="https://agentmods.dev/badge/skills/rhuss/cc-slidev/excalidraw-generation/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 Generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/rhuss/cc-slidev/excalidraw-generation"><img src="https://agentmods.dev/badge/skills/rhuss/cc-slidev/excalidraw-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,053 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.00074 $0.04053
Opus 5.5 $0.00030 $0.01621
Sonnet 5.5 $0.00015 $0.00811
Haiku 4.5 $0.00007 $0.00405

Measured 26d ago against content hash 0d7d1d5256e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Excalidraw Generation 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 26d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (tests/test-basic-flowchart.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.

slidev/skills/excalidraw-generation/SKILL.md · 478 lines

How it starts

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

Excalidraw Generation Expert

Core Philosophy: Semantic redesign, not mechanical conversion. Think like both a presentation designer (clarity, accessibility, simplicity) and an artist (creative visual expression, spatial design, aesthetic beauty).

CRITICAL - Rendering Rule

ALWAYS use render-excalidraw.sh for SVG conversion - NO EXCEPTIONS

After creating Excalidraw JSON:

  1. Save JSON to diagrams/<slug>.excalidraw
  2. MUST render using: ${CLAUDE_PLUGIN_ROOT}/scripts/render-excalidraw.sh
  3. NEVER attempt manual SVG conversion
  4. NEVER embed JSON in markdown - only reference the rendered SVG

The script handles all rendering automatically with excalidraw-brute-export-cli.

When to Use This Skill

Auto-trigger when:

  • User explicitly requests: "create excalidraw diagram", "hand-drawn diagram", "sketch", "whiteboard"
  • Slide content suggests conceptual/spatial relationships
  • Architecture with nested components
  • Brainstorming/ideation context
  • Informal, approachable style needed
  • Annotations and callouts would add value

Diagram type suitability:

  • ✅✅✅ BEST: Conceptual relationships, architecture diagrams, mind maps, timelines, comparisons
  • ✅✅ EXCELLENT: Flowcharts (with annotations), spatial layouts, nested structures
  • ⚠️ OKAY: Sequence diagrams (prefer Mermaid instead)
  • ❌ NOT RECOMMENDED: Formal UML (use PlantUML), state machines (use Mermaid)

Design Constraints

Apply hard limits from ${CLAUDE_PLUGIN_ROOT}/references/design-constraints.md. Key for Excalidraw: max 9 elements (7+/-2), colorblind-safe palette only (Blue #3b82f6 + Orange #f97316), min 4.5:1 contrast, under 50 words per diagram, one idea per diagram, roughness 1.

Core Capabilities

1. Semantic Concept Extraction

Process (ALWAYS follow this order):

  1. Analyze user's description or slide content
  2. Extract core concepts (entities, relationships, flows)
  3. Identify semantic type:
    • Containment: X contains Y → Use nested boxes/frames
    • Flow: A→B→C → Use arrows with spatial progression
    • Comparison: X vs Y → Use side-by-side separation
    • Hierarchy: Parent-child → Use vertical/spatial positioning
    • Grouping: Related items → Use frames or color-coded regions
    • Annotation: Context/explanation → Use callouts and bound text

Read the full file on GitHub · 478 lines

Files

What ships with it

3 files 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. 26d ago Changed · -585 lines 0d7d1d5256e4
  2. 3mo ago First seen · 1,063 lines · 74 tokens per session scan A 8a7304602351

Subscribe to this mod's changes

Excalidraw Generation is a skill published in the GitHub repository rhuss/cc-slidev (55 stars, last pushed 25d ago), licensed MIT. It adds 74 tokens to every session and 4,053 once invoked, about $0.0003 per session on Opus 5.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

Excalidraw Generation compared with skills from other repositories

Excalidraw Generation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Excalidraw Generationrhuss/cc-slidevSkill5525d agoMITA74Claude Code
webgl-holographic-foilnexu-io/open-designSkill111ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill111ktodayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill111ktodayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
glance-canonical-layoutsandroid/skillsSkill11k9d agoApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.7ktodayMITA47Claude Code