/ls-clad:lens-debugfrom ls-clad
Routes Lens Studio runtime bug symptoms (invisible, glitchy, pink material, handler not firing, physics issues) to the correct specialist. Includes triage rules, pacing guidance, and scene verification steps.
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.
Read when SKILL.md points to them.
Symptom: $ARGUMENTS
Router, not a fix-list. Apply the rules below, then use the Decision tree to find the right specialist. Symptom-keyed triage cards live in references/known-issues.md — load that file only when a Decision-tree row points there.
Every check below assumes the Lens compiles and runs. If it doesn't, screenshots, scene queries, and logs return nothing — you'll debug the wrong layer.
ls-clad:lens-log-analysis. Missing package / @component not registered / onAwake exception all cascade.scene-graphql MCP tool (syntax covered by scene-construction → references/scene-graphql.md) to confirm objects, components, and @input references resolve.If a later tool returns empty, re-check this layer before going deeper.
console.debug — then read the data, not your prior theory.Some misses are expected per Pacing — a couple of failed guesses plus an incremental round is normal. But if even the incremental fallback (clean log, scene query, instrumented re-run) hasn't landed, stop. Further attempts without new information introduce more bugs than they fix. Ask the user for:
scene-graphql query output.Concrete asks beat open-ended ones. "Share the screen recording around the failure" > "any extra info?"
The preview's background (coffee table, face, hands, room) is not in your scene hierarchy — it's a recorded/synthesized AR backdrop.
WorldMesh with occluder material, or Head Occluder for face Lenses)."Object floating in front of the table" = expected without an occluder. "Object behind the table when it shouldn't be" = occluder config, not transforms.
| Symptom | Section |
|---|---|
| Invisible / wrong place / glitchy | Invisible, wrong place, or glitchy |
| Pink material / missing texture / color leak | Colors / textures look wrong |
| Layout wrong / objects overlap | Layout wrong at runtime |
| Symptom | Section |
|---|---|
| Stays glued to head / not world-anchored | Content stays glued to the camera |
| Handler never fires / one-shot event missed | Handler never fires |
| Async asset null / dynamic component not set up | Asset or dynamic object not ready |
| Physics object drifts off / vanishes | Physics object isn't where you put it |
| Symptom | Load |
|---|---|
TS / scripting bug (compile, runtime, @input, fetch null, event timing/leak) | lens-api → references/debugging.md |
| Specs subsystem (IK / RSG / SyncKit / SnapML), VIO/SLAM tracking | ls-clad:specs-debug — in addition to this orchestrator |
| Read or filter the Lens log | ls-clad:lens-log-analysis |
| Inspect current scene state | scene-construction → references/scene-graphql.md, then query with scene-graphql |
If you can't place the symptom, default to the TS / scripting bug row.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
74 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.
/build-musicGenerate musical phrases, chord progressions, beats, jingles, and short pieces via local algorithmic synthesis. Sample-free, license-clean, fully offline. Scale-degree composition, pattern-based arrangement, frequency-separated mixing rules. Outputs 44.1 kHz stereo WAV to Assets/GeneratedSFX/./build-sfxGenerate non-pitched sound effects (UI, impacts, sweeps, foley, ambient textures, retro 8-bit) via local algorithmic synthesis. Outputs 44.1 kHz WAV to Assets/GeneratedSFX/. For musical phrases or chord progressions use /build-music instead./camera-and-renderingCamera configuration, 2D/screen-space rendering, RenderMeshVisual patterns, and visibility debugging for Lens Studio scene construction. Use when setting up cameras (orthographic/perspective), creating screen-space content (ScreenTransform, Image, Text), debugging invisible objects, or planning any scene involving rendering config./editor-apiExecuteEditorCode contract and Editor API paradigms — runtime, access patterns, gotchas, references. Use before writing Editor API TS (`pluginSystem.findInterface`, `LensStudio:*`), grepping `editor.d.ts`, or routing to scene/asset-graphql.npx claudepluginhub lens-studio-devs/ls-extensions --plugin ls-cladOther plugins' skills for the same job