tldraw

A live drawing canvas that an agent can use to create diagrams, sketches, layouts, and visual maps. Drawings can be saved to disk and recalled in later sessions.

In plain words
What is it for?
Creating diagrams, sketches, layouts, and visual maps on a local tldraw canvas. It also helps save and restore worthwhile drawings.
Why use it?
It lets users watch visual work appear on a shared canvas instead of describing every shape in text. Saved drawings can be reused later.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/codejunkie99/agentic-stack/tldraw
Any agent
npx skills add codejunkie99/agentic-stack --skill tldraw
Clone the repo
git clone --depth 1 https://github.com/codejunkie99/agentic-stack

Made for: Claude Code, Codex.

Per session 3 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,239 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00003 $0.01239
Opus 5 $0.00002 $0.00620
Sonnet 5 $0.00001 $0.00248
Haiku 4.5 $0.00000 $0.00124

Measured yesterday against content hash 7d6ed54f0812, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (store.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.

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.

.agent/skills/tldraw/SKILL.md · 118 lines

How it starts

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

tldraw — draw on a live canvas

The tldraw MCP server exposes a live canvas at http://localhost:3030. You draw into it; the user watches it fill in. Worthwhile drawings can be snapshotted to disk and recalled in future sessions via this skill's local store (store.py).

When this skill loads

Any time the user asks to visualize, diagram, sketch, lay out, or map something graphically. If they are clearly asking for prose, do not draw.

Before drawing, once per session

Tell the user:

Open http://localhost:3030 to see the canvas.

If any tool returns No tldraw browser connected, repeat the hint and stop until they confirm.

Opt-in MCP setup

This beta does not install MCP wiring during default adapter setup. After the user enables tldraw in .agent/memory/.features.json, they must add the server to their harness MCP config. Use this local block as the source of truth:

{
  "mcpServers": {
    "tldraw": {
      "command": "npx",
      "args": ["-y", "@tldraw-mcp/server"]
    }
  }
}

For Claude Code and Antigravity this usually lives in .mcp.json; for Cursor it usually lives in .cursor/mcp.json. If a config already exists, merge the tldraw server entry rather than overwriting the file.

Tools

tool purpose
create_shape({ shapes: [...] }) add new shapes
update_shape({ updates: [{ id, props }] }) change shapes by id
delete_shape({ ids: [...] }) remove shapes
get_canvas() return all current shapes

Always get_canvas first when the user says "add to", "next to", "modify", or refers to something already drawn — you need the real ids.

Coordinate system

  • Origin (0, 0) top-left. +x right, +y down.
  • Stay inside 0 <= x <= 1600, 0 <= y <= 900 unless told otherwise.
  • Default sizes: boxes ~160x80, icons ~60x60.

Shape vocabulary

type required optional
geo x, y, w, h geo (rectangle/ellipse/triangle/diamond/star/...), color, fill, text
text x, y, text color, size (s/m/l/xl)
arrow x, y, end:{x,y} color, text (label)
line x, y, end:{x,y} color
draw x, y, points:[{x,y}] color (freehand, at least 2 points)
note x, y, text color (sticky note)

Read the full file on GitHub · 118 lines

Files

What ships with it

1 file 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. yesterday First seen · 118 lines · 3 tokens per session scan A 7d6ed54f0812

Subscribe to this mod's changes

tldraw is a skill published in the GitHub repository codejunkie99/agentic-stack (2,241 stars, last pushed 25d ago), licensed Apache-2.0. It adds 3 tokens to every session and 1,239 once invoked, about $0.0000 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

infographic-creator

基于给定文字内容创建精美信息图。当用户请求创建信息图时使用。.

antvis/Infographic · 25 tokens

data-viz-renderer

Generate self-contained HTML/SVG infographics from JSON data, including stat cards, bar charts, flow diagrams, and mixed dashboards. Offers 8 color palettes and built-in icons with no external dependencies. Triggered when users request data visualization, infographics, charts, or dashboards.

zebbern/claude-code-guide · 62 tokens

code-to-diagram

Analyze codebases and automatically generate architecture diagrams, flowcharts, and org charts. Uses AST parsing to map import dependencies for Python, JS/TS, Go, and Java, outputting Mermaid or SVG files. Triggered when users ask to visualize code architecture, understand dependencies, draw a flowchart, or create a…

zebbern/claude-code-guide · 74 tokens

blog-post

Author a new entry for the Semiotic blog. Use this skill whenever the user asks for a blog post, release summary, chart explainer, or case study to publish at /blog/SLUG.

nteract/semiotic · 44 tokens

review

Structured PR review for pygraphistry. Input: PR number/branch (default current branch PR). Output: findings and convergence artifacts under plans/ /. Method: multi-wave, evidence-first review across spec, correctness, tests, security, code quality, DRY, concurrency, performance, architecture, operability, and…

graphistry/pygraphistry · 69 tokens

canvas-chart

Canvas chart rendering skill. Teaches the agent to output DOJOCHART blocks for rendering interactive ECharts visualizations in the Dashboard Canvas panel.

Alpha-Dojo/DojoAgents · 32 tokens