excalidraw-diagram

excalidraw-diagram is a skill for Claude Code, Codex from walidboulanouar/Ay-Skills. It costs 87 tokens per session (6,073 once invoked), scanned B, a copy of excalidraw-diagram, MIT.

A skill for creating Excalidraw diagram files, which are editable drawings for explaining systems and workflows.

In plain words
What is it for?
Use it to diagram workflows, software architectures, agent systems, or client deliverables.
Why use it?
It turns complex processes or structures into visual diagrams that are easier to inspect.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cd .claude/skills/excalidraw-diagram/references && uv run python render_excalidraw.py ../../../008_Builds/excalidraw/output/{slug}.excalidraw.

Good fit Use it to diagram workflows, software architectures, agent systems, or client deliverables.

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/walidboulanouar/Ay-Skills
agentmods
npx agentmods add skills/walidboulanouar/ay-skills/excalidraw-diagram

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-diagram

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/walidboulanouar/ay-skills/excalidraw-diagram"><img src="https://agentmods.dev/badge/skills/walidboulanouar/ay-skills/excalidraw-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,073 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod 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.00087 $0.06073
Opus 5.5 $0.00035 $0.02429
Sonnet 5.5 $0.00017 $0.01215
Haiku 4.5 $0.00009 $0.00607

Measured 2mo ago against content hash f675e969268e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

excalidraw-diagram scanned grade B with 1 finding 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (references/render_excalidraw.py), 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.

Subtle steeringmediumPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

- **Don't write a Python generator script.** The templating and coordinate math seem helpful but introduce a layer of indirection that makes debugging harder. Hand-crafted JSON with descriptive IDs is more maintainable.
Origin

This is a copy

94% identical to excalidraw-diagram — 57 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/excalidraw-diagram/SKILL.md · 606 lines

How it starts

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

Excalidraw Diagram Creator

Generate .excalidraw JSON files that argue visually, not just display information.

Setup: If the user asks you to set up this skill (renderer, dependencies, etc.), see README.md for instructions.


AY Automate Style Defaults (always apply unless told otherwise)

Visual style

roughness:   2          ← hand-drawn / sketchy (NOT clean/sharp) — boxes only
strokeWidth: 2          ← medium stroke weight
roundness:   {"type":3} ← rounded corners on all rectangles
fontFamily:  1          ← Virgil (handwritten font) — NOT mono, NOT sans

Boxes / shapes: strokeStyle: "dotted" + roughness: 2

Arrows / lines: strokeStyle: "solid" + roughness: 1 — arrows are clean, only boxes are dotted

Text rules

  • Titles are free text — never wrap the title in a box. Just a plain text element above the diagram.
  • Write titles in lowercase — "ralph loop", not "RALPH LOOP". Natural handwritten feel.
  • Use line breaks inside node labels — split label and sub-label with \n
  • Keep labels short and human — "reads files" not "file ingestion module"
  • Write like you're explaining to a non-technical person
  • Free-floating annotations are better than boxing everything

Color mode

  • Dark (viewBackgroundColor: "#14141c") — internal docs, LinkedIn content, agent diagrams
  • Light (viewBackgroundColor: "#f0edee") — client deliverables, onboarding, proposals
  • Ask or infer from context. Default = dark.
  • Colors come from references/color-palette.md.

Brand

Periwinkle #8182C1 is the accent. Never use generic blue #3b82f6 or any purple #7c3aed.

Output path: 008_Builds/excalidraw/output/{slug}.excalidraw

Render path: 008_Builds/excalidraw/output/{slug}.png

Render command:

cd .claude/skills/excalidraw-diagram/references && uv run python render_excalidraw.py ../../../008_Builds/excalidraw/output/{slug}.excalidraw

Common use cases:

  • Agent architecture maps (Claude → n8n → Supabase → client)
  • Client onboarding flows (what we build, in what order)
  • AI pipeline explainers (for LinkedIn content)
  • Internal system diagrams (for engineers on client projects)
  • Ralph loop / agentic flow diagrams
  • Competitor / comparison maps
  • GTM funnel visualizations

Read the full file on GitHub · 606 lines

Files

What ships with it

8 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. 2mo ago First seen · 606 lines · 87 tokens per session scan B f675e969268e

Subscribe to this mod's changes

excalidraw-diagram is a skill published in the GitHub repository walidboulanouar/Ay-Skills (93 stars, last pushed 1mo ago), licensed MIT. It adds 87 tokens to every session and 6,073 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (subtle steering). It is 94% identical to excalidraw-diagram, differing in 57 lines, and is treated as a copy.

Related

excalidraw-diagram compared with skills from other repositories

excalidraw-diagram next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
excalidraw-diagramwalidboulanouar/Ay-SkillsSkill931mo agoMITB87Claude Code, Codex
component-family-consistencydembrandt/dembrandt-skillsSkill1835d agoMITA38Claude Code
extract-designdembrandt/dembrandt-skillsSkill1835d agoMITA43Claude Code
modular-scale-typographydembrandt/dembrandt-skillsSkill1835d agoMITA34Claude Code
data-display-and-selectiondembrandt/dembrandt-skillsSkill1835d agoMITA37Claude Code
information-architecturedembrandt/dembrandt-skillsSkill1835d agoMITA33Claude Code
modal-and-overlay-patternsdembrandt/dembrandt-skillsSkill1835d agoMITA38Claude Code