mobile-emulator-test

mobile-emulator-test is a skill for Claude Code, Codex from kensaurus/cursor-kenji. It costs 74 tokens per session (5,129 once invoked), scanned A, original, MIT.

An end-to-end test procedure for a native Android app running in an emulator, including the user interface, database results, and crash telemetry. An emulator is a computer-simulated Android device.

In plain words
What is it for?
Use it to verify an Android build, test guest and signed-in flows, check every tab, and confirm that successful actions reach the database.
Why use it?
It catches problems that unit tests and build checks can miss, such as blank screens, stale bundles, broken cache loading, and failed data refreshes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

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/kensaurus/cursor-kenji/mobile-emulator-test
Any agent
npx skills add kensaurus/cursor-kenji --skill mobile-emulator-test
Clone the repo
git clone --depth 1 https://github.com/kensaurus/cursor-kenji

Made for: Claude Code, Codex.

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 mobile-emulator-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/mobile-emulator-test.svg)](https://agentmods.dev/skills/kensaurus/cursor-kenji/mobile-emulator-test)
Your own site
<a href="https://agentmods.dev/skills/kensaurus/cursor-kenji/mobile-emulator-test"><img src="https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/mobile-emulator-test.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,129 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00074 $0.05129
Opus 5 $0.00037 $0.02565
Sonnet 5 $0.00015 $0.01026
Haiku 4.5 $0.00007 $0.00513

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

Security

Grade A, and why

mobile-emulator-test scanned grade A with 1 finding 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 2d 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.

Makes network callslowCapability

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

curl -sf "http://localhost:${METRO_PORT}/status"
skills/mobile-emulator-test/SKILL.md · 491 lines

How it starts

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

mobile-emulator-test — Native build QA on Android emulator + MCP loop

Degree of freedom: MIXED. Walk judgment and findings [HIGH freedom]; bring-up, Phase 1.5 freshness, and three-layer CRUD [LOW freedom — run exactly].

End-to-end verification of any native mobile build through a real Android emulator session, with backend truth (Supabase MCP) and crash telemetry (Sentry MCP) wired into the same loop. Catches the failure modes that pure unit tests and CI bundle builds miss: white screens, prototype-stripped cache rehydration, missing migrations, sync-disabled empty states, infinite refetch loops, and silent error swallows.

How to reason

  1. Discover — stack, tabs, MCP, signed-in test account
  2. Freshness — source + Metro bundle + device (Phase 1.5)
  3. Walk — guest AND signed-in; every tab
  4. Three-layer — UI success + DB row + cold refetch; evidence per finding

Worked example

Discover: Expo router; five tabs; Supabase MCP live; Sentry MCP missing (mark BLOCKED). Freshness: user said "nothing changed"; bundle grep of the patch string = 0 → --clear Metro, then reload. Walk: guest create fails closed; signed-in create shows toast. Three-layer: toast yes, execute_sql finds the row, kill/reopen still shows it. Finding: guest path only.

Self-critique before reporting

  • Fresh build — source, bundle, and screencap all show the patched string
  • Both identities — guest and signed-in walks ran; empty-state is not the only path
  • Three layers — no mutation called "tested" on UI toast alone
  • Right owner — bring-up only → mobile-emulator-start; store/plugins/OTA → mobile-capacitor-platform

Critical Rules

Test as a real signed-in user AND as a brand-new guest. Walk the app the way a paying customer would — sign in, browse every tab, add a real entry, edit it, delete it — AND the way a new user would — open the app fresh, hit the guest path, drive a CRUD round-trip without any account. Both paths exercise different code (sync replica vs cloud direct vs local-only adapter) and both regress independently. While walking, watch logcat, Sentry, and the DB at the same time.

Read the full file on GitHub · 491 lines

Files

What ships with it

1 file 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. 2d ago First seen · 491 lines · 74 tokens per session scan A f34ccc05afc8

Subscribe to this mod's changes

mobile-emulator-test is a skill published in the GitHub repository kensaurus/cursor-kenji (9 stars, last pushed 7d ago), licensed MIT. It adds 74 tokens to every session and 5,129 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (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