Agent skill

Tldraw Whiteboard Guide

by wentorai in wentorai/research-plugins

Guide to tldraw for infinite canvas whiteboarding and diagram creation

MITAuto-check passedDevelopment

Install Tldraw Whiteboard Guide

skills CLI
$ npx skills add wentorai/research-plugins --skill tldraw-whiteboard-guide -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wentorai/research-plugins tldraw-whiteboard-guide --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/tools/diagram/tldraw-whiteboard-guide .claude/skills/tldraw-whiteboard-guide && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tldraw-whiteboard-guide
GitHub stars
298
Used in
1 other repo
Token cost
~2.8k tokens
SKILL.md length
454 words
Files
1
Skills in repo
405
Repo updated
First seen
Licence
MIT

At a glance

Guide to tldraw for infinite canvas whiteboarding and diagram creation

  • Tasks that involve Diagrams
  • SKILL.md covers Overview, Getting Started, Core Features for Research Work and Custom Shapes for…, plus 4 more sections
  • Calls npm and git; reaches github.com

What it does

Tldraw Whiteboard Guide is an agent skill from wentorai/research-plugins. Guide to tldraw for infinite canvas whiteboarding and diagram creation

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Diagrams. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.

When your agent uses it

  • Tasks that involve Diagrams

Example prompts

  • “/tldraw-whiteboard-guide”

Requirements

  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit bf44b3c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    Also links to:

    • tldraw.com
    • tldraw.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tldraw Whiteboard Guide loads about 2.8k tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 454 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 454 words, ~2,767 tokens.

