
Android Device Automation
Vision-driven Android automation that runs from screenshots alone, using natural language commands over ADB.
- skills.sh installs
- 5.6K
- GitHub stars
- 325
- last updated
- Aug 21, 2026
What it does
- Covers taps, double-taps, long presses, typing, scrolling, swipes, pull-to-refresh, drag, pinch zoom, key presses, and system navigation through a single
actcall - Includes
connect,launch,take_screenshot,runadbshell,act, andassertcommands, with--device-idand--use-scrcpyflags for targeting and faster capture - Enforces one synchronous command at a time so each screenshot is read before the next action is chosen
- Designed for QA and visual verification of Android apps on phones or emulators, with a Midscene model configured through environment variables
Install
$ npx -y skills add web-infra-dev/midscene-skills --skill android-device-automation -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Android Device Automation
CRITICAL RULES — VIOLATIONS WILL BREAK THE WORKFLOW:
- Never run midscene commands in the background. Each command must run synchronously so you can read its output (especially screenshots) before deciding the next action. Background execution breaks the screenshot-analyze-act loop.
- Run only one midscene command at a time. Wait for the previous command to finish, read the screenshot, then decide the next action. Never chain multiple commands together.
- Allow enough time for each command to complete. Midscene commands involve AI inference and screen interaction, which can take longer than typical shell commands. A typical command needs about 1 minute; complex
actcommands may need even longer.- Always report task results before finishing. After completing the automation task, you MUST proactively summarize the results to the user — including key data found, actions completed, screenshots taken, and any relevant findings. Never silently end after the last automation step; the user expects a complete response in a single interaction.
Details
- Repository
- github.com/web-infra-dev/midscene-skills
- Categories
- Mobile Apps, Testing & QA
- First seen
- Apr 16, 2026
More from web-infra-dev/midscene-skills
All 7Similar to Android Device Automation
More Mobile Apps
ios-device-automationSkillweb-infra-dev/midscene-skills3.2K installsVision-driven iOS automation via Midscene CLI, operating from screenshots without DOM or accessibility labels.
AndroidMCP servercursortouch939 starsRemote control of an Android device over ADB: tapping, typing, screenshots, and UI reads.
harmonyos-device-automationSkillweb-infra-dev/midscene-skills2.4K installsVision-driven HarmonyOS NEXT automation via Midscene and HDC, operating purely from screenshots and natural language.
Mobile McpMCP servermobile-next10.8K starsAutomates iOS and Android simulators, emulators, and real devices through accessibility trees and screenshots.
android-adbSkillhttprunner/skills1K installsRaw ADB command reference for discovering, connecting to, and controlling Android devices and emulators.
android-emulator-skillSkillnew-silvermoon/awesome-android-agent-skills593 installsProduction-ready Android testing toolkit that drives apps by UI semantics instead of pixel coordinates.