Skip to content
Argent Screen Recording

Argent Screen Recording Skill

Software Mansion's official Argent skill for recording video of iOS, Android and Mac apps from a coding agent, with safeguards against recordings left running and notes on where the file lands.

GitHub Docs

Install

Install with the skills CLI

One command for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf and dozens of other agents. Needs Node.js; the skill is fetched straight from software-mansion/argent.

$ npx skills add software-mansion/argent --skill argent-screen-recording

Run it in a terminal. The CLI finds the agents installed on your machine, asks which ones to add the skill to, and whether to install it into the folder you ran it from or for all your projects.

Other ways to install

Copy the whole skill folder — SKILL.md and any scripts or references beside it — into ~/.claude/skills/argent-screen-recording/, where Claude Code picks it up in every project. Only git is needed.

tmp=$(mktemp -d) && \
  git clone --depth 1 --branch main https://github.com/software-mansion/argent.git "$tmp" && \
  mkdir -p ~/.claude/skills && \
  cp -R "$tmp"/packages/skills/skills/argent-screen-recording ~/.claude/skills/argent-screen-recording

No scripts or references next to it? Saving the SKILL.md alone as ~/.claude/skills/argent-screen-recording/SKILL.md works too.

Using another agent? Its personal skills folder
Codex
~/.agents/skills/
Cursor
~/.cursor/skills/
GitHub Copilot
~/.copilot/skills/
Gemini CLI
~/.gemini/skills/
Windsurf
~/.codeium/windsurf/skills/
OpenCode
~/.config/opencode/skills/

About

  • Records iOS simulators, wired iPhones, Android emulators and devices, and native Mac apps
  • Reminder rule so a recording is never left running until its time cap
  • Start/stop workflow with run-sequence for scripted interactions
  • Checks the stop warning and file size before presenting the video
  • Per-platform limits: wired iPhone, Android secure screens, remote simulator orientation
  • Client-side save location under .argent/recordings, configurable per project
  • Watermark toggle via argent disable video-watermark

Argent Screen Recording is one of the skills that ship with Argent, Software Mansion's MCP server, CLI and skill set for letting coding agents such as Claude Code, Codex and Cursor drive simulators, devices and desktop apps. This skill covers one job: capturing a video clip of a flow, an interaction or an animation, using Argent's screen-recording-start and screen-recording-stop tools.

Most of the skill is about not losing the recording. It tells the agent to set itself a reminder (a wake-up or scheduled-task tool, or a background sleep) the moment recording starts, to read the NOTE: Argent attaches to every tool result while a recording runs, and to call stop even when the time limit has already ended the capture, because stopping is what hands over the file. The workflow is short: find the target with list-devices, start with a timeLimitSeconds slightly above the expected interaction, drive the app with run-sequence or individual calls, then stop and check the warning field and file size before presenting the video.

It is specific about platforms. Supported targets are iOS simulators (local and remote), cabled iPhones, Android emulators and devices, and native Mac apps including Mac Catalyst. A physical iPhone must be wired, needs a one-time macOS camera permission for the stream helper and shows no touch markers; Android secure screens record black; remote simulators keep portrait orientation; and a video keeps the screen size it started at. Finished recordings are saved on the client under .argent/recordings/ in the project (configurable with argent config set recordings.directory), and a faint Argent watermark can be switched off. It needs Argent installed and its tools available to the agent; the repository is Apache-2.0.

SKILL.md

The instructions your agent loads, as published by Software Mansion.

SKILL.md
name
argent-screen-recording
description
Record a screen video with Argent on iOS, Android, or Mac apps. Use when asked to capture a video clip of a flow, interaction, or animation.

screen-recording-start and screen-recording-stop carry the options (timeLimitSeconds, trimStatic, showTouches) and the result fields. One recording per device at a time; different devices can record concurrently.

1. Critical: never leave a recording running

A forgotten recording keeps capturing until its timeLimitSeconds cap fires, holding the session and delaying the video. Use both safety nets:

  1. Set yourself a reminder the moment the recording starts, for the expected end of the interaction. Use whatever your harness provides: a reminder/wakeup or scheduled-task tool if you have one, otherwise a background shell running sleep <expected-seconds> whose completion notification pulls you back. When it fires, call screen-recording-stop. Do not rely on remembering.
  2. Read the tool-result notes. While a recording runs, every argent tool result carries a NOTE: about it. If the note says the recording already ended, still call screen-recording-stop: that is what hands you the file.
2. Workflow
  1. Find the target with list-devices. Use argent-device-interact for mobile targets or argent-macos-app-interact for Mac apps. Boot the target if needed, launch the app, and navigate to the first screen you want to capture.
  2. Call screen-recording-start with udid and a timeLimitSeconds slightly above the expected interaction length.
  3. Set the end-of-recording reminder from §1; this step is not optional.
  4. Use run-sequence for known steps that need no inspection between actions. Use individual calls when the next action depends on what the app shows.
  5. Call screen-recording-stop with the same udid. Check warning (cap-triggered stop, early encoder exit, dropped frame stream, possibly truncated file) and confirm the file has a sane size before presenting it.

Where the file lands. A finished recording is saved durably on the client, even with a remote argent link tool-server: into <project>/.argent/recordings/ (the nearest ancestor of the client's working directory with a .git/package.json/.argent), or ~/.argent/recordings/ outside a project. Change it with argent config set recordings.directory <dir> (--scope project for a per-repo choice). Mention the path to the user, and that the file is untracked: add it to .gitignore or clean it up if it shouldn't be committed.

3. Platform notes and limits
  • Supported targets. iOS simulators (local and remote), cabled iPhones, Android emulators and devices, and native Mac apps including Mac Catalyst. Use screenshot for a still image or argent-create-e2e for a replayable test.
  • Physical iPhone: needs state: "connected" with transportType: "wired" in list-devices. The first recording on a Mac compiles a helper (a few seconds) and macOS asks the user to allow camera access for ios-screen-stream; tell the user to click Allow. No touch markers are drawn.
  • Mac apps. Restore the window and move it fully onto one display before starting. On MACOS_APP_LIBRARY_OUTDATED, run restart-app and retry. If the error persists, check that the Argent build includes native Mac recording support. Retrieve the video before quitting, restarting, or disconnecting the app. After a disconnect, check the next stop error for the host path of any saved video. Record video and collect a native profile in separate runs because recording adds CPU load to the app.
  • One size per video: the video keeps the size of the screen at the start; a later size change is letterboxed. On a foldable simulator, start recording on the panel you need at full size.
  • Remote (`remote:`) simulators: the video keeps the screen's portrait orientation, so a device in landscape plays sideways.
  • Android: secure screens (DRM, some password fields) come out black.
  • Watermark: a faint Argent logo is stamped bottom-left. Turn it off with argent disable video-watermark; the flag is read when a recording starts.
Install

Firebase's official skill for Remote Config on Android and iOS: SDK setup, in-app defaults, loading strategies and real-time updates, plus template editing, deployment and version history through the Firebase CLI.

Featured

Expo's official skill for building native-feeling screens: Apple HIG styling, semantic colors, SF Symbols, native controls, Reanimated, blur and liquid glass.

Browse all skills →