/tdmcp-skills:td-chop-familyfrom TDMCP Skills
Builds CHOP chains for audio, LFOs, animation curves, and data-driven parameter control in TouchDesigner. Covers sources, processing, and GPU-to-CPU conversion.
Ships in TDMCP Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build CHOP chains for audio, animation, LFOs, and data-driven parameter control. Prefer operator-driven animation (lfoCHOP, timerCHOP) over Python or absTime.seconds.
IN: LFOs/oscillators, audio input/analysis, animation curves, math ops, filtering/smoothing, channel manipulation, timing, data conversion, selective cooking, CHOP references OUT: Parameters on other families driven by CHOP values via expressions
lfoCHOP — periodic oscillationwaveCHOP — waveform generatornoiseCHOP — smooth random (types: sparse, harmonic, random — check get_help)audiodevinCHOP — audio inputoscCHOP, midiinCHOP — external dataanimationCHOP — keyframed curvestimerCHOP — timed sequences, state machine (see reference.md)constantCHOP — fixed values. Sequence pars: const0name/const0value, const1name/const1value, etc.parameterCHOP — reads custom parameters as CHOP channels. Has separate custom and builtin toggles. Default: custom=true, builtin=false. Must enable builtin=true to capture built-in pars like tx/ty/tz. Filter pattern alone won't work if the category toggle is offBuilt-in sequence parameters (constantCHOP const, glslTOP vec, etc.) default to 1 block. The set_parameters tool auto-expands sequences when you set a parameter index that doesn't exist yet — e.g. setting const3name on a 1-block CHOP auto-creates blocks 0–3
poptoCHOP — extract POP attributes as CHOP channels. Copies GPU→CPU, can be heavy. Extract modes: points, primitives, vertices. Attribute channels named by attribute + component index (e.g. P vec3 → P_0, P_1, P_2)soptoCHOP — extract SOP point positions, normals, UVs as CHOP channelsdattoCHOP — converts DAT table columns to CHOP channels. Set output=chanpercol, firstrow=names. Use extractcols=bynames + colnames to pick specific columnsmathCHOP — arithmetic + combine operations. Key modes: chopop (avg/sub between inputs), chanop (len = vector magnitude, add/sub across channels), preop/postop (negate/square/root per value)functionCHOP — compiled math functions: atan2, sqrt, sin/cos/tan, asin/acos, log, pow. Binary ops (atan2, pow) use two inputs. Set angunit=degrees for trig outputlookupCHOP — index-based gather: input 0 = index values, input 1 = lookup table. Set index1/index2 to match index range (use expr me.inputs[1].numSamples-1 for generic max)shuffleCHOP — reorganize samples. method=spliteveryn + nval=2 splits interleaved samples into separate channels (even/odd)filterCHOP, lagCHOP — smoothing. lagCHOP pars: lag1, lag2 (not lag), lagunitlimitCHOP — clampingexpressionCHOP — custom math per sample. Runs Python per sample per frame — can be heavy. Consider compiled alternatives (mathCHOP, functionCHOP) when possibleaudiospectrumCHOP, audiobandCHOP — frequency analysisspeedCHOP — rate of change / integrationresampleCHOP — fix rate mismatches between CHOPsselectCHOP — channel selection + rename. Use chop parameter to reference remote CHOPs without wires (cleaner than physical connections for fan-out). channames supports TD pattern matching: P_[0-2]1, t[xyz]. Rename with renamefrom: *, renameto: t[xyz]*, ?, [xyz], [0-2], [0-6:2] (range+step), | (union), ~ (exclude). No spaces inside []. Works in channames, scope, renamefrom/renameto
When a scriptCHOP is driven by an extension, always use modoutsidecook=True and write data from the extension. Never split logic between extension and scriptCHOP callbacks. Pattern: extension parses data → calls chop.clear(), chop.numSamples = n, appends channels and writes values. The scriptCHOP callbacks should be empty defaults.
End every CHOP chain with a nullCHOP. Other ops reference it via expression: op('null_name')['channel']
Set cooktype=selective on output nulls that don't need per-frame updates.
Use inspect_values(path, include_samples=true) to read full sample arrays from multi-sample CHOPs (audio, LFOs, animation curves). Without include_samples, only the current single value per channel is returned.
mathCHOP (subtract threshold) + logicCHOP convert=pos instead. See reference.md for patternschop param for the backward reference (avoids long wires). See reference.mdonOffToOn for reliable event detectionop('path')['channelname'] not op('path').chan('name')exec(op('dat').text) in TD Python: nested functions can't access file-scope variables. Use flat loop structure or inline all logic in main loop bodyWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub touchdesigner/tdmcpskills --plugin tdmcp-skills19 skills in this plugin
/td-build-planningPlan TouchDesigner builds — scout networks, decide operators, allocate positions, phase work. Use before any multi-operator build./td-colabCollaborative mode — you're a thinking partner in TouchDesigner, not a builder. Load when you're sliding into auto-building or need to reset the collaborative frame./td-comp-architectureComponent design — baseCOMPs, extensions, custom parameters, parent shortcuts, modularity. Use when creating COMPs or structuring projects./td-dat-familyDAT operations — table data, Python callbacks, parameter execute, CHOP execute. Use when creating or populating any DAT./td-generalCore TouchDesigner conventions and the skill map — workflow phases, naming, paths, tool preferences, universal pitfalls. Load FIRST on any TouchDesigner task, before any other td- skill./td-geometry-instancingGeometry instancing — geometryCOMP instance setup, data sources (CHOP/DAT/TOP/POP), transforms, textures. Use when instancing geometry.Other plugins' skills for the same job