maestro-mobile-testing

maestro-mobile-testing is a skill for Claude Code from JuanMarchetto/agent-skills. It costs 88 tokens per session (2,384 once invoked), scanned C, original, MIT.

A guide to Maestro, a YAML-based tool for testing complete user flows in React Native and Expo mobile apps. YAML is a readable text format used to describe test steps.

In plain words
What is it for?
It is for writing flows that launch apps, tap controls, check visible content, use test identifiers, run scripts, and execute tests locally or in CI.
Why use it?
It helps create repeatable mobile tests and reduce failures caused by timing, authentication state, or differences between platforms.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the maestro-mobile-testing plugin — 1 skill shipped together

Good fit It is for writing flows that launch apps, tap controls, check visible content, use test identifiers, run scripts, and execute tests locally or in CI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/juanmarchetto/agent-skills/maestro-mobile-testing
Install

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.

Any agent
npx skills add JuanMarchetto/agent-skills --skill maestro-mobile-testing
Clone the repo
git clone --depth 1 https://github.com/JuanMarchetto/agent-skills

Made for: Claude Code.

Or install maestro-mobile-testing, the plugin that ships this one along with the rest of its 1 skill.

Wrote 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.

agentmods badge for maestro-mobile-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/juanmarchetto/agent-skills/maestro-mobile-testing/github.svg)](https://agentmods.dev/skills/juanmarchetto/agent-skills/maestro-mobile-testing)
Your own site
<a href="https://agentmods.dev/skills/juanmarchetto/agent-skills/maestro-mobile-testing"><img src="https://agentmods.dev/badge/skills/juanmarchetto/agent-skills/maestro-mobile-testing/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.

agentmods 80×15 button for maestro-mobile-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/juanmarchetto/agent-skills/maestro-mobile-testing"><img src="https://agentmods.dev/badge/skills/juanmarchetto/agent-skills/maestro-mobile-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,384 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.02384
Opus 5 $0.00044 $0.01192
Sonnet 5 $0.00018 $0.00477
Haiku 4.5 $0.00009 $0.00238

Measured 7d ago against content hash 32eb9bea045f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade C, and why

maestro-mobile-testing scanned grade C with 2 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 7d ago.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -Ls "https://get.maestro.mobile.dev" | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -Ls "https://get.maestro.mobile.dev" | bash
skills/maestro-mobile-testing/SKILL.md · 263 lines

How it starts

The opening of the file, as written. The whole thing — 263 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Maestro Mobile E2E Testing

Overview

Maestro is a declarative YAML-based mobile E2E testing framework. It provides automatic waiting, built-in retry logic, and fast execution without boilerplate. It's more stable than Detox or Appium for React Native apps.

Key Features

  • Declarative YAML — no imperative test code, just steps
  • Automatic waiting — no manual sleep() or flaky waits
  • Built-in retry — reduces test flakiness
  • Fast execution — runs quickly without setup overhead
  • Maestro Studio — interactive test builder (maestro studio)
  • Sub-flows — reusable YAML sequences for DRY tests
  • JavaScript scripting — GraalJS runtime for HTTP calls and data manipulation
  • Maestro Cloud — real device testing in CI without local simulators

Quick Start

Install

curl -Ls "https://get.maestro.mobile.dev" | bash
brew install openjdk@17
export JAVA_HOME=/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home

Minimal test

appId: com.myapp
---
- launchApp
- tapOn:
    id: "my-button"
- assertVisible: "Expected Text"

Run

maestro test .maestro/smoke-test.yaml
maestro test --debug .maestro/smoke-test.yaml  # step through
maestro studio                                  # interactive builder

Pattern Index

# Pattern Reference
1 Selector Strategy: testID vs Text core-patterns.md
2 Auth Pre-Flight Pattern core-patterns.md
3 Adaptive Tests (Both Auth States) core-patterns.md
4 Testing Optimistic Updates core-patterns.md
5 Dismissing Native Alerts core-patterns.md
6 Sub-Flows for Reusability core-patterns.md
7 Deep Links (Expo) core-patterns.md
8 Platform-Specific Logic core-patterns.md
9 Environment Variables core-patterns.md
10 Selector State Properties core-patterns.md
11 Relative Position Selectors core-patterns.md
- OTP/Magic-Link Auth Testing auth-testing.md
- CI/CD & Maestro Cloud ci-cd.md
- Critical Gotchas & Platform Differences gotchas.md
- MCP Server Integration mcp-integration.md

Read the full file on GitHub · 263 lines

Files

What ships with it

8 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.

Changes

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.

  1. 7d ago First seen · 263 lines · 88 tokens per session scan C 32eb9bea045f

Subscribe to this mod's changes

maestro-mobile-testing is a skill published in the GitHub repository JuanMarchetto/agent-skills (5 stars, last pushed 5mo ago), licensed MIT. It adds 88 tokens to every session and 2,384 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

android-ui-journey-testing

XML-specified Android UI journey testing, interactive step execution, assertion verification, and JSON outcome reporting.

sickn33/agentic-awesome-skills · 27 tokens

solopi-ai

A command-line framework for testing Android apps and devices with SoloPi, including on-device or cloud AI decision models. It manages devices, test cases, recorded interactions, replays, performance history, and evidence.

alipay/SoloPi · 127 tokens

android-emulator

Verify and debug native, React Native, Expo, or Flutter apps on an Android Emulator with agent-device. Use when an agent needs to launch an app, inspect its live UI, tap, type, scroll, validate a code change, collect failure evidence, or reproduce a workflow on an Android virtual device.

callstack/agent-device · 65 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

asc-shots-pipeline

Orchestrate iOS screenshot automation with xcodebuild/simctl for build-run, AXe for UI actions, JSON settings and plan files, Koubou-based framing (asc screenshots frame), and screenshot upload (asc screenshots upload). Use when users ask for automated screenshot capture, AXe-driven simulator flows, frame composition…

rorkai/app-store-connect-cli-skills · 79 tokens

e2e-testing

AI-powered E2E testing for any app — Flutter, React Native, iOS, Android, Electron, Tauri, KMP, .NET MAUI. Connects via MCP to running apps so the agent can take screenshots, tap elements, enter text, scroll, inspect UI trees, and verify state with natural language. Use when the user wants to test an app's UI…

ai-dashboad/flutter-skill · 107 tokens