/mwdat-android:voice-invocationsfrom mwdat-android
Integrates Android apps with Meta AI voice invocations ("Hey Meta, start {app}") for cold/warm launch detection, stream management, and action acknowledgment.
Ships in mwdat-android. 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 package name, request Voice Invocation approval, and configure the spoken app name in Wearables Developer Center. Do not declare invocation phrases in the manifest. Voice Invocations does not require camera or microphone permission.
Use the SDK validator in both entry points. Do not inspect intent extras yourself.
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
if (isVoiceInvocationsIntent(intent)) startYourExperience()
}
override fun onNewIntent(intent: Intent) {
super.onNewIntent(intent)
setIntent(intent)
if (isVoiceInvocationsIntent(intent)) startYourExperience()
}
Store one app-scoped stream. The factory starts it automatically; there is no separate public start call.
stream = Wearables.startVoiceInvocationsStream(AutoDeviceSelector())
invocationJob = appScope.launch {
stream.invocations.collect { invocation ->
when (invocation) {
is LaunchApp -> {
navigateToMainScreen()
invocation.responseHandle.sendSuccess(actionOutput = null)
}
}
}
}
Collect state and errors when the app needs lifecycle or failure updates.
Every delivered invocation must be answered exactly once with sendSuccess or sendFailure. Both are suspend functions returning whether delivery succeeded.
The stream reports STARTING, STARTED, and STOPPED. Creation and automatic startup do not throw; failures surface through errors and state.
close() is terminal. Cancel collectors before closing the app-scoped stream when the app no longer listens.
To test without hardware, check glasses.services.voiceInvocation.hasConnectedApps before calling simulateLaunchAppAction(). Use simulateIncompleteAction() to verify malformed actions surface 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-android --plugin mwdat-android18 skills in this plugin
/audio-streamingReceive synchronized PCM audio frames through a Camera stream on Android/camera-captureCapture standalone high-quality photos from connected glasses on Android/camera-streamingSession and Stream capability setup, video frames, photo capture, resolution and frame rate configuration/dat-conventionsKotlin patterns, DatResult, session and capability conventions for DAT SDK Android 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, and session and stream diagnosisOther plugins' skills for the same job