Skip to content

Delegation guide that keeps Excalidraw JSON out of the main agent's context by routing every diagram read, edit, or comparison to a subagent.

CCM score
46 of 100
skills.sh installs
852
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the trigger conditions: .excalidraw and .excalidraw.json paths, diagram or flowchart requests, and architecture visualization tasks
  • Includes task templates for read, modify, create, and compare operations, each with a fixed return format of text summaries rather than raw JSON
  • Enforces a hard rule that main agents never Read Excalidraw files, with a rationalization table and red-flag checklist to block exceptions
  • Designed for agent workflows where a single diagram can run 4k to 22k tokens and exhaust the context budget

Install

$ npx -y skills add softaworks/agent-toolkit --skill excalidraw -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Excalidraw Subagent Delegation

Overview

Core principle: Main agents NEVER read Excalidraw files directly. Always delegate to subagents to isolate context consumption.

Excalidraw 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).

The Problem

Excalidraw JSON structure:

  • Each shape has 20+ properties (x, y, width, height, strokeColor, seed, version, etc.)
  • Most properties are visual metadata (positioning, styling, roughness)
  • Actual content: text labels and element relationships (<10% of file)
  • Signal-to-noise ratio is extremely low

Example: 14-element diagram = 596 lines, 16K, ~4k tokens. 79-element diagram = 2,916 lines, 88K, ~22k tokens (exceeds read limit).

When to Use

Details

Repository
github.com/softaworks/agent-toolkit
Categories
Design & UI/UX, Agent Workflow & Planning, Memory & Context
First seen
Jun 3, 2026

More from softaworks/agent-toolkit

All 40

Similar to Excalidraw

More Design & UI/UX