Agent skill

Navigate App Adb

by MartinStyk in MartinStyk/apk-analyzer

A skill your agent uses to drive ApkAnalyzer's UI on a connected device/emulator via adb — dumping the screen, finding a tappable element by its visible text or content description, and tapping it —…

GPL-3.0Auto-check passedMobile

Install Navigate App Adb

skills CLI
$ npx skills add MartinStyk/apk-analyzer --skill navigate-app-adb -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install MartinStyk/apk-analyzer navigate-app-adb --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/MartinStyk/apk-analyzer.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/navigate-app-adb .claude/skills/navigate-app-adb && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
navigate-app-adb
GitHub stars
370
Token cost
~1.5k tokens
SKILL.md length
726 words
Files
1
Skills in repo
18
Repo updated
First seen
Licence
GPL-3.0

At a glance

A skill your agent uses to drive ApkAnalyzer's UI on a connected device/emulator via adb — dumping the screen, finding a tappable element by its visible text or content description, and tapping it —…

  • Works in 4 steps: Dump the current screen → Find your target node → Tap it → …
  • Drive ApkAnalyzers UI on a connected device/emulator via adb — dumping the screen
  • SKILL.md covers The loop: dump → locate → tap…, Gotchas and Reference: icon-only controls…
  • Calls adb

What it does

Navigate App Adb is an agent skill from MartinStyk/apk-analyzer. Use to drive ApkAnalyzer's UI on a connected device/emulator via adb — dumping the screen, finding a tappable element by its visible text or content description, and tapping it — to inspect or verify a change without a human touching the device. Triggered by phrases like "navigate to X screen", "tap through the app", "check this screen on device", "verify this UI change via adb", "open app detail via adb", "go to the filter screen".

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Mobile testing and debugging. It works with PowerShell. The repository describes itself as: The most downloaded APK analysis app on Google Play. Detailed reports of every app on your device. No root, no ads, nothing leaves the phone. The licence is GPL-3.0.

When your agent uses it

  • Drive ApkAnalyzers UI on a connected device/emulator via adb — dumping the screen
  • Finding a tappable element by its visible text
  • Content description
  • Tapping it — to inspect

Example prompts

  • “navigate to X screen”
  • “tap through the app”
  • “check this screen on device”
  • “/navigate-app-adb”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Dump the current screen
  2. Find your target node
  3. Tap it
  4. Verify

What it can do on your machine

Read from SKILL.md and the folder at commit d807559. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • adb

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Navigate App Adb loads about 1.5k tokens when it runs. Until then it costs about 113 tokens; SKILL.md has 726 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~113
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from MartinStyk/apk-analyzer at commit d807559, republished under its GPL-3.0 licence (© MartinStyk). 726 words, ~1,476 tokens.

