verify-preview

Verify and screenshot a running Lens in the Lens Studio preview with runtime captures and log checks.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Confirming that a Lens edit produces the expected runtime behavior requires manual preview checks, screenshots, and log inspection, which is slow and error-prone without a structured QA pass. ## Core Features & Use Cases - Runtime Capture: Capture object-framed or scene-wide views of the running Lens preview with CaptureRuntimeViewTool and judge them against code context. - Interaction Testing: Drive one interaction via PreviewInteractTool or InjectPreviewGesture, then re-capture to compare behavior before and after. - Log-Based Diagnosis: Collect runtime logs with RunAndCollectLogsTool to distinguish script crashes from rendering issues. - Use Case: After editing a Lens script, ask the agent to verify the Lens; it resets the preview, captures the relevant view, triggers an interaction, checks logs, and reports per-expectation verdicts backed by images and quoted log lines. ## Quick Start Ask the agent to verify the current Lens in the Lens Studio preview and confirm the recent edit behaves as expected.

Frequently Asked Questions about verify-preview

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

FAQPage Schema
How do I verify a Lens in the Lens Studio preview?

Run a structured QA pass: reset the preview environment, capture the relevant runtime view, drive one interaction, check logs for errors, and report verdicts backed by captures. Each expectation should be confirmed with an image or a quoted log line.

How do I screenshot a running Lens preview?

Use CaptureRuntimeViewTool with object-framed mode (uniqueIds and isolate) to inspect a specific object, or scene mode for overall composition. Re-capture after any change, since stale image files are not valid evidence.

Why does preview interaction return unknown_command?

The unknown_command error means the Lens lacks AgentInteractScript; the MCP layer auto-installs only the inspect side. This is an infrastructure setup gap, not a feature failure, and is resolved through the preview interaction setup.

Why does the Lens preview look empty or wrong?

A visually empty scene is often a script crash rather than a rendering issue, so check runtime logs with RunAndCollectLogsTool first. Also reset the preview environment, since stale interactions or leftover spawned objects can poison the evidence.

Can a single screenshot verify animated Lens content?

No, animated content can be misleading in a single frame. Capture at two or more timestamps before judging motion, and prefer object-framed captures when checking one object since scene-wide shots hide small defects.