ADB Android Control (macOS) for Openclaw

A comprehensive automation suite for controlling Android devices from a Mac using Android Debug Bridge (ADB).

dr-xiaoming
v1.0.0
Mar 23, 2026
0
897
6

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install adb-android

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install adb-android using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is ADB Android Control (macOS)?

The ADB Android Control skill empowers AI agents and developers to remotely operate Android mobile devices directly from a macOS host. By leveraging Openclaw Skills, users can bridge the gap between desktop environments and mobile hardware, enabling everything from simple file transfers to complex UI automation.

This integration supports both physical USB connections and modern wireless debugging (Android 11+), providing a flexible backbone for mobile testing, automated data extraction, and remote device management. Whether you are managing a single device or a fleet, this skill provides the low-level hooks needed for high-level AI orchestration.

ADB Android Control (macOS) Use Cases

  • Automating repetitive UI tasks like tapping, swiping, and text entry for mobile app testing.
  • Remotely installing, uninstalling, or managing third-party applications across multiple devices.
  • Extracting device logs (Logcat) and system information for debugging and performance monitoring.
  • Mirroring and recording Android screens onto a Mac for presentations or visual verification.
  • Performing bulk file transfers between local macOS directories and Android file systems.

How ADB Android Control (macOS) Works

  1. The Openclaw Skills agent identifies the target Android device via USB or a configured Wi-Fi network address.
  2. Commands are issued through the macOS terminal using the Android Platform Tools (ADB) binary.
  3. For visual interaction, the agent captures screenshots or initiates a screen record to interpret the current UI state.
  4. Input commands (tap, keyevents, text) are sent to the device's input flinger to simulate human interaction.
  5. The agent parses the returned shell output or log data to confirm execution success or retrieve requested information.

ADB Android Control (macOS) Setup

First, ensure you have the necessary tools installed on your macOS host via Homebrew:

brew install android-platform-tools
brew install scrcpy

Next, enable Developer Options and USB Debugging on your Android device. For wireless setups on Android 11+, use the pairing command:

adb pair <phone-ip>:<pair-port>
adb connect <phone-ip>:<connect-port>

ADB Android Control (macOS) Data Schema & Taxonomy

The skill interacts with device data and metadata using standard ADB protocols. Data is typically organized as follows:

Data Type Source/Path Description
Packages pm list packages Inventory of installed system and 3rd-party apps
Storage /sdcard/ Primary user-accessible file system for pulls/pushes
Logs logcat Real-time system and application event buffers
Media /sdcard/screen.png Temporary storage for screenshots and video recordings
System Props getprop Hardware and build metadata (model, OS version, etc.)

ADB Android Control (macOS) Advanced Features

  • Support for scrcpy integration to provide high-performance, low-latency screen mirroring and recording.
  • Multi-device orchestration using serial number targeting (-s <serial>) for parallel task execution.
  • Remote execution support allowing cloud-based agents to control devices physically connected to local Mac nodes.
  • Intent-based automation for opening specific URLs or triggering system broadcasts like Airplane Mode.
  • Advanced log filtering by PID or Tag to isolate specific application behaviors during automated runs.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*