← Back to Skills Marketplace
Termux Persistent Gateway
by
kingofqin2026
· GitHub ↗
· v1.1.0
· MIT-0
43
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install termux-persistent-gateway
Description
Keep an AI gateway running persistently on Android/Termux using tmux, wake-lock, auto-start on boot, and health monitoring without systemd.
Usage Guidance
This skill appears to do what it says: keep a gateway running on Termux. Before installing or enabling it, do the following: (1) Edit GATEWAY_CMD in scripts/run-gateway.sh to the exact command you intend to run (do not leave it pointed at an untrusted binary); (2) Review ~/.profile that will be sourced by the boot script — remove or inspect any commands you would not want run at boot; (3) Understand it will acquire a wake lock (will keep CPU awake and impact battery) and require granting Termux/Termux:API permissions and setting Termux battery to Unrestricted; (4) If you schedule the healthcheck, ensure the cron job path points to the correct script location; (5) Do not include sensitive credentials in the gateway command or its arguments, since that process will run persistently. If you want extra safety, run the gateway command manually first and confirm expected behavior before enabling auto-boot/cron.
Capability Analysis
Type: OpenClaw Skill
Name: termux-persistent-gateway
Version: 1.1.0
The skill provides legitimate utility scripts for maintaining a persistent AI gateway on Android via Termux. It uses standard tools like tmux for session management, termux-wake-lock for CPU persistence, and termux-boot for auto-start functionality. No evidence of data exfiltration, malicious execution, or obfuscation was found; all scripts (run-gateway.sh, healthcheck.sh, termux-boot.sh) align strictly with the stated purpose of the bundle.
Capability Assessment
Purpose & Capability
Name/description (persistent Termux gateway) matches the included files and instructions: tmux session management, termux-wake-lock, termux-boot auto-start, and a simple healthcheck. The default GATEWAY_CMD is a reasonable placeholder; the skill instructs users to edit it to their real gateway command.
Instruction Scope
SKILL.md and scripts stick to launching and monitoring a gateway process. The only potentially sensitive action is that the boot script sources ~/.profile to restore PATH/venv, which can execute whatever the user’s profile contains — this is necessary to ensure the gateway binary is on PATH but means the boot-time execution environment inherits user dotfile behavior. No external endpoints or secret exfiltration are referenced.
Install Mechanism
Instruction-only with bundled scripts; there is no network download or package install performed by the skill itself. Required third-party packages (tmux, termux-api, termux-boot) are reasonable and documented.
Credentials
The skill declares no required environment variables or credentials and the scripts do not attempt to access unrelated secrets or config paths. It uses ~/ .agent for logs and scripts — a local, proportional choice.
Persistence & Privilege
The skill does not request always:true and does not modify other skills. It installs an optional Termux:Boot script to auto-start the gateway (expected for the stated goal). Note that the gateway process will hold a wake lock and can run autonomously once configured — this is the intended behavior.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install termux-persistent-gateway - After installation, invoke the skill by name or use
/termux-persistent-gateway - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
v1.1.0: Configurable gateway command. No hardcoded data.
Metadata
Frequently Asked Questions
What is Termux Persistent Gateway?
Keep an AI gateway running persistently on Android/Termux using tmux, wake-lock, auto-start on boot, and health monitoring without systemd. It is an AI Agent Skill for Claude Code / OpenClaw, with 43 downloads so far.
How do I install Termux Persistent Gateway?
Run "/install termux-persistent-gateway" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Termux Persistent Gateway free?
Yes, Termux Persistent Gateway is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Termux Persistent Gateway support?
Termux Persistent Gateway is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Termux Persistent Gateway?
It is built and maintained by kingofqin2026 (@kingofqin2026); the current version is v1.1.0.
More Skills