argent-test-ui-flow
Autonomously test an app UI (iOS or Android) by running interact-screenshot-verify loops using argent MCP tools
Install / Use
npx skills add software-mansion/argent --skill argent-test-ui-flowInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of argent-test-ui-flow
argent-test-ui-flow scores 85/100 on our quality scale, 2502nd of 4,722 Development & Engineering skills we index.
Its SKILL.md is 6.2 KB long, split into 5 sections with 1 code example: a thorough specification that gives an agent plenty to work with.
With 3,226 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 4 days ago, so argent-test-ui-flow is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-11-27. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
argent-test-ui-flow compared with similar skills
All 4 of these similar skills score higher than argent-test-ui-flow; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| argent-test-ui-flow (this skill)by software-mansion | 85 | 3.2k | 4d ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 122.3k | 1d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 115.4k | 3d ago | CLAUDE.md |
| hyperframesby heygen-com | 100 | 91.5k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.6k | today | CLAUDE.md |
Frequently asked questions
- How do I install argent-test-ui-flow?
- Run
npx skills add software-mansion/argent --skill argent-test-ui-flow. The install tabs above show the steps for each supported agent. - Which AI agents does argent-test-ui-flow work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is argent-test-ui-flow safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is argent-test-ui-flow still maintained?
- The repository was last updated 4 days ago, so argent-test-ui-flow is actively maintained.
Skill content
View source on GitHubname: argent-test-ui-flow description: Autonomously test an app UI (iOS or Android) by running interact-screenshot-verify loops using argent MCP tools. Use when testing UI flows, verifying login works, testing navigation, running UI test scenarios, manual QA steps, visible UI changes, or visual behavior.
Before testing
Resolve the device first: call list-devices, use the platform the user named or else prefer a device that is already running, and don't pick a cabled phone without explicit intent. Setup: argent-ios-simulator-setup / argent-android-emulator-setup. The interaction tool names are identical on iOS and Android.
Physical iPhone (kind: "device"): read argent-ios-device-interact first. launch-app before anything; describe fails while the app is backgrounded.
1. Workflow
For implementation tasks that modify visible UI, this workflow also serves as a visual acceptance path.
- Baseline screenshot: call
screenshotto see the current UI state. For visual regression comparison or UI change verification, capture the baseline atscale: 1.0withincludeImageInContext: falseand keep the returnedpathbefore editing whenever feasible. - Find target: get element coordinates from a discovery tool before tapping:
- App screens (React Native included), in-app modals and system dialogs:
describe. Fall back toscreenshotonly if an overlay is not exposed reliably. When the app raises its own permission dialog, answer it here; that's the real flow under test. To take a prompt out of the flow, useargent-settings-permissionsduring setup.
- App screens (React Native included), in-app modals and system dialogs:
- Interact: perform the action (
gesture-tap,gesture-swipe,keyboard,button, ...); you receive a screenshot and element tree automatically (an unchanged screenshot or identical/slightly changed tree references the earlierScreenshot id/Tree idwith a note or-/+line diff instead of repeating it). - Verify: check the returned screenshot. If it shows a loading/transitional state, block with
await-ui-element(expected elementvisible, or a spinnerhidden) rather than a guessed delay (its result carries the new screenshot and element tree), but only with a selector you can trust (text/identifier/role) that the screen is known to have or that you saw in a priordescribe; a guessed one just times out. Otherwise use a short fixed wait. Pick evidence by what's being asserted:- Visual (layout, spacing, color, typography, image/icon rendering, clipping, overflow, text rendering): prefer
screenshot-diffagainst the step 1 baseline: it surfaces pixel-visible changes the auto-screenshot might miss. Fall back to inspecting the auto-screenshot only when a stable baseline isn't available. - Structural (navigation state, element existence, accessibility labels/values, selection, hierarchy, route): verify with
describeordebugger-component-tree. - Runtime / log / network (console errors, API calls, persistence, timing): verify with
debugger-log-registry,debugger-evaluate, or targeted tests. If the debugger reportsnot_connected, follow itsguidancebefore drawing conclusions. For a specific API request, start capture before the action. Then callawait-network-requestand finish withnetwork-capture-stop. See Inspect network requests for setup. - Mixed: collect evidence for each relevant class.
- Report the combined verdict: expected behavior, observed behavior, evidence used, and any blocker for requested visual diffing.
- Visual (layout, spacing, color, typography, image/icon rendering, clipping, overflow, text rendering): prefer
- Repeat for each step in the flow.
2. Example: login flow
1. describe → login screen
2. gesture-tap email field (frame centre from the tree)
3. keyboard { text: "user@example.com" }
4. gesture-tap password field (from the returned tree)
5. run-sequence: keyboard { text: "{{secret:APP_PASSWORD}}" }, gesture-tap Login button
6. await-ui-element → home screen appeared
Credentials: never type plaintext credentials; use a
{{secret:<NAME>}}placeholder (keyboard'stextparameter lists where it is read from and what to do when a name is missing). Never invent credentials or echo secret values into reports or saved files.
3. Recovery Pattern
- Screen mid-transition or loading: wait with
await-ui-elementas in step 4, then re-check. Fall back to a fixed wait +screenshotonly when no element reliably marks the transition. Don't poll with repeated screenshots. - Tap misses the target: re-run
describeand retry once with new coordinates. If it fails twice, stop and report that the element was not found. - Permission dialog or modal visible: re-run
describefirst. Stay in screenshot-driven navigation only while the overlay is not exposed reliably: tap one visible button at a time, verify with the returned screenshot, and switch back todescribeas soon as it is dismissed. - A saved e2e test fails during
e2e-executereplay (as opposed to the live steps above): followargent-create-e2e's Diagnose a replay failure: classify the failure, inspect the actual screen, repair the smallest justified unit, then replay the full e2e test.
Record for replay: if a tested flow is likely to be repeated, use the argent-create-e2e skill to record it as a .yaml test, so it can be replayed later with a single e2e-execute call.
Related Skills
| Skill | When to use |
| ---------------------------------- | -------------------------------------------------------- |
| argent-device-interact | Tool usage for tapping, swiping, typing (iOS + Android) |
| argent-screenshot-diff | Visual regression and before/after screenshot comparison |
| argent-ios-simulator-setup | Booting and connecting an iOS simulator |
| argent-android-emulator-setup | Booting and connecting an Android emulator |
| argent-react-native-app-workflow | Starting the app, Metro, build issues |
| argent-metro-debugger | Console logs, JS evaluation, component inspection |
| argent-create-e2e | Record a test sequence as a replayable e2e test |
Related Skills
taste-skill
122.3kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
115.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
hyperframes
91.5kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.6k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
