termux-api

Manage Android hardware and system functions via Termux CLI.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/lxh755818-bot/obsidian-vault --skill termux-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: termux-api
Source: https://github.com/lxh755818-bot/obsidian-vault/tree/main/backup/skills/devops/termux-api
Command: npx skills add https://github.com/lxh755818-bot/obsidian-vault --skill termux-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires termux-api, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows users to control various Android phone hardware and system functions directly from the Termux command line interface, streamlining tasks like location tracking, battery status, telephony, SMS, clipboard management, and more.

Core Features & Use Cases

  • Hardware Control: Access and control features like location, battery, telephony, SMS, clipboard, notifications, camera, audio, sensors, and more.
  • Use Case: For example, you can use this Skill to send an SMS, check your battery status, or take a photo using your phone's camera without opening any apps.

Quick Start

Use the termux-api skill to check your battery status.

Frequently Asked Questions about termux-api

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

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

You can control Android phone hardware from the Termux command line by executing scripts that manage system functions like location, battery, telephony, SMS, clipboard, and camera directly without opening apps.

What Android system functions can I manage using Termux CLI?

Using Termux CLI, you can manage Android system functions including location tracking, battery status, telephony, SMS, clipboard management, notifications, camera, audio, and sensors.

Do I need Termux:API app to send SMS and check battery status from CLI?

Yes, you need both the Termux app and the Termux:API app installed to send SMS, check battery status, and access other phone hardware features from the command line interface.

Can I use Python scripts to access Android sensors and camera via Termux?

Yes, you can use Python 3.13 scripts on an AArch64 architecture within Termux to access Android sensors, camera, and other hardware components by calling the Termux API commands.

Does Termux API support taking photos and capturing audio without opening apps?

Yes, Termux API supports taking photos and capturing audio directly from the CLI. You can trigger the camera and audio recording hardware through command line scripts without opening any graphical apps.

What are the limitations of controlling Android telephony and notifications via Termux?

Limitations of controlling Android telephony and notifications via Termux include strict dependencies on the Termux:API app, Python 3.13 environment, and AArch64 architecture for proper hardware function execution.