Skip to content
Agentmart
Submit a tool

android-adb-terminal

Use when interacting with Android emulators or physical devices via ADB (Android Debug Bridge).

Skill by prasad-vennam

IndexedMIT★ 11
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/prasad-vennam-android-adb-terminal

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when interacting with Android emulators or physical devices via ADB (Android Debug Bridge).

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/android-adb-terminal

What's inside

Skill name
android-adb-terminal
Description
Use when interacting with Android emulators or physical devices via ADB (Android Debug Bridge).
License
MIT
Instructions
91 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Android ADB Automation 📲⌨️

Expert commands and scripts for seamless Android device interaction and debugging.

## ⚡ When to Use

- **App Installation**: Installing APKs or bundles.
- **Logcat Debugging**: Filtering and searching system logs.
- **Device Interaction**: Typing text, tapping buttons, or swiping via shell.
- **Data Cleanup**: Clearing application data or cache.
- **Screen Captures**: Taking screenshots or recording videos.
- **Port Forwarding**: Connecting local servers to the device.

## 🛠️ Essential Commands

### 1. Device Discovery

```bash
adb devices
adb get-serialno
```

### 2. Package & Activity Management

- **Force Stop**: `adb shell am force-stop <package_name>`
- **Launch Activity**: `adb shell am start -n <package_name>/<activity_name>`
- **Clear Data**: `adb shell pm clear <package_name>`
- **List Installed Packages**: `adb shell pm list packages | grep <filter>`

### 3. Screen Interaction (Agent Favorites)

- **Type Text**: `adb shell input text "HelloAgent"`
- **Tap Coordinate**: `adb shell input tap 500 500`
- **Back Button**: `adb shell input keyevent 4`
- **Unlock Device**: `adb shell input keyevent 82`

### 4. File Transfers

```bash
adb push local_file /sdcard/remote_path
adb pull /sdcard/remote_path local_destination
```

## 📜 Advanced Automation

### Port Forwarding (Connect Host to Device)

```bash
adb forward tcp:8080 tcp:8080
```

### Port Reverse (Connect Device to Host - e.g. Local Backend)

```bash
adb reverse tcp:3000 tcp:3000
```

### Advanced Logcat Filtering

```bash
adb logcat -v time *:E # All errors with timestamps
adb logcat MyTag:D *:S # Show 'MyTag' debug only, silent for everything else
```

## 🧪 Scripting Patterns

### Wait for Device Online

```bash
adb wait-for-device
```

### Get Screen Dimensions

```bash
adb shell wm size
```

### Take and Pull Screenshot

```bash
adb shell screencap -p /sdcard/screen.png
adb pull /sdcard/screen.png ./screenshot.png
```

## 🔗 Related Resources

- [Android UI Verification Skill](../android_ui_verification/SKILL.md)
- [Official ADB Guide](https://developer.android.com/tools/adb)

From prasad-vennam/Awesome-Android-AI-Agent-Skills, MIT.

More from prasad-vennam/Awesome-Android-AI-Agent-Skills

Signals

Stars
11
Forks
0
Open issues
0
Last commit (this folder)
Mar 31, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from prasad-vennam

Cite this page

android-adb-terminal skill. Agent Mart. https://agentmart.dev/skills/prasad-vennam-android-adb-terminal (last updated 2026-10-24)