longarm-control
Installation
SKILL.md
longarm Control
Use this skill to drive an Android device running longarm. The app exposes HTTP endpoints for gestures, screenshots, overlay state, app/intent launch, and batch task management, plus an MCP server exposing equivalent tools for agents.
Required Connection Details
Ask the user for any missing values before issuing commands:
- HTTP base URL:
http://<device-ip>:<port>, shown in longarm after the web server starts. - Optional bearer token: required only when longarm's "require token" setting is enabled.
- MCP URL/port: shown in longarm if using the MCP server instead of direct HTTP.
The Android device must have longarm running, the relevant server started, accessibility/overlay permissions granted, and network reachability from this machine.
HTTP Helper
Use scripts/longarm.sh for direct HTTP control: