Skip to content
Skill

Android

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

Android 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

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.

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 (1 KB) 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:

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.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/android 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 &&
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.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/android 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 &&
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.

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

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

Gemini CLI docs on skills

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

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.

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 into your agent's skills folder as android. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

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

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

More from amit-nayar/android-adb-skill

  1. Guides an agent through Android debugging with device, screenshot, app and log commands

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

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

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

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

    • Open source
    • 37 GitHub stars
    • Developer tools
  6. Lets an agent capture an Android device screenshot and analyze what is on screen

    • Open source
    • 37 GitHub stars
    • Developer tools