Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计通过

agent-android安卓 Agent

Agent Skill

agent-android 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,869

周安装

122

GitHub Stars

公开资料未说明

下载量

1,005
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-android(安卓 Agent)
来源仓库:https://github.com/crazytigerman/agent-android
安装命令:
openclaw skills install agent-android
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install agent-android

简介

无需 USB 或 root 权限即可通过网络远程控制 Android 设备。

  • 适用于远程演示、故障排查或自动化测试等移动场景。
  • 支持屏幕镜像、点击模拟与应用管理基础操作。
  • 安装命令:openclaw skills install agent-android;仅限授权设备使用,防止隐私泄露。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
agent-android
description
Control Android over LAN without USB, ADB, or root.
metadata
{"openclaw":{"homepage":"https://github.com/aivanelabs/ai-rpa","requires":{"bins":["agent-android"]},"install":[{"id":"agent-android-uv","kind":"uv","package":"aivane-agent-android","bins":["agent-android"],"label":"Install agent-android CLI (uv)"}]}}

Android REPL

Use this skill to drive an Android device through the public agent-android beta surface published in the aivanelabs/ai-rpa repo.

Runtime prerequisites:

  • agent-android is available on PATH
  • if it is missing, install the CLI with uv tool install aivane-agent-android; then run uv tool update-shell if the command is still not found
  • the user has provided a trusted device URL such as http://<device-ip>:8080

The public path is local-first:

  • the phone hosts the lightweight HTTP service locally
  • the desktop connects directly to http://<device-ip>:8080
  • UI reads, taps, inputs, and screenshots stay on the phone and controlling machine
  • the current tradeoff is LAN-only control; an optional server-side or relay path may arrive later

If an agent-android command suddenly stops working, first check whether the AIVane app or its local API service has exited on the phone.

Safety Boundaries

  • Connect only to a device URL explicitly provided by the user.
  • Do not scan local networks or guess device IP addresses.
  • Treat UI trees and screenshots as sensitive because they may contain private app content.
  • Save screenshots or raw UI dumps only when the user explicitly asks for a file output.
  • Ask for confirmation before operating sensitive apps, private content, account settings, or irreversible actions.
  • Do not expose the phone-side service on a public network.

Core Workflow

Every Android control task should follow the same short loop:

  1. Confirm connectivity with /health
  2. Discover the target app with apps if needed
  3. Launch one app
  4. Inspect the current UI tree
  5. Perform one action
  6. Inspect again

Keep the loop short. Prefer inspect -> act -> inspect over long speculative command chains.

Quick Start

Start the REPL with the user-provided device URL:

  • agent-android --repl --url http://<device-ip>:8080

Built-in help:

  • agent-android --help
  • In the REPL: h

Essential CLI Commands

Use the one-off CLI when you already know the exact action you want.

Connectivity:

  • agent-android --health --url http://<device-ip>:8080

Discovery:

  • agent-android --apps --url http://<device-ip>:8080
  • agent-android --list --url http://<device-ip>:8080
  • agent-android --id com.example:id/search --url http://<device-ip>:8080
  • agent-android --text Search --url http://<device-ip>:8080
  • agent-android --inputs --url http://<device-ip>:8080
  • agent-android --refId 7 --url http://<device-ip>:8080
  • agent-android --xpath 7 --url http://<device-ip>:8080
  • agent-android --get-attr 7 text --url http://<device-ip>:8080

Actions:

  • agent-android --launch com.xingin.xhs --url http://<device-ip>:8080
  • agent-android --tap 7 --url http://<device-ip>:8080
  • agent-android --input 7 "hello world" --url http://<device-ip>:8080
  • agent-android --swipe up --url http://<device-ip>:8080
  • agent-android --back --url http://<device-ip>:8080
  • agent-android --press home --url http://<device-ip>:8080
  • agent-android --screenshot --url http://<device-ip>:8080

Waiting and output:

  • agent-android --wait-for Search --timeout 30 --url http://<device-ip>:8080
  • agent-android --list --raw --url http://<device-ip>:8080

REPL Command Reference

Use the REPL for exploratory tasks and smoke runs. Short aliases and long names both work.

Browse

  • health or hl

Check /health.

  • l [n] or list [n]

List the first n elements, or all cached elements when n is omitted.

  • ss or snapshot

Force-refresh the UI tree and print it again.

  • f <text> or find <text>

Filter by text or content description.

  • id <resourceId>

Filter by Android resource ID.

  • ref <refId>

Show the full element detail for one refId.

  • x <refId> or xpath <refId>

Generate XPath candidates and validate their runtime match counts.

  • xx <refId>

Tap by the best unique generated XPath candidate. Refuses ambiguous matches.

  • vx <xpath> [idx] or validatex <xpath> [idx]

Validate one XPath against the runtime. Optionally inspect one match by zero-based index.

Interact

  • t <refId> or tap <refId>

Tap the element center point from the current tree.

  • tx <xpath> or tapx <xpath>

Tap one runtime-resolved XPath target.

  • i <refId> <text> or input <refId> <text>

Input text into a refId target. Use --clear or "" to clear instead of typing.

  • ix <xpath> <text> or inputx <xpath> <text>

Input text into one XPath target. Use ix <xpath> -- or --clear to clear the field.

  • sw <d|u|l|r> [--dur N] [--dist N] or swipe ...

Swipe down/up/left/right with optional duration and distance.

  • p <back|home|recents> or press ...

Press a system key.

  • b or back

Press Back.

  • la <package> or launch <package>

Launch an app by package name.

  • s [path] or screenshot [path]

Capture a screenshot to an auto-generated or explicit path.

Wait And Inspect

  • wf <text> [--t N] or waitfor ...

Wait for an element to appear.

  • g <refId> <attr> or get <refId> <attr>

Read an attribute such as text, class, bounds, x, y, or xpath.

  • apps

List launcher apps from /apps.

Session

  • raw

Toggle raw JSON mode.

  • vars

Show current URL, timeout, raw mode, and tree cache state.

  • set timeout 30

Set the default wait timeout in seconds.

  • h or help

Show the built-in help text.

  • q or quit

Exit the REPL.

Common Patterns

First smoke flow

  1. Start the REPL with agent-android --repl --url http://<device-ip>:8080.
  2. health
  3. apps
  4. la <package>
  5. l
  6. t <refId>
  7. i <refId> hello
  8. b
  9. s

Find the right package before launch

  • apps
  • la com.example.app
  • l

Inspect an element before using XPath

  • l
  • ref 12
  • x 12
  • vx //EditText[@text='Search']

Clear and refill an input

  • i 7 --clear
  • i 7 hello world
  • ix //EditText[@text='Search'] --
  • ix //EditText[@text='Search'] -- hello world

Troubleshooting

  • If an agent-android command fails, first check whether the AIVane app or phone-side API service has exited.
  • If agent-android is not found, run uv tool update-shell, reopen the terminal, and retry.
  • Re-open the app or restart the phone-side service, then retry curl http://<device-ip>:8080/health.
  • If health works but UI commands fail, run ss to force-refresh the tree before tapping or inputting.
  • If tx or ix fails, run vx <xpath> and make sure the XPath resolves to exactly one runtime match.
  • If screenshots fail the first time, confirm the on-device MediaProjection permission prompt was accepted.
  • If everything suddenly stops responding, confirm the phone IP did not change and that the desktop is still on the same LAN.

When To Stop

Stop and ask for user help when:

  • the device is unreachable on LAN
  • the app is not running and cannot be restarted from the current path
  • required Android permissions are missing
  • launcher discovery returns nothing useful
  • the runtime UI no longer matches the expected screen after repeated refreshes

References

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

97.94%
按下载量换算984

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install agent-android 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills