From lens-studio-core
Verifies Lens Studio package installation and installs missing ones from Asset Library, handling SpectaclesUIKit dependency on SpectaclesInteractionKit. Use for workflows needing specific packages.
How this skill is triggered — by the user, by Claude, or both
Slash command
/lens-studio-core:ensure-package-installedThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Verify a required package is present in the project, installing it if necessary.
Verify a required package is present in the project, installing it if necessary.
If package_name is "SpectaclesUIKit" (or contains "UIKit"):
package_name = "SpectaclesInteractionKit" before proceedingUse ListInstalledPackagesTool with includeDetails: false to get all installed packages.
Scan the results for a case-insensitive substring match against package_name:
"SpectaclesUIKit" matches "SpectaclesUIKit""UIKit" matches "SpectaclesUIKit"If a match is found → report "already installed" and exit successfully.
If not installed, use SearchLensStudioAssetLibrary with:
query: the package_name valuetype: "Package" (if the tool supports type filtering)Identify the correct result from the search by matching the package name. Extract its URI or identifier.
Use InstallLensStudioPackage with the URI obtained from the search result.
Wait for installation to complete.
Use ListInstalledPackagesTool again and confirm the package now appears in the list.
Report:
npx claudepluginhub snapchat/lens-studio-plugins --plugin lens-studio-coreManages Unity assets: dependency inspection, reference integrity checks, prefab/scriptable-object creation, and package add/remove via the `u` CLI.
Controls the Unity Editor from the terminal via the `ucp` CLI. Automates scenes, GameObjects, assets, builds, tests, packages, and profiling over a WebSocket/JSON-RPC bridge.
Unity 6 packages and services guide. Use when working with Package Manager, installing/updating packages, scoped registries, or Unity Gaming Services (Authentication, Cloud Save, Analytics, Leaderboards, Matchmaker). Covers essential packages list and version compatibility. Based on Unity 6.3 LTS documentation.