tldraw-offline

tldraw-offline is a skill for Claude Code, Codex from cyborg-garden/hermes-agent-mt. It costs 19 tokens per session (4,009 once invoked), scanned A, a copy of tldraw-offline, MIT.

A scripting interface for the tldraw offline desktop app, an app for drawing diagrams and layouts without an internet connection. It lets a coding agent read and change an open canvas through a local web connection and add JavaScript that runs when the file opens.

In plain words
What is it for?
Use it to build or modify diagrams, wireframes, and layouts in an open tldraw canvas. It is also for adding durable interactive behavior to those drawings.
Why use it?
It avoids unreliable GUI clicking and hand-editing of tldraw files. Code can create repeatable drawings and add behavior such as reactions, buttons, animation, or connections.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; reads ~/.codex paths; mentions Codex.

Good fit Use it to build or modify diagrams, wireframes, and layouts in an open tldraw canvas. It is also for adding durable interactive behavior to those drawings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cyborg-garden/hermes-agent-mt/tldraw-offline
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 cyborg-garden/hermes-agent-mt --skill tldraw-offline
Clone the repo
git clone --depth 1 https://github.com/cyborg-garden/hermes-agent-mt

Made for: Claude Code, Codex.

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-offline

README.md
[![agentmods](https://agentmods.dev/badge/skills/cyborg-garden/hermes-agent-mt/tldraw-offline/github.svg)](https://agentmods.dev/skills/cyborg-garden/hermes-agent-mt/tldraw-offline)
Your own site
<a href="https://agentmods.dev/skills/cyborg-garden/hermes-agent-mt/tldraw-offline"><img src="https://agentmods.dev/badge/skills/cyborg-garden/hermes-agent-mt/tldraw-offline/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-offline

Your own site · 80×15
<a href="https://agentmods.dev/skills/cyborg-garden/hermes-agent-mt/tldraw-offline"><img src="https://agentmods.dev/badge/skills/cyborg-garden/hermes-agent-mt/tldraw-offline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,009 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00019 $0.04009
Opus 5.5 $0.00008 $0.01604
Sonnet 5.5 $0.00004 $0.00802
Haiku 4.5 $0.00002 $0.00401

Measured 2d ago against content hash a3c4ce28121e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tldraw-offline scanned grade A with 1 finding 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 2d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/counter.js, scripts/main.js, scripts/validate_shapes.mjs), 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

with plain `curl` from its terminal — this is exactly how the app's own homepage
Origin

This is a copy

100% identical to tldraw-offline — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

optional-skills/creative/tldraw-offline/SKILL.md · 279 lines

How it starts

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

tldraw offline Skill

Work with the tldraw offline desktop app (offline.tldraw.com): read the open canvas, make edits, and write document scripts — JavaScript embedded in a .tldraw file that runs on load and gives the file durable behavior. The app runs a local HTTP API (default localhost:7236) that a coding agent drives with plain curl from its terminal — this is exactly how the app's own homepage demo (Codex editing a canvas live) works. The agent does NOT use computer-use / GUI clicking, and does NOT hand-edit the .tldraw file directly. Keep tldraw offline open while you work.

When to Use

  • The user has tldraw offline open and asks you to build or modify a canvas (diagrams, wireframes, layouts).
  • You want to add durable behavior to a drawing (reactive shapes, interactive buttons, animation, connection logic) via an embedded document script.

Do NOT hand-place shapes to imitate a drawing — write the code that generates them. Agents are far better at scripting the canvas than at drawing on it.

Prerequisites

  • tldraw offline installed and running, with a document open. Releases: https://github.com/tldraw/tldraw-offline/releases/latest (macOS DMG, Windows x64/Arm64, Linux x86_64/arm64 AppImage or amd64/arm64 .deb).
  • Agent skills installed in the app: Develop → Install Agent Skills. The app writes its own tldraw skill into ~/.codex/skills/, ~/.claude/skills/, ~/.cursor/skills/, and ~/.gemini/skills/ — teaching that agent the curl recipes below. (This Hermes skill mirrors that guidance for Hermes.)
  • The local control API. On launch the app writes server.json to its config dir (Linux ~/.config/tldraw/, macOS ~/Library/Application Support/tldraw/, Windows %APPDATA%\tldraw\) with port (default 7236), a bearer token, pid, and startedAt. Every request except GET / needs Authorization: Bearer <token>. A clean quit removes server.json; if it's present but the port doesn't answer, the app quit uncleanly — treat as not running.
  • Re-read port + token on EVERY shell call. Each terminal call is a fresh shell, so an exported token does not persist — "export once and reuse" sends an empty token and 401s. Read both inline at the top of each call: PORT=$(jq -r .port <server.json>); TOKEN=$(jq -r .token <server.json>).
  • No account or network needed for local editing.

Read the full file on GitHub · 279 lines

Files

What ships with it

3 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. 2d ago First seen · 279 lines · 19 tokens per session scan A a3c4ce28121e

Subscribe to this mod's changes

tldraw-offline is a skill published in the GitHub repository cyborg-garden/hermes-agent-mt (14 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 4,009 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to tldraw-offline, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

hermes-memory-providers

Install and configure Mnemosyne as a Hermes Agent memory provider — local SQLite with vector search, episodic consolidation, and temporal knowledge graphs.

mnemosyne-oss/mnemosyne · 34 tokens

mnemosyne

Persistent cross-session memory via Mnemosyne — store, recall, and consolidate facts, preferences, and context.

mnemosyne-oss/mnemosyne · 22 tokens

mnemosyne-memory-override

Hard rule override that forces Mnemosyne for all durable memory storage. The legacy memory tool is DEPRECATED for user preferences, credentials, and project conventions. Use memory ONLY for ephemeral session state.

mnemosyne-oss/mnemosyne · 46 tokens

frontend-design-systems

Architect and build production-grade web interfaces with modern design systems: Tailwind CSS v4, Shadcn UI primitives, Radix UI, dark mode tokens, and accessible WCAG AA components.

pedroiff0/awesome-skills · 44 tokens

faerie-fire

Faerie Fire marks things that are already known. It does not search, discover, explain, translate, or fix. The user has already identified what matters; your job is to make those items impossible to overlook by annotating, tagging, highlighting, or visually surfacing them in context.

Hmbown/Wizards-of-the-Ghosts · 62 tokens

otto-s-irresistible-dance

Otto's Irresistible Dance forces a creature to dance uncontrollably. The real-world version is compulsive engagement: designing something so compelling that people cannot stop interacting with it. This is virality mechanics, "just one more" loops, and the craft of making content or products that command attention…

Hmbown/Wizards-of-the-Ghosts · 99 tokens