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.
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-apimust be installed for hardware subcommands. - Rootless environments: Emphasize that
proot-distroallows running full Linux environments without rooting the device. - Shortcuts: Support for the
malias (default shortcut forx termux).
Patterns & Examples
Hardware Interaction
# 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
# Install and run an Ubuntu environment
x termux pd install ubuntu
x termux ubu bash
SMS Management
# Send an SMS message to a specific number
x termux sms send -n 123456789 "Hello from x-cmd"
Checklist
- Verify if the
termux-apipackage 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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
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.
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).
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.
jq
Expert jq usage for JSON querying, filtering, transformation, and pipeline integration. Practical patterns for real shell workflows.
design-spells
ai-analyzer
AI驱动的综合健康分析系统,整合多维度健康数据、识别异常模式、预测健康风险、提供个性化建议。支持智能问答和AI健康报告生成。
Didn't find tool you were looking for?