Argent Ios Device Interact

by software-mansioncb0f538ad083No licenseListed Oct 8, 2026Updated Oct 8, 2026

Drive a physical iPhone through argent. Use when a physical iPhone is involved (a list-devices iOS entry with kind "device") and ONLY then; never for a simulator. For cable, trust, or signing problems read argent-ios-device-setup.

Instructions onlySoftware Development
AI-generated overview

Guides an agent in driving a physical iPhone through argent, covering supported tools and hardware limits.

What it does
This skill documents how to interact with a physical iPhone through argent, listing which device tools exist on hardware and which fail with a not-supported error. It explains the observation-versus-mutation contract, app-under-automation behavior, and per-tool hardware limits such as gestures, buttons, and keyboard input. It also notes workarounds, for example driving an app's own zoom and rotate UI with taps and drags, and passing a bundleId so https links open in the owning app.
When to use it
Use it when a physical iPhone is involved, identified by a list-devices iOS entry with kind "device", and only then. It is not meant for simulators; for cable, trust, or signing problems, the setup skill is referenced instead.
Requirements
Requires the argent tooling and a connected, trusted physical iPhone; no scripts are shipped, only instructions.

Physical iPhone interaction

Read this only for a physical iPhone. argent-device-interact still applies for everything not listed here.

Contract

  • Observation never changes the screen; mutation may. describe and await-ui-element fail on a backgrounded target instead of re-fronting it; await-screen-idle returns settled: false with no reason. The first describe within a second of button home can still return the old tree; describe again. Gestures and keyboard re-front it and return reactivated: true; re-describe before the next step.
  • launch-app, open-url and restart-app set the app under automation; reinstall-app clears it; a tool-server restart forgets it: launch again.
  • Each tool's description states its own hardware limits (named keys, gesture-custom shapes, buttons, edge swipes, tap counts). A gated tool fails with a bare not supported on ios device: the fix is in the list below, not in the error.

Tools on hardware

  • Only these exist: list-devices, launch-app, restart-app, reinstall-app, open-url, describe, screenshot, screenshot-diff, gesture-tap, gesture-swipe, gesture-custom, button (home, volumeUp, volumeDown, actionButton on models that have one), keyboard, await-ui-element, await-screen-idle, run-sequence, the flow tools, stop-simulator-server and stop-all-simulator-servers (session end). Every other device tool fails with not supported on ios device.
  • No two-finger gestures, rotate, shake, paste, settings-permissions, screen recording, debugger-*, react-profiler-*, native-profiler-*, native-*, boot-device: drive the app's own zoom and rotate UI with taps and drags, move the phone by hand, type with keyboard, change permissions in the phone's Settings, and debug, profile or record on a simulator.
  • gesture-swipe: durationMs sets drag speed, not time; momentum:false only rests 300 ms at the end, no damping. open-url https lands in Safari, never in the app that owns the link: pass bundleId.

Source and attribution

Source:software-mansion/argentinpackages/skills/skills/argent-ios-device-interactat commitcb0f538

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal