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.5 | $0.00085 | $0.01799 |
| Sonnet 5.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 3mo 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.
- 3mo 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 (351 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 213 tokens to every session and 4,497 once invoked, about $0.0009 per session on Opus 5.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.
cross-app-tests-with-uiautomator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cross-app-tests-with-uiautomatorskydoves/android-testing-skills | Skill | 351 | 6mo ago | Apache-2.0 | A | 213 | Claude Code, Codex |
| android-ui-journey-testingsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 27 | Claude Code |
| android_ui_verificationsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 22 | Claude Code |
| solopi-aialipay/SoloPi | Skill | 6.8k | today | Apache-2.0 | A | 82 | Codex |
| public-transitchromium/chromium | Skill | 25k | today | BSD-3-Clause | A | 53 | Claude Code, Codex |
| eas-simulatorexpo/skills | Skill | 4.3k | today | MIT | A | 251 | Claude Code, Codex |
| dogfoodcallstack/agent-device | Skill | 5.6k | today | MIT | A | 55 | Claude Code |