Install
openclaw skills install agent-deviceAutomates interactions for iOS simulators/devices and Android emulators/devices. Use when navigating apps, taking snapshots/screenshots, tapping, typing, scrolling, or extracting UI info on mobile targets.
openclaw skills install agent-deviceFor exploration, use snapshot refs. For deterministic replay, use selectors.
Use this skill as a router, not a full manual.
devices -> pick target -> open.open -> snapshot -i -> press/fill -> diff snapshot -i -> closeopen <app> -> logs clear --restart -> reproduce -> logs path -> targeted grepreplay -u <path> -> verify updated selectorsagent-device open Settings --platform ios
agent-device snapshot -i
agent-device press @e3
agent-device diff snapshot -i
agent-device fill @e5 "test"
agent-device close
agent-device open MyApp --platform ios
agent-device logs clear --restart
agent-device logs path
Logging is off by default. Enable only for debugging windows.
logs clear --restart requires an active app session (open <app> first).
agent-device replay -u ./session.ad
agent-device devices
agent-device open [app|url] [url]
agent-device open [app] --relaunch
agent-device close [app]
agent-device session list
Use boot only as fallback when open cannot find/connect to a ready target.
agent-device snapshot -i
agent-device diff snapshot -i
agent-device find "Sign In" click
agent-device press @e1
agent-device fill @e2 "text"
agent-device is visible 'id="anchor"'
press is canonical tap command; click is an alias.
agent-device appstate
agent-device get text @e1
agent-device screenshot out.png
agent-device trace start
agent-device trace stop ./trace.log
agent-device batch --steps-file /tmp/batch-steps.json --json
snapshot -i; scope/depth only when needed.fill for clear-then-type semantics; use type for focused append typing.appstate is session-scoped; Android appstate is live foreground state.match|nonmatch|enroll|unenroll.--save-script, prefer explicit path syntax (--save-script=flow.ad or ./flow.ad).agent-device binary over on-demand package execution.npx --yes agent-device@<exact-version> --help).~/.agent-device; replay scripts write to explicit paths you provide.--activity (unsupported combination).boot as default first step instead of fallback.