install yarn yarn install place your sketch in sketch.js run yarn convert your sketch will be converted to instance mode and output to sketch.inst.js