# Android screenshot

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

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/amit-nayar/android-adb-skill/tree/main/skills/android-screenshot
- **Repository:** https://github.com/amit-nayar/android-adb-skill
- **GitHub stars:** 37
- **License:** MIT
- **Skill name:** android-screenshot
- **Collection:** https://github.com/amit-nayar/android-adb-skill
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/amit-nayar/android-adb-skill/tree/HEAD/skills/android-screenshot)
- [Asks for: Bash(android-adb:*), Bash(adb:*)](https://github.com/amit-nayar/android-adb-skill/blob/HEAD/skills/android-screenshot/SKILL.md)
- [License: MIT](https://github.com/amit-nayar/android-adb-skill/tree/HEAD/skills/android-screenshot)

## Features

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

## Install

### Claude Code

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):

```sh
/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`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/android-screenshot` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/android-screenshot` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Android](https://ai-powered.com/skills/android-amit-nayar): Android is an open-source agent skill for developer tools.
- [Android navigate](https://ai-powered.com/skills/android-navigate): Android navigate is an open-source agent skill for developer tools.
- [Android UI](https://ai-powered.com/skills/android-ui): Android UI is an open-source agent skill for developer tools.
- [Android debug](https://ai-powered.com/skills/android-debug): Android debug is an open-source agent skill for developer tools.
- [Android device](https://ai-powered.com/skills/android-device): Android device is an open-source agent skill for developer tools.
- [Android tap](https://ai-powered.com/skills/android-tap): Android tap is an open-source agent skill for developer tools.
- [Android test](https://ai-powered.com/skills/android-test): Android test is an open-source agent skill for developer tools.
- [Android gesture](https://ai-powered.com/skills/android-gesture): Android gesture is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/android-screenshot
