Termux SMS for Openclaw

A specialized skill enabling AI agents to send SMS text messages directly from an Android device via the Termux API.

jerryshane1983-tech
v1.0.0
Apr 9, 2026
0
888
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install termux-sms

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install termux-sms using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Termux SMS?

Termux SMS is a powerful integration for Openclaw Skills that bridges the gap between AI reasoning and cellular communication. By leveraging the termux-sms-send binary, this skill allows an AI agent to programmatically dispatch text messages from an Android environment, provided it has the necessary hardware access and permissions.

This tool is specifically designed for users running AI nodes directly on their mobile devices or managing Android hardware via SSH. It provides a localized, secure way to handle communications without relying on external third-party web APIs, making it a core utility for mobile-first automation and personal AI assistants.

Termux SMS Use Cases

  • Sending quick status updates or arrival times while on the go.
  • Automating notification alerts from scripts running in a mobile environment.
  • Managing grocery lists or reminders by texting them to yourself or contacts.
  • Coordinating group updates via comma-separated recipient lists.

How Termux SMS Works

  1. The AI agent identifies a user intent to send a text message or SMS.
  2. The agent validates that it is operating within a Termux environment with the termux-api package available.
  3. The agent prepares a command using the termux-sms-send binary, ensuring the recipient phone number and message body are correctly formatted.
  4. Upon user confirmation, the command is executed on the Android system.
  5. The Termux:API app interfaces with the Android OS to broadcast the SMS through the device's SIM card.

Termux SMS Setup

To use this capability within the ecosystem of Openclaw Skills, you must ensure both the system package and the Android helper app are installed.

First, install the package in the Termux terminal:

pkg install termux-api

Second, ensure the Termux:API application is installed from F-Droid or the Play Store and that you have manually granted it 'SMS' permissions in your Android system settings.

Termux SMS Data Schema & Taxonomy

The skill interacts with the Android OS layer. It does not maintain a persistent local database but relies on the following execution parameters:

Parameter Type Description
-n String A single phone number or a comma-separated list of recipients.
message String The raw text content of the SMS message.
bin Path Located at /data/data/com.termux/files/usr/bin/termux-sms-send.

Termux SMS Advanced Features

  • Multi-recipient support: Send a single message to multiple phone numbers simultaneously using comma separation.
  • Multi-line messaging: Supports escaped newlines to send structured data like lists or multi-paragraph updates.
  • Remote Execution: Use this skill over SSH to turn an idle Android phone into a dedicated SMS gateway for your AI agent.
  • Permission Guarding: Built-in troubleshooting logic to detect and report missing Android system permissions.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*