Download SKILL.mdSave it as .claude/skills/tldraw-whiteboard-guide/SKILL.md (or your agent's skills folder).
name
tldraw-whiteboard-guide
description
Guide to tldraw for infinite canvas whiteboarding and diagram creation

tldraw Whiteboard Guide

Overview

tldraw is an open-source infinite canvas whiteboard SDK with over 46K stars on GitHub. It provides a complete whiteboard experience that can be used standalone or embedded into custom applications. The library offers a polished, intuitive drawing interface with shapes, connectors, text, freehand drawing, and image support, all running in the browser with no backend required for basic use.

For academic researchers, tldraw serves multiple roles. It can function as a collaborative brainstorming tool for research ideation sessions, a diagram creation tool for papers and presentations, a visual note-taking surface during literature reviews, and a framework diagramming tool for conceptual models. Unlike traditional diagramming tools that impose rigid structures, tldraw's freeform canvas encourages the kind of fluid visual thinking that drives research innovation.

The SDK architecture makes tldraw particularly interesting for research tool builders. It can be embedded into lab notebooks, research management platforms, and educational tools. The state management system is extensible, allowing developers to add custom shapes, tools, and behaviors for domain-specific diagramming needs such as circuit diagrams, molecular structures, or experimental workflow visualizations.

Getting Started

Using tldraw Online

The fastest way to use tldraw is through the hosted version at tldraw.com. Create diagrams immediately with no installation, and share them via links.

Self-Hosted Deployment
bash
# Clone and run locally
git clone https://github.com/tldraw/tldraw.git
cd tldraw
npm install
npm run dev

# Access at http://localhost:5420
Embedding in a React Application
bash
# Install the tldraw package
npm install tldraw
tsx
import { Tldraw } from 'tldraw';
import 'tldraw/tldraw.css';

function ResearchWhiteboard() {
  return (
    <div style={{ width: '100vw', height: '100vh' }}>
      <Tldraw />
    </div>
  );
}

Core Features for Research Work

Shape Tools

tldraw provides a comprehensive set of shape tools suitable for creating research diagrams:

  • Rectangle - Process boxes, system components, categories
  • Ellipse - States, entities, conceptual groupings
  • Diamond - Decision nodes, conditions
  • Arrow - Relationships, flows, dependencies, causal links
  • Line - Connections, separators, timelines
  • Text - Labels, annotations, descriptions
  • Freehand - Sketches, handwritten annotations, emphasis marks
  • Note - Sticky notes for brainstorming and categorization
  • Frame - Grouping related elements into named sections
  • Star/Heart/Cloud - Emphasis markers and decorative elements
Show full SKILL.md (163 more words)Show less
Drawing a Research Framework Diagram

A typical research conceptual framework can be constructed using tldraw's shape tools.

Example: Conceptual Framework for Mixed-Methods Study

1. Create a Frame labeled "Research Design"
2. Add rectangles for each research phase:
   - "Literature Review" -> "Hypothesis Formation"
   - "Quantitative Study" -> "Statistical Analysis"
   - "Qualitative Study" -> "Thematic Analysis"
   - "Integration" -> "Conclusions"
3. Connect phases with arrows showing sequence and relationships
4. Use color coding:
   - Blue rectangles: quantitative components
   - Green rectangles: qualitative components
   - Purple rectangles: integration points
5. Add text labels for key variables and relationships
6. Use sticky notes for annotations about methods and tools
Collaborative Research Sessions

tldraw supports real-time collaboration when deployed with its sync backend, making it ideal for remote research meetings.

tsx
import { Tldraw, createTLStore } from 'tldraw';
import { useSync } from '@tldraw/sync';

function CollaborativeWhiteboard({ roomId }) {
  const store = useSync({
    uri: `wss://collaboration-server.lab.internal/connect/${roomId}`,
    assets: { /* asset configuration */ }
  });

  return (
    <div style={{ width: '100%', height: '80vh' }}>
      <Tldraw store={store} />
    </div>
  );
}

Custom Shapes for Domain-Specific Diagrams

One of tldraw's most powerful features for research is the ability to define custom shapes. Researchers can create domain-specific visual elements.

Defining a Custom Research Node Shape
tsx
import {
  ShapeUtil,
  TLBaseShape,
  HTMLContainer,
  BaseBoxShapeUtil,
} from 'tldraw';

// Define the shape type
type ResearchNodeShape = TLBaseShape<
  'research-node',
  {
    w: number;
    h: number;
    label: string;
    nodeType: 'hypothesis' | 'method' | 'finding' | 'conclusion';
    status: 'planned' | 'in-progress' | 'complete';
  }
>;

// Color map for node types
const nodeColors = {
  hypothesis: '#3B82F6',
  method: '#10B981',
  finding: '#F59E0B',
  conclusion: '#EF4444',
};

const statusIcons = {
  planned: '[ ]',
  'in-progress': '[~]',
  complete: '[x]',
};

class ResearchNodeUtil extends BaseBoxShapeUtil<ResearchNodeShape> {
  static override type = 'research-node' as const;

  getDefaultProps(): ResearchNodeShape['props'] {
    return {
      w: 200,
      h: 80,
      label: 'New Node',
      nodeType: 'hypothesis',
      status: 'planned',
    };
  }

  component(shape: ResearchNodeShape) {
    const { label, nodeType, status } = shape.props;
    const color = nodeColors[nodeType];

    return (
      <HTMLContainer>
        <div style={{
          width: '100%',
          height: '100%',
          backgroundColor: color + '20',
          border: `2px solid ${color}`,
          borderRadius: '8px',
          padding: '8px 12px',
          display: 'flex',
          flexDirection: 'column',
          justifyContent: 'center',
          fontFamily: 'Inter, sans-serif',
        }}>
          <div style={{ fontSize: '10px', color: color, fontWeight: 600 }}>
            {nodeType.toUpperCase()} {statusIcons[status]}
          </div>
          <div style={{ fontSize: '13px', color: '#1F2937', marginTop: '4px' }}>
            {label}
          </div>
        </div>
      </HTMLContainer>
    );
  }

  indicator(shape: ResearchNodeShape) {
    return (
      <rect
        width={shape.props.w}
        height={shape.props.h}
        rx={8}
        ry={8}
      />
    );
  }
}
Registering Custom Shapes
tsx
import { Tldraw } from 'tldraw';

const customShapeUtils = [ResearchNodeUtil];

function ResearchDiagramEditor() {
  return (
    <Tldraw
      shapeUtils={customShapeUtils}
      tools={[/* custom tools */]}
    />
  );
}

Research Diagram Templates

Literature Review Mind Map

Use tldraw to create a visual literature map during systematic reviews:

Structure:
- Central node: Research Question
- Branch 1: Theoretical Frameworks
  - Sub-nodes for each major theory
  - Connections showing relationships between theories
- Branch 2: Key Findings
  - Grouped by theme or methodology
  - Color-coded by strength of evidence
- Branch 3: Research Gaps
  - Identified gaps linked to existing literature
  - Arrows pointing to proposed research directions
Experimental Design Flowchart
Layout:
1. Start: "Research Question"
2. Diamond: "Experimental or Observational?"
3. Branch A (Experimental):
   - "Control Group Definition"
   - "Treatment Conditions"
   - "Randomization Strategy"
   - "Measurement Protocol"
4. Branch B (Observational):
   - "Sampling Frame"
   - "Data Collection Method"
   - "Confound Identification"
5. Merge: "Data Analysis Plan"
6. End: "Expected Outcomes"
System Architecture Diagram

For computational research papers that need to illustrate software architecture:

Components arranged in layers:
- Top: User Interface (web dashboard, CLI)
- Middle: Application Logic (API server, task scheduler)
- Bottom: Data Layer (database, file storage, cache)
- Side: External Services (cloud APIs, instrument interfaces)
- Arrows showing data flow between components
- Color coding for different deployment environments

Exporting Diagrams for Publications

Export as SVG (Vector)

tldraw supports exporting the canvas or selected shapes as SVG, which is ideal for publication figures.

tsx
import { Editor } from 'tldraw';

async function exportDiagram(editor: Editor) {
  // Export selected shapes or entire page
  const shapeIds = editor.getSelectedShapeIds();
  const svg = await editor.getSvg(
    shapeIds.length > 0 ? shapeIds : undefined,
    { background: true, padding: 20 }
  );

  if (svg) {
    const svgString = new XMLSerializer().serializeToString(svg);
    const blob = new Blob([svgString], { type: 'image/svg+xml' });
    const url = URL.createObjectURL(blob);

    const link = document.createElement('a');
    link.href = url;
    link.download = 'research-diagram.svg';
    link.click();
    URL.revokeObjectURL(url);
  }
}
Export as PNG (Raster)
tsx
async function exportAsPng(editor: Editor) {
  const blob = await editor.toImage(
    editor.getSelectedShapeIds(),
    { type: 'png', quality: 1, scale: 3, background: true }
  );

  const url = URL.createObjectURL(blob);
  const link = document.createElement('a');
  link.href = url;
  link.download = 'research-diagram.png';
  link.click();
  URL.revokeObjectURL(url);
}

Programmatic Diagram Generation

For reproducible research diagrams, tldraw's API allows programmatic shape creation.

tsx
function generateMethodologyDiagram(editor: Editor, steps: string[]) {
  const startX = 100;
  const startY = 100;
  const boxWidth = 200;
  const boxHeight = 60;
  const gap = 40;

  steps.forEach((step, index) => {
    const y = startY + index * (boxHeight + gap);

    // Create a box for each step
    editor.createShape({
      type: 'geo',
      x: startX,
      y: y,
      props: {
        geo: 'rectangle',
        w: boxWidth,
        h: boxHeight,
        text: step,
        fill: 'semi',
        color: 'blue',
      },
    });

    // Connect to next step with an arrow
    if (index < steps.length - 1) {
      editor.createShape({
        type: 'arrow',
        props: {
          start: { x: startX + boxWidth / 2, y: y + boxHeight },
          end: { x: startX + boxWidth / 2, y: y + boxHeight + gap },
        },
      });
    }
  });

  editor.zoomToFit();
}

// Usage
generateMethodologyDiagram(editor, [
  'Data Collection',
  'Preprocessing',
  'Feature Extraction',
  'Model Training',
  'Evaluation',
  'Publication',
]);

References

© wentorai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/tools/diagram/tldraw-whiteboard-guide of wentorai/research-plugins.

Open the folder on GitHubat commit bf44b3c

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Tldraw Whiteboard Guide next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tldraw Whiteboard Guide compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tldraw Whiteboard Guide this skillwentorai/research-plugins2981 repos~2.8kAutomated safety check: PassMIT
Diagram312362115/claude107—~2.7kAutomated safety check: PassMIT
Scientific SchematicsK-Dense-AI/scientific-agent-skills48k1 repos~5.1kAutomated safety check: NotesMIT
Nfcore Rnastructurome WrapperClawBio/ClawBio1.2k—~6.6kAutomated safety check: PassMIT
Scholar Conceptualjoshzyj/open-scholar-skill168—~5.3kAutomated safety check: PassCustom licence
Graphical Abstract Generatoraipoch/medical-research-skills1.9k—~3.2kAutomated safety check: PassMIT

Similar skills

  • Diagram

    312362115/claude

    专业图表生成技能:根据需求自动选择合适的图表类型,生成符合设计规范的 PNG 图表. An agent skill from 312362115/claude.

    107 GitHub stars~2.7k tokensUpdated 5 mo ago
    DevelopmentAuto-check passed
  • Scientific Schematics

    K-Dense-AI/scientific-agent-skills

    Generates scientific diagram drafts using Nano Banana 2 AI with smart iterative refinement.

    48k GitHub starsUsed in 1 repo~5.1k tokens
    DevelopmentAuto-check: notes
  • Wrapper skill for running nf-core/rnastructurome — chemical-probing RNA structure analysis (SHAPE/DMS, RT-stop/MaP readout) from FASTQ to per-base reactivity, secondary-structure predictions, and 2D…

    1.2k GitHub stars~6.6k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Scholar Conceptual

    joshzyj/open-scholar-skill

    Build original theoretical frameworks and produce publication-quality conceptual diagrams for social science research.

    168 GitHub stars~5.3k tokensUpdated 22 days ago
    DevelopmentAuto-check passed
  • Graphical Abstract Generator

    aipoch/medical-research-skills

    Converts a biomedical study storyline into a graphical abstract and, when direct image capability is available, generates the graphical abstract directly; otherwise it falls back to prompts, Mermaid…

    1.9k GitHub stars~3.2k tokensUpdated 24 days ago
    DevelopmentAuto-check passed
  • Archify Diagrams

    tt-a1i/archify

    Creates interactive architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone HTML with inline SVG, themes and image or video export.

    82k GitHub stars~2.9k tokensUpdated today
    DevelopmentAuto-check passed

More from wentorai/research-plugins

All 405 skills in this repo
  • Abstract Writing Guide

    wentorai/research-plugins

    Craft structured research abstracts that maximize clarity and journal acceptance

    298 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Academic Citation Manager

    wentorai/research-plugins

    Manage academic citations across BibTeX, APA, MLA, and Chicago formats

    298 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed
  • Academic Paper Summarizer

    wentorai/research-plugins

    Summarize academic papers with structured extraction of key elements

    298 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Academic Study Methods

    wentorai/research-plugins

    Evidence-based study techniques for academic learning and retention

    298 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Academic Tone Guide

    wentorai/research-plugins

    Adjust writing tone and register for academic audiences and venues

    298 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Academic Translation Guide

    wentorai/research-plugins

    Academic translation, post-editing, and Chinglish correction guide

    298 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed

Questions about Tldraw Whiteboard Guide

What does Tldraw Whiteboard Guide do?

Guide to tldraw for infinite canvas whiteboarding and diagram creation. Tldraw Whiteboard Guide is an agent skill from wentorai/research-plugins.

When should I use Tldraw Whiteboard Guide?

Tldraw Whiteboard Guide fits situations like: tasks that involve Diagrams.

How do I install Tldraw Whiteboard Guide in Claude Code?

Run `npx skills add wentorai/research-plugins --skill tldraw-whiteboard-guide -a claude-code`. Or copy the skill folder (skills/tools/diagram/tldraw-whiteboard-guide in wentorai/research-plugins) into .claude/skills/tldraw-whiteboard-guide in your project. Claude Code loads it when a task matches its description.

How do I install Tldraw Whiteboard Guide in Codex?

Run `npx skills add wentorai/research-plugins --skill tldraw-whiteboard-guide -a codex`. Or copy the skill folder (skills/tools/diagram/tldraw-whiteboard-guide in wentorai/research-plugins) into .agents/skills/tldraw-whiteboard-guide in your project. Codex loads it when a task matches its description.

Can I use Tldraw Whiteboard Guide in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wentorai/research-plugins --skill tldraw-whiteboard-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tldraw-whiteboard-guide, .gemini/skills/tldraw-whiteboard-guide, .github/skills/tldraw-whiteboard-guide and .opencode/skills/tldraw-whiteboard-guide in your project.

What does Tldraw Whiteboard Guide need to run?

Going by SKILL.md and its folder, Tldraw Whiteboard Guide needs the command-line tools its instructions call (npm and git). Our summary lists: Node.js.

Does Tldraw Whiteboard Guide access the network?

SKILL.md names 3 domains. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. As links in the text: tldraw.com and tldraw.dev. This is read from the text; nothing was executed.

Is Tldraw Whiteboard Guide safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Tldraw Whiteboard Guide use?

Tldraw Whiteboard Guide is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tldraw Whiteboard Guide use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Tldraw Whiteboard Guide?

Skills that share tags, products or a category with Tldraw Whiteboard Guide: Diagram (312362115/claude, 107 stars), Scientific Schematics (K-Dense-AI/scientific-agent-skills, 48k stars), Nfcore Rnastructurome Wrapper (ClawBio/ClawBio, 1.2k stars) and Scholar Conceptual (joshzyj/open-scholar-skill, 168 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tldraw Whiteboard Guide?

wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 405 skills in this directory. The repository was last updated on June 19, 2026.

Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.