Registry / skydoves

skydoves/android-testing-skills/injecting-input-and-state

Use this skill to drive an Android device from the host shell — inject taps, swipes, text, key events, and drag-and-drop via `adb shell input`; resize the display with `wm size` / `wm density`; flip hermetic-test settings with `settings put global window_animation_scale 0`; reset app state with `pm clear` vs `am force-stop`; launch Activities with `am start -n pkg/.Activity`; and use the modern `cmd <service>` wrapper (`cmd wifi`, `cmd connectivity`, `cmd uimode night`, `cmd locale set-app-local

Agent skill · version 1.0.0 · from skydoves/android-testing-skills

Install

npx yarkr-cli add skill:skydoves/android-testing-skills/injecting-input-and-state

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:skydoves/android-testing-skills/injecting-input-and-state
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:skydoves/android-testing-skills/injecting-input-and-state

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:skydoves/android-testing-skills/injecting-input-and-state

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.