microsoft/sico/android-tester
Claude Code and agent skill by microsoft/sico
- vendor
Checking that the SKILL.md file is still in the repository.
Execute Android UI workflows on a sandbox device, review results, and produce a structured execution report.
Install
npx vskill@latest install microsoft/sico/android-testerSKILL.md
The same SKILL.md was published earlier as microsoft/sico/android-tester.
Android Tester Skill
Execute an Android UI test case, review the results, and generate a structured execution report.
When to use
- Run end-to-end Android UI tests from natural language instructions
- Verify app workflows on an Android emulator sandbox
- Produce structured test execution reports
Workflow
- Environment preparation: install dependencies in the execution environment
- Run test case(s): execute
android-testeragainst the sandbox device for each test case - Review & execution report: review all results and produce a single regression testing delivery report
- Summarize: give the user a short summary of the testing outcome and recommendation for release
1. Environment Preparation
Prerequisites
- An allocated Android sandbox (emulator device reachable via ADB)
python>= 3.11uv
Dependencies
From the skill root directory ($SKILL_ROOT), run:
2. Run Test Case
Preconditions
You MUST use `--precondition` whenever a test case has a precondition. Never embed precondition text in --instructions.
--precondition is repeatable, once per atomic precondition, each in label: description form (label = text before the first : ; short, lowercase, hyphenated, no colon). Decompose a test case's preconditions block into atomic items:
- List all known preconditions: preconditions are stored in
<output-dir>/preconditions/as sub-dirs named after their labels. Reuse existing labels whenever possible for better script caching and faster execution. - List all atomic preconditions and data points: decompose the test case's preconditions into atomic items and data points. Each atomic precondition should be a single state to establish, e.g., "home screen", "signed in to Copilot with test account", "files present in Google Drive". Avoid conjunctions like "and" that combine multiple states into one item.
- Cluster all atomic preconditions: cluster identical atomic preconditions together under one label. Example: "the user is signed out" is identical to "the user is not logged in".
- Write descriptions: for each unique atomic precondition, write a clear description of 1. what to check for to verify the state, and 2. how to likely establish it if not already met. The description should be detailed enough for a human tester to understand and follow, but concise enough to fit in a single CLI argument (ideally <300 characters).
- Pass preconditions to the CLI: pass each atomic precondition as a separate
--precondition "label: description"argument when invokingandroid-tester. - Data points: if the test case has data points (credentials, file names, URLs, etc.), fold them into the descriptions of the relevant preconditions or instructions.
Preconditions are established in the order given. On a label's first use the tool establishes the state and records a reusable script under <output-dir>/preconditions/<label>/ (action_log.json plus a description.txt); on repeat it replays the script without LLM calls. Cases without a precondition run with just a device reset.
Execution
The device is reset automatically before each test case. When running multiple test cases, execute them sequentially without pausing for confirmation between cases. The execution is expected to be uninterrupted. If any concerns or issues arise during individual runs, include them in the final report rather than stopping to ask.
Arguments
These argument values are literal CLI strings. Do not write instructions, task_name, precondition, or keep_app_state to workspace files and do not pass them as {workspace_dir}/... paths; pass their parameter values directly.
--instructions: the test steps to execute (precondition text must NOT be included here)--device-id: address of the allocated Android device (e.g.10.0.0.5:5555)--task-name: short label for the test case (max 5–10 words, e.g."Sign in MSA"not the full test case title).--precondition "label: description": one atomic precondition inlabel: descriptionform. Repeatable — supply it once per atomic precondition (see Preconditions above).--resources-path: directory holding files the test case needs staged on the device (photos, documents, etc.). Pass it whenever a precondition requires files to be present in/sdcardfolders such asPictures,Documents, etc.
Example
Execution timeout
android-tester enforces its own end-to-end execution timeout of 3600 seconds (1 hour) per test case. When invoking it through run_command (or any other shell-execution tool), do not pass a timeout lower than this value — use timeout=0 (no external timeout) or a value of at least 3600. When running multiple cases sequentially, use timeout=0 since the wall-clock time scales with the number of cases.
Keeping app state across cases
android-tester wipes the app data of open apps before and after each test case to ensure a predictable initial state. If the user explicitly requests to not wipe certain apps, pass --keep-app-state with a comma-separated list of fully qualified Android package names (e.g. com.android.chromium,com.android.settings).
Do not guess the package name. Resolve it on the actual device first, e.g., using
Pick the exact package:<name> line(s) and pass the <name> portion to --keep-app-state. If the user requests to preserve an app but you cannot find its package name, include that in the final report as a blocker and proceed without preservation.
Output
android-tester outputs one JSON line per event to stdout. Each line contains an event field, a timestamp, and event-specific data.
All per-step events go to stdout. The output directory path is logged to stdout at startup.
Exit codes
0: test case executed successfully1: test case failed2: test case blocked
README.md contains full documentation on android-tester arguments, environment variables, and output event types. Its lecture is optional.
3. Review & Execution Report
After all test cases have been executed, review the output of each test case and produce a single Regression Testing Delivery Report named Regression Testing Report.md in your workspace directory. Base the report on the stdout JSON logs and report files from each test case run. If no report file is generated for a test case, leave the "execution log" field for that test case blank. All links must be valid http(s) links.
If multiple test cases were executed, summarize all of them in this single report. Do not output the *.html, *.jsonl and *.stderr files directly, unless explicitly requested by the user.
The report must strictly follow this template:
4. Summarize
After producing the report, give the user a short summary of the testing outcome(s) and your recommendation for release. The summary should be concise and highlight the key points from the report, such as overall pass/fail rates, major blockers, and your final recommendation on whether to proceed with the release. If you include any files in the summary, make sure to provide http(s) links with readable short names, e.g., My File.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 1 Oct 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingbackend/internal/embeddata/skills/android-tester/SKILL.md
Popularity
- Repository stars
- 272
- Repository forks
- 35
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/sico/android-tester)