MCPInstall
limrun-inc avatar

limrun-maestro-testing

Run Maestro YAML flows against a Limrun cloud iOS simulator with lim ios maestro, from any environment (Linux, Windows, macOS, VM, container). Use when the user wants to run, write, or debug Maestro flows or maestro test on iOS, migrate an existing Maestro suite to remote simulators, or asks for UI testing with Maestro. iOS simulators only today. For Detox suites use limrun-detox-testing; for driving the simulator without a test framework use limrun-ios-simulator.

Installs
43.2K
Last 24h
+45
Trending rank
#3576
Security
Fail

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/limrun-inc/skills --skill limrun-maestro-testing
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads limrun-maestro-testing automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

Security audits

Independent scans of the skill's instructions and bundled files, each dated to when it ran.

Gen Agent Trust Hub FailHIGH ·The skill provides instructions for setting up mobile UI testing using the Limrun CLI and the Maestro framework. It involves downloading tools and executing testing flows provided by the user. While it uses official and well-known sources for its tools, it processes user-provided flow files which presents a minor surface for indirect prompt injection.· Audited
Socket PassNo alerts· Audited
Snyk WarnMEDIUM ·Risk: MEDIUM · 1 issue· Audited

SKILL.md

The instructions your agent reads when the skill is triggered.

Maestro on Limrun iOS

Run the stock upstream Maestro CLI against a remote Limrun iOS simulator. lim ios maestro wires maestro test to the instance transparently: it installs and launches the Maestro XCTest runner on the simulator when needed, then routes the driver traffic to it. No fork of Maestro, no local simulator, no local Xcode.

