What problem does it solve? Editing tldraw offline canvases by hand or simulating GUI clicks is slow and error-prone for an agent. This Skill lets you read, edit, and script the open canvas programmatically through the app's local HTTP API, and embed durable JavaScript behavior directly into .tldraw files. ## Core Features & Use Cases - Live canvas edits via /exec: Generate shapes, layouts, and diagrams by running JavaScript against the live editor over the local API with a bearer token from server.json. - Durable document scripts: Write script/main.js files that run on every load, adding reactive shapes, clickable buttons, and animation that survive save and reload. - Schema validation: Validate raw note, text, and frame shape records against the real tldraw SDK v5 schema offline with scripts/validate_shapes.mjs. - Use Case: A user has tldraw offline open and asks for an architecture diagram with interactive counter buttons; the agent finds the focused document, generates the shapes via /exec, and ships an idempotent document script that handles pointer_down clicks. ## Quick Start Ask the agent to read the open tldraw offline document and generate a labeled diagram of your system architecture on the canvas.