Phone agent
by @gaojizhou
Use AI AutoGLM Phone Agent for automated mobile device control. Suitable for tasks requiring mobile phone automation, such as APP automated testing, data col...
clawhub install phone-agent-skillπ About This Skill
name: phone-agent-skill description: Use AI AutoGLM Phone Agent for automated mobile device control. Suitable for tasks requiring mobile phone automation, such as APP automated testing, data collection, UI interaction, etc. Supports controlling the mobile interface through natural language instructions to implement operations such as clicking, sliding, inputting, and screenshotting.
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
adb available in the path and the device showing up in adb devices.Setup
1) Connect the device and verify connectivity:adb devices should list at least one device as device.
2) Follow the SDK guide to start the Phone Agent service (typically binds to a host/port on your machine). Note the service URL.
3) 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).
4) Grant the device the needed permissions (overlay/accessibility) when prompted by the SDK so that taps and text entry succeed.How to Use
Example prompts the skill handles well:
Outputs
Troubleshooting
PHONE_AGENT_ENDPOINT and that the port is not firewalled.adb has permission, and rerun adb devices.Safety and Limits
Changelog
βοΈ Configuration
1) Connect the device and verify connectivity: adb devices should list at least one device as device.
2) Follow the SDK guide to start the Phone Agent service (typically binds to a host/port on your machine). Note the service URL.
3) 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).
4) Grant the device the needed permissions (overlay/accessibility) when prompted by the SDK so that taps and text entry succeed.
π Tips & Best Practices
PHONE_AGENT_ENDPOINT and that the port is not firewalled.adb has permission, and rerun adb devices.