Checks that the input is a skeleton and normalizes its bones.
Closed polygons in the input stop the cook with an error (mesh merged into the skeleton upstream). Joint chains drawn as long polylines are split into one two-point bone per joint pair, and packed cage prims pass through. Optionally writes depth, child count and parent id per joint and sorts the points by hierarchy.
A KineFX skeleton: joints as points, bones as open polylines.
The skeleton with the change.