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.
npx skills add skydoves/android-testing-skills --skill cross-app-tests-with-uiautomatorgit clone --depth 1 https://github.com/skydoves/android-testing-skillsWrote 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.
[](https://agentmods.dev/skills/skydoves/android-testing-skills/cross-app-tests-with-uiautomator)<a href="https://agentmods.dev/skills/skydoves/android-testing-skills/cross-app-tests-with-uiautomator"><img src="https://agentmods.dev/badge/skills/skydoves/android-testing-skills/cross-app-tests-with-uiautomator/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.
<a href="https://agentmods.dev/skills/skydoves/android-testing-skills/cross-app-tests-with-uiautomator"><img src="https://agentmods.dev/badge/skills/skydoves/android-testing-skills/cross-app-tests-with-uiautomator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00213 | $0.04497 |
| Opus 5 | $0.00106 | $0.02249 |
| Sonnet 5 | $0.00043 | $0.00899 |
| Haiku 4.5 | $0.00021 | $0.00450 |
Grade A, and why
cross-app-tests-with-uiautomator 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 334 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cross-App Tests with UiAutomator — Drive System UI and Other Apps
UiAutomator is the only AndroidX test framework that can drive UI across process boundaries — Settings, the dialer, system notifications, another app's activity. Espresso refuses (InjectEventSecurityException) when an event would cross to a foreign window. UiAutomator works against the platform AccessibilityNodeInfo tree, so it sees every window. This skill encodes the modern BySelector / UiObject2 API, the singleton acquisition, the StaleObjectException recovery pattern, and the cross-app launch path.
When to use this skill
- The test must drive system UI (Settings, dialer, system notifications, quick settings, recents).
- The test spans the developer's app and another app (share sheet, contacts picker, camera).
- Espresso threw
InjectEventSecurityExceptionbecause the test reached a foreign window. - The user reports
StaleObjectExceptionand is debugging cached-node lifetime. - The user asks how to send the device home, press recents, or toggle airplane mode in a test.
- The user mixes
BySelectorandUiSelectorin the same test and is confused which is current.
When NOT to use this skill
- The UI is entirely inside the developer's app — Espresso (Views) or Compose tests are faster and more reliable. See
../../espresso/writing-espresso-tests/SKILL.mdfor Views. - The runner stack is not yet set up — start with
../../runner/running-instrumented-tests-with-androidjunit4/SKILL.md. - The user only needs to push device-side state changes (animations off, intent stub) — see
../../../adb/control/injecting-input-and-state/SKILL.md. - The test only needs to scrape logs after a run — see
../../../adb/observability/extracting-logs-with-logcat/SKILL.md.
Prerequisites
- Runner stack from
../../runner/running-instrumented-tests-with-androidjunit4/SKILL.md. androidTestImplementation("androidx.test.uiautomator:uiautomator:2.3.0").- A real or virtual Android device with the
accessibility_serviceavailable (the default). - For
Context.startActivityto a foreign package on API 30+, a<queries>entry in the test APK manifest naming the target package or intent action.
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.
- 10d ago First seen · 334 lines · 213 tokens per session scan A 1f8dfeac5a9b
cross-app-tests-with-uiautomator is a skill published in the GitHub repository skydoves/android-testing-skills (319 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 213 tokens to every session and 4,497 once invoked, about $0.0011 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-30.
Other skills, from other repositories
android-ui-journey-testing
XML-specified Android UI journey testing, interactive step execution, assertion verification, and JSON outcome reporting.
android_ui_verification
Automated end-to-end UI testing and verification on an Android Emulator using ADB.
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.
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.
eas-simulator
EAS service (paid). Run and control a user's app on a remote iOS/Android simulator hosted on EAS cloud. Read before running any eas simulator: commands - it has the current syntax for this experimental API. Use whenever the user needs a simulator they can't run locally - 'run my app on a cloud simulator', 'use eas…
test-native-extension
Validate a third-party control repo across four automated layers plus one printed manual recipe. Layer 1 asserts native-source structure (Android getName() and iOS +moduleName to manifest nativeModule; @ReactMethod / RCTEXPORTMETHOD to methods; no @ReactModule) plus load/init readiness (ReactPackage public no-arg…