device

Control Android vibration, torch, volume, toast, and battery via Termux commands.

369|29|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/mikeyobrien/rho --skill device
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: device
Source: https://github.com/mikeyobrien/rho/tree/main/platforms/android/skills/device
Command: npx skills add https://github.com/mikeyobrien/rho --skill device

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables on-device control of common Android features (vibration, flashlight, volume, toast messages, and battery status) directly from automation workflows, reducing manual intervention and speeding up routine tasks.

Core Features & Use Cases

  • Vibration: trigger tactile feedback during automations.
  • Torch/Flashlight: turn the flashlight on or off for quick visibility or signaling.
  • Status & Volume: read battery status and adjust volume to suit the context.

Quick Start

Install Termux on Android along with Termux:API. Open Termux and run the commands described in the SKILL.md to exercise the skill:

  • termux-vibrate
  • termux-torch on
  • termux-torch off
  • termux-volume
  • termux-battery-status
  • termux-toast "Hello"

Frequently Asked Questions about device

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

FAQPage Schema
How do I control Android device haptics and flashlight from automation workflows?

Android device control automates vibration, torch, volume, and battery status using Termux commands. Install Termux and Termux:API on your Android device, then trigger termux-vibrate, termux-torch on/off, termux-volume, or termux-battery-status from your automation to get real-time device feedback and control.

What do I need to set up to use Termux device commands on Android?

Prerequisites include an Android device with Termux and Termux:API installed. These tools expose command-line access to device hardware like the vibration motor, flashlight, and volume controls, enabling automation workflows to trigger physical feedback and status checks.

Can I trigger toast messages and read battery status in Termux automation?

Yes. Use termux-toast to display on-screen messages and termux-battery-status to query power state. Both commands execute within Termux workflows, letting you combine tactile feedback, visual notifications, and device telemetry in a single automation.

What are the limitations of controlling Android device features via Termux?

Device control via Termux requires the Termux:API package and works only on compatible Android devices. Some newer Android versions may restrict direct hardware access; always verify termux-vibrate, termux-torch, and termux-volume compatibility on your target device before deploying automation.

How do I adjust volume levels and monitor battery state during automated tasks?

Run termux-volume to read or set volume levels contextually, and termux-battery-status to check charge, temperature, and health. Combine both in automation logic to adapt device behavior—for example, mute notifications during low-battery conditions or trigger alerts at critical thresholds.

Does this work with on-device automation outside Termux workflows?

This skill automates Android device controls specifically within Termux environments and automation workflows. Direct integration with other on-device automation frameworks depends on their Termux command support; check your automation tool's Termux plugin or shell-execution capabilities.