跳到正文
TakoAPI
返回技能列表

midscene-android-automation

由 quanru 提供

Web & Frontend Development
1.1k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Vision-driven Android device automation using Midscene.

描述

该技能的功能

Controls Android devices using screenshot-based vision, with no DOM access or accessibility labels required. Accepts natural language commands to tap, swipe, type, launch apps, and capture screenshots. Works across any Android app regardless of the underlying framework.

Unlike Appium or UI Automator, it requires no accessibility labels or view hierarchy access, so it works on any app including games and fully custom-rendered UIs.

何时使用

  • Automating repetitive tasks in mobile apps that have no scriptable API
  • Extracting data from Android apps without a web or API equivalent
  • Testing a mobile UI without writing platform-specific test code
  • Running multi-step workflows in messaging or social apps
  • Capturing screenshots of specific app states for documentation or bug reports

示例工作流

输入

User asks: 'Open Settings, go to Wi-Fi, and tell me the connected network name'

智能体
  1. 1

    Connect to the Android device via ADB

  2. 2

    Launch the Settings app using adb shell am start and take a screenshot to confirm it is in the foreground

  3. 3

    Run act with the prompt 'navigate to Wi-Fi settings and read the connected network name'

  4. 4

    Take a screenshot to verify the current screen state

  5. 5

    Disconnect and report the network name extracted from the screen

输出

Connected Wi-Fi network name read from the device screen and reported to the user

前置要求

  • MIDSCENE_MODEL_API_KEY environment variable from a supported AI vision model provider
  • MIDSCENE_MODEL_NAME, MIDSCENE_MODEL_BASE_URL, and MIDSCENE_MODEL_FAMILY environment variables
  • Android SDK Platform Tools (provides adb)
  • Android device with USB debugging enabled in Developer Options

安装

clawhub install quanru/midscene-android-automation

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接