/mwdat-android:motionfrom mwdat-android
Streams accelerometer, gyroscope, magnetometer, and orientation data from connected Android wearables. Useful for building motion-aware app experiences.
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.
Motion is an experimental capability for streaming inertial sensor samples. Enable it for the app in Wearables Developer Center. It has no runtime Permission value.
Call addMotion only after DeviceSessionState.STARTED. The returned capability starts in STOPPED; launch collectors before calling start().
session.addMotion(
MotionConfiguration(samplingRate = MotionSamplingRate.HZ_30),
).fold(
onSuccess = { motion ->
motionSampleJob = lifecycleScope.launch {
motion.samples.collect { sample -> render(sample) }
}
motion.start()
},
onFailure = { error, _ -> showError(error.description) },
)
Retain the sample job while streaming. Collect state for lifecycle updates and errors for sensor, connection, and closure failures.
Sampling rates are 5, 10, 15, 24, 30, and 60 Hz; 10 Hz is the default.
timestampNs uses the device monotonic clock. Accelerometer values are m/s², gyroscope values are rad/s, and magnetometer values are µT. Each sensor value and orientation can be null; source identifies glasses, Neural Band, or an unknown source.
Motion normally transitions STOPPED -> STARTING -> STARTED. When its parent session pauses, it reports MotionState.PAUSED and automatically restarts when the session resumes.
motion.stop() is reusable. Cancel the sample job before calling session.removeMotion() and handle its DatResult; removal is terminal.
Replay an in-memory recording with glasses.services.motion.setMotionFeed(samples, loop = true) or provide a CSV file URI. App logic should observe the SDK Motion state rather than isStreaming, which is a test assertion helper.
Motion is experimental. Apps can use it for development and beta testing, but cannot publish it to production release channels yet.
What SKILL.md sets; muted values are Claude Code's defaults
18 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 diagnosisnpx claudepluginhub meta/meta-wearables-dat-android --plugin mwdat-androidOther plugins' skills for the same job