mobilelisted
Install: claude install-skill stxrmik/antigravity-plus
# /mobile — the app in a simulator or an emulator
Helper: `python3 "<skill_dir>/scripts/mobile.py"` (below: `mobile.py`). Every command needs `BypassSandbox: true`:
it talks to the simulator and to adb. Only simulators and emulators are used; a phone on a cable is touched only
when the user asks and you name it with `--device`.
## The loop
1. **What's here.** `mobile.py devices` — simulators, emulators, what is running. `mobile.py project` — the mobile
project in the current folder: the exact build command, the app's id, where the build lands.
2. **A device.** If none is running: `mobile.py boot` — it starts what the project needs (an emulator for an
Android app, a TV one for a TV app, otherwise a simulator); `--ios`, `--android` or a name (`boot "iPhone 17 Pro"`,
`boot Pixel_9`) choose. It starts without a window; add `--show` when the user wants to watch. It takes
from half a minute to a couple of minutes and checks that the simulator takes touches.
3. **Build** with the command `project` printed. `boot`, a build and `run` outlast a normal command, so they go on
in the background and their result arrives as a message: do other work meanwhile, don't poll.
4. **Run:** `mobile.py run` — installs the newest build of the project, launches it, takes a screenshot, lists the
texts on the screen and the app's errors. `run "<path to .app or .apk>"` for a particular build. If it warns
that a source file is newer than the build, build again first.
5. **Look.** Op