agent-device
What it does
It runs the agent-device command-line tool to open an app, read its screen, and tap, type, or scroll through it. It is for developers and testers who want an AI to check mobile app behavior.
When to use it
- ✓When you want your agent to open an app and walk through a screen on a phone or simulator.
- ✓When you want to check a mobile app change by using it on a device.
- ✓When you want screenshots or details of a bug in a mobile app.
Skill link
https://github.com/callstack/agent-device/blob/main/skills/agent-device/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Open my app in the iOS simulator, log in with the test account, and tell me whether the settings screen loads.”
5 new skills a week. 1 minute to read.
How it works
The agent opens the app, reads its screen as a list of targets, and acts on them. After each step it reads the change and checks the result you asked about.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
agent-device
For a normal app-driving task, start immediately. Do not probe first with --help, --version, devices, appstate, snapshot, or screenshot:
agent-device open <app> --foreground
That starts the session and returns the initial interactive snapshot with @refs.
Loop: act with press|click|fill|longpress <target> ... --settle, scroll <direction> --settle, or back --settle; continue from the printed diff, verify the named expectation (wait text "...", is, get, or find), then run agent-device close, or agent-device close --shutdown if your session booted a local simulator or emulator, unless the user asks to keep it running.
Reaching an off-screen target is one command, not a scroll-and-check loop: scroll down --until <selector> scrolls until that element is on screen, and scroll bottom runs to the end of the content. Repeated bare scroll down calls are the slow way to find something.
Copy refs byte-for-byte: @e12, @e12~s4 — keep the @ and any ~sN. Prefer current refs, then id/label/role selectors; coordinates are a last resort. If snapshot reports sparse/AX-unavailable, its refs and selectors are invalid: run agent-device screenshot, inspect the image, use coordinates, then retry snapshot -i after navigating. Otherwise run snapshot -i only when the diff lacks the next target.
Error output includes corrective hints; follow them instead of re-planning. Only when the task is specialized (for example gestures, scripting, TV, macOS, remote, or debugging) or a command shape is unclear, run agent-device help <topic>. agent-device --help lists topics, but is not a startup step.
To capture network traffic on a Limrun session, see agent-device help remote or the Limrun docs.
FAQ
Does the agent need a tool installed first?
Yes. You install the agent-device command-line tool yourself before the agent uses it.
Does it work on TV apps too?
The skill covers TV remotes and apps on Android TV, Fire TV, and Amazon Vega OS TV apps.
Does it shut down the simulator afterwards?
If the session started the simulator or emulator, it shuts it down at the end, unless you ask to keep it running.
Details
Original description by the author
Automates Apple-platform apps (iOS, tvOS, macOS), Android devices (including Android TV and Fire TV on Fire OS), 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.
repo: callstack/agent-device
Popularity
- GitHub stars
- 5.2k
- Ranking position
- #15026
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
android-emulator
5.2kHelps your agent open an Android app in an emulator, check its screen, tap through a workflow, and collect evidence when something breaks.
dogfood
5.2kLets your agent explore a mobile app on iOS or Android like a tester, looking for bugs and rough spots, and saving evidence for each issue.
ios-simulator
5.2kHelps your agent open an iPhone or iPad app in the Apple simulator, check its screen, and walk through steps to test a change.
Similar skills
android-clean-architecture
280kMakes your agent organize Android projects efficiently. It structures the code to make maintenance and new feature development easier.
compose-multiplatform-patterns
280kHelps your agent use Compose Multiplatform and Jetpack Compose patterns in KMP projects, covering state, navigation, theming, and performance.
dart-flutter-patterns
280kMakes your agent write code for Dart and Flutter apps. It uses modern patterns to create robust and manageable apps.