software-mansion/argent/argent-device-interact
Claude Code and agent skill by software-mansion/argent
- community
Checking that the SKILL.md file is still in the repository.
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).
Install
npx vskill@latest install software-mansion/argent/argent-device-interactSKILL.md
The same SKILL.md was published earlier as software-mansion/argent/argent-device-interact.
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 - 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. 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.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/skills/skills/argent-device-interact/SKILL.md
Popularity
- Repository stars
- 2,952
- Repository forks
- 126
- 7-day trend score
- 40
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/software-mansion/argent/argent-device-interact)