android-test

android-test is a skill for Claude Code from sparesparrow/mcp-project-orchestrator. It costs 104 tokens per session (1,786 once invoked), scanned A, original, MIT.

An Android app testing workflow that installs CI-built APK files on a physical phone and runs instrumented tests through ADB. Instrumented tests run inside or alongside the app on a real device.

In plain words
What is it for?
Use it to fetch APKs from GitHub Actions or a release, install the app and its test package, run UI scenarios, and report whether the phone tests passed or failed.
Why use it?
It lets a project test on a phone when the development computer cannot build the app locally. It also saves test output, device logs, and a final screenshot as evidence.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths.

Good fit Use it to fetch APKs from GitHub Actions or a release, install the app and its test package, run UI scenarios, and report whether the phone tests passed or failed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sparesparrow/mcp-project-orchestrator/android-test
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.

Any agent
npx skills add sparesparrow/mcp-project-orchestrator --skill android-test
Clone the repo
git clone --depth 1 https://github.com/sparesparrow/mcp-project-orchestrator

Made for: Claude Code.

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 android-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/sparesparrow/mcp-project-orchestrator/android-test/github.svg)](https://agentmods.dev/skills/sparesparrow/mcp-project-orchestrator/android-test)
Your own site
<a href="https://agentmods.dev/skills/sparesparrow/mcp-project-orchestrator/android-test"><img src="https://agentmods.dev/badge/skills/sparesparrow/mcp-project-orchestrator/android-test/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.

agentmods 80×15 button for android-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/sparesparrow/mcp-project-orchestrator/android-test"><img src="https://agentmods.dev/badge/skills/sparesparrow/mcp-project-orchestrator/android-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,786 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00104 $0.01786
Opus 5.5 $0.00042 $0.00714
Sonnet 5.5 $0.00021 $0.00357
Haiku 4.5 $0.00010 $0.00179

Measured 10d ago against content hash 60d9a762d57d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

android-test 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.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/install_into.sh, scripts/phone_ci.sh, scripts/run_scenario.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/android-test/SKILL.md · 64 lines

How it starts

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

android-test: build in CI, test on the phone

Generic, project-agnostic. Device control and rooting live in the adb skill (and mcp__adb__* tools); this skill is the test loop on top of it. $ARGUMENTS: a profile name or OWNER/REPO APP_ID, e.g. mia or sparesparrow/cliphist-android com.clipboardhistory.debug.

Paths are relative to this skill directory (~/.claude/skills/android-test/ or .claude/skills/android-test/ in a project).

Why CI builds, the phone tests

The dev host can be too small for Gradle (this one: 2 cores, 7 GB RAM, ~1.6 GB free disk, no SDK). GitHub Actions builds; the phone installs and tests. Nothing here builds locally.

Tools

Tool Use
scripts/phone_ci.sh --repo OWNER/REPO --pkg APP_ID [--ref B] [--run-id N] [--release TAG|latest] [--dispatch] [--timeout S] [--dry-run] Download APKs from the newest successful workflow run (artifact device-apks) or a GitHub release; adb install -r -g -t app + androidTest APK; am instrument -w; save instrument.txt, logcat.txt, final-screen.png; print verdict: PASS/FAIL/UNKNOWN (tests=N failed=M). Exit 0 only on OK (N tests) with N > 0.
scripts/run_scenario.sh --profile profiles/X.env --scenario NAME [--serial S] [--out DIR] (--list) UI scenario on the installed app: grants permissions, clears logcat, runs scenario_NAME, collects logs + failure screenshot, fails on any FATAL EXCEPTION. Built-ins: launch (stays alive 5 s), nav-all (opens every tab in TABS, screenshots each).
scripts/ui_lib.sh Sourceable helpers: ui_launch, ui_grant_permissions, ui_find/ui_tap_text/ui_wait/ui_open_tab (uiautomator text lookup, real pixels, no scale factor), ui_shot, ui_diagnostics.
scripts/install_into.sh REPO_DIR --profile X [--android-dir DIR] Vendor this skill into a project's .claude/skills/android-test and write .github/workflows/device-apks.yml if missing. Never commits.
profiles/*.env, profiles/template.env Per project: PKG, MAIN_ACTIVITY, REPO, CI_WORKFLOW, TABS, plus custom scenario_*() functions.
references/device-apks.yml Workflow template (builds assembleDebug assembleDebugAndroidTest, uploads device-apks).

Read the full file on GitHub · 64 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. 10d ago First seen · 64 lines · 104 tokens per session scan A 60d9a762d57d

Subscribe to this mod's changes

android-test is a skill published in the GitHub repository sparesparrow/mcp-project-orchestrator (17 stars, last pushed 5d ago), licensed MIT. It adds 104 tokens to every session and 1,786 once invoked, about $0.0004 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-10-08.

Related

Other skills, from other repositories

android-ui-journey-testing

XML-specified Android UI journey testing, interactive step execution, assertion verification, and JSON outcome reporting.

sickn33/agentic-awesome-skills · 27 tokens

android_ui_verification

Automated end-to-end UI testing and verification on an Android Emulator using ADB.

sickn33/agentic-awesome-skills · 22 tokens

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.

alipay/SoloPi · 82 tokens

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.

callstack/agent-device · 55 tokens

eas-simulator

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 simulator to…

expo/skills · 243 tokens

mobile-automation

Control Android and iOS devices, emulators and simulators — launch apps, tap, swipe, type, take screenshots, read the accessibility tree. Use when a task involves a mobile device or app, mobile UI testing, or reproducing a bug on a phone.

mobile-next/mobile-mcp · 58 tokens