android-hardware-testing

android-hardware-testing is a skill for Claude Code, Codex from prasad-vennam/Awesome-Android-AI-Agent-Skills. It costs 16 tokens per session (349 once invoked), scanned A, original, MIT.

Guidance for Android tests that interact with the operating system as well as the app. It covers UIAutomator for system screens and fake hardware providers for sensors such as GPS, Bluetooth, and NFC.

In plain words
What is it for?
Use it to test permission pop-ups, system notifications, the Home or Back buttons, and flows involving more than one app. It also helps replace real sensor readings with predictable test values.
Why use it?
Regular app tests cannot reliably press system permission dialogs, open notification areas, or use hardware on a continuous-integration server. These patterns make such tests controllable and reduce failures caused by unavailable or changing hardware.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to test permission pop-ups, system notifications, the Home or Back buttons, and flows involving more than one app. It also helps replace real sensor readings with predictable test values.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prasad-vennam/awesome-android-ai-agent-skills/android-hardware-testing
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 prasad-vennam/Awesome-Android-AI-Agent-Skills --skill android-hardware-testing
Clone the repo
git clone --depth 1 https://github.com/prasad-vennam/Awesome-Android-AI-Agent-Skills

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 android-hardware-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/prasad-vennam/awesome-android-ai-agent-skills/android-hardware-testing/github.svg)](https://agentmods.dev/skills/prasad-vennam/awesome-android-ai-agent-skills/android-hardware-testing)
Your own site
<a href="https://agentmods.dev/skills/prasad-vennam/awesome-android-ai-agent-skills/android-hardware-testing"><img src="https://agentmods.dev/badge/skills/prasad-vennam/awesome-android-ai-agent-skills/android-hardware-testing/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-hardware-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/prasad-vennam/awesome-android-ai-agent-skills/android-hardware-testing"><img src="https://agentmods.dev/badge/skills/prasad-vennam/awesome-android-ai-agent-skills/android-hardware-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 349 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.00016 $0.00349
Opus 5.5 $0.00006 $0.00140
Sonnet 5.5 $0.00003 $0.00070
Haiku 4.5 $0.00002 $0.00035

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

Security

Grade A, and why

android-hardware-testing 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 2mo 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.

skills/android-hardware-testing/SKILL.md · 34 lines

What it actually says

Android UIAutomator & System Testing 🤖

Testing that extends beyond a single application boundary into the OS itself.

⚡ When to Use

  • When writing tests spanning multiple apps, interacting with system notifications, or performing Home button interactions.

🏗️ Core Rules / Pillars

1. UIAutomator Fundamentals

  • Pattern: Espresso / Compose Rule testing CANNOT interact with System Dialogs (like Permission Popups). You MUST use UIAutomator to click system buttons.
  • Implementation: Use UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) to find notification shades, click permission "Allow" buttons, and press the physical hardware back button.

2. Mocking Hardware Sensors

  • Pattern: End-to-end tests relying on BLE, GPS, or NFC will randomly flake on CI servers.
  • Implementation: Introduce a Fake/Mock layer behind an interface (e.g., LocationProvider) to stub out sensor values during test variants instead of simulating complex location spoofing over ADB.

🚧 Critical Anti-Hallucination Guards

  • Trap: Never use Thread.sleep() to wait for a system animation. Always use UiDevice.wait(Until.hasObject(By.text("Welcome")), 5000) to ensure tests don't flake on slow emulators.
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. 2mo ago First seen · 34 lines · 16 tokens per session scan A a4ce3c090770

Subscribe to this mod's changes

android-hardware-testing is a skill published in the GitHub repository prasad-vennam/Awesome-Android-AI-Agent-Skills (11 stars, last pushed 7mo ago), licensed MIT. It adds 16 tokens to every session and 349 once invoked, about $0.0001 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-31.

Related

android-hardware-testing compared with skills from other repositories

android-hardware-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
android-hardware-testingprasad-vennam/Awesome-Android-AI-Agent-SkillsSkill117mo agoMITA16Claude Code, Codex
jetson-video-pipelineNVIDIA/skillsSkill3.9kyesterdayApache-2.0A45Claude Code, Codex
mixed-signal-cosimvibeic/vibe-icSkill32todayApache-2.0A59Claude Code
rtl-p5s-integration-testbabyworm/rtl-agent-teamSkill671mo agoMITA42Claude Code
rtl-p5s-integration-test-policybabyworm/rtl-agent-teamSkill671mo agoMITA27Claude Code
cast-testingad-repo/nullplayerSkill178yesterdaynoneA87Claude Code, Codex
native-simberiberikix/zephyr-agent-skillsSkill745mo agoApache-2.0A57Claude Code, Codex