PluginBench
Skill
Pass
Audit score 90

android-emulator

callstack/agent-device

Launch, inspect, and automate testing on Android Emulator with agent-device.

What is android-emulator?

Verify and debug native, React Native, Expo, or Flutter apps running on an Android virtual device. Use this skill when you need to launch an app, inspect its live UI, interact with it (tap, type, scroll), validate code changes, collect failure evidence, or reproduce workflows.

  • Launch apps or packages on Android Emulator with foreground focus
  • Inspect live UI state and take screenshots
  • Interact with the app via tap, type, and scroll commands
  • Validate code changes and collect failure evidence
  • Debug React Native, Expo, and Flutter applications
  • Replay workflows and run tests in CI environments

How to install android-emulator

npx skills add https://github.com/callstack/agent-device --skill android-emulator
Prerequisites
  • agent-device CLI installed globally: npm install -g agent-device@latest
  • Android Emulator running or accessible
  • Target app installed or available to launch
Claude Code
Cursor
Windsurf
Cline

How to use android-emulator

  1. 1.Install agent-device globally if not already present
  2. 2.Ensure Android Emulator is running
  3. 3.Call agent-device open <app-or-package-id> --platform android --foreground to launch the app
  4. 4.Follow the interactive snapshot and any corrective error hints
  5. 5.Use agent-device commands to tap, type, scroll, screenshot, or validate as needed
  6. 6.Consult help topics (validate, debugging, react-native, react-devtools, scripting) for specialized tasks

Use cases

Good for
  • Verify a UI change works correctly on Android before merging
  • Reproduce a reported bug by automating user interactions
  • Validate that a React Native app launches and renders properly
  • Collect screenshots and logs when a test fails
  • Debug component state and props in a running app
Who it's for
  • Mobile app developers (native Android, React Native, Expo, Flutter)
  • QA engineers automating app testing
  • Agents validating code changes on real virtual devices
  • Teams needing visual regression or interaction testing

android-emulator FAQ

Do I need to probe the emulator with --help or --version first?

No. Start immediately with your app-driving task. Only read help topics if the task is specialized or a command shape is unclear.

What if agent-device is not found on PATH?

Stop and ask the user to install it globally (npm install -g agent-device@latest) or expose their existing installation on PATH.

Can I use this for React Native and Expo apps?

Yes. This skill supports native Android, React Native, Expo, and Flutter apps. Use 'agent-device help react-native' for runtime-specific guidance.

How do I debug component state and props in a React app?

Use 'agent-device help react-devtools' to access the component tree, props, state, hooks, and render information.

Can I use this in CI/CD pipelines?

Yes. Use 'agent-device help scripting' for durable replay and CI workflow guidance.

Full instructions (SKILL.md)

Source of truth, from callstack/agent-device.


name: android-emulator description: 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.

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  # component tree, props/state/hooks, and renders
agent-device help scripting       # durable replay and CI workflows