Tooluck logoTooluck
SKILL.md

excalidraw

Agent skill fromsoftaworks/agent-toolkit

Use when working with *.excalidraw or *.excalidraw.json files, user mentions diagrams/flowcharts, or requests architecture visualization - delegates all Excalidraw operations to subagents to prevent context exhaustion from verbose JSON (single files: 4k-22k tokens, can exceed read limits)

How to install excalidraw

install excalidraw
# install the agent-toolkit pack with the skills CLI
npx skills add softaworks/agent-toolkit

# or add only this skill to Claude Code: copy the folder

skills/excalidraw/

# into

~/.claude/skills/excalidraw/ (all projects)

.claude/skills/excalidraw/ (one project)

skills/excalidraw/SKILL.md

MITFull file
1# Excalidraw Subagent Delegation
2
3## Overview
4
5**Core principle:** Main agents NEVER read Excalidraw files directly. Always delegate to subagents to isolate context consumption.
6
7Excalidraw files are JSON with high token cost but low information density. Single files range from 4k-22k tokens (largest can exceed read tool limits). Reading multiple diagrams quickly exhausts context budget (7 files = 67k tokens = 33% of budget).
8
9## The Problem
10
11Excalidraw JSON structure:
12- Each shape has 20+ properties (x, y, width, height, strokeColor, seed, version, etc.)
13- Most properties are visual metadata (positioning, styling, roughness)
14- Actual content: text labels and element relationships (<10% of file)
15- **Signal-to-noise ratio is extremely low**
16
17Example: 14-element diagram = 596 lines, 16K, ~4k tokens. 79-element diagram = 2,916 lines, 88K, ~22k tokens (exceeds read limit).
18
19## When to Use
20
21**Trigger on ANY of these:**
22- File path contains `.excalidraw` or `.excalidraw.json`
23- User requests: "explain/update/create diagram", "show architecture", "visualize flow"
24- User mentions: "flowchart", "architecture diagram", "Excalidraw file"
25- Architecture/design documentation tasks involving visual artifacts
26
27**Use delegation even for:**
28- "Small" files (smallest is 4k tokens - still significant)
29- "Quick checks" (checking component names still loads full JSON)
30- Single file operations (isolation prevents context pollution)
31…

Excerpt shown under the repository's MIT license.

More skills in agent-toolkit

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

tt-a1i /

archify
95k

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

CCCXOC1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates