skillfed

argent-create-flow

Argent's flow creation tool lets you capture device interactions and convert them into automatable sequences. Record user actions once, then replay them across multiple scenarios to eliminate manual repetition and streamline your workflow.

Argent Create Flow lets you capture device interactions by recording user actions like taps, swipes, and text input. Start a recording session, perform your sequence of actions on the device, and argent automatically converts these interactions into a reusable flow. Once recorded, you can save the flow as YAML and replay it across multiple test scenarios without manual repetition.

AI-generated summary based on this skill's SKILL.md

1,824 53 Apache-2.0 updated by software-mansion

Install

software-mansion/argent/argent-create-flow · repository language: TypeScript

CLI (skillfed)coming soon
git clone https://github.com/software-mansion/argent
cp -r argent/packages/skills/skills/argent-create-flow ~/.claude/skills/argent-create-flow

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I record a flow in argent?

Argent Create Flow lets you capture device interactions by recording user actions like taps, swipes, and text input. Start a recording session, perform your sequence of actions on the device, and argent automatically converts these interactions into a reusable flow. Once recorded, you can save the flow as YAML and replay it across multiple test scenarios without manual repetition.

What's the difference between fragment and e2e flows?

Argent Create Flow supports two flow types: fragment flows execute against your current app state and are ideal for multi-step scenarios within an existing session, while e2e (end-to-end) flows launch the app from scratch and verify complete behavior from start to finish. Choose fragments for targeted testing of specific workflows and e2e flows for comprehensive application testing.

How can I make my argent flows more resilient?

Argent Create Flow provides selectors, assertions, and snapshots to strengthen your flows. Use precise selectors to target UI elements reliably, add assertions to verify expected behavior at key points, and leverage snapshots to detect visual changes. These tools help your flows withstand UI updates and reduce failures when app layouts change.

How do I fix a broken flow in argent?

When an argent flow breaks due to UI changes or failed steps, diagnose the issue by reviewing the flow execution logs and identifying which step failed. Update selectors if UI elements moved, adjust assertions if behavior changed, and re-record affected segments if needed. Test the corrected flow to confirm it runs reliably before deploying it to your automation suite.

Can I save and replay device interactions as reusable sequences?

Yes, argent Create Flow is built for exactly this purpose. Record your device interactions once, save them as a reusable flow file, and replay that sequence across different test runs and scenarios. This eliminates manual repetition and lets you build a library of automatable sequences that scale your testing efficiency.

What is flow-execute and how do I use it?

Flow-execute is argent's command for running a saved flow. After recording and saving your flow as YAML, use flow-execute to trigger that sequence on your device or emulator. This lets you automate repeated app actions and integrate your recorded flows into larger test suites and CI/CD pipelines.

SKILL.md

rendered from the published skill — quoted content, verbatim

Overview

A flow is a sequence of steps saved to a .yaml file in the .argent/flows/ directory. Each recorded step is executed live as you add it, so you verify it works before it becomes part of the flow. Replay a finished flow with flow-execute, or — for an e2e flow — headlessly with argent flow run <name>.

Flows store no device id: the runner binds a device (the single booted one, or pass device/platform). A recorded coordinate gesture-tap is captured as a portable tap: { selector } step whenever the tapped element has stable text/identifier.

Two flow types

  • e2e — begins with a launch: step, which starts that app from scratch (terminate + relaunch), so the flow controls its own start state. No

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 1 file
packages/skills/skills/argent-create-flow/SKILL.md

Related skills

Tags

test-automation interaction-replay yaml-workflow mobile-scripting gesture-recording ui-assertion flow-composition ci-integration visual-regression