Drive a real iOS/Android app on a simulator, emulator, or device to verify MOBILE changes in the agentic build→run→inspect→fix loop. Load this when implementing or debugging an Expo / React Native screen and you need to confirm the running UI behaves as intended — not just that it compiles. Wraps the `agent-device` CLI (Callstack): a token-efficient way for an agent to open the app, read a compact accessibility snapshot, tap/type on real elements, and capture screenshots / logs / performance evidence.
How this skill is triggered — by the user, by Claude, or both
Slash command
/platform-sdlc-harness:agent-deviceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
`agent-device` is a CLI from Callstack that lets a coding agent control a real
agent-device is a CLI from Callstack that lets a coding agent control a real
app on iOS, Android (and TV/desktop) through compact, token-efficient
accessibility snapshots — open the app, inspect the current UI, interact with
visible elements via refs (@e3) or selectors, and collect screenshots, videos,
logs, and performance evidence. It is to mobile what a browser-automation tool is
to the web: it closes the agentic loop so the Developer verifies the running
screen, not just a green build.
Scope. This is for verifying behaviour during development (Phase 3, Developer). It is NOT the E2E test framework — automated end-to-end flows are written with Maestro in Phase 6 (see
maestro-e2e). Think: agent-device = interactive verification by the agent; Maestro = repeatable committed test artifacts.
Do not use it to write or commit tests, and do not treat its session output as a deliverable — it is a verification aid. The committed artifacts are the production code (Developer) and Maestro flows (Tester).
adb + a
running emulator or connected device.building-native-ui,
try Expo Go first (npx expo start); only use a dev/custom build when the
change needs native code.If the agent-device CLI is missing, /init-workspace installs it
(npm install -g agent-device@latest); you may also install it on demand. Verify
with agent-device --version.
The CLI is session-based. Names below are the stable entry points — run
agent-device help / agent-device help <cmd> for the exact flags in your
installed version.
agent-device --version # verify install
agent-device apps # list installable / running apps & targets
agent-device open <app> # start a session against an app on a sim/emulator/device
agent-device snapshot # compact accessibility tree (refs like @e3) — read the UI
agent-device tap @e3 # interact with a visible element by ref or selector
agent-device fill @e7 "kano farm" # type into a field
agent-device screenshot out.png # capture visual evidence
agent-device close # end the session
Typical Developer loop for a mobile task:
npx expo start (or run the dev build) so the app is launchable.agent-device open <app> → agent-device snapshot to read the current screen.tap / fill / scroll), re-snapshot to
confirm the expected state, screenshot any state worth recording.agent-device close.MOBILE tasks. Skip for SERVICE/WEB.📋 AGENT STATUS block (e.g. "verified the
disease-detection screen renders results + empty state via agent-device").building-native-ui — get the app running (Expo Go vs custom build) before driving it.maestro-e2e — turn a verified flow into a committed E2E test (Phase 6).react-doctor — static perf/quality scan of the React code you just verified.expo-mobile-conventions — the MOBILE rules this verification checks against.callstack/agent-device on GitHub and agent-device.dev.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub ameenaliu/harness-platform --plugin platform-sdlc-harness