Skip to main content

Build

Argent Device Interact

argentOfficialCertified

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).

  • New
  • v1.0.4
  • No reviews yet

Getting started

Full instructions

Install 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 udid from list-devices (or boot-device if 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-setup and argent-ios-device-interact
    • Mac app (platform: "macos"): argent-macos-app-interact
    • TV (runtimeKind: "tv" or platform: "vega"): argent-tv-interact
    • Chromium / HarmonyOS / foldables (foldable: true): references/chromium.md, references/harmonyos.md, references/foldables.md
  • 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-app or open-url, never tap home-screen icons. Use restart-app for 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's tap=(x,y) when it has one, else at the frame center. Call describe only 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); call describe or screenshot if that earlier result isn't in context. An identical tree does not mean the action did nothing.
  • Batch known steps: use run-sequence when multiple consecutive steps are known ahead of time (scroll sweeps, type + enter, form fill + submit).
  • Text entry: tap the field first (keyboard with no focus is a silent no-op). keyboard takes either text or key, not both. Keep keyboard as default; reserve paste for 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 screenshot or describe in a loop. Use await-ui-element, or use await-screen-idle before tapping moving UI.
  • Dialogs: describe exposes simulator/emulator system & permission dialogs; prefer answering the app's dialog over settings-permissions.
  • Screenshots: keep the default downscaled capture for UI checks; do not pass scale: 1.0 as 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
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

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.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/argent-device-interact)](https://skills-hub.ai/skills/argent-device-interact)
HTML
<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.