phone-agent-skill
Installation
SKILL.md
AutoGLM Phone Agent Skill
This skill lets Codex drive an Android device through the AutoGLM Phone Agent SDK: tap, type, swipe, scroll, launch apps, take screenshots, and read UI text. It is aimed at automation tasks such as end-to-end testing, data collection, or reproducing user journeys.
Prerequisites
- An Android device or emulator with developer mode and USB debugging enabled.
adbavailable in the path and the device showing up inadb devices.- AutoGLM Phone Agent SDK installed (see upstream docs: https://github.com/zai-org/Open-AutoGLM).
- A running Phone Agent backend (start the agent service provided by the SDK before using the skill).
Setup
- Connect the device and verify connectivity:
adb devicesshould list at least one device asdevice. - Follow the SDK guide to start the Phone Agent service (typically binds to a host/port on your machine). Note the service URL.
- Expose the service URL to the agent runtime, for example by setting
PHONE_AGENT_ENDPOINT=http://127.0.0.1:5000(adapt to your actual host/port). - Grant the device the needed permissions (overlay/accessibility) when prompted by the SDK so that taps and text entry succeed.