Argent is a toolkit that lets an AI assistant control and inspect iOS, Android, TV, Electron, and Chromium applications through simulators, emulators, physical devices, or desktop connections. It is for developers who want an agent to interact with interfaces, reproduce issues, test features, debug applications, or run profiling tasks. The catalogue add-ons expose Argent's device-control and development workflows to coding agents.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add software-mansion/argent --skill argent-device-interactgit clone --depth 1 https://github.com/software-mansion/argentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/software-mansion/argent/argent-device-interact)<a href="https://agentmods.dev/skills/software-mansion/argent/argent-device-interact"><img src="https://agentmods.dev/badge/skills/software-mansion/argent/argent-device-interact/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/software-mansion/argent/argent-device-interact"><img src="https://agentmods.dev/badge/skills/software-mansion/argent/argent-device-interact.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk fail
- NVIDIA SkillSpector warn
SkillSpector: 8 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 194 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 196 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 203 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- medium Prompt Injection · line 88 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 91 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 92 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 94 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Excessive Agency · line 202 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.00800 |
| Opus 5.5 | $0.00018 | $0.00320 |
| Sonnet 5.5 | $0.00009 | $0.00160 |
| Haiku 4.5 | $0.00004 | $0.00080 |
Grade A, and why
argent-device-interact scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 31 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday Changed 6b564ee8592f
- 6d ago Changed · -73 lines · -39 tokens per session 882aad97bf79
- 8d ago Changed · +2 lines c177b5826df1
- 9d ago Changed f51e4770485a
- 11d ago Changed · +1 lines 3fc452bd635e
- 12d ago Changed a07e67462cf0
- 16d ago Changed fc1aa1e606c2
- 23d ago Changed · +1 lines 490d83d04b59
- 26d ago Changed · -302 lines · +5 tokens per session 1e6317c32769
- 1mo ago First seen · 402 lines · 78 tokens per session scan A d9b41e9aede6
argent-device-interact is a skill published in the GitHub repository software-mansion/argent (3,292 stars, last pushed today), licensed Apache-2.0. It adds 44 tokens to every session and 800 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
argent-device-interact compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| argent-device-interactsoftware-mansion/argent | Skill | 3.3k | today | Apache-2.0 | A | 44 | Claude Code, Codex |
| truesheet-usagelodev09/react-native-true-sheet | Skill | 2.1k | today | MIT | A | 171 | Claude Code, Codex |
| react-nativeericrisco/rsc-harness | Skill | 707 | yesterday | MIT | A | 90 | Claude Code, Codex |
| uniwinduni-stack/uniwind | Skill | 1.8k | today | MIT | A | 130 | Claude Code, Codex |
| Detox Mobile TestingPramodDutta/qaskills | Skill | 253 | 1mo ago | MIT | A | 48 | Claude Code, Codex |
| migrate-nativewind-to-uniwinduni-stack/uniwind | Skill | 1.8k | today | MIT | C | 82 | Claude Code, Codex |
| react-native-expertpersonamanagmentlayer/pcl | Skill | 47 | 1mo ago | Apache-2.0 | A | 62 | Claude Code |