/nuke-vfx:nuke-blinkscriptfrom nuke-vfx
Documents verified BlinkScript traps in Nuke 17: kernelSource.setValue silently keeps default kernel, compile errors in GUI wedge MCP bridge, param knobs use Kernel_param naming, eAccessPoint takes no coordinates, eAccessRanged2D without setRange segfaults. Use when writing, loading, or debugging BlinkScript or .blink kernels from Python or MCP.
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.
Measured on NukeX 17.0v2 (nuke-round3 probes 2026-11-08, live GUI 2026-11-09; ClaudeCode/evals/nuke-round3/ANALYSIS.md) unless a trap says otherwise.
Never compile an untested kernel in an artist's live GUI. Wrong: loading a new or edited kernel straight
into the GUI session through the MCP. A compile error raises a MODAL dialog ("Error compiling kernel: File
KPoint.blink, Line 5: no matching function for call to object of type 'Image'") and every later bridge call
reports "still running after 30 s" while Nuke sits idle, until a person clicks OK. Right: compile the .blink
headless first - nuke -t --safe with a script that loads it (trap 2) and renders one pixel; compile errors
print only on that console, and node.error() is just a bool. Verify: the headless run shows no compile
error, kernelName reads your kernel's name and a sampled pixel has the expected value - then load it in
the GUI.
kernelSource.setValue() does nothing. Wrong: node['kernelSource'].setValue(text) +
node['recompile'].execute() - the node stays on the default Swirlomatic kernel (GUI and -t; red 0.5
where the test kernel gives 0.25), yet kernelSource.value() returns your text, so reading the source
back lies. Right: write the kernel to a .blink file, set node['kernelSourceFile'], then
node['reloadKernelSourceFile'].execute() - works in the GUI and in nuke -t --safe (param knobs are
created headless too). Verify: node['kernelName'].value() and a pixel, never the source text. Working
scripted build: examples/glass_blink_build.py with examples/GlassRefract.blink.
Param knobs are <KernelName>_<param>. Wrong: node['thickness'] (does not exist). Right:
node['SimpleOverlay_thickness']; per-input channel knobs are <KernelName>_<input> (e.g.
GlassRefract_src). Types: float4 -> AColor_Knob (colour picker), float3 -> XYZ_Knob, float2 -> XY_Knob.
Verify: list [k for k in node.knobs() if k.startswith(kernelName + '_')] before setting, and treat a
missing knob as a failed compile, not a typo.
eAccessPoint images take no coordinates. Wrong: Image<eRead, eAccessPoint> src; then
src(pos.x - 50, pos.y) - compile error "no matching function for call to object of type Image" (the
KPoint.blink error in trap 1), wherever the call sits. Right: src() on eAccessPoint; src(dx, dy)
relative on eAccessRanged2D; src(x, y) absolute on eAccessRandom. Verify: headless compile (trap 1).
eAccessRanged2D without setRange can crash Nuke, not just fail to compile. Wrong: a param-driven
offset src(-off, 0) on eAccessRanged2D with no range declared - it compiled and then segfaulted headless
Nuke (exit 139). Right: void init() { src.setRange(-100, 0, 100, 0); } covering the largest offset (then
compiles and samples correctly), or use eAccessRandom with absolute coordinates. Verify: render a pixel at
the maximum offset headless and compare to the input shifted by hand.
Old advice that is false on 17.0v2 - do not design around it. "No image access in helper functions":
a member float4 fetch(int x, int y) { return src(x, y); } on an eAccessRandom image compiled and returned
the right pixel. "eAccessRanged2D with a param offset fails to compile": it compiles (trap 5 is the real
hazard). "-t never creates param knobs": reloadKernelSourceFile creates them headless.
Do not name a helper bilinear. Blink ships a built-in bilinear(img, x, y); a member function of
the same name clashes (GlassBlink build, 2026-11-06). Pick another name. Verify: headless compile.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sideshowroberto/vfx-agent-toolkit --plugin nuke-vfx5 skills in this plugin
/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-node-tree-patternsVerified patterns for building Nuke node trees from Python - what auto-connects, cropping with Reformat 'to box', blending overlapping pre-masked tiles with an Expression mask, Premult and a plus Merge. Use when a script must wire, position or blend generated nodes, or for tile-and-blend tools./nuke-particle-blinkscriptVerified ParticleBlinkScript and procedural-particle traps in Nuke - loads kernels via kernelFile + loadKernelFile and makes no param knobs headless, bundled Particle* gizmo params have no kernel prefix (paDirection), ParticleEmitter takes emit geo on input 1, image y points up. Use for custom Nuke particles, Particle* gizmos, or BlinkScript snow, embers, dust or sparks overlays./nuke-python-scriptingTraps for scripting Nuke through the MCP bridge - Roto shapes via nuke.rotopaint (animated points, subtract shapes), Merge2 on alpha-only channels, sampling per frame, tuple kwargs corrupting nuke.views(), headless -t, version-up. Use before writing nuke Python, scripted Roto, or a bridge read-back.Other plugins' skills for the same job