Prerequisites

  • lim CLI 0.22.0 or newer: npm install --global lim. Auth is lim login or LIM_API_KEY (it may already be set in the user's environment even when .env and the shell do not show it; check before asking for it).
  • Maestro CLI on PATH: curl -fsSL https://get.maestro.mobile.dev | bash. Maestro needs Java 17+ (java -version to check). Both Maestro 2.5.x and 2.6+ work; lim adapts to the installed version automatically.

The CLI is the source of truth: if a flag errors or you need one not shown here, check lim ios <subcommand> --help instead of guessing.

Verify the setup

Before touching the user's app, prove the whole pipeline with a flow against the built-in Settings app; it needs no app install, tunnel, or build:

ID=$(lim ios create --install-asset appstore/maestro-ios-runner-2.5.1.tar.gz \
  --no-open --quiet --json | jq -r .metadata.id)

cat > hello-flow.yaml <<'EOF'
appId: com.apple.Preferences
---
- launchApp
- assertVisible: General
- takeScreenshot: settings-check
EOF

lim ios maestro --id "$ID" test hello-flow.yaml

All three steps reporting COMPLETED means Maestro, the runner, and the remote wiring all work; anything failing after this point is about the app or the flow, not the setup.

Run a flow

lim ios maestro test flow.yaml
lim ios maestro test flows/
lim ios maestro --id <ios-id> test flow.yaml

Without --id this targets the most recently created iOS instance in the current workspace (workspaces follow the git repo or worktree you run from); pass --id <ios-id> (before test) in scripts, agents, or when running from a different directory. The first run on an instance takes a few extra seconds to launch the runner (plus the install when it wasn't preinstalled); later runs skip that. Extra Maestro flags go after --:

lim ios maestro -- test flow.yaml --include-tags smoke --test-output-dir artifacts

Do not pass --platform, --device, --udid, --no-reinstall-driver, or --driver-host-port; lim sets those itself and rejects duplicates. Real Maestro exit codes and reports are preserved, so CI wiring works as with local Maestro.

Instance setup

Any running iOS instance works; the runner is installed on first use. Creating the instance with the runner preinstalled skips that step:

lim ios create --install-asset appstore/maestro-ios-runner-2.5.1.tar.gz --no-open

--no-open skips opening the stream URL in a browser (important on headless and CI machines). The runner asset name above is the only published one and it is version-agnostic: the same runner serves Maestro 2.5.x through 2.7.x, so do not look for an asset matching your Maestro version.

Install the app under test as usual (lim ios create --install app.ipa, lim ios install-app, or a build skill), then reference its bundle id via appId: in the flow. For Expo Go testing, also preinstall appstore/Expo-Go-54.0.6.tar.gz and open the project URL with openLink (env vars must be prefixed MAESTRO_ to be visible in flows):

MAESTRO_EXPO_URL='exp://<tunnel-host>' lim ios maestro test flow.yaml

Expo dev-client builds

Expo Go is the quickest path, but a dev-client build works too. launchApp lands on the dev launcher rather than your app, so open the dev-client URL instead: - stopApp followed by - openLink: <scheme>://expo-development-client/?url=<url-encoded-metro-url>. Use limrun-expo-development for building the dev client, starting Metro, and deriving that URL.

Flow gotchas on Limrun

  • startRecording/stopRecording YAML commands are not supported (the simulator is remote). Record around the run instead: lim ios record start --id <ios-id> returns immediately (recording happens on the instance), and after the flow lim ios record stop --id <ios-id> -o video.mp4 downloads the video to the local path.
  • takeScreenshot works and saves the PNG locally into the working directory (or --test-output-dir), like stock Maestro.
  • addMedia and flow commands that reference local simulator file paths are not supported.
  • HTTP calls from runScript/evalScript must use https:// URLs. Plain http:// calls are refused (except to the driver itself), because Maestro's plain-HTTP traffic is routed through a local bridge that only forwards to the remote simulator.
  • When a flow re-runs against an app that is already open (for example Expo Go), start it with - stopApp before openLink/launchApp; deep links can be dropped by an app that is mid-foreground, and stale screens fail early assertions.
  • Fleet variance: anchor assertions on stable accessibility identifiers and text, not on timing. Use extendedWaitUntil with a generous timeout for first app load.
  • Text selectors match the element's accessibility label, and on iOS a label often folds in sibling content (icon names, adjacent text) or non-breaking spaces. Read the exact label with lim ios element-tree before writing the selector instead of guessing from what the screen shows.

Validation signals

  • Running maestro <version> against <ios-id>... then Running on Limrun iPhone - iOS ...: the driver is connected end to end.
  • Launching the Maestro runner...: first use on this instance. Installing the Maestro runner... additionally appears only when the instance was created without the runner asset. Subsequent runs skip both.
  • Maestro itself prints several JDK WARNING lines (reflection, native access) on every run; they are benign upstream noise, not Limrun errors.
  • Flow failures print Maestro's own debug output directory with screenshots and the UI hierarchy; lim ios element-tree --id <ios-id> shows the live screen when debugging selectors.

Cleanup

Delete the instance when done: lim ios delete <ios-id> (--id is not valid for delete). The wiring lim ios maestro starts is torn down when the command exits.

FAQ

What does the limrun-maestro-testing skill do?

Run Maestro YAML flows against a Limrun cloud iOS simulator with lim ios maestro, from any environment (Linux, Windows, macOS, VM, container). Use when the user wants to run, write, or debug Maestro flows or maestro test on iOS, migrate an existing Maestro suite to remote simulators, or asks for UI testing with Maestro. iOS simulators only today. For Detox suites use limrun-detox-testing; for driving the simulator without a test framework use limrun-ios-simulator.

How do I install limrun-maestro-testing?

Run npx skills add https://github.com/limrun-inc/skills --skill limrun-maestro-testing in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/limrun-maestro-testing/ (personal) or .claude/skills/limrun-maestro-testing/ (project).

Which AI agents can use limrun-maestro-testing?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is limrun-maestro-testing safe to install?

Security partners have reviewed it: Gen Agent Trust Hub flagged risks; Socket passed; Snyk flagged items to review. As with any skill, read the SKILL.md and bundled scripts before installing.

Who maintains limrun-maestro-testing?

It is published by limrun-inc in limrun-inc/skills. It has 43,243 recorded installs.

More from limrun-inc/skills

View all →
limrun-inc avatar

limrun-ios-simulator

limrun-inc/skills

Drive an app running on a Limrun cloud iOS simulator: launch, tap, type, read the accessibility element tree, read app logs and simulator syslog, screenshot, record video, connect the app to local services or a private tunnel, play a video file as the camera, send all traffic through the user's proxy and trust its CA, set the clipboard, read and write user defaults, post notifications, and run timed action chains. Use after a build (from any builder) when the user wants to see, test, or interact with their app on a simulator, or says 'show me a screenshot', 'tap', 'run the UI test', 'record a video', 'read the logs', 'connect localhost', 'reach my local server from the simulator', 'route all traffic through my proxy', 'trust my CA', 'mock the camera', 'paste into the app', 'change the language', 'simulate Face ID', or 'launch on simulator'. To build the app first, use limrun-xcode-bazel (Bazel workspaces) or limrun-xcode (xcodebuild projects).

Mobile45.2K installs
limrun-inc avatar

limrun-xcode

limrun-inc/skills

Build an iOS / Apple app on remote Xcode with lim xcode build instead of local xcodebuild, run project commands with lim xcode run, or run its XCTest suites with lim xcode test, from any environment (Linux, Windows, macOS, VM, container). Use for non-Bazel projects (an .xcodeproj / .xcworkspace, an XcodeGen project.yml with a gitignored project, React Native / Expo native build) when the user wants to build, compile, run code generation or Make targets, test, inspect build logs, reload, produce a preview build, or ship a signed device IPA. To run, tap, screenshot, or otherwise interact with the result on a simulator, use limrun-ios-simulator. For Bazel workspaces, use limrun-xcode-bazel.

Mobile45.2K installs
limrun-inc avatar

limrun-expo-development

limrun-inc/skills

Prepare and run Expo / React Native apps on Limrun with Expo dev-client iteration. Use when the user wants an Expo dev build, Metro tunnel, hot reload, JS/TS iteration without repeated native rebuilds, or to run/test an Expo app on a remote iOS simulator or Android emulator.

Mobile45.2K installs
limrun-inc avatar

limrun-detox-testing

limrun-inc/skills

Configure, run, or debug Detox on Limrun iOS simulators. Use when attaching the Limrun Detox runtime to an app, wiring Detox mediator connectivity, or validating app/tester connections over destination tunnels.

Testing & QA45.2K installs
limrun-inc avatar

limrun-xcode-bazel

limrun-inc/skills

Legacy: build a Bazel iOS app with lim xcode rbe on a dedicated Xcode sandbox and install it on a remote iOS simulator attached to that sandbox. Use only when the workspace already runs on lim xcode rbe (its .limrun/ came from lim xcode rbe) or the user explicitly asks for it, or when a lim xcode rbe build, upload, or install misbehaves. For every other Bazel build, including new workspaces, iOS or Android, and running the app on a simulator, use limrun-bazel. To tap, type, screenshot, or otherwise interact with the running app, use limrun-ios-simulator.

Mobile45.2K installs
limrun-inc avatar

limrun-gradle

limrun-inc/skills

Build an Android app on a remote Gradle sandbox with lim gradle build instead of local Gradle or Android Studio, from any environment (Linux, Windows, macOS, VM, container). Use when the user wants to build an APK or AAB, sign a release with an upload key, prepare a Play Store publish, inspect build logs, or select sandbox tools and run shell commands, for native Android projects, React Native, and Expo. To run, tap, screenshot, or otherwise interact with the built APK on an emulator, use limrun-android-emulator. For iOS builds, use limrun-xcode or limrun-expo-development.

Mobile42.1K installs

Popular testing & qa skills

View category →
mattpocock avatar

tdd

mattpocock/skills

Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

Testing & QA1.2M installs
mattpocock avatar

grilling

mattpocock/skills

Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.

Testing & QA1.1M installs
mattpocock avatar

migrate-to-shoehorn

mattpocock/skills

Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.

Testing & QA537.8K installs
lllllllama avatar

run-train

lllllllama/rigorpilot-skills

Rigor Train skill for deep learning research repositories. Use when a documented or selected training command should be run conservatively for startup verification, short-run verification, full kickoff, or resume, with command, config, seed, log, checkpoint, status, and metric evidence written to standardized trainoutputs/. Do not use for environment setup, exploratory sweeps, speculative idea implementation, or end-to-end orchestration.

Testing & QA358.9K installs
obra avatar

test-driven-development

obra/superpowers

Use when implementing any feature or bugfix, before writing implementation code

Testing & QA281.8K installs

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work

Testing & QA233.6K installs