/mwdat-ios:voice-invocationsfrom mwdat-ios
Handles iOS voice invocations from Meta AI ("Hey Meta, start {app name}") — launching or foregrounding an app and acknowledging each action via VoiceInvocationsStream.
Ships in mwdat-ios. 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.
None: SKILL.md is the whole skill.
Voice Invocations lets Meta AI launch or foreground an app when the wearer says “Hey Meta, start {app name}.” It is a Wearables-level stream, not a DeviceSession capability, and does not require a running device session.
Register the bundle identifier, request Voice Invocation approval, and configure the spoken app name in Wearables Developer Center. Do not add invocation phrases to Info.plist. Voice Invocations does not require camera or microphone permission.
VoiceInvocationsStream is @MainActor. Retain the stream and both listener tokens for as long as the app should receive actions. Register listeners before starting.
let newStream = try VoiceInvocationsStream(wearables: Wearables.shared)
stream = newStream
invocationToken = newStream.invocationsPublisher.listen { invocation in
guard let launch = invocation as? LaunchApp else { return }
navigateToMainScreen()
Task {
_ = await launch.responseHandle.sendSuccess(actionOutput: nil)
}
}
errorToken = newStream.errorPublisher.listen { error in
showError(error.localizedDescription)
}
try newStream.start(deviceIdentifier: deviceIdentifier)
Store stream, invocationToken, and errorToken on the @MainActor owner. Every delivered invocation must be acknowledged exactly once with sendSuccess or sendFailure. The Boolean result indicates whether the response was delivered.
The initializer can throw invalidWearablesInterface. Starting can throw deviceNotFound or channelNotConnected; later communication failures arrive through errorPublisher. Starting again switches the stream to the new device.
stop() is safe when inactive, and the same stream can start again later. Stop the stream and release its listener tokens when the owning app component is done.
To test without hardware, check glasses.services.voiceInvocation.hasConnectedApps before calling simulateLaunchAppAction(). Use simulateIncompleteAction() to confirm malformed actions produce an error rather than an invocation.
Voice Invocations is experimental. Apps can use it for development and beta testing, but cannot publish it to production release channels yet.
See the Voice Invocations guide.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub meta/meta-wearables-dat-ios --plugin mwdat-ios18 skills in this plugin
/audio-streamingReceive synchronized PCM audio frames through a Camera stream on iOS/camera-captureCapture standalone high-quality photos from connected glasses on iOS/camera-streamingStream, video frames, photo capture, resolution/frame rate configuration/dat-conventionsSwift patterns, async/await, naming conventions, key types for DAT SDK iOS development/dat-docs-mcpUse the Wearables DAT MCP server for live DAT documentation search with `search_dat_docs`, Muse Code, Claude Code, Codex, Cursor, and MCP Inspector/debuggingCommon issues, Developer Mode, version compatibility, state machine diagnosisOther plugins' skills for the same job