Download SKILL.mdSave it as .claude/skills/navigate-app-adb/SKILL.md (or your agent's skills folder).
name
navigate-app-adb
description
Use to drive ApkAnalyzer's UI on a connected device/emulator via adb — dumping the screen, finding a tappable element by its visible text or content description, and tapping it — to inspect or verify a change without a human touching the device. Triggered by phrases like "navigate to X screen", "tap through the app", "check this screen on device", "verify this UI change via adb", "open app detail via adb", "go to the filter screen".

Skill: Navigate ApkAnalyzer via adb

Drives the running app by dumping the on-screen UI tree, locating an element, and tapping its center — the same loop repeated for each hop. Use this after the app is installed and running (see the run-app skill for that part).

The loop: dump → locate → tap → verify

1. Dump the current screen
bash
adb shell uiautomator dump /sdcard/window_dump.xml
adb pull /sdcard/window_dump.xml .

(uiautomator dump captures every window, including Compose bottom sheets and dialogs — you don't need a separate step for those.)

2. Find your target node

Everything on screen is locatable through two standard AccessibilityNodeInfo attributes that show up directly in the dump — no special app wiring required for either one:

  • text= — almost everything: chip labels, button text, list rows (an app row shows both its app name and package name), toolbar titles.
  • content-desc= — the handful of icon-only controls that render no visible text at all (every IconButton and the recently-viewed Switch — see the reference below).
bash
grep -o '<node[^>]*text="Filter"[^>]*>' window_dump.xml
grep -o '<node[^>]*content-desc="Sort"[^>]*>' window_dump.xml

Tapping the bounds of a text= node still triggers its parent's click handler — the tap only needs to land somewhere inside the clickable ancestor. Pull the bounds="[x1,y1][x2,y2]" attribute off whichever node you matched.

3. Tap it
bash
adb shell input tap $(( (x1 + x2) / 2 )) $(( (y1 + y2) / 2 ))

For text fields, follow the tap with:

bash
adb shell input text "search%squery"   # %s = literal space; adb input text can't take real spaces

To go back instead of tapping a back button node:

bash
adb shell input keyevent 4
4. Verify

Either dump again (step 1) and confirm the expected text/description is present, or grab a screenshot for a visual check:

bash
adb exec-out screencap -p > screenshot.png

Then use the Read tool on screenshot.png to look at it directly.

Gotchas

  • On Windows, drive adb from PowerShell, not the Bash tool. Git Bash rewrites /sdcard/... into a Windows path, so uiautomator dump /sdcard/window_dump.xml writes to C:/Program Files/Git/sdcard/... and the following adb pull fails. Either use the PowerShell tool or prefix the command with MSYS_NO_PATHCONV=1.
  • Never redirect adb exec-out screencap -p into a file from PowerShell. PowerShell re-encodes the stream and corrupts the PNG. Capture on the device and pull it: adb shell screencap -p /sdcard/screen.png then adb pull /sdcard/screen.png.
  • Floating overlays steal taps. A Messenger chat head or similar bubble sits above the app and swallows a tap aimed at what's underneath — which can open someone's private conversation. Tap toward the left of a row rather than its centre, and re-dump after every tap to confirm you are where you expect before tapping again.
  • A locked device answers adb but shows nothing. dumpsys window | grep mDreamingLockscreen reports true when the keyguard is up; a secure lock can't be dismissed from adb, so ask the user to unlock rather than retrying taps into a black screen.
  • Off-screen elements don't dump. A list item below the fold won't appear until you scroll (adb shell input swipe <x1> <y1> <x2> <y2> <durationMs>) or it's within the initial viewport.
  • Matches aren't always unique. Two rows can share a label (e.g. two apps with the same display name) — if a match gives more than one hit, narrow using a more specific string on the same row (an app's package name is usually unique) or the row's bounds to disambiguate. Localized strings also change with the device's language.
  • A genuinely icon-only control needs a contentDescription, not a workaround. If you add a button with no visible label, give it one via IconButton's contentDescription parameter (a stringResource in the module that owns the screen — never a hardcoded literal) or, for a component that doesn't expose the parameter (e.g. Switch, or a Chip with an empty label), apply Modifier.semantics { contentDescription = "..." } directly at the call site. Don't reach for position-based taps — they break the moment layout shifts. Only do this for elements that render no text anywhere in their subtree; everything else is already findable by the text it already shows.
Show full SKILL.md (127 more words)Show less

Reference: icon-only controls (no visible text — match by content-desc)

Everything else is findable directly by its visible text. This is the complete list of what needs content-desc matching instead:

content-descElement
BackEvery back button in the app — the shared Toolbar component, the custom app-search/permission-filter back arrows, and app-detail's collapsing toolbar. Reused everywhere since only one is ever on screen at a time.
SettingsApps list — opens settings
Analyze APK fileApps list — opens APK-file analysis
SortApps list — opens the sort bottom sheet
Delete search: <query>App search — per-row delete icon on a search-history entry
Clear date rangeFilter screen — the one chip that renders with an empty label
Recently viewed appsSettings — the recently-viewed-apps toggle (bare Switch, reuses the same string as its adjacent label)

© MartinStyk, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/navigate-app-adb of MartinStyk/apk-analyzer.

Open the folder on GitHubat commit d807559

Compare with similar skills

Navigate App Adb next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Navigate App Adb compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Navigate App Adb this skillMartinStyk/apk-analyzer370—~1.5kAutomated safety check: PassGPL-3.0
MAUI Device Test Runnerdotnet/maui23k—~3.3kAutomated safety check: PassMIT
Phone HarnessShawnPana/phone-harness3.2k—~7.7kAutomated safety check: PassMIT
Maa Issue Log AnalysisMaaAssistantArknights/MaaAssistantArknights24k—~4kAutomated safety check: PassAGPL-3.0
Mobile QAtloncorp/tlon-apps107—~2.4kAutomated safety check: PassMIT
Androidyang1ming/android-harness176—~259Automated safety check: PassMIT

Similar skills

  • Official

    Builds and runs .NET MAUI device tests locally on iOS simulators, MacCatalyst, Android emulators or Windows, with optional category filtering.

    23k GitHub stars~3.3k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Phone Harness

    ShawnPana/phone-harness

    Control the user's phone - an iPhone through the Mac's iPhone Mirroring window, an Android over adb, a rented cloud Android, or a cloud iPhone over HTTPS: open apps, tap, type, swipe, read the screen.

    3.2k GitHub stars~7.7k tokensUpdated today
    MobileAuto-check passed
  • Maa Issue Log Analysis

    MaaAssistantArknights/MaaAssistantArknights

    分析 MaaAssistantArknights 上游仓库公开 Issue(https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/...

    24k GitHub stars~4k tokensUpdated today
    MobileAuto-check passed
  • Mobile QA

    tloncorp/tlon-apps

    Run a mobile QA checklist on a physical Android device over adb for tlon-apps, then triage what fails into fixes.

    107 GitHub stars~2.4k tokensUpdated today
    MobileAuto-check passed
  • Android

    yang1ming/android-harness

    Direct Android device control through ADB. An agent skill from yang1ming/android-harness.

    176 GitHub stars~259 tokensUpdated 2 mo ago
    MobileAuto-check passed
  • Dongle Crash Analysis

    haumacher/phoneblock

    Decode and analyze an ESP32 dongle crash report (uploaded .coredump).

    367 GitHub stars~1.9k tokensUpdated 7 days ago
    MobileAuto-check: notes

More from MartinStyk/apk-analyzer

All 18 skills in this repo
  • Triage Crashes

    MartinStyk/apk-analyzer

    A skill your agent uses to review production Crashlytics crashes and non-fatals for the latest release and file a GitHub issue for each one that isn't tracked yet.

    370 GitHub stars~4.3k tokensUpdated 6 days ago
    Auto-check passed
  • Analyze CI Failure

    MartinStyk/apk-analyzer

    A skill your agent uses to check GitHub Actions build status or diagnose why a workflow run failed and propose a fix.

    370 GitHub stars~1.9k tokensUpdated 6 days ago
    Auto-check passed
  • Capture App Flow Media

    MartinStyk/apk-analyzer

    A skill your agent uses to record or convert ApkAnalyzer app flows into screenshots or GIFs for the README or product docs.

    370 GitHub stars~1.7k tokensUpdated 6 days ago
    Auto-check passed
  • Create Compose Component

    MartinStyk/apk-analyzer

    A skill your agent uses when creating a new reusable Compose UI component that should live in core:ui-library.

    370 GitHub stars~885 tokensUpdated 6 days ago
    Auto-check passed
  • Create Core Module

    MartinStyk/apk-analyzer

    A skill your agent uses when creating a new core or shared library module for domain logic, data access, repositories, managers, or utilities.

    370 GitHub stars~1.7k tokensUpdated 6 days ago
    Auto-check passed
  • Create Feature Module

    MartinStyk/apk-analyzer

    A skill your agent uses when creating a new feature module, screen, or feature area.

    370 GitHub stars~1.6k tokensUpdated 6 days ago
    Auto-check passed

Works with

Categories

Questions about Navigate App Adb

What does Navigate App Adb do?

A skill your agent uses to drive ApkAnalyzer's UI on a connected device/emulator via adb — dumping the screen, finding a tappable element by its visible text or content description, and tapping it —…. Navigate App Adb is an agent skill from MartinStyk/apk-analyzer. Use to drive ApkAnalyzer's UI on a connected device/emulator via adb — dumping the screen, finding a tappable element by its visible text or content description, and tapping it — to inspect or verify a change without a human touching the device.

When should I use Navigate App Adb?

Navigate App Adb fits situations like: drive ApkAnalyzers UI on a connected device/emulator via adb — dumping the screen; finding a tappable element by its visible text; content description; tapping it — to inspect.

How do I install Navigate App Adb in Claude Code?

Run `npx skills add MartinStyk/apk-analyzer --skill navigate-app-adb -a claude-code`. Or copy the skill folder (.claude/skills/navigate-app-adb in MartinStyk/apk-analyzer) into .claude/skills/navigate-app-adb in your project. Claude Code loads it when a task matches its description.

How do I install Navigate App Adb in Codex?

Run `npx skills add MartinStyk/apk-analyzer --skill navigate-app-adb -a codex`. Or copy the skill folder (.claude/skills/navigate-app-adb in MartinStyk/apk-analyzer) into .agents/skills/navigate-app-adb in your project. Codex loads it when a task matches its description.

Can I use Navigate App Adb in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MartinStyk/apk-analyzer --skill navigate-app-adb -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/navigate-app-adb, .gemini/skills/navigate-app-adb, .github/skills/navigate-app-adb and .opencode/skills/navigate-app-adb in your project.

What does Navigate App Adb need to run?

Going by SKILL.md and its folder, Navigate App Adb needs the command-line tools its instructions call (adb).

Does Navigate App Adb access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Navigate App Adb safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Navigate App Adb use?

Navigate App Adb is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Navigate App Adb use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Navigate App Adb?

Skills that share tags, products or a category with Navigate App Adb: MAUI Device Test Runner (dotnet/maui, 23k stars), Phone Harness (ShawnPana/phone-harness, 3.2k stars), Maa Issue Log Analysis (MaaAssistantArknights/MaaAssistantArknights, 24k stars) and Mobile QA (tloncorp/tlon-apps, 107 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Navigate App Adb?

MartinStyk (a GitHub user) maintains it in MartinStyk/apk-analyzer, which has 370 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on October 5, 2026.

Source: MartinStyk/apk-analyzer on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.