termux-device

Automate Android hardware and system features via Termux API commands.

19|2|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/perminder-klair/ruuh --skill termux-device
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: termux-device
Source: https://github.com/perminder-klair/ruuh/tree/main/agent/.pi/skills/termux-device
Command: npx skills add https://github.com/perminder-klair/ruuh --skill termux-device

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Android devices expose hardware and system UI through Termux API, enabling automation and scripting to read status, adjust settings, and interact with the user without switching contexts.

Core Features & Use Cases

  • Battery status, brightness, torch, vibrate, volume, and audio info access to monitor and adjust device state.
  • Sensors, fingerprint, location, wifi info, clipboard, and notification control for integrated automation and debugging.
  • Dialogs, toasts, wake locks, wallpaper, downloads, and quick UI actions to streamline scripted workflows.

Quick Start

Install Termux and the Termux:API app, then run a simple command such as termux-battery-status to verify access.

Frequently Asked Questions about termux-device

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

FAQPage Schema
How do I automate Android hardware control from the command line?

Automate Android hardware control by executing Termux API commands to read battery status, adjust brightness, toggle the torch, vibrate, and modify volume directly from scripts. This enables automated checks and adjustments for device capabilities across various automation tasks.

What Termux API commands are available for scripting device settings and sensors?

Termux API commands for scripting device settings include termux-battery-status, brightness, torch, vibrate, volume, wifi, clipboard, notification, dialog, wallpaper, downloads, and fingerprint, enabling integrated hardware control and UI interactions.

Do I need specific permissions to run Termux scripts for location and notifications?

Yes, running Termux scripts for location and notifications requires specific Android permissions. The automation handles initial permission prompts and provides retry guidance to ensure hardware control commands execute successfully.

Can I script UI interactions like dialogs and toasts using Termux on Android?

Yes, you can script UI interactions on Android using Termux commands to display dialogs, show toasts, set wallpapers, trigger downloads, and acquire wake locks, streamlining scripted workflows without manual context switching.

How do I verify Termux hardware automation is working correctly on my device?

Verify Termux hardware automation by installing Termux and the Termux:API app, then running a simple command such as termux-battery-status to confirm you can successfully read device status and access hardware capabilities.