
Android UI
Lets an agent inspect Android screen UI hierarchies and locate elements via android-adb
Android UI is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 37
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Android UI
This skill gives an AI coding agent a way to read the layout of an Android screen. It directs the agent to run android-adb ui dump for a JSON overview of the current hierarchy, and android-adb ui find to search for a specific element by resource ID, text or content description.
The skill sets a search order: resource ID first, then text, then content description. When several elements match, the agent is asked to report the best candidate and note the ambiguity. Matching can be limited to whole text with an exact flag instead of substring matching. Results can include bounds, center coordinates, clickable and enabled state, and class name.
It expects the android-adb command-line tool and adb to be available in the shell, since the allowed tools are limited to those commands. If an element is not on screen, the skill suggests scrolling with android-scroll or checking a different screen. The skill is a single SKILL.md file with no scripts, and is distributed through the android-adb-skill Claude Code plugin marketplace.
When your agent uses it
Inspect the Android UI hierarchy through android-adb ui dump and ui find.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- Asks for: Bash(android-adb:*), Bash(adb:*)(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 1 file (727 bytes) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the android-adb-skill plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add amit-nayar/android-adb-skill
/plugin install android-adb-skill@android-adb-skillOr copy only this skill to ~/.claude/skills/android-ui:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amit-nayar/android-adb-skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/android-ui &&
cp -R "$tmp/skills/android-ui" ~/.claude/skills/android-ui &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/android-ui inside it instead.
Copy the skill folder to ~/.agents/skills/android-ui to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amit-nayar/android-adb-skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/android-ui &&
cp -R "$tmp/skills/android-ui" ~/.agents/skills/android-ui &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/android-ui inside it instead.
Copy the skill folder to ~/.cursor/skills/android-ui to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amit-nayar/android-adb-skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/android-ui &&
cp -R "$tmp/skills/android-ui" ~/.cursor/skills/android-ui &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/android-ui inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/amit-nayar/android-adb-skill.git --path skills/android-uiOr copy the folder to ~/.gemini/skills/android-ui yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/android-ui:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amit-nayar/android-adb-skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/android-ui &&
cp -R "$tmp/skills/android-ui" ~/.copilot/skills/android-ui &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/android-ui inside it instead.
Get the folder:
git clone --depth 1 https://github.com/amit-nayar/android-adb-skill.gitThen copy android-adb-skill/skills/android-ui into your agent's skills folder as android-ui. Agents that support SKILL.md read one folder per skill.
What it does
- UI hierarchy dump
- Produces a JSON overview of the elements currently on an Android screen.
- Element lookup
- Finds a specific element by resource ID, text or content description.
- Search priority rules
- Guides the agent to prefer resource IDs, then text, then content descriptions.
- Ambiguity reporting
- Asks the agent to flag when multiple elements match a query.
- Coordinates and state
- Reports bounds, center coordinates, clickable and enabled state, and class.
- Scroll fallback
- Suggests android-scroll or another screen when an element is missing.
Good for
- Find the login button on the current Android screen
- List the elements visible on the screen I am testing
- Get the tap coordinates for a settings toggle
- Check whether a text field is enabled and clickable
- Identify why a UI element cannot be found on a screen
Android UI FAQ
What does Android UI need to run?
It is limited to the android-adb and adb shell commands, so both tools need to be available to the agent.
What does the agent get back from a lookup?
The skill asks for the best match, any ambiguity, and when relevant the bounds, center coordinates, clickable and enabled state, and class.
Does Android UI use exact or partial text matching?
Matching is by substring by default; the --exact option restricts matching to the whole text.
What if the element is not visible?
The skill suggests using android-scroll or switching to a different screen.
How do I install Android UI in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/android-ui to use it in all your projects, or to .claude/skills/android-ui in one project. Or install the android-adb-skill plugin, which includes it: /plugin marketplace add amit-nayar/android-adb-skill, then /plugin install android-adb-skill@android-adb-skill.
Does Android UI run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Android UI?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Android UI?
The closest alternatives to Android UI are Android navigate, Android, Android screenshot, Android scroll and Android tap.
Where this comes from
- Description: from the skill's own SKILL.md.
More from amit-nayar/android-adb-skill

Lets an agent drive an Android device through the android-adb command layer
- Open source
- 37 GitHub stars
- Developer tools

Guides an agent through Android debugging with device, screenshot, app and log commands
- Open source
- 37 GitHub stars
- Developer tools

Lets an agent list, inspect and start Android devices and emulators via android-adb
- Open source
- 37 GitHub stars
- Developer tools

Lets an agent perform taps, swipes and long presses on an Android device via adb
- Open source
- 37 GitHub stars
- Developer tools

Installs an Android APK on a device and launches it using android-adb commands
- Open source
- 37 GitHub stars
- Developer tools

Lets an agent move through an Android app to a target screen using adb commands
- Open source
- 37 GitHub stars
- Developer tools

