specs-leaf-install-packages

Detects and installs the LEAF testing framework package in Lens Studio projects via MCP.

16|2|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/lens-studio-devs/ls-extensions --skill specs-leaf-install-packages-lens-studio-devs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: specs-leaf-install-packages
Source: https://github.com/lens-studio-devs/ls-extensions/tree/main/plugins/ls-clad/skills/specs-leaf-install-packages
Command: npx skills add https://github.com/lens-studio-devs/ls-extensions --skill specs-leaf-install-packages-lens-studio-devs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up the LEAF testing framework in a Lens Studio project requires locating the correct package in the Asset Library, matching it to the installed Spectacles Interaction Kit (SIK) version, and verifying the installation — a manual process that is easy to get wrong. ## Core Features & Use Cases - Automated Detection: Lists installed packages through the Lens Studio MCP server and falls back to a Glob check for manually unpacked Leaf.lspkg files. - Version-Matched Installation: Detects the SIK version, installs SIK first if missing, then searches the Asset Library for the most recent Leaf package and installs it with the correct asset name. - Verification & Reporting: Confirms the Leaf package appears after install, checks for an existing LeafIndex file, and reports LEAF and SIK versions. - Use Case: Before writing or running LEAF tests in a Lens Studio project, run this skill to guarantee the framework is present and compatible with the project's SIK version. ## Quick Start Ask the agent to verify that the LEAF testing framework is installed in this Lens Studio project and install it if missing.

Frequently Asked Questions about specs-leaf-install-packages

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install the LEAF testing framework in Lens Studio?

Use the Lens Studio MCP package tools to search the Asset Library for the Leaf package and install the most recent version with assetName set to Leaf. The skill detects existing installations first and matches the SIK version automatically.

How do I check which packages are installed in a Lens Studio project?

Use the Lens Studio MCP tool that lists installed packages as the primary method. For packages manually copied into the project without a registered NativePackageDescriptor, run a Glob search for the .lspkg file pattern as a fallback.

Does LEAF require Spectacles Interaction Kit in Lens Studio?

Yes, LEAF depends on SpectaclesInteractionKit for all interactors, and Bitmoji 3D is pulled in automatically for IK scenarios. If SIK is missing, it must be installed before LEAF, and version mismatches can cause compilation errors.

Why does my Lens Studio project fail to compile after installing LEAF?

Compilation failures usually come from a mismatch between the SIK and LEAF versions. Updating SIK via the MCP package install tool can resolve this, but you must adapt project code to the new APIs rather than modifying LEAF or SIK package code.

Can I install Lens Studio packages without the MCP server?

No, this workflow requires the Lens Studio MCP server for listing, searching, and installing packages. If MCP tools are unavailable, the skill stops and reports the error rather than attempting shell-based detection or installation.