emulator-testing

emulator-testing is a skill for Claude Code from uwuclxdy/agenticat. It costs 21 tokens per session (3,280 once invoked), scanned B, original, MIT.

A command-line workflow for operating Android emulators and iOS simulators during testing. An emulator or simulator is a computer-controlled version of a mobile device; it assumes the required development tools and device images already exist.

In plain words
What is it for?
Use it to launch Android virtual devices, drive Android with adb, operate iOS simulators with simctl, run Flutter checks, and verify files with parsers.
Why use it?
Mobile tests can pass without checking the application on a real running device environment. This lets an agent boot, operate, verify, and shut down those environments through commands.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: mentions Claude Code.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/uwuclxdy/agenticat/emulator-testing
Any agent
npx skills add uwuclxdy/agenticat --skill emulator-testing
Clone the repo
git clone --depth 1 https://github.com/uwuclxdy/agenticat

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for emulator-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/uwuclxdy/agenticat/emulator-testing.svg)](https://agentmods.dev/skills/uwuclxdy/agenticat/emulator-testing)
Your own site
<a href="https://agentmods.dev/skills/uwuclxdy/agenticat/emulator-testing"><img src="https://agentmods.dev/badge/skills/uwuclxdy/agenticat/emulator-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,280 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.03280
Opus 5 $0.00010 $0.01640
Sonnet 5 $0.00004 $0.00656
Haiku 4.5 $0.00002 $0.00328

Measured 6d ago against content hash 500f954fb20e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade B, and why

emulator-testing scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

First-run gotcha: `sudo xcodebuild -license accept` is an interactive prompt the first time; accept it once by hand before handing the host to an agent.
skills/emulator-testing/SKILL.md · 202 lines

How it starts

The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Emulator Testing

Drive a booted Android emulator or iOS simulator from the CLI for agent-in-the-loop testing: launch it headless, wait for a real boot, act on it with adb/simctl, verify with a real file parser (not a vibe check), shut it down clean.

Out of scope: installing the Android SDK, creating AVDs, or setting up Xcode/simulators. Assume $ANDROID_HOME/PATH and an existing AVD, or Xcode + simulator runtimes, are already in place. This skill is about driving them.

§2's adb primitives work unmodified against a real physical device over USB (same commands, target it with adb -s <device_serial>). §1's boot/lifecycle flags and §4's simctl lane are emulator/simulator-only and don't apply to physical hardware.

Decision Tree

Target platform?
├─ Android → live on this host → §1 boot the emulator → §2 drive it → §3 Flutter tests
└─ iOS     → needs a Mac → run over ssh to your macOS host → §4 simctl lane → §3 Flutter tests

1. Android Emulator Lifecycle

Headless Boot

emulator -avd <avd_name> \
  -no-window -no-audio -no-boot-anim \
  -gpu swiftshader_indirect \
  -no-snapshot-save \
  -read-only &
Flag Effect
-no-window no graphical window; drive it purely over adb/console. Standard flag for a headless/CI box
-gpu swiftshader_indirect software GLES/Vulkan rendering on the CPU; the only reliable renderer with no display server
-gpu host passes through the host GPU (faster), but fails with "OpenGLES emulation failed to initialize" unless a real X/Wayland session (or Xvfb) is present. Don't use it headless
-no-audio skip audio backend init; some Linux/Windows audio drivers otherwise block emulator startup
-no-boot-anim skip the boot animation, faster startup
-read-only don't write back to the AVD's userdata image; several emulator processes can share one base AVD without corrupting it. Standard pattern for parallel instances
-port <n> pick the console/adb port pair explicitly (default range 5554-5682, even numbers only). Required alongside -read-only to run more than one instance side by side
-no-snapshot-save quick-boot from a snapshot if one exists, skip saving state on exit
-no-snapshot-load force a full cold boot, ignoring any saved snapshot
-no-snapshot disable Quick Boot entirely: neither load nor save
-wipe-data factory-reset the userdata partition before boot (last resort, destroys all AVD state; not for routine use on every run)

Read the full file on GitHub · 202 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 202 lines · 21 tokens per session scan B 500f954fb20e

Subscribe to this mod's changes

emulator-testing is a skill published in the GitHub repository uwuclxdy/agenticat (5 stars, last pushed 4d ago), licensed MIT. It adds 21 tokens to every session and 3,280 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

agent-device

Automates Apple-platform apps (iOS, tvOS, macOS), Android devices, and Amazon Vega OS TV apps in Vega Virtual Devices. Use when navigating apps, taking snapshots/screenshots where supported, driving TV remotes, tapping, typing, scrolling, extracting UI info, collecting evidence, or planning agent-device CLI commands.

callstack/agent-device · 69 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

ios-simulator

Verify and debug native, React Native, Expo, or Flutter apps on an iOS Simulator 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 iPhone or iPad Simulator.

callstack/agent-device · 69 tokens

mobile-use-setup

Set up a local-first Minitap mobile-use SDK project for iOS or Android, including local devices, BrowserStack, Minitap cloud devices, and supported LLM providers.

minitap-ai/mobile-use · 42 tokens

designing-bench-task

Use when designing a new benchenv task suite, adding several new tasks to an existing suite, or critiquing a task-set proposal for a mobile-gym App — before any class FooTask(...) is written under benchenv/task/.

Purewhiter/mobilegym · 57 tokens

swift-development

You MUST activate this skill when working on Swift projects.

sammcj/agentic-coding · 13 tokens