tldraw

tldraw is a skill for Claude Code, Codex from Mathews-Tom/armory. It costs 128 tokens per session (2,333 once invoked), scanned A, original, MIT.

A tool for generating hand-drawn whiteboard diagrams as tldraw files and exporting them as PNG or SVG images. It supports flowcharts, sequence diagrams, ERDs, UML sketches, and machine-learning model diagrams.

In plain words
What is it for?
Use it for informal system sketches, process diagrams, database relationship diagrams, software design diagrams, and model diagrams.
Why use it?
It turns a plain-language description into an editable diagram without requiring the layout to be drawn by hand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Part of the armory plugin — 85 skills shipped together

Good fit Use it for informal system sketches, process diagrams, database relationship diagrams, software design diagrams, and model diagrams.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mathews-tom/armory/tldraw
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Mathews-Tom/armory --skill tldraw
Clone the repo
git clone --depth 1 https://github.com/Mathews-Tom/armory

Made for: Claude Code, Codex.

Or install armory, the plugin that ships this one along with the rest of its 85 skills.

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 tldraw

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mathews-tom/armory/tldraw"><img src="https://agentmods.dev/badge/skills/mathews-tom/armory/tldraw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,333 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 63
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00128 $0.02333
Opus 5 $0.00064 $0.01167
Sonnet 5 $0.00026 $0.00467
Haiku 4.5 $0.00013 $0.00233

Measured 5d ago against content hash 876316ed8ef8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

tldraw 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 5d ago.

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.

skills/tldraw/SKILL.md · 138 lines

How it starts

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

tldraw Whiteboard Diagrams

Overview

Generate hand-drawn whiteboard-style diagrams as .tldr JSON files and export to PNG/SVG using @kitschpatrol/tldraw-cli. tldraw produces a hand-drawn aesthetic with rich shape libraries and smooth arrow routing — well-suited for casual, sketch-style visualizations rather than polished business diagrams.

Format: .tldr JSON Export: PNG, SVG (via @kitschpatrol/tldraw-cli) Aesthetic: Hand-drawn whiteboard style by default; switchable to clean fonts via font prop.

When to Use

User need Use tldraw Use instead
Whiteboard / hand-drawn-style flowchart, sequence, ERD, or UML sketch Yes
ML / deep-learning model diagram with tensor-shape annotations Yes
Freehand or figurative sketching (the draw shape) Yes
Polished business/infra/deployment architecture diagram No architecture-diagram
Logos, solid-color graphics, or filled icons No tldraw has no opaque fill (solid = light tint); use the original vector source
Interactive HTML dashboard or infographic No static-web-artifacts-builder
Data charts, plots, sparklines No chart-clarity

Proactive triggers: explaining a system with 3+ interacting components, describing a multi-step process or data flow, showing relationships between services/modules, decision trees, or ML model layers.

Skip when: a simple list or table suffices, or the user is in a quick Q&A flow.

Known constraints (route elsewhere or set expectations if these matter):

  • No opaque fill — solid renders as a light tint, so white-on-dark artwork can't be reproduced.
  • Manual coordinates only — no automatic layout of many nodes.
  • Arrowheads are filled triangles/diamonds, not the hollow heads strict UML notation uses.
  • PDF export isn't supported by tldraw-cli (PNG/SVG only).

Prerequisites

Uses @kitschpatrol/tldraw-cli — a third-party, MIT-licensed export tool maintained independently of the tldraw.dev project. It is not the official create-tldraw project-scaffolding CLI; don't confuse the two. It renders .tldr files to PNG/SVG via a headless Chrome instance (puppeteer).

Read the full file on GitHub · 138 lines

Files

What ships with it

7 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. 5d ago First seen · 138 lines · 128 tokens per session scan A 876316ed8ef8

Subscribe to this mod's changes

tldraw is a skill published in the GitHub repository Mathews-Tom/armory (316 stars, last pushed yesterday), licensed MIT. It adds 128 tokens to every session and 2,333 once invoked, about $0.0006 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-09-05.