inspect-glb
Installation
SKILL.md
Inspect GLBs
Inspect models before choosing transforms or animation names. Shortlist files; do not dump a whole asset pack into context.
Read the JSON chunk
A GLB's first chunk is JSON holding every name, readable without decoding geometry, even when compressed:
import { readFileSync } from 'node:fs';
const b = readFileSync('model.glb');
const gltf = JSON.parse(b.toString('utf8', 20, 20 + b.readUInt32LE(12)));
Print only the fields you need: