e2e-testing-mobile

e2e-testing-mobile is a skill for Claude Code from mthines/agent-skills. It costs 202 tokens per session (3,634 once invoked), scanned A, original, MIT.

A tool for creating and maintaining end-to-end tests for Expo and React Native mobile apps. End-to-end tests check a complete user action, such as navigating between screens, using a deep link, or responding to a permission prompt, on a simulator or device.

In plain words
What is it for?
Use it to test native mobile navigation, deep links, push notifications, permissions, device sensors, and other flows that span the whole app.
Why use it?
It reduces the manual work of writing and repairing mobile tests when app screens or element identifiers change. It uses a written feature description to create and run test flows, then can suggest locator fixes.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the mthines-agent-skills plugin — 54 skills, 4 agents shipped together

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.

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

Made for: Claude Code.

Or install mthines-agent-skills, the plugin that ships this one along with the rest of its 54 skills, 4 agents.

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 e2e-testing-mobile

README.md
[![agentmods](https://agentmods.dev/badge/skills/mthines/agent-skills/e2e-testing-mobile.svg)](https://agentmods.dev/skills/mthines/agent-skills/e2e-testing-mobile)
Your own site
<a href="https://agentmods.dev/skills/mthines/agent-skills/e2e-testing-mobile"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/e2e-testing-mobile.svg" alt="Measured on agentmods" height="20"></a>
Per session 202 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,634 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00202 $0.03634
Opus 5 $0.00101 $0.01817
Sonnet 5 $0.00040 $0.00727
Haiku 4.5 $0.00020 $0.00363

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

Security

Grade A, and why

e2e-testing-mobile scanned grade A with 0 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 5d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/testing/e2e-testing-mobile/SKILL.md · 318 lines

How it starts

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

E2E Testing — Mobile (Expo / React Native)

Drive native mobile end-to-end tests through Maestro and Maestro MCP. The user writes (or approves) a Markdown feature spec; an agent emits a Maestro YAML flow, runs it against a simulator or Maestro Cloud, and self-heals when locators drift.

This is the mobile counterpart to e2e-testing. Anything orthogonal to native (web flows, WebViews inside a hybrid app) defers to that skill. The two skills compose; they do not overlap.

This SKILL.md is a thin index. Decision rules live in rules/*.md and load on demand. Worked references (Maestro CLI surface, MCP tool catalog, EAS Workflow wiring, Detox legacy notes, mobile pyramid math) live in references/*.md. Literal boilerplate the skill emits lives in templates/*.md. Do not preload everything — load only what the current phase asks for.


When to use

Reach for this skill when any of the following is true:

  • An Expo or React Native app needs E2E coverage of a native user flow.
  • A bug only repros across native navigation, deep links, push, permissions prompts, or a real device sensor.
  • A flake needs a Maestro heal pass instead of a manual locator hunt.
  • The repo has no .maestro/ flows or EAS E2E build profile yet and needs Phase 0 setup.

Do not reach for this skill when:

  • A unit or component test would catch the same bug — defer to tdd and the layer rule in rules/layer-decision.md.
  • The flow is browser-only — defer to e2e-testing.
  • The flow lives entirely inside a WebView in a hybrid app — defer to e2e-testing, which automates the WebView via Playwright while Maestro handles native chrome around it.
  • The change is a pure refactor with no behavioural surface.

Phase 0 — Preflight (mandatory gate)

Before any agent loop, verify the repo is wired for Maestro on Expo / RN. Halt and ask the user before installing anything or producing builds.

Read the full file on GitHub · 318 lines

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. 5d ago First seen · 318 lines · 202 tokens per session scan A 7b6acc6e5261

Subscribe to this mod's changes

e2e-testing-mobile is a skill published in the GitHub repository mthines/agent-skills (12 stars, last pushed yesterday), licensed MIT. It adds 202 tokens to every session and 3,634 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

t-flutter-demo-run

Run and repair one Android Patrol user-story demo file.

timzaak/web-dev-skills · 17 tokens

t-flutter-demo-accept

Accept Android Patrol demos against their user stories and execution evidence.

timzaak/web-dev-skills · 19 tokens

t-flutter-demo-run-all

Run all Android Patrol user-story demo files with resumable checkpoints.

timzaak/web-dev-skills · 20 tokens

fluttersdk-dusk

End-to-end driver for Flutter apps, designed for LLM agents. The running app exposes a ext.dusk. VM Service surface plus an MCP server; the agent calls dusk tools (or ./bin/fsa dusk: from a shell) to snap the Semantics tree, mint ref tokens, gesture against them, wait for conditions, screenshot, and hot-reload, all…

fluttersdk/ai · 282 tokens

limrun-android-emulator

Drive an app running on a Limrun cloud Android emulator: install an APK, launch and terminate apps with crash reports, tap, type, read the UI element tree, screenshot, record video, inject microphone audio, shape network bandwidth, and use adb over the CLI's tunnel for logcat, files, and shell. Use after a build (from…

sutchan/Agent-Skills-Hub · 147 tokens

limrun-ios-simulator

Drive an app running on a Limrun cloud iOS simulator: launch, tap, type, read the accessibility element tree, screenshot, record video, connect the app to local services, play a video file as the camera, and run timed action chains. Use after a build (from any builder) when the user wants to see, test, or interact…

sutchan/Agent-Skills-Hub · 151 tokens