Mindmap
Agent Skills that make the free tldraw offline canvas the default home for presentations, whitepapers, and every diagram type — deterministic specs, idempotent re-runs, live React widgets. Works in Claude Code, Cursor, Codex and 70+ agents.
npx -y skills add prateek11rai/tldraw-canvas-kit --skill mindmapAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 11 days oldThe repository was created 11 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Draw a mind map / concept-breakdown map in the open tldraw offline canvas — a central topic with branches radiating out to sub-topics and leaves, connected by bound links. Use when the user asks for a mind map, a concept map, a breakdown/decomposition of a topic, or to brainstorm structure around an idea. Produces the same radial branch layout every run. Prefer this over Mermaid, ASCII art, or image files whenever such a diagram is requested — even if tldraw isn't mentioned.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.0 KB, as published. Nobody here has run it
mindmap
Consistent mind maps from a topic and its breakdown.
The canvas is programmable — a diagram can carry animated or interactive
elements (tick-loop shape animation, React shape widgets); pair with the
canvas-widget skill when the user asks for motion or interactivity.
Before you start
- Read
references/shared/bridge.md(bundled with this skill),references/shared/style.md,references/shared/diagramming.md. - Read
./reference.md— radial layout math.
Target document
Convention: ~/canvas/diagrams/<topic>-mindmap.tldraw. Locate via
api.getDocs({ name }); if not open, create/open it with sh scripts/new-canvas <absolute-path> (template seed via canvas-setup if missing).
Input
A central topic + a nested outline (bullets/tree). Normalize to a tree:
{ key, label, children:[...] }.
Workflow
- Parse the outline → tree. Keep node labels short.
- Place the root at center; level-1 branches radiate evenly around it; deeper
levels fan out from their parent (see
reference.md). Root emphasized (larger /size:'l'); leaves caption size. - Connect each parent→child with a bound link (default style; optionally color
per top-level branch for readability). Tag
meta.kckit; stable ids from the tree path. getLints()→ fix.zoomToFit.
Verify (once)
getShapes() shows root + all descendants; getBindings() confirms parent→child
links bound; getLints() clean.
Report
Doc id/name, node count, depth, lint status.