# Android gesture

> Android gesture is an open-source agent skill for developer tools. Lets an agent perform taps, swipes and long presses on an Android device via adb. 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-gesture
- **Repository:** https://github.com/amit-nayar/android-adb-skill
- **GitHub stars:** 37
- **License:** MIT
- **Skill name:** android-gesture
- **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 maps common touch requests such as tap, double tap, long press, swipe and drag onto android-adb input commands. Long presses are handled as a zero-distance swipe with an extended duration, and double taps are sent as a single command so the two touches land close together.

When a user refers to a screen element by name rather than coordinates, the skill directs the agent to locate it first using the UI find or tap-element commands. After performing the gesture, the agent is told to confirm the result by dumping the UI hierarchy or taking a screenshot.

The skill runs through the Bash tool and only permits android-adb and adb commands. It has no bundled scripts and relies on a connected Android device and the android-adb command-line tooling being available.

## When your agent uses it

> Perform Android gestures through android-adb input commands.

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

## Features

- **Tap and double tap:** Sends single or double taps through the input command layer.
- **Long press handling:** Implements long presses as a swipe that starts and ends at the same point with a longer duration.
- **Swipe and drag:** Covers directional swipes and drag motions using input swipe.
- **Element-based targeting:** Resolves a named UI element with find or tap-element before acting on it.
- **Post-gesture verification:** Checks the result with a UI hierarchy dump or a screenshot.

## Good for

- Tap the Settings icon on a connected Android phone
- Double tap to zoom into a map on the device
- Long press a message to open its context menu
- Swipe up to scroll through a feed
- Drag a slider to a new value on the 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-gesture`:

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

## FAQ

### Which commands can the skill run?

It is limited to android-adb and adb commands through the Bash tool.

### How does Android gesture handle a long press?

It uses input swipe from a point to itself with a long duration, such as 800 ms.

### What if I describe a button by name instead of coordinates?

The skill first resolves the element with ui find or input tap-element before tapping.

### How does the agent check that a gesture worked?

After the gesture it runs ui dump or takes a screenshot to verify the screen state.

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

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

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 gesture?

The closest alternatives to Android gesture are Android tap, Android navigate, Android, Android scroll and Android screenshot.

## Where this comes from

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

## Alternatives

- [Android tap](https://ai-powered.com/skills/android-tap): Android tap 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](https://ai-powered.com/skills/android-amit-nayar): Android is an open-source agent skill for developer tools.
- [Android scroll](https://ai-powered.com/skills/android-scroll): Android scroll 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 UI](https://ai-powered.com/skills/android-ui): Android UI 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 debug](https://ai-powered.com/skills/android-debug): Android debug is an open-source agent skill for developer tools.

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