motion-skill

Retrieve Android accelerometer and gyroscope data with structured JSON output.

356|66|Updated Oct 13, 2025
One-click install
npx skills add https://github.com/zeenie-ai/MachinaOS --skill motion-skill-zeenie-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: motion-skill
Source: https://github.com/zeenie-ai/MachinaOS/tree/main/server/skills/android_agent/motion-skill
Command: npx skills add https://github.com/zeenie-ai/MachinaOS --skill motion-skill-zeenie-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It eliminates guessing and manual checking by providing real-time Android motion sensor data to reliably detect movement, shakes, and device orientation.

Core Features & Use Cases

  • Motion sensor readings: Retrieve accelerometer and gyroscope data for analyzing how the device is moving.
  • Gesture and movement detection: Use is_moving and is_shaking to trigger actions when motion patterns occur.
  • Orientation awareness: Use orientation (azimuth, pitch, roll) and device_position to adapt behavior based on how the phone is held.

Example use case: Build a “shake to trigger” workflow that polls action: "status" and starts an action only when is_shaking becomes true.

Quick Start

Connect the Motion Detection node to Zeenie's input-tools handle, then request motion status by sending action set to "status".

Frequently Asked Questions about motion-skill

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

FAQPage Schema
How do I detect shake gestures on Android using accelerometer data?▼

You can detect Android shake gestures by requesting sensor status, which reads accelerometer and gyroscope signals and returns an `is_shaking` boolean in structured JSON for triggering automation.

What Android motion sensors are needed to retrieve device orientation data?▼

Retrieving Android device orientation data requires accelerometer and gyroscope sensors, which provide azimuth, pitch, and roll values to determine how the phone is held and its current position.

Can I use motion detection to trigger automated workflows when an Android device is moving?▼

Yes, you can trigger automated workflows by polling the motion status with `action: "status"`, which returns an `is_moving` boolean based on real-time accelerometer and gyroscope data readings.

What is the best way to get real-time gyroscope and accelerometer readings on Android for IoT applications?▼

The best way to get real-time accelerometer and gyroscope readings for Android IoT applications is to request a sensor status payload, which returns structured JSON containing the raw motion data and inferred device position.

Does this motion detection Skill require any specific dependencies or components to function?▼

No, this motion detection Skill requires no external dependencies or components, only an input payload with `action="status"` to retrieve accelerometer, gyroscope, orientation, and movement data from the Android device.