ai-mesh-cleanup
Installation
SKILL.md
AI Mesh Cleanup
Trigger
Use this skill when the user:
- Has a generated or scanned GLB/glTF/FBX that is not engine-ready
- Mentions unit scale, unapplied transforms, triangle budget, LOD, or a collision hull
- Wants a headless cleanup pass (import in, cleaned mesh out)
- Is about to run mesh operators on an import without checking scale
This skill is the ordered pipeline. It composes depsgraph-and-evaluated-data and mesh-editing-and-bmesh; it does not replace them. It does not generate meshes and does not call any generation vendor.
The core misunderstanding
An imported generated mesh is not a game asset. Typical residue: object scale not identity, scene units not meters, origin in the wrong place, inverted normals, triangle soup over budget, no collider. Running decimate or export on that state bakes the pathology in.
Do the cleanup in this order. Skipping a step makes later measurements lie.