Skip to content
Back to skills

Android Simulator

CSecurity

Run a whole Android, Wear OS, car, XR or AI-glasses app (an APK, or a Gradle app module) in Robolectric's simulator, locally or on a simulator service such as sim.coo.ee, with no emulator or device. Use to drive or test a running app: navigation, deep links, runtime permissions, sign-in, folds and multiple displays, network and Bluetooth, Wear tiles, widgets and complications, phone sync, live reload, or its androidTest suite.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentsgojavashellbashgit

Works with

  • cli
  • mcp

Security analysis

C71/100
  • criticalPipes output to a shell interpreter
  • mediumUses curl or wget to download content
  • criticalDownloads and executes remote scripts — classic supply chain attack

Pro scans all 6 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add yschimke/skills --skill android-simulator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Android Simulator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Android Simulator
[![Security: C — Skills Directory](https://www.skillsdirectory.com/api/skills/yschimke-android-simulator/badge)](https://www.skillsdirectory.com/skills/yschimke-android-simulator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: android-simulator
description: "Run a whole Android, Wear OS, car, XR or AI-glasses app (an APK, or a Gradle app module) in Robolectric's simulator, locally or on a simulator service such as sim.coo.ee, with no emulator or device. Use to drive or test a running app: navigation, deep links, runtime permissions, sign-in, folds and multiple displays, network and Bluetooth, Wear tiles, widgets and complications, phone sync, live reload, or its androidTest suite."
---

# Android simulator

Runs an APK on the JVM in Robolectric's simulator: a window showing the app, or a JSON-lines
control channel an agent drives. No emulator, no device, no `adb`. It ships from
[yschimke/android-simulator](https://github.com/yschimke/android-simulator).

For how one composable looks, a `@Preview` render (the `compose-preview` skill) is cheaper and
deterministic. Use the simulator when the question is about the **running app**.

## Which way in

| You have | Use |
| --- | --- |
| The `simulator_*` MCP tools | `simulator_launch`, then `simulator_command`, `simulator_screenshot`, `simulator_logs`, `simulator_stop`. See [simulator.md § Driving it over MCP](./references/simulator.md#driving-it-over-mcp). |
| A shell | `android-simulator start <app.apk>` then `android-simulator cmd tap --text "Settings"`, `events`, `logs`, `stop` (built-in background session daemon), or raw `android-simulator <app.apk> --control stdio`. See [simulator.md § Driving it over stdio](./references/simulator.md#driving-it-over-stdio). |
| No local Java 21 or Android SDK, or an app already on sim.coo.ee | `android-simulator remote run <app>` (or `start --server sim.coo.ee <app>`) drives a session on a deployed simulator service. See [simulator-remote.md](./references/simulator-remote.md). |
| An app module and its androidTest suite | `./gradlew :app:simulatorDebugAndroidTest`, then read `results.json` ([simulator-tests.md](./references/simulator-tests.md)). |

The MCP tools are served by `android-simulator mcp serve` from the release after v0.6.0, and by
`compose-render mcp serve` before that; the tool names and arguments are the same. Check
`android-simulator --help` before relying on a flag. From v0.26.0, `simulator_command`'s schema
names every control-channel command and also accepts commands that plugins add: send
`{"cmd":"plugins"}` to list each loaded plugin's commands and their usage. Up to v0.25.0 the list
lacks `auth`, `backup`, `restore`, `controls`, `splash`, `glasses`, `touchpad` and others; the
server still forwards them, but if your host refuses one, send it with `android-simulator cmd`
against a session daemon instead.

## The loop

1. **Launch** the APK (or `project` + `module`, plus `pairModule` for a paired watch), with `headless` unless the person
   wants to watch.
2. **Act** with one command per call: `tap` by text or semantic ref, `text`, `back`,
   `startActivity`, `permissions`, `posture`, `network`.
3. **Look** with `hierarchy` or `find` first; take a screenshot only when you need pixels.
4. **Read the logs** (`simulator_logs`) whenever a command fails or the app misbehaves.
5. **Iterate** after an edit with `simulator_reload` (or `restart` / `update`), not a new launch.
6. **Stop** the simulator when you are done.

Never claim the app behaves a certain way without a command result or screenshot that shows it.

## Install / update (only if missing)

```sh
curl -fsSL https://raw.githubusercontent.com/yschimke/android-simulator/main/scripts/install.sh | bash
```

installs only the `android-simulator` command to `~/.local/bin/android-simulator` (Java 21 needed;
in non-interactive shells where `~/.local/bin` is not on `PATH`, invoke
`~/.local/bin/android-simulator` directly or prepend `PATH="$HOME/.local/bin:$PATH"`).
`android-simulator self-update` updates it. The `.deb`, `.msi`, `.dmg` and pacman packages bring
their own Java. It needs an Android SDK platform for `android.jar`; see the
[README](https://github.com/yschimke/android-simulator#downloads).

## Reference index

Read only what the task needs.

| Topic | Read |
| --- | --- |
| Drive an app, the commands, adb equivalents, form factors, folds, multiple displays, home screen and widgets, permission `ask` policy, Play services state, sign-in (Credential Manager, Sign in with Google, biometric), backup / restore and zero-tap sign-in restore, Firebase | [simulator.md](./references/simulator.md) |
| Network modes, real-traffic gating, Wi-Fi requests, Bluetooth / BLE / GATT | [simulator-network.md](./references/simulator-network.md) |
| Wear: watch faces (androidx and Watch Face Format), complications, tiles and widgets (added by default), notifications, ambient and screen power, `--pair`, `--data-layer agent`, `ChannelClient`, companion devices | [simulator-wear.md](./references/simulator-wear.md) |
| Plugins and their control panels (`controls`, `plugins`), audio playback (`audio`), the splash screen (`splash`), AI glasses (`glasses`, `touchpad`) | [simulator.md](./references/simulator.md#plugins-and-control-panels) |
| Running on a simulator service (sim.coo.ee): `remote login`, `remote run`, `remote local`, `start --server` | [simulator-remote.md](./references/simulator-remote.md) |
| Edit-run loop: `restart`, `update`, live reload (`--project`, `reload`, `--live`), `--adb` | [simulator-iterate.md](./references/simulator-iterate.md) |
| The app's existing androidTest suite: `simulatorDebugAndroidTest`, `--instrument`, `--tests`, JSON results, `--pool`, `--shards`, AndroidX screenshot tests (`--model`, `--screen-size`) | [simulator-tests.md](./references/simulator-tests.md) |

The full upstream reference is android-simulator's
[`docs/SIMULATOR.md`](https://github.com/yschimke/android-simulator/blob/main/docs/SIMULATOR.md).

Files in this skill

  • SKILL.md4.3 KB
  • references/simulator-iterate.md12.4 KB
  • references/simulator-network.md6.6 KB
  • references/simulator-tests.md6 KB
  • references/simulator-wear.md14.6 KB
  • references/simulator.md37.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.