Skip to content
software-mansion avatar

Argent Android Emulator Setup

Sets up and connects to an Android emulator through argent MCP tools before any UI interaction.

CCM score
82 of 100
skills.sh installs
33.3K
GitHub stars
3.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers finding a ready device with list-devices, booting an AVD with boot-device, and passing the serial as udid to interaction tools
  • Includes SDK prerequisites and a fix for missing devices: argent config set android.sdkRoot, with a note that failed lookups are cached for a minute
  • Guides TV and leanback AVDs to argent-tv-interact, and warns against hard-killing qemu because it can corrupt the userdata image
  • Designed for starting a new Android session, booting an emulator, or any UI task that needs a device serial

Install

$ npx -y skills add software-mansion/argent --skill argent-android-emulator-setup -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

1. Prerequisites

The Android SDK (platform tools and emulator) and an AVD, created in Android Studio or with avdmanager create avd. If list-devices returns no Android entries, either no AVD exists or Argent can't find the SDK. Then run argent config set android.sdkRoot <sdk-path> and call list-devices again after a minute: a failed SDK lookup is cached that long. Exporting ANDROID_HOME in your shell doesn't reach the tool-server that is already running.

2. Setup

  1. Find a ready device: call list-devices. Filter for entries with platform: "android". Ready devices (state: "device") come first. If the user named a device, use it. Otherwise pick the first kind: "emulator" that fits the task. Take a physical phone (kind: "device") only when the user asks for one. If the result's notes mention the adb server, prefix every adb command that you run yourself, as the note shows.
  2. Boot if needed: if no such emulator is ready, call boot-device with the avdName of a kind: "avd" entry. It returns the serial; pass that serial as udid to argent tools. An avd entry doesn't mark TV images: for a TV task, pick the AVD by its name.

Details

Repository
github.com/software-mansion/argent
Categories
Mobile Apps, Browser Automation & Scraping, Testing & QA
First seen
Jul 14, 2026

Questions

How do I set up and boot an Android emulator with Argent?

Install the skill with npx -y skills add software-mansion/argent --skill argent-android-emulator-setup -y. The skill has the agent call list-devices to find a ready Android emulator, then boot-device with an AVD name if none is running, and reuse the returned serial as the udid for later interaction tools.

What do I need before using argent-android-emulator-setup?

You need the Android SDK with platform tools and the emulator, plus an AVD created in Android Studio or with avdmanager create avd. If list-devices returns no Android entries, run argent config set android.sdkRoot with your SDK path, then try again after a minute because failed SDK lookups are cached.

Does this skill work with Android TV emulators?

Android TV and leanback AVDs boot through the same flow, but this skill hands off once they are running. Argent tags them runtimeKind tv and they are focus-driven, so the agent should use the argent-tv-interact skill instead of the gesture tools.

How do I stop an Android emulator safely after using Argent?

Run adb -s with the emulator serial followed by emu kill from a shell for a clean shutdown. The skill warns against kill -9 or pkill -9 on qemu, since a hard kill can leave the userdata image dirty and make later cold boots hang until it is reset with a -wipe-data boot.

Which Mobile Apps skills are ranked near this one?

This skill ranks in the top 50 of the Mobile Apps category on Claude Marketplaces. Other skills in that category include vercel-react-native-skills, animate-expo, write-swift, firebase-crashlytics and xcode-project-setup, while this one focuses on Android emulator setup for Argent.

More from software-mansion/argent

All 17

Similar to Argent Android Emulator Setup

More Mobile Apps