/ls-clad:specs-leaf-install-packagesfrom ls-clad
Verifies the LEAF testing framework is installed in a Lens Studio project and installs it if missing. Use before writing or running LEAF tests.
Ships in ls-clad. 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.
None: SKILL.md is the whole skill.
Prefer the
live-lens-tester(Live Lens Tester) for end-to-end LEAF workflows. The agent runs this skill as its first step before authoring scenarios. This skill can also be run standalone to install packages without writing tests.
This skill requires the Lens Studio MCP server for listing, searching, and installing packages. If MCP tools are not available, stop and report the error to the user — do not attempt to detect or install packages via shell commands.
Use the Lens Studio MCP tool that lists installed packages as the primary detection method. Do NOT use shell commands to scan directories — always start with MCP.
LEAF ships as a single package:
Leaf (installs as Leaf.lspkg)The package listing tool only finds packages with a registered NativePackageDescriptor. Packages that were manually copied into the project won't appear. If no LEAF package is returned, run a secondary check with Glob:
**/Leaf.lspkg
If Leaf is found, report "LEAF is already installed" and proceed to Step 4 (verify InteractionKit).
If it is missing, continue to Step 2.
LEAF depends on InteractionKit (required for all interactors; Bitmoji 3D is pulled in automatically for inverse-kinematics scenarios).
Check the package listing results for InteractionKit.
If InteractionKit is not installed:
ensure-package-installed skill to install InteractionKit firstIf InteractionKit is installed, note the version for compatibility.
If the project has an older InteractionKit version and compilation fails due to InteractionKit/LEAF mismatches, ask the user whether they want to update InteractionKit. To update, update the installed package in place via per-package pullUpdate(desc) using the update-lens-packages skill — do not install InteractionKit again, which creates a duplicate copy. Note that updating InteractionKit might cause new compilation errors in the project that need to be resolved. When resolving errors, do not modify the code in the LEAF or InteractionKit packages — adapt the project code to match the new APIs.
Locate the package in the Lens Studio Asset Library by name, then install the most recent version:
keywordFilter: ["Leaf"] and onlyMostRecent: true. The matching asset is named exactly Leaf.Leaf result — ignore unrelated matches (decorative leaf assets, segmentation models, etc.). Take the most-recent resource and read its uri.packageUri and assetName: "Leaf" so the directory is created with the correct name and import paths (Leaf.lspkg/...) resolve.If the search returns no Leaf asset, stop and report the error — suggest the user install LEAF manually from the Lens Studio Asset Library.
List installed packages again via MCP and confirm Leaf now appears. Optionally confirm Leaf.lspkg exists on disk via Glob.
Also search for an existing LeafIndex file (scenariosIndex keyword). If none exists, inform the user that they'll need one when writing tests (the specs-leaf-write-scenarios skill handles this).
Report LEAF version installed (or already present), InteractionKit version, whether a LeafIndex exists, and installation status. On failure, suggest manual installation from the Lens Studio Asset Library.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lens-studio-devs/ls-extensions --plugin ls-clad74 skills in this plugin
/build-imageGenerate a 2D image from a text prompt via SPECS text-to-image, to Assets/GeneratedImages/<Name>.png (build-mesh reference, texture, or screen-space). Transparent RGBA cutout, cropped tight, by default; opt out for an opaque image.
/build-meshGenerate a 3D mesh, model, or asset for a Lens — build, create, or make props, characters, scenery. Four peer backends chosen per asset: SPECS text-to-3D (static default — best texture fidelity, async minutes-long jobs), FAST3D (faster static AI props), code-authored MeshBuilder via the mesh-builder-scripting skill (articulated, animated, parametric TypeScript content), and Blender voxel (blocky aesthetic; the only source of rigged GLBs). GLB backends return the file plus AABB metadata so the caller can size colliders and place the mesh in the world.
/Other plugins' skills for the same job