mcpField
A
android-emulator

android-emulator

github.com/callstackTesting & quality5.2k4.8k installsUpdated today
Repository

About android-emulator

A skill that guides agents in driving Android emulators through agent-device, for app interaction tasks. It requires user-managed CLI installation and recommends consulting topic-specific help when needed.

Key features

  1. 01Drive Android emulators with agent-device
  2. 02Leave installation and upgrades to users
  3. 03Consult task-specific help topics
  4. 04Follow interactive snapshots and error hints

Use cases

  1. 01Open and operate an app in an Android emulator
  2. 02Debug or validate an emulator app
  3. 03Handle React Native and Expo runtime tasks

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/callstack/agent-device --skill android-emulator

After installing, type/android-emulatorin Claude Code to confirm it loaded.

Details

From the project README

Android Emulator

Require the agent-device CLI to be installed separately before driving an emulator:

npm install -g agent-device@latest

Treat installation and upgrades as user-owned setup steps. Do not run that command autonomously or substitute a mutable npx -y agent-device@latest invocation.

For a normal app-driving task, start immediately. Do not probe first with --help, --version, devices, appstate, snapshot, or screenshot. Target Android explicitly when opening an app or package id:

agent-device open <app-or-package-id> --platform android --foreground

Follow the initial interactive snapshot and corrective error hints. If the shell reports that agent-device is unavailable, stop and ask the user to install it or expose their existing installation on PATH.

Only when the task is specialized or a command shape is unclear, read the relevant version-matched help topic:

agent-device help validate        # engineering validation and build freshness
agent-device help debugging       # screenshots, logs, traces, video, and failures
agent-device help react-native    # React Native and Expo runtime guidance
agent-device help react-devtools  # React components, props/state/hooks, render profiling
agent-device help scripting       # durable replay and CI workflows

Comments

Markdown supported