/mas-3d-games:houdinifrom mas-3d-games
Automates SideFX Houdini with VEX and hou/hython scripting, cooks PDG/TOPs dependency graphs, tunes Vellum/FLIP/Pyro solvers, and debugs Solaris/Karma XPU renders. Useful for procedural VFX, USD pipelines, and headless farm workflows.
Ships in mas-3d-games. 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.
SideFX Houdini is a procedural VFX / USD pipeline DCC. Agents should treat .hip files as graphs of cooks, caches as versioned artifacts ($HIP/cache/...), PDG/TOPs as dependency contracts (not “hope files appear”), and Karma as a Hydra delegate with MaterialX GPU constraints. Automation runs through hython / hbatch, VEX in wranglers, and Solaris LOPs for USD lighting/render.
┌─────────────────────────────────────────────────────────────┐
│ Houdini cook → cache → render │
│ │
│ Contexts │
│ ├── SOPs geometry / modeling │
│ ├── DOPs: FLIP, Pyro, Vellum, RBD │
│ ├── LOPs / Solaris USD stage │
│ └── TOPs / PDG wedges & farm distribute │
│ │
│ Code │
│ ├── VEX (SIMD attrs: @P @v @orient @pscale) │
│ ├── hou Python 3.x via hython │
│ └── hbatch HScript for legacy ROPs │
│ │
│ Render │
│ └── Karma CPU / XPU + MaterialX + AOVs / Cryptomatte │
└─────────────────────────────────────────────────────────────┘
Version pins: document Houdini major.minor.build (e.g. 20.5.x) and packages JSON in every pipeline README. $HOUDINI_PATH / package order breaks farms silently.
Use when
Do not use when
@cinema-4d.hou.hipFile.load(..., suppress_save_prompt=True); catch hou.Error; sys.exit(1) on failure.$HIP-relative cache paths; avoid absolute artist home dirs on the farm.$PDG_DIR, $HIP) match downstream expected paths; Dirty & Cook after path fixes.hou.applicationVersionString() at job start for reproducibility.hserver / scheduler docs from the user.bake_rop.py:
"""Headless ROP cook.
Usage: hython bake_rop.py <scene.hip> <rop_path> [start] [end]
"""
from __future__ import annotations
import os
import sys
import hou
def bake(hip_path: str, rop_path: str, start: int | None, end: int | None) -> None:
if not os.path.isfile(hip_path):
print(f"HOU_PIPELINE_FAIL missing hip: {hip_path}", file=sys.stderr)
sys.exit(1)
print("houdini", hou.applicationVersionString())
hou.hipFile.load(hip_path, suppress_save_prompt=True, ignore_load_warnings=True)
node = hou.node(rop_path)
if node is None:
print(f"HOU_PIPELINE_FAIL missing node: {rop_path}", file=sys.stderr)
sys.exit(1)
if start is not None and end is not None:
node.parm("trange").set(1)
node.parm("f1").set(start)
node.parm("f2").set(end)
node.parm("f3").set(1)
try:
node.render(verbose=True, output_progress=True)
except hou.Error as exc:
print(f"HOU_PIPELINE_FAIL cook: {exc}", file=sys.stderr)
sys.exit(1)
print("bake OK", node.path())
if __name__ == "__main__":
if len(sys.argv) < 3:
print("Usage: hython bake_rop.py <hip> <rop> [start] [end]", file=sys.stderr)
sys.exit(2)
s = int(sys.argv[3]) if len(sys.argv) > 3 else None
e = int(sys.argv[4]) if len(sys.argv) > 4 else None
bake(sys.argv[1], sys.argv[2], s, e)
Point Wrangle (orient instances along curl noise):
vector freq = chv("frequency");
vector offset = chv("offset") + @P * freq;
vector noise_v = curlnoise(offset);
@v = lerp(@v, noise_v * chf("speed"), chf("noise_blend"));
vector up = {0, 1, 0};
if (length(@v) > 1e-3) {
matrix3 m = maketransform(normalize(@v), up);
@orient = quaternion(m);
}
float life_ratio = @age / max(@life, 1e-6);
@pscale = chf("base_scale") * (1.0 - smooth(0.7, 1.0, life_ratio));
Validation loop:
hython -c "import hou; print(hou.applicationVersionString())"
hython bake_rop.py shot.hip /out/geometry_cache 1001 1100
hbatch -c "render -Va /out/geometry_cache" shot.hip
| Signature | Likely cause | Fix path |
|---|---|---|
| FLIP explodes F1 | Separation too coarse / divergence | Lower particle separation; Min Substeps 2–4; collision separation |
| Vellum penetrate / stick | Substeps or thickness | Solver substeps 25–40; reduce thickness; Layer Shock Absorber |
| Karma XPU → CPU | Non-MaterialX VOPs | Replace with mtlxstandard_surface; check console XPU_WARNING_* |
| PDG items hang | Output path tokens wrong | Service Monitor logs; fix $HIP/$PDG_DIR; Dirty & Cook |
| Missing HDA on farm | $HOUDINI_PATH / packages | Sync packages/*.json; set HOUDINI_DSO_ERROR=1 |
| Non-deterministic wedge | Unseeded noise / wall-clock | Seed noise; pin frame; avoid time-based random |
packages/*.json with tools—not hand-edited monolithic houdini.env when avoidable.@name / path conventions for USDs so LOP composition stays stable.@cinema-4d — MoGraph / Redshift motion design@blender — bpy / Cycles open pipeline@substance-painter — texture authoring for exported meshes@unreal-engine — real-time destination for USD/FBXMANDATORY: Prefer vectorized VEX for geometry; use hython with non-zero exits for batch. Pin Houdini build + packages. Fix solver substeps/collisions before resolution blow-ups. Keep Karma XPU on MaterialX. Never invent license or farm credentials.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin mas-3d-games8 skills in this plugin
/blenderAutomate Blender scenes with the bpy Python API, build Geometry Nodes workflows, configure Cycles or EEVEE renders, and troubleshoot headless batch jobs./cinema-4dScript Cinema 4D scenes with c4dpy and the Maxon API, wire MoGraph/Fields systems, and debug Redshift GPU renders, AOVs, and headless Commandline farm jobs agents routinely miss./godotBuild Godot 4 scenes and GDScript workflows, inspect physics behavior, and configure headless project exports.Other plugins' skills for the same job
2 plugins in one repository ship this exact skill · first indexed Oct 25, 2026