Skip to content
Mobile
Skill

/speech

Recognize speech on connected glasses and consume partial and final transcriptions on iOS

From plugin
meta-wearables-dat-ios
58917 skills

Claude Code

$ npx -y skills add meta/meta-wearables-dat-ios --skill speech --agent claude-code

SKILL.md

speech.SKILL.md
name: speech
description: Recognize speech on connected glasses and consume partial and final transcriptions on iOS

Speech (iOS)

Speech is an experimental on-device recognition capability. Enable it for the app in Wearables Developer Center and obtain microphone permission before starting it.

Request permission deliberately

Check permission silently first with `checkPermissionStatus(.microphone)`. If it is not granted, call `requestPermission(.microphone)` only after a user action that explains the transition to the Meta AI app, and continue only when the result is `.granted`.

Attach and start

Add Speech after the `DeviceSession` reaches `.started`. Register listeners before `start()` so initial state, locale, errors, and transcription events are not missed.

guard let speech = try session.addSpeech() else { return }

speech.transcriptionPublisher.listen { result in
  if result.isFinal {
    commitTranscript(result.text)
  } else {
    showPartialTranscript(result.text)
  }
}.store(in: tokens)

speech.start()

Retain the listener token while Speech is attached. Observe `statePublisher`, `localePublisher`, and `errorPublisher` when the app needs lifecycle, locale, or failure updates.

`confidence` is between 0 and 1, or `-1` when unavailable. Do not discard a transcription just because confidence is unavailable.

Stop and remove

`speech.stop()` keeps Speech attached and allows another `start()`. Cancel listener tokens before calling `session.removeSpeech()`; removal is terminal.

Handle device disconnection, invalid state, unavailable recognition, already-listening, start failure, and unexpected errors through `errorPublisher`.

Test with MockDeviceKit

After Speech is listening, inject results with calls such as `glasses.services.speech.simulateTranscription(text: "turn left", isFinal: true, confidence: 0.9)`. The service can also inject locale changes, partial text, completion, and recognition errors. The live host-device ASR source is for manual MockDevice testing; real-glasses recognition uses the glasses microphone.

Availability

Speech is experimental. Apps can use it for development and beta testing, but cannot publish it to production release channels yet.

Read more
@facebook
Ships withmeta-wearables-dat-ios

The Meta Wearables Device Access Toolkit enables developers to utilize Meta's AI glasses to build hands-free wearable experiences into their mobile applications.

Stars on GitHub

Momentum

stars in total
589
Star history of facebook/meta-wearables-dat-ios on GitHub, a chart by star-history.com

Other skills on meta-wearables-dat-ios.

More skills from other plugins.

deep-code-review

deep-code-review

In-depth design-focused code review - understands codebase context before evaluating PR changes, posts structured feedback to…

expo12d53k
@expo@expoInstall Skill
modlens

modlens

Plug-in vision for text-only models. Hard rule: when a file path or URL with an image extension (.png, .jpg, .jpeg, .webp, .gif,…

modlens4w4.6k
@liustack@liustackInstall Skill
appllama-app-design-skill

appllama-app-design-sk…

Build native-feeling, benchmark-quality mobile app screens (Expo / React Native). Use when designing or implementing any mobile…

appllama2mo3.9k
@appllama@appllamaInstall Skill

Questions about speech.

Which coding agents can use speech?
speech installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.