Search AI Tools

Agent skill

termux

Comprehensive utility for Termux on Android, providing package management, API integration, and PRoot distros. Core Scenario: When the user needs to interact with Android hardware (SMS, vibrate, say) or manage Linux distros via PRoot.

Stars 19
Forks 4

Install this agent skill to your Project

npx add-skill https://github.com/x-cmd/skill/tree/main/data/x-cmd/termux

SKILL.md

termux - Termux Android Enhancement

The termux module integrates various Android-specific features into the Termux terminal, allowing for hardware interaction and easy management of isolated Linux environments.

When to Activate

  • When the user wants to interact with Android sensors or hardware (battery, vibration, volume).
  • When performing SMS management (reading or sending messages) via CLI.
  • When using text-to-speech (say) capabilities on an Android device.
  • When installing or managing Linux distributions (Ubuntu, Alpine, Debian) using PRoot without root access.

Core Principles & Rules

  • API Dependencies: Remind users that termux-api must be installed for hardware subcommands.
  • Rootless environments: Emphasize that proot-distro allows running full Linux environments without rooting the device.
  • Shortcuts: Support for the m alias (default shortcut for x termux).

Patterns & Examples

Hardware Interaction

bash
# Make the phone vibrate for 500ms
x termux vibrate 500
# Speak text using the Android voice engine
x termux say "System update complete"

PRoot Management

bash
# Install and run an Ubuntu environment
x termux pd install ubuntu
x termux ubu bash

SMS Management

bash
# Send an SMS message to a specific number
x termux sms send -n 123456789 "Hello from x-cmd"

Checklist

  • Verify if the termux-api package is installed for hardware tasks.
  • Confirm the target Linux distribution name for PRoot commands.
  • Ensure the Android device has the necessary permissions granted to Termux.

Expand your agent's capabilities with these related and highly-rated skills.

davila7/claude-code-templates

verl-rl-training

Provides guidance for training LLMs with reinforcement learning using verl (Volcano Engine RL). Use when implementing RLHF, GRPO, PPO, or other RL algorithms for LLM post-training at scale with flexible infrastructure backends.

23,776 2,298
Explore
davila7/claude-code-templates

plotly

Interactive scientific and statistical data visualization library for Python. Use when creating charts, plots, or visualizations including scatter plots, line charts, bar charts, heatmaps, 3D plots, geographic maps, statistical distributions, financial charts, and dashboards. Supports both quick visualizations (Plotly Express) and fine-grained customization (graph objects). Outputs interactive HTML or static images (PNG, PDF, SVG).

23,776 2,298
Explore
sickn33/antigravity-awesome-skills

sales-enablement

Create sales collateral such as decks, one-pagers, objection docs, demo scripts, playbooks, and proposal templates. Use when a sales team needs assets that help reps move deals forward and close.

28,421 4,766
Explore
sickn33/antigravity-awesome-skills

jq

Expert jq usage for JSON querying, filtering, transformation, and pipeline integration. Practical patterns for real shell workflows.

28,421 4,766
Explore
sickn33/antigravity-awesome-skills

design-spells

28,421 4,766
Explore
sickn33/antigravity-awesome-skills

ai-analyzer

AI驱动的综合健康分析系统,整合多维度健康数据、识别异常模式、预测健康风险、提供个性化建议。支持智能问答和AI健康报告生成。

28,421 4,766
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results