maestro
Skill1 starsChanged 7 months agoMITView on GitHub
Use when running mobile E2E on React Native / iOS / Android, recording user flows, inspecting view hierarchy, or hunting flaky UI tests with Maestro. Multi-environment via MAESTRO_PROFILE.
- Pipes a download into a shell
- Reads credentials
12 other projects use a version of this.
Adopted by
Most recently taken up by
- permgps/skillstheir own version, first seen Oct 5, 2026
- rodovalhofs/maestrotheir own version, first seen Sep 7, 2026
- thesammykins/skillstheir own version, first seen Aug 14, 2026
- impravin22/my-claude-maestrotheir own version, first seen Aug 3, 2026
- TienDat11/maestrotheir own version, first seen Aug 2, 2026
- leobbaroni/maestrotheir own version, first seen Jul 19, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- xenitV1/claude-code-maestro★ 229same name
- SantanderAI/ralph★ 96same name
- michele-prandina/ClaudE2E★ 8same name
- aks-builds/quality-skills★ 5same name
- junjie-z666/skills★ 2same name
- thesammykins/skills★ 2same name
- leobbaroni/maestro★ 1same name
- permgps/skills★ 1same name
- rodovalhofs/maestro★ 1same name
- TienDat11/maestro★ 1same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- azure-devopsSkill
- fastlaneSkill
- firebaseSkill
- herokuSkill
- k6Skill
- linearSkill
- postgresSkill
- profiles-and-credentialsSkill
- rails-securitySkill
- react-nativeSkill
- rspecSkill
- sentrySkill
- shopifySkill
- slackSkill
- trelloSkill
- xlsx-testcasesSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 187
Run only on dedicated test devices, never personal phones.
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/maestro — mobile E2E (YAML, multi-env)
Wraps maestro test. Profiles = device + app build per environment.
Profile resolution: --profile → MAESTRO_PROFILE → ~/.maestro/active_profile → [default].
Overview
Wraps maestro test for mobile E2E. Flows are declarative YAML — testers can read/write them without coding. Profiles bind a device + app build per environment. Includes flaky-test detection across multiple JUnit runs.
When to Use
- Mobile E2E flows on iOS / Android / React Native
- Recording new flows interactively (no coding required)
- Inspecting accessibility hierarchy to find selectors
- Detecting flaky tests across multiple runs (JUnit XML diff)
- Cloud-based device farm runs (Maestro Cloud)
When NOT to Use
- Pure unit / component tests → Jest / JUnit, not E2E
- Non-mobile (web, desktop) → wrong tool
- Performance / load tests → use k6 or Detox
- Personal phones (Maestro can hit any UI element including OS dialogs — dedicated test devices only)
Dependencies
curl -Ls "https://get.maestro.mobile.dev" | bash # macOS / Linux
# Windows: scoop install maestro (or use WSL)
maestro --versioniOS: Xcode + simulator. Android: Android Studio + emulator.
Profile config
~/.maestro/profiles.ini (mode 600 — may contain Cloud key):
[default]
platform = ios # ios | android
device = iPhone 15
app_id = com.example.app
flows_dir = .maestro
[android-emu]
platform = android
device = Pixel_7_API_34 # AVD name
app_id = com.example.app
flows_dir = .maestro
[staging-cloud]
platform = android
device = R5XY... # serial of physical device
app_id = com.example.app.staging
flows_dir = .maestro
cloud_api_key = xxxxxxxxxxxxxxxxxxxxxxxx # Maestro CloudHelpers
Shared profile/INI/
ctt_*pattern reference: profiles-and-credentials.
source "$HOME/.claude-team-toolkit/lib/credentials.sh"
ctt_load_creds maestro "$PROFILE"
# Verify device reachable
case "$CTT_PLATFORM" in
ios) xcrun simctl list devices "$CTT_DEVICE" | grep -q Booted || xcrun simctl boot "$CTT_DEVICE" ;;
android) adb devices | grep -q "$CTT_DEVICE" || { echo "Device not connected" >&2; return 1; } ;;
esacDispatch
run <flow.yaml> [--continuous]
ARGS=()
[ "$CONTINUOUS" = "true" ] && ARGS+=(--continuous)
maestro test "${ARGS[@]}" "$FLOW"--continuous re-runs on file changes — great for authoring.
run-all [--tags smoke,critical]
maestro test "$CTT_FLOWS_DIR/" \
${TAGS:+--include-tags "$TAGS"} \
--format junit --output /tmp/maestro-results/record <flow.yaml> — interactive flow recorder
maestro record "$FLOW"Point/tap to record actions → save as YAML. Tester-friendly (no coding).
studio — visual flow editor (browser-based)
maestro studioinspect [--app <bundle-id>] — view hierarchy
maestro hierarchy --app "${APP_ID:-$CTT_APP_ID}"Find element selectors / accessibility IDs.
tags — list all tags used in flows
grep -h "^tags:" -A 20 "$CTT_FLOWS_DIR"/*.yaml | grep "^- " | sort -uflaky-report [--last N] — detect flaky tests from JUnit results
LAST="${LAST:-10}"
ls -t /tmp/maestro-results/*.xml | head -n "$LAST" | xargs python3 -c '
import sys, xml.etree.ElementTree as ET
from collections import defaultdict
results = defaultdict(list)
for f in sys.argv[1:]:
for tc in ET.parse(f).iter("testcase"):
failed = tc.find("failure") is not None or tc.find("error") is not None
results[tc.get("name")].append(failed)
print("Flaky tests (passed AND failed across runs):")
for n, runs in results.items():
if any(runs) and not all(runs):
print(f" {n}: {sum(runs)}/{len(runs)} fail rate")
'cloud upload <flow-or-folder> [--name <run-name>] — Maestro Cloud
[ -z "$CTT_CLOUD_API_KEY" ] && { echo "Set cloud_api_key in profile" >&2; return 1; }
maestro cloud --apiKey "$CTT_CLOUD_API_KEY" \
${NAME:+--name "$NAME"} \
"$APP" "$FLOW_OR_FOLDER"<app> for cloud is the build artifact (.app/.ipa/.apk), not bundle ID.
from-xlsx <xlsx-path> — scaffold from xlsx test cases
Delegates to xlsx-testcases gen maestro — see that skill.
Flow patterns (cheat sheet)
# Common actions
- launchApp
- tapOn: "Submit" # by text
- tapOn:
id: "submit-btn" # by accessibility id
- inputText: "${EMAIL}"
- assertVisible: "Welcome"
- assertNotVisible: "Login"
- waitForAnimationToEnd
- extendedWaitUntil: { visible: "Loaded", timeout: 30000 }
- scrollUntilVisible: { element: "Footer", direction: DOWN }
- runFlow: { file: ../subflows/login.yaml }Variables via env: EMAIL=test@example.com maestro test flow.yaml. Inside YAML: ${EMAIL}.
Common Mistakes
- Hard-coding credentials in YAML → leak on commit. Use
${ENV_VAR}placeholders. - Selectors by text only → fragile across translations. Prefer
id:(accessibility ID). - Running on real personal devices instead of simulators / test devices
- Writing one mega-flow instead of small subflows +
runFlow:composition - Cloud uploads need build artifact (
.app/.ipa/.apk), not bundle ID - "Flaky test" verdict on first run → need ≥5 runs to distinguish flake from broken
Safety
- Never commit credentials in flow YAML. Use
${ENV_VAR}+ document required vars in flow comment. - Cloud API key per-account — limited blast radius. Prefer CI-scoped key.
- Physical devices: Maestro can interact with anything on screen including OS dialogs. Run only on dedicated test devices, never personal phones.
- Recordings capture screen — don't record flows with real user data / prod accounts.
Layout
.maestro/
├── config.yaml # global config
├── subflows/{login,grant-perms}.yaml
├── smoke/{launch,home-tabs}.yaml
├── regression/...
└── iap/...Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

