Skip to content
Skill

Android screenshot

Lets an agent capture an Android device screenshot and analyze what is on screen

Android screenshot is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
37
Last commit
License
MIT
Listing updated

Similar skills

About Android screenshot

This skill guides an AI coding agent through taking a screenshot of a connected Android device using the android-adb command layer. The agent saves the capture, can open the saved image with its own local image viewing ability when visual analysis is requested, and can pull a UI hierarchy dump for precise element data when needed.

The workflow starts with the android-adb screenshot command in JSON mode, then branches depending on whether the user wants a visual read of the screen or exact element details. Raw adb is only meant as a last-resort fallback if the command layer fails during capture.

It expects a device or emulator reachable through adb and the android-adb tool installed. Its allowed tools are limited to android-adb and adb shell-style invocations, and it ships as a single SKILL.md file with no bundled scripts.

When your agent uses it

Capture an Android screenshot through android-adb and analyze the result.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (636 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-skill

Or copy only this skill to ~/.claude/skills/android-screenshot:

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-screenshot &&
cp -R "$tmp/skills/android-screenshot" ~/.claude/skills/android-screenshot &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/android-screenshot inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/android-screenshot 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-screenshot &&
cp -R "$tmp/skills/android-screenshot" ~/.agents/skills/android-screenshot &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/android-screenshot inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/android-screenshot 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-screenshot &&
cp -R "$tmp/skills/android-screenshot" ~/.cursor/skills/android-screenshot &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/android-screenshot inside it instead.

Cursor docs on skills

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-screenshot

Or copy the folder to ~/.gemini/skills/android-screenshot yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/android-screenshot:

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-screenshot &&
cp -R "$tmp/skills/android-screenshot" ~/.copilot/skills/android-screenshot &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/android-screenshot inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/amit-nayar/android-adb-skill.git

Then copy android-adb-skill/skills/android-screenshot into your agent's skills folder as android-screenshot. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Screenshot capture
Runs android-adb to grab the current screen and reports where the image was saved.
Visual analysis
Opens the saved image with the agent's image viewing capability to describe what is shown.
UI hierarchy dump
Pulls precise element data from the screen when exact labels or positions matter.
Question answering
Reports visible content and answers the user's specific question about the current screen.
Adb fallback
Uses raw adb as a last resort if the android-adb screenshot step fails.

Good for

  • Show me what is currently on my Android phone screen
  • Check whether the login error message appears on the device
  • Read the text of the settings page open on the emulator
  • Find the exact label and position of a button on the current screen

Android screenshot FAQ

What does Android screenshot need to run?

It needs the android-adb command layer available to the agent, with adb access to the Android device, and the agent must be allowed to run android-adb and adb commands.

Does Android screenshot change anything on the device?

The skill's documented flow captures a screenshot and dumps the UI hierarchy, both of which read the screen. It does not describe modifying device state.

When is the UI dump used?

Only when the agent needs precise element data beyond what the screenshot shows.

How do I install Android screenshot in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/android-screenshot to use it in all your projects, or to .claude/skills/android-screenshot 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 screenshot 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 screenshot?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Android screenshot?

The closest alternatives to Android screenshot are Android, Android navigate, Android UI, Android debug and Android device.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from amit-nayar/android-adb-skill

  1. Lets an agent drive an Android device through the android-adb command layer

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

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

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

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

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

    • Open source
    • 37 GitHub stars
    • Developer tools