emulator
/emulator
Use to run and inspect the Blokada Android app on a Google Developer Device Platform emulator, with screenshots and UI dumps, from a Claude Code cloud session or a local machine without an Android emulator. Trigger when a change under common/ affects UI and should be checked on a device before a PR, and no local emulator or device is available.
- Author
- blokadaorg ↗
- Repository
- blokada ↗
- Licence
- MPL-2.0
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
MPL-2.0, otwarta.
What it does and when to use it
Use to run and inspect the Blokada Android app on a Google Developer Device Platform emulator, with screenshots and UI dumps, from a Claude Code cloud session or a local machine without an Android emulator. Trigger when a change under common/ affects UI and should be checked on a device before a PR, and no local emulator or device is available.
Original author description
Use to run and inspect the Blokada Android app on a Google Developer Device Platform emulator, with screenshots and UI dumps, from a Claude Code cloud session or a local machine without an Android emulator. Trigger when a change under common/ affects UI and should be checked on a device before a PR, and no local emulator or device is available.
How it works
- Commands
- Workflow
- Limits
SKILL.md preview
--- name: emulator description: Use to run and inspect the Blokada Android app on a Google Developer Device Platform emulator, with screenshots and UI dumps, from a Claude Code cloud session or a local machine without an Android emulator. Trigger when a change under common/ affects UI and should be checked on a device before a PR, and no local emulator or device is available. --- # Emulator `tools/emu/emu` reserves an Android emulator (`MediumPhone.arm`) from Google's Developer Device Platform and drives it through a pod on the `workbench` GKE cluster. The session itself cannot hold the ADB stream, so every command runs on the pod and its output is relayed back. The Google project, cluster and bucket are derived from `gcloud config get project`; in a cloud session, set `CLOUDSDK_CORE_PROJECT` in the environment. Locally it needs gcloud logged in with the staging project active and access there, plus kubectl, curl and python3; no emulator or Android SDK for `emu` itself, though building the APK still needs the Android toolchain. Use it to check UI changes in `common/` before opening a PR. Not for iOS, and not for anything needing a VPN permission prompt answered by a real user. ## Commands ```bash tools/emu/emu up [--version 36] [--ttl 30m] # reserve, build or reuse the pod image, wait until the device is online tools/emu/emu install path/to/app.apk # adb install -r tools/emu/emu adb 'shell am start -n <pkg>/<activity>' tools/emu/emu adb 'shell input tap 540 1200' tools/emu/emu shot [file.png] # screenshot into the session, default ./shot.png tools/emu/emu ui [file.xml] # uiautomator dump, default ./ui.xml tools/emu/emu status # forwarder and adb state, and how often the device stream was restarted tools/emu/emu down # cancel the session, delete the pod, clear the bucket prefix ``` `emu adb` takes one string of adb arguments and returns adb's exit code. The exit code of the command inside `adb shell` does not come back over the device stream, so check its output instead. Read screenshots with the Read tool; use `emu ui` to find tap coordinates from element bounds. ## Workflow 1. Build the mocked debug APK: `make build-android-six-debug-mocked`. It lands at `android/app/build/outputs/apk/six/debug/app-six-debug.apk`. 2. Run `emu up` as a background command, only once the APK is built: a reserved device bills while it waits. It takes about 1 minute on a warm cluster and up to 5 on a cold one, and longer on the first run of a changed `tools/emu/pod` because the image is built with Cloud Build. 3. `emu install <apk>`, launch with `emu adb 'shell am start -n org.blokada.sex/ui.MainActivity'`, drive the app with `emu adb`, check with `emu shot` and `emu ui`. Run slow commands as background commands. 4. Always finish with `emu down`, also after a failure. Reserved devices are billed until the TTL ends. `emu up` cleans up after itself when it fails. ## Limits - One session at a time per `~/.cache/emu`; `emu up` refuses while one exists. - A reserved device expires at the TTL; `up` defaults to 30 minutes. Reserve again rather than extending. - Files move through the bucket, so APKs and screenshots are not limited by the 8 MB proxy request body cap. - The first calls after a cold cluster may wait up to about 75 s on `503 No agent available`; `emu` retries them.
Versions
The database has no other skills named emulator.
Database snapshot: 13.11.2026 · package version 828afce1c5d3 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 4 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 91android-emulator
Verify and debug native, React Native, Expo, or Flutter apps on an Android Emulator with agent-device. Use when an agent needs to launch an app, inspect its live UI, tap, type, scroll, validate a code change, collect failure evidence, or reproduce a workflow on an Android virtual device. - 91android-emulator
Verify and debug native, React Native, Expo, or Flutter apps on an Android Emulator with agent-device. Use when an agent needs to launch an app, inspect its live UI, tap, type, scroll, validate a code change, collect failure evidence, or reproduce a workflow on an Android virtual device. - 85android-emulator-qa
Use when validating Android feature flows in an emulator with adb-driven launch, input, UI-tree inspection, screenshots, and logcat capture. - 90argent-android-emulator-setup
Set up and connect to an Android emulator using argent MCP tools. Use when starting a new session on Android, booting an emulator, getting a device serial, or before any UI interaction task. - 96start-emulator
Start an Android emulator. Use when you need to launch an AVD for testing. - 100mobiai-android-device
Use when interacting with an Android device or emulator — run adb commands, automate UI, capture screenshots, read logcat, manage emulators.