satoruhiga/claude-touchdesigner/td-guide

Claude Code and agent skill by satoruhiga/claude-touchdesigner

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Provides patterns and best practices for TouchDesigner via MCP API - operator creation, network layout, rendering, GLSL shaders, data conversion (CHOP/SOP/POP/TOP/DAT). Use when working with TouchDesigner networks.

Install

npx vskill@latest install satoruhiga/claude-touchdesigner/td-guide

SKILL.md

TouchDesigner Guide

Use this skill when creating, modifying, or debugging TouchDesigner networks via the MCP API.


CRITICAL: Your Prior Knowledge is Unreliable

TouchDesigner is a visual programming environment. Your pre-trained knowledge about TD is very likely incorrect.

Assume your memory is completely unreliable. Always gather accurate information first:

  • This document and reference files
  • Context7 for official TD API documentation
  • op.TDAPI.GetParameterList() for parameter names
Before Starting ANY Task

Output "Gathering information first" and collect reliable information before implementation.

  1. Read all .md files in reference/ (REQUIRED for all tasks)
  2. Verify parameter names using op.TDAPI.GetParameterList()
  3. Ask yourself: "Do I have sufficient reliable information to proceed?"
  4. Only if yes, start implementation

REQUIRED: Read All Reference Files First

You MUST read all `.md` files in `reference/` before any implementation.

These files contain essential patterns for operator creation, layout, error handling, and best practices that differ from standard TD API.


op.TDAPI - ALWAYS USE THESE

You MUST use `op.TDAPI` utilities instead of raw TD API.

Create Operators
python
# ALWAYS use CreateOp (auto sets viewer=True, handles docked operators)
new_op = op.TDAPI.CreateOp(base, gridSOP, 'grid1', x=0, y=0)
# DON'T use raw API directly
# new_op = base.create(gridSOP, 'grid1') # WRONG - misses viewer, docked handling
Chain Operators
python
# Auto-connects and layouts with 200px spacing
chain = op.TDAPI.ChainOperators([grid, noise, null])
Check Errors
python
# Pass op() object, NOT string path
op.TDAPI.CheckErrors(op('/project1/base1'), recurse=True)
# IMPORTANT: Error cache updates on frame boundaries
# After fixing, check in SEPARATE td_execute call:
# td_execute 1: Fix the error
# td_execute 2: cook + CheckErrors
Verify Parameters Before Setting
python
# TD parameter names are unpredictable (e.g., radius vs radx/rady/radz)
# ALWAYS check first using GetParameterList:
params = op.TDAPI.GetParameterList('sphereSOP')
print(params) # ['radx', 'rady', 'radz', ...]

Reference Files

When working on...Read...
ALL tasks`reference/basics.md` (REQUIRED)
Operator families, data conversionreference/operator-families.md
Geometry COMP, Instancingreference/geometry-comp.md
Rendering, Camera, Lightreference/rendering.md
GLSL TOP/MAT, shadersreference/glsl.md
Feedback loops, simulationsreference/operator-tips.md

External Resources

Use Context7 to look up official TouchDesigner API documentation when you need:

  • Operator types and their parameters
  • Python API details (td module, Op class, etc.)
  • Built-in functions and classes

This skill provides TD-specific patterns and best practices. Context7 provides official API reference.

Before Implementation

Consider multiple approaches before coding.

  1. List 2-3 different ways to achieve the goal
  2. Evaluate each approach's pros and cons:
  • Simplicity (fewer conversions, family unity)
  • Performance (GPU vs CPU, data flow efficiency)
  • Extensibility (easy to modify later)
  • Readability (network clarity)
  1. Choose the most effective approach based on the evaluation

Example: "Create instanced particles in a sphere shape"

ApproachProsCons
A: Sphere SOP → soptoCHOP → Geo + POPFamiliar patternMixed families, extra conversion
B: Sphere POP → Null → Geo(In/Out POP)POP unified, direct data flowLess familiar
C: Sphere POP → poptoCHOP → instancingFlexible positioningExtra conversion step

→ Choose B: unified family, efficient data flow, clean network structure

Required Rules

  1. Always set `viewer = True` after creating operators (matches UI default)
  2. Always check errors after complex operations: op('/path').errors(recurse=True)
  3. Use Null as intermediary before any reference connection
  4. Verify layout before creating to avoid overlapping operators
  5. Use relative paths for references to nearby operators (same level or close hierarchy)
  6. Geometry COMP: create shapes at parent level - Don't create geometry inside COMP; prepare at parent and pass via In/Out

MCP Tools Available

  • td_execute: Run Python code in TD
  • td_pane: Get current network editor state
  • td_selection: Get selected operators
  • td_operators: List operators at path

Plugin Assets

  • TOX: ${SKILL_BASE}/../../toe/TouchDesignerAPI.tox

Operator Families (Quick Reference)

FamilyPurposeData Type
SOPSurface/Geometry3D geometry (CPU)
POPPoint/Particle3D points (GPU)
TOPTexture2D images
CHOPChannelTime-based data
DATDataTables, text
COMPComponentContainers, scenes

For detailed family info, operator lists, and cross-family patterns, see reference/operator-families.md.


Skill Maintenance

When the user provides feedback about this skill (corrections, improvements, missing patterns, etc.):

  1. Propose updates to the relevant .md files in this skill
  2. Show the user the proposed changes before applying
  3. Update SKILL.md or reference/*.md as appropriate

This ensures the skill stays accurate and improves over time based on real usage.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
67
Repository forks
5
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/satoruhiga/claude-touchdesigner/td-guide/badge)](https://verified-skill.com/skills/satoruhiga/claude-touchdesigner/td-guide)

Something wrong with this skill or its page? Tell us.