Td Node Layout logo

Td Node Layout

Organization
TouchDesigner
td-node-layout

Network layout conventions — spacing, flow direction, positioning patterns. Use during any build or cleanup that places operators.

Overview

PublisherTouchDesigner
RepositoryTDMCPSkills
Skill nametd-node-layout
Stars
42
Forks
1
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by TouchDesigner on GitHub. Read the source before you install it.

Installation

Install the Td Node Layout AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/TouchDesigner/TDMCPSkills/tree/main/skills/td-node-layout
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TouchDesigner/TDMCPSkills.git /tmp/TDMCPSkills
mkdir -p .claude/skills
cp -r /tmp/TDMCPSkills/skills/td-node-layout .claude/skills/td-node-layout
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Td Node Layout in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Td Node Layout on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Td Node Layout is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Layout Conventions

Standard positioning rules for TouchDesigner networks. Loaded by td-build-planning and td-network-cleanup skills.

Core Spacing

  • Horizontal spacing: 175px (130 width + 45 gap) — standard for POP/TOP/CHOP chains
  • Vertical spacing: 125px between parallel chains
  • Flow: left-to-right always. No backward connections (exception: feedback loops)
  • Main chain Y: 0
  • Coordinates: Y-axis up, nodeY = bottom edge

Positioning Patterns

  • Prefer a single Y=0 row when all ops fit horizontally. Add a second row only for true branches (parallel paths, secondary-input feeders). Feeder chains that merge into the main chain sit on Y=0 to the left of the merge, not on a separate row
  • No wires through operators — stagger multi-input sources vertically
  • Multi-input nodes — all sources left of target; input 0 = highest Y; target at Y centroid
  • Fan-in stacking — when multiple operators feed one target (e.g. 3 constants → joinCHOP), stack sources vertically at the same X, target to the right. Never spread inputs horizontally at the same Y
  • No same-X inputs — an input operator must always be to the LEFT of its target (lower X). No operator shares the same X as the operator it feeds into — wires must never go backward or straight down
  • Helper ops (e.g. LFO driving a parameter) — directly above target, same X
  • Secondary/debug branches — below main chain
  • Bridge nodes — null at intermediate Y to connect chains at different levels
  • Anchor to origin — main chain at Y=0, first annotation left edge at X=0

Special Patterns

  • GLSL DAT sandwich — for each glslTOP/glslmultiTOP/glslMAT, stack vertically at the same X: info DAT above the operator (Y + 125), shader/pixel DAT below (Y - 125). The operator is the filling in a DAT sandwich. For glslMAT, docked DATs follow the parent automatically
  • Other text DATs below their operator — 125px below associated Python op
  • Bypass null pattern — when a switch bypasses an effect, place bypass null directly above the effect (same X, Y + 125), not above the switch
  • Secondary inputs — operators feeding secondary inputs (index 1+) go below the main chain and at the same X as the preceding main-chain op (not the target), so wires flow left-to-right and don't cross the primary input
  • selectCHOP chop param — use chop parameter instead of physical wires to reference remote CHOPs. Eliminates long cross-network wires and keeps regions self-contained. Especially useful for fan-out (one source → many consumers)
  • Merge feeder column — when a mergeCHOP has many inputs, create selectCHOPs (via chop param) at the same X left of merge. Order by Y to match input index (highest Y = input 0) — connection lines won't cross

Annotation Layout

  • Reading order — arrange annotations left-to-right, top-to-bottom like text
  • Header alignment — all annotations at the same level should have their tops (nodeY + nodeHeight) aligned, even if that means slightly resizing some annotations to match
  • Short titles — single words or very short phrases (e.g. "Render", "Data Select", "Material"). Long descriptions become unreadable when the annotation is small because the font scales down
  • Match heights of adjacent annotations for visual rhythm. Oversizing one annotation to match its neighbor is fine if it creates a cleaner grid
  • Same width for stacked or adjacent annotations when sizes are close — unify to the wider one
  • Padding: 25px sides/bottom, 60px top (25px content gap + ~35px header). Use these for bounding-box calculations
  • 20px gap between adjacent annotations, never overlap
  • Containment check: every op must satisfy op.nodeY >= ann.nodeY + 25 (bottom) and op.nodeY + op.nodeHeight <= ann.nodeY + ann.nodeHeight - 60 (top/header)
  • Context-dependent rows — one row or multiple rows depending on network shape. When a sub-chain hangs below the main chain, its annotation extends down but keeps its header aligned with the row
  • Stacked annotations — align left edges (same X) and match widths across all stacked annotations. Use the widest group's width for all
  • Uniform gaps — all gaps between annotations should be 20px. Apply this consistently in both directions

Node Sizing

  • Default operator size: 130x90
  • COMPs are often wider (160+) and taller (130) — add extra spacing
  • Top-align mixed sizes — when a COMP sits next to shorter DATs in the same row, align top edges (nodeY + nodeHeight). E.g. DAT at Y=0 (top=90), COMP should be at Y=90-130=-40 (top=90)
  • Always use actual nodeWidth/nodeHeight from list_operators — don't assume defaults

Frequently asked questions

What does the Td Node Layout AI skill do?

Network layout conventions — spacing, flow direction, positioning patterns. Use during any build or cleanup that places operators.

Why use Td Node Layout on TypingMind?

Because you install it once and use it with any model. Td Node Layout is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Td Node Layout in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/TouchDesigner/TDMCPSkills/tree/main/skills/td-node-layout. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Td Node Layout?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Td Node Layout?

As many as you like. As long as a model supports skills, you can use Td Node Layout with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Td Node Layout AI skill free?

It is published on GitHub by TouchDesigner. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