Drive iOS, Android, or Chromium apps with Argent MCP tools. Use when tapping, swiping, typing, launching apps, waiting for UI, or taking screenshots (not for TV targets).
Getting started
Full instructionsInstall the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.
Instructions: SKILL.mdv1.0.4
Each tool's description carries its parameters, defaults, and return shape. This skill covers routing and gotchas those descriptions don't state.
Target Routing
- Get a
udidfromlist-devices(orboot-deviceif none is ready). Full setup:argent-ios-simulator-setup/argent-ios-device-setup/argent-android-emulator-setup. - Before driving a specialized target, read the matching instructions below:
- Physical iPhone (
kind: "device"):argent-ios-device-setupandargent-ios-device-interact - Mac app (
platform: "macos"):argent-macos-app-interact - TV (
runtimeKind: "tv"orplatform: "vega"):argent-tv-interact - Chromium / HarmonyOS / foldables (
foldable: true):references/chromium.md,references/harmonyos.md,references/foldables.md
- Physical iPhone (
- Load any deferred tool's schema (e.g.
gesture-custom,gesture-pinch,gesture-rotate) before its first call so numbers don't serialize as strings. - If delegating device tasks to sub-agents, ensure they have MCP permissions.
Core Rules
- Open apps directly: use
launch-apporopen-url, never tap home-screen icons. Userestart-appfor clean in-memory state. - Use the returned element tree: interaction tools already attach a downscaled screenshot and
--- Elements after action (describe) ---with normalized[0,1]tap frames. Tap at a line'stap=(x,y)when it has one, else at the frame center. Calldescribeonly when no fresh tree covers the current screen. Never derive routine tap coordinates from pixels. - Tree & screenshot IDs: full trees/screenshots carry a
Tree id/Screenshot id. When unchanged or slightly changed, a later result references that id (unchanged note or-/+diff); calldescribeorscreenshotif that earlier result isn't in context. An identical tree does not mean the action did nothing. - Batch known steps: use
run-sequencewhen multiple consecutive steps are known ahead of time (scroll sweeps, type + enter, form fill + submit). - Text entry: tap the field first (
keyboardwith no focus is a silent no-op).keyboardtakes eithertextorkey, not both. Keepkeyboardas default; reservepastefor real paste flows (OTP, long tokens). Use{{secret:<NAME>}}placeholders for credentials and navigate/submit before capturing non-secure fields. - Wait server-side: never poll
screenshotordescribein a loop. Useawait-ui-element, or useawait-screen-idlebefore tapping moving UI. - Dialogs:
describeexposes simulator/emulator system & permission dialogs; prefer answering the app's dialog oversettings-permissions. - Screenshots: keep the default downscaled capture for UI checks; do not pass
scale: 1.0as a tapping/readability aid.
Read references/advanced.md when you need: the full tool table, network-conditions reset, React Native LogBox dismissal, an empty describe tree or a screenshot timeout, await-ui-element/await-screen-idle edge cases, run-sequence gating, paste/secrets rules, or Android reinstall-app notes.
Explore more skills
Browse all- Argent QA E2EWrite repeatable QA regression e2e tests from test cases, tickets, or acceptance criteria (iOS, Android, Chromium, Mac…
- Argent Test UI FlowAutonomously verify one-off mobile UI flows (iOS/Android) with interact-screenshot-verify loops. Use when testing…
- Argent Settings PermissionsGrant, deny, or reset app runtime permissions out-of-band on an iOS simulator or Android device via…
- Argent Screen RecordingRecord a screen video with Argent on iOS, Android, or Mac apps. Use when asked to capture a video clip of a flow,…
- Argent React Native OptimizationEntry-point for React Native performance optimization; profiles first via `argent-react-native-profiler`. Use when the…
- Argent Ios Device InteractDrive a physical iPhone with Argent. Use when targeting a physical iPhone (list-devices kind "device") and ONLY then,…
Security
Reviews (0)
More from argent
View source →Frequently asked questions about argent-device-interact
What does the argent-device-interact skill do?
Drive iOS, Android, or Chromium apps with Argent MCP tools. Use when tapping, swiping, typing, launching apps, waiting for UI, or taking screenshots (not for TV targets). It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the argent-device-interact skill?
Run `npx @skills-hub-ai/cli install argent-device-interact` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/argent-device-interact/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does argent-device-interact work with?
argent-device-interact runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the argent-device-interact skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use argent-device-interact after installing it?
In Claude Code, type `/argent-device-interact` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the argent-device-interact skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/argent-device-interact)<a href="https://skills-hub.ai/skills/argent-device-interact"><img src="https://skills-hub.ai/api/badges/skill/argent-device-interact" alt="Install on Skills Hub"></a>More options in the badge docs.