/nuke-vfx:nuke-node-tree-patternsfrom nuke-vfx
Verified patterns for building Nuke node trees from Python: auto-connection behavior, cropping with Reformat 'to box', and blending overlapping pre-masked tiles using Expression, Premult, and plus Merge. Use when scripting node wiring, positioning, or tile-and-blend tools.
Ships in nuke-vfx. 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.
Version: 2.0.0 (staged 2026-11-08, baseline eval nuke-round2). The long 1.0.0 text is kept in reference/original_SKILL_2026-11-08.md (tiling-tool code, positioning offsets). Statements below were re-measured on NukeX 17.0v2.
nuke.createNode(cls) wires input 0 to the SELECTED node and selects the new node, so consecutive createNode calls chain. inpanel=False does not stop it.nuke.nodes.X() never connects: with a node selected, a new Transform had input 0 empty (measured). The 1.0.0 claim that it "may still auto-connect" was WRONG. Deselecting is harmless but not needed.setXYpos() relative to the input (xpos()+200, ypos()+100), then setInput() explicitly.Reformat: type = 'to box', box_width, box_height, box_fixed = True, resize = 'none', center = True (default). Measured: a 1920x1080 white ramp (0 at x=0, 1 at x=1920) through a 1024x1024 box read 0.28542 at output pixel (100,500), i.e. input pixel (548,528) = the middle crop; resize = 'width' scaled it (0.0979) and center = False read 0.0521 (bottom-left crop).
channel3 = 'mask' (assigning 'mask.a' is normalised to mask and gives the same result - the 1.0.0 "Pitfall 4" is not a pitfall), expr3 = smoothstep(a, b, x), channel0..2 = 'none'.Premult with alpha = 'mask.a', channels = 'all'.Merge2 operation = 'plus' (weights sum to 1 in the overlap). Measured with tile colours 0.2 and 0.8 and a 100-200 smoothstep: 0.2 / 0.5 / 0.8 at x = 50 / 150 / 250. (Not measured here: over on the same tiles.)node.input(0).name() for every node you wired; sample three known pixels of the final node.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sideshowroberto/vfx-agent-toolkit --plugin nuke-vfx5 skills in this plugin
/nuke-blinkscriptVerified BlinkScript traps in Nuke 17 - kernelSource.setValue silently keeps the default kernel, a compile error in the GUI raises a modal dialog that wedges the MCP bridge, param knobs are Kernel_param, eAccessPoint takes no coordinates, eAccessRanged2D without setRange segfaults. Use when writing, loading or debugging a BlinkScript or .blink kernel from Python or the MCP./nuke-cattery-inferenceVerified Cattery traps in Nuke 17 - CatFileCreator knob is torchScriptFile (capital S), Inference tileSize only takes None/1024/2048/4096 (512 errors), torch is not importable from Nuke Python, cat.json minimum_nuke_version_required gates discovery, setting modelFile blocks the bridge. Use when tracing a PyTorch model for Nuke, building a .cat, installing a Cattery package or setting up an Inference node./nuke-particle-blinkscriptOther plugins' skills for the same job