返回顶部
a

adb-controller

Control an Android device via ADB. Use when the user asks to control an Android device, tap, swipe, input text, or perform actions via adb. Automatically uses the adbServer configured in openclaw.json and takes screenshots.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
416
下载量
0
收藏
概述
安装方式
版本历史

adb-controller

# ADB Controller This skill allows you to execute ADB (Android Debug Bridge) commands on a connected Android device and automatically retrieve a screenshot of the result. ## Configuration The user can configure the target ADB device/server in their `openclaw.json` (this is automatically read by the script): ```json { "skills": { "entries": { "adb-controller": { "adbServer": "192.168.1.100:5555" // or device serial } } } } ``` ## Usage To run an ADB command, execute the provided Python script: ```bash python3 ~/.openclaw/workspace/skills/adb-controller/scripts/run_adb.py shell input tap x y ``` You can pass any standard ADB arguments to the script. For example: - `python3 .../run_adb.py shell input text "hello"` - `python3 .../run_adb.py shell input keyevent 26` (Power button) - `python3 .../run_adb.py shell swipe 500 1000 500 500` ## Workflow (Mandatory) 1. Understand the user's intent and determine the correct ADB command. 2. Execute the user's requested action using the `run_adb.py` script via the `exec` tool. 3. The script will output the path to a newly captured screenshot. 4. **Send the Image:** You MUST use the `message` tool (with `action="send"` and `media="<path-to-screenshot>"`) to send the resulting screenshot to the user, allowing them to see the outcome of the action. Do not just output the file path.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 adb-controller-1776233412 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 adb-controller-1776233412 技能

通过命令行安装

skillhub install adb-controller-1776233412

下载 Zip 包

⬇ 下载 adb-controller v1.0.0

文件大小: 2.31 KB | 发布时间: 2026-4-15 23:59

v1.0.0 最新 2026-4-15 23:59
Initial release of adb-controller skill:

- Enables control of Android devices using ADB commands executed via a provided Python script.
- Automatically captures and returns a screenshot after each command.
- Reads ADB server/device info from openclaw.json for automatic configuration.
- Requires sending the screenshot result to the user after each action.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部