pratos/clanker-setup/adb-ui-tree

Claude Code and agent skill by pratos/clanker-setup

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Automates Android UI-tree debugging via ADB. Use when an app blocks UI inspection or accessibility nodes are missing; collects uiautomator dumps, focused window info, and logcat hierarchy dumps for analysis.

Install

npx vskill@latest install pratos/clanker-setup/adb-ui-tree

SKILL.md

The same SKILL.md was published earlier as pratos/clanker-setup/adb-ui-tree.

ADB UI Tree Debugging Skill

Activation

When this skill is triggered, ALWAYS display this banner first:

╭─────────────────────────────────────────────────────────────╮
│ 📱 SKILL ACTIVATED: adb-ui-tree │
├─────────────────────────────────────────────────────────────┤
│ Target: [app/screen being inspected] │
│ Action: Collecting UI hierarchy via ADB... │
│ Output: ui.xml, screen.png, accessibility logs │
╰─────────────────────────────────────────────────────────────╯

Use this skill when you need to inspect Android UI trees, especially when an app blocks normal debugging/inspection. It provides a repeatable, automatic flow to collect UI hierarchy data, focused window info, and accessibility logs.

Preconditions

  • ADB is installed and available.
  • A device is connected and authorized (adb devices).
  • The target app is open on screen.

Steps

1) Verify device connectivity

bash
adb devices

If multiple devices are attached, use -s <serial> for all commands.

2) Confirm focused window

bash
adb shell dumpsys window windows | grep -E "mCurrentFocus|mFocusedApp"

Ensure the focused app is the target (e.g., iSmart).

3) Try UIAutomator dump (may be blocked)

bash
adb shell uiautomator dump /sdcard/ui.xml
adb pull /sdcard/ui.xml .

If the app blocks the dump, note the error and continue to step 4.

4) Collect accessibility hierarchy logs If the project includes a custom AccessibilityService that logs a hierarchy dump, trigger the automation and capture logcat:

bash
adb logcat -s BatteryTrackerA11y

Save the output for analysis.

5) Capture a screenshot for manual inspection

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

Use the screenshot to verify UI state and map coordinates if needed.

Notes / Fallbacks

  • If the app exposes no accessibility nodes, consider coordinate-based taps as a fallback.
  • If uiautomator dump is prohibited by the app, rely on AccessibilityService logs and screenshots.

Output to share

  • ui.xml (if available)
  • adb logcat -s BatteryTrackerA11y output
  • screen.png

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
10
7-day trend score
12

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 3 Apr 2026, 8 months ago.

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/pratos/clanker-setup/adb-ui-tree/badge)](https://verified-skill.com/skills/pratos/clanker-setup/adb-ui-tree)

Something wrong with this skill or its page? Tell us.