跳到正文
TakoAPI
返回技能列表

midscene-ios-automation

由 quanru 提供

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

简介

Vision-driven iOS device automation using Midscene CLI.

描述

该技能的功能

Vision-driven iOS automation that operates entirely from screenshots, requiring no DOM access or accessibility labels. Sends natural language commands to any iOS app via WebDriverAgent and a vision-capable LLM. Works with apps built on any technology stack.

Works on any iOS app regardless of how it was built, since it reads the screen visually instead of relying on accessibility labels or DOM structure.

何时使用

  • Automating repetitive UI tasks in iOS apps during QA testing
  • Extracting data from iOS apps that lack a web or API interface
  • Navigating iOS settings programmatically for device configuration
  • Verifying iOS app UI flows without writing XCTest or UITest code
  • Capturing screen state during multi-step iOS app walkthroughs

示例工作流

输入

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

智能体
  1. 1

    Connect to the iOS device via WebDriverAgent

  2. 2

    Take a screenshot to confirm the current screen state

  3. 3

    Run act with prompt "open Settings and navigate to Wi-Fi, tell me the connected network name"

  4. 4

    Take a screenshot to capture the Wi-Fi screen

  5. 5

    Disconnect from the device and report the network name found

输出

Connected Wi-Fi network name extracted from the Settings > Wi-Fi screen

前置要求

  • MIDSCENE_MODEL_API_KEY environment variable (API key for a vision-capable LLM provider)
  • MIDSCENE_MODEL_NAME, MIDSCENE_MODEL_BASE_URL, and MIDSCENE_MODEL_FAMILY environment variables
  • WebDriverAgent installed and running on the target iOS device

安装

clawhub install quanru/midscene-ios-automation

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

链接