api-web-view

Embed HTTPS pages, web apps, or videos into Lens Studio AR scenes via WebView.

Updated Jun 24, 2026
One-click install
npx skills add https://github.com/specs-devs/agentic-tools --skill api-web-view
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-web-view
Source: https://github.com/specs-devs/agentic-tools/tree/main/skills/api-web-view
Command: npx skills add https://github.com/specs-devs/agentic-tools --skill api-web-view

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Embeds live web content into AR scenes using WebView to display HTTPS pages, web apps, or YouTube videos inside a Lens experience. Enables integration with SIK for hand interaction and keyboard input in experimental API environments.

Core Features & Use Cases

  • WebView renders to a texture and displays via RenderMeshVisual; scale must match the resolution aspect ratio to keep UI correct in AR.
  • Script API access allows navigation and lifecycle control (setUrl, reload, goBack, goForward, setUserAgent) and monitoring current state.
  • Use cases include embedding help docs, YouTube videos, or web-based UI panels within AR scenes.

Quick Start

Install the WebView package from Asset Library, enable Experimental APIs, and attach the WebView script to a Scene Object to begin loading a URL.

Frequently Asked Questions about api-web-view

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

FAQPage Schema
How do I embed live web content into an AR scene?

To embed live web content into an AR scene, attach the WebView script to a Scene Object to render HTTPS pages, web apps, or videos onto a texture within Lens Studio.

Do I need to enable experimental APIs to use WebView in Lens Studio?

Yes, you must enable Experimental APIs in Lens Studio and import the WebView package from the Asset Library before loading a URL into your AR experience.

Can I display YouTube videos and help docs using WebView in AR?

Yes, WebView displays live YouTube videos, help docs, and web-based UI panels in AR by rendering HTTPS pages to a texture via RenderMeshVisual.

How do I control WebView navigation and lifecycle inside Spectacles?

You control WebView navigation and lifecycle using Script API methods like setUrl, reload, goBack, goForward, and setUserAgent to monitor the current state in Lens Studio.

Why does my web UI look distorted when displayed in AR?

Web UI looks distorted in AR if the RenderMeshVisual scale does not match the configured resolution aspect ratio, so you must align the scale and resolution to keep the UI correct.