# Android

> Android is an open-source agent skill for developer tools. Lets an agent drive an Android device through the android-adb command layer. 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
- **Repository:** https://github.com/amit-nayar/android-adb-skill
- **GitHub stars:** 37
- **License:** MIT
- **Skill name:** android
- **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 points an AI coding agent at a local android-adb command layer for multi-step work on an Android phone or tablet. Instead of issuing raw adb commands, the agent is told to route each step to a command family: screenshots, UI inspection and element finding, input actions, waits, scrolling, app lifecycle, and logs.

The workflow starts by listing attached devices in JSON form. If several devices are connected and the user has not picked one, the agent is instructed to stop and ask. After each interaction it checks the result with a UI dump, an element wait, or a screenshot, and it prefers structured JSON output when reasoning about the device state.

It expects the android-adb tool to be installed and available locally, along with adb for fallback operations. The skill itself ships only a SKILL.md with no bundled scripts.

## When your agent uses it

> General-purpose Android automation. Use for multi-step Android tasks that should be executed through the local android-adb command layer instead of raw adb.

## 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)
- [Asks for: Bash(android-adb:*), Bash(adb:*), Glob](https://github.com/amit-nayar/android-adb-skill/blob/HEAD/skills/android/SKILL.md)
- [License: MIT](https://github.com/amit-nayar/android-adb-skill/tree/HEAD/skills/android)

## Features

- **Device selection:** Lists attached devices and asks the user to choose when more than one is connected.
- **Structured UI inspection:** Dumps and searches the screen hierarchy to locate elements before acting.
- **Input and scrolling:** Routes taps, typing and scroll-to-find steps through the android-adb command groups.
- **Post-action verification:** Checks each interaction with a UI dump, element wait or screenshot.
- **App and log control:** Covers launching or managing apps and reading device debug logs.
- **Raw adb fallback:** Uses plain adb only when the command layer cannot perform an operation.

## Good for

- Take a screenshot of what is currently showing on my phone
- Open an app, navigate to settings and toggle a option
- Scroll a list until a specific item appears and tap it
- Pull debug logs from the device while I reproduce a bug
- Check which Android devices are connected before running a task

## 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`:

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

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

### Codex

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

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

### Cursor

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

For one project only, put the folder in `.cursor/skills/android` 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
```

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

### VS Code

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

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

For one project only, put the folder in `.github/skills/android` 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` into your agent's skills folder as `android`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Android need to run?

It relies on the local android-adb command layer and allows Bash calls to android-adb and adb, plus Glob for file matching.

### How does the agent handle multiple connected devices?

It lists devices first and, if more than one is attached and none was chosen, it stops and asks the user which to use.

### Does Android fall back to plain adb?

Only when the android-adb command layer cannot perform the required operation.

### How does the agent confirm an action worked?

After each interaction it verifies the result with a UI dump, an element wait, or a screenshot.

### How do I install Android in Claude Code?

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

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?

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

## Where this comes from

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

## Alternatives

- [Android navigate](https://ai-powered.com/skills/android-navigate): Android navigate 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 screenshot](https://ai-powered.com/skills/android-screenshot): Android screenshot 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 UI](https://ai-powered.com/skills/android-ui): Android UI 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 install](https://ai-powered.com/skills/android-install): Android install 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.

---
Source: https://ai-powered.com/skills/android-amit-nayar
