Use when validating Android feature flows in an emulator with adb-driven launch, input, UI-tree inspection, screenshots, and logcat capture.
80
100%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Validate Android app flows in an emulator using adb for launch, input, UI-tree inspection, screenshots, and logs.
adb devices./gradlew :<module>:install<BuildVariant> --console=plain --quiet./gradlew tasks --all | rg installadb -s <serial> shell cmd package resolve-activity --brief <package>adb -s <serial> shell am start -n <package>/<activity>adb -s <serial> exec-out screencap -p > /tmp/emu.pngadb -s <serial> shell input tap <x> <y>adb -s <serial> shell input swipe <x1> <y1> <x2> <y2>adb -s <serial> shell input text "hello"adb -s <serial> shell input keyevent 4adb -s <serial> exec-out uiautomator dump /dev/ttyAlways compute tap coordinates from the UI tree, not screenshots.
adb -s <serial> exec-out uiautomator dump /dev/tty > /tmp/ui-settings.xmlx y) from bounds:
bounds="[x1,y1][x2,y2]"python3 <path-to-skill>/scripts/ui_pick.py /tmp/ui-settings.xml "Settings"scrollable elements:
adb -s <serial> shell input tap <x> <y>Use this helper to create a compact, readable overview before inspecting full XML.
adb -s <serial> exec-out uiautomator dump /dev/tty > /tmp/ui-full.xmlpython3 <path-to-skill>/scripts/ui_tree_summarize.py /tmp/ui-full.xml /tmp/ui-summary.txt/tmp/ui-summary.txt to choose likely targets, then compute exact bounds from full XML.adb -s <serial> logcat -cadb -s <serial> shell pidof -s <package>adb -s <serial> logcat --pid <pid>adb -s <serial> logcat -b crashadb -s <serial> logcat -d > /tmp/logcat.txtadb -s <serial> shell pm list packagesadb -s <serial> shell pm list packages | rg <company_or_app_id>adb -s <serial> shell cmd package resolve-activity --brief <package>11c74d6
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.