搜索

PythonReactSEOPDF
OpenClaw

adb-claw

Control Android devices via adbclaw CLI — tap, swipe, type, screenshot, UI inspection, and app management. Use when: (1) user asks to control or automate an Android device, (2) testing mobile apps or UI, (3) taking screenshots or inspecting UI elements on Android, (4) launching/stopping apps. NOT for: iOS devices (use peekaboo), desktop automation, or ADB installation issues.

dionren0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install dionren/adb-claw

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

ADB Claw — Android Device Control

Control Android devices via the adbclaw CLI. Supports tap, swipe, type, screenshot, UI tree inspection, and app management through ADB.

When to Use

  • User asks to control, interact with, or automate an Android device
  • User asks to test a mobile app or UI
  • User mentions tapping, swiping, screenshots, or app launching on Android
  • User wants to install, launch, or manage apps on a connected Android device

When NOT to Use

  • iOS devices — use peekaboo or other iOS tools
  • Desktop UI automation — use peekaboo (macOS)
  • ADB not available and user can't install it

Setup

Requires two binaries:

  1. adbclaw — the control CLI
  2. adb — Android Debug Bridge (from Android SDK Platform-Tools)

The Android device must have USB debugging enabled and be connected via USB.

# Verify setup
adbclaw doctor

Global Flags

Flag Short Description Default
--serial -s Target device serial (when multiple devices connected) auto-detect
--output -o Output format: json, text, quiet json
--timeout Command timeout in milliseconds 30000
--verbose Enable debug output to stderr false

Commands

observe — Screenshot + UI Tree (Primary Command)

Captures screenshot and UI element tree in one call. Always use this before and after actions.

adbclaw observe              # Default
adbclaw observe --width 540  # Scale screenshot width

Returns: base64 PNG screenshot, indexed UI elements with text/id/bounds/center coordinates.

screenshot — Capture Screen
adbclaw screenshot                      # Returns base64 PNG in JSON
adbclaw screenshot -f output.png        # Save to file
adbclaw screenshot --width 540          # Scale down
tap — Tap UI Element

Tap by element index (preferred), resource ID, text, or coordinates:

adbclaw tap --index 5            # Tap elem...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/dionren/adb-claw
Version
—
Commit
42e3b49ae0e8a1c0ac218bbc2f704313d7175167
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# ADB Claw — Android Device Control

Control Android devices via the `adbclaw` CLI. Supports tap, swipe, type, screenshot, UI tree inspection, and app management through ADB.

## When to Use

- User asks to control, interact with, or automate an Android device
- User asks to test a mobile app or UI
- User mentions tapping, swiping, screenshots, or app launching on Android
- User wants to install, launch, or manage apps on a connected Android device

## When NOT to Use

- iOS devices — use peekaboo or other iOS tools
- Desktop UI automation — use peekaboo (macOS)
- ADB not available and user can't install it

## Setup

Requires two binaries:

1. **adbclaw** — the control CLI
2. **adb** — Android Debug Bridge (from Android SDK Platform-Tools)

The Android device must have **USB debugging enabled** and be connected via USB.

```bash
# Verify setup
adbclaw doctor
```

## Global Flags

| Flag | Short | Description | Default |
|------|-------|-------------|---------|
| `--serial` | `-s` | Target device serial (when multiple devices connected) | auto-detect |
| `--output` | `-o` | Output format: `json`, `text`, `quiet` | `json` |
| `--timeout` | | Command timeout in milliseconds | `30000` |
| `--verbose` | | Enable debug output to stderr | `false` |

## Commands

### observe — Screenshot + UI Tree (Primary Command)

Captures screenshot and UI element tree in one call. **Always use this before and after actions.**

```bash
adbclaw observe              # Default
adbclaw observe --width 540  # Scale screenshot width
```

Returns: base64 PNG screenshot, indexed UI elements with text/id/bounds/center coordinates.

### screenshot — Capture Screen

```bash
adbclaw screenshot                      # Returns base64 PNG in JSON
adbclaw screenshot -f output.png        # Save to file
adbclaw screenshot --width 540          # Scale down
```

### tap — Tap UI Element

Tap by element index (preferred), resource ID, text, or coordinates:

```bash
adbclaw tap --index 5            # Tap elem...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.