specs-asr

Implement real-time speech-to-text transcription on Spectacles using the Lens Studio ASR Module.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Adding voice input to Spectacles lenses requires correctly configuring the Lens Studio ASR Module, handling partial versus final transcripts, managing session lifecycles, and avoiding common pitfalls like starting transcription in onAwake. This Skill provides the canonical patterns and runnable components for streaming speech-to-text on Specs. ## Core Features & Use Cases - ASR Session Setup: Configure AsrTranscriptionOptions with silence timeout and accuracy modes (HighAccuracy, Balanced, HighSpeed), then start and stop transcription safely from OnStartEvent. - Transcript Event Handling: Process partial and final transcription updates and handle error codes such as InternalError, Unauthenticated, and NoInternet. - Voice-to-AI Pipelines: Route final transcripts into Gemini or OpenAI assistants for chat, query, and summarization experiences. - Use Case: Build a voice-controlled chat lens where a user speaks a question, the ASR Module finalizes the transcript after 1-2 seconds of silence, and the text is sent to an LLM for a spoken or displayed response. ## Quick Start Use the specs-asr skill to add real-time speech-to-text transcription to my Spectacles lens component.

Frequently Asked Questions about specs-asr

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

FAQPage Schema
How do I add speech-to-text to a Spectacles lens in Lens Studio?

Require the LensStudio:AsrModule, create AsrTranscriptionOptions with a silence timeout and mode, register update and error callbacks, then call startTranscribing. Session setup must run inside an OnStartEvent handler, not onAwake.

How do I send voice input from ASR to an LLM like Gemini or OpenAI?

Listen for transcription updates where isFinal is true, then pass the finalized text to your assistant's send method. Partial transcripts update frequently and should not be sent; only final phrases represent complete user input.

What are the requirements for using the ASR Module on Spectacles?

The ASR Module requires Lens Studio v5.9 or later and Snap OS v5.61 or later, and works only on Spectacles. It needs an internet connection for streaming transcription, and enabling ASR disables camera frame access unless Extended Permissions are used.

Is the ASR Module good for voice commands or keyword spotting?

No, ASR is not recommended for voice commands or keyword spotting. Partial transcripts churn, finals arrive late, and short command words are often misrecognized. Use fallback inputs like pinch, button, or gaze for command triggers.

Why does my ASR transcription not start in Lens Studio?

A common cause is calling startTranscribing inside onAwake, which is not supported. Move session creation and startTranscribing into an OnStartEvent handler, and verify the device meets the Lens Studio and Snap OS version requirements.