Excalidraw Generation

Excalidraw Generation is a skill for Claude Code from rhuss/cc-slidev. It costs 74 tokens per session (8,076 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, 18 commands, 2 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, 18 commands, 2 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 8,076 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.08076
Opus 5 $0.00037 $0.04038
Sonnet 5 $0.00015 $0.01615
Haiku 4.5 $0.00007 $0.00808

Measured 9d ago against content hash 8a7304602351, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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 · 1,063 lines

How it starts

The opening of the file, as written. The whole thing — 1,063 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)

Evidence-Based Design Constraints (HARD LIMITS)

These constraints are NON-NEGOTIABLE. Enforce strictly:

  • Cognitive load: Maximum 9 elements (7±2 rule from cognitive psychology)
  • Accessibility:
    • Colorblind-safe palette ONLY: Blue #3b82f6 + Orange #f97316
    • Minimum 4.5:1 contrast ratio for all text (WCAG AA)
    • Never rely on color alone to convey information
  • Minimal text: Under 50 words total per diagram
  • One idea per diagram: If concept is complex, split into multiple diagrams
  • Hand-drawn aesthetic: Roughness 1 for informal feel

Core Capabilities

1. Semantic Concept Extraction

Read the full file on GitHub · 1,063 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. 9d 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 (51 stars, last pushed 21d ago), licensed MIT. It adds 74 tokens to every session and 8,076 once invoked, about $0.0004 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

html-ppt-zhangzara-retro-zine

A neighborhood zine on the disappearing corner shops — portraits, voices, and what a block loses when they close. Built as a decision-grade story deck for community, local readers.

nexu-io/open-design · 49 tokens

html-ppt-zhangzara-studio

A photography studio's portfolio-and-rate deck — the signature work, the process, and the packages that win the brief. Built as a decision-grade design craft deck for prospective clients.

nexu-io/open-design · 47 tokens

motion-frames

A single-frame motion-design composition with looping CSS animations — rotating type ring, animated globe, ticking timer, parallax labels. Renders as a hero video poster you can hand straight to HyperFrames or any keyframe-based exporter. Use when the brief asks for "motion design", "animated hero", "loop", "video…

nexu-io/open-design · 91 tokens

webgl-halftone-drift

A self-contained WebGL2 hero: a flowing field screened through a rotated halftone dot grid into a duotone print aesthetic; move the cursor to bend the drift.

nexu-io/open-design · 44 tokens

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

motion-graphics

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI…

heygen-com/hyperframes · 139 tokens