跳到正文
TakoAPI
返回技能列表

atl-mobile

由 jordancoin 提供

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

简介

Mobile browser and native app automation via ATL (iOS Simulator).

描述

该技能的功能

ATL (Agent Touch Layer) is an HTTP-based automation layer for iOS Simulator. It runs two local servers: port 9222 for mobile Safari and port 9223 for native iOS app automation via XCTest. Agents interact with web and native UI through HTTP commands, using a numbered mark system to locate elements without vision API calls.

The mark system assigns numbered labels to interactive elements with exact pixel coordinates, so agents can tap precisely without paying for vision model API calls on every screenshot.

何时使用

  • Automating checkout flows on mobile e-commerce sites in Safari
  • Testing native iOS app navigation without a physical device
  • Scraping web content as rendered in mobile Safari
  • Capturing screenshots of mobile-specific UI layouts for QA
  • Running scripts that configure iOS system app settings

示例工作流

输入

User asks: Open iOS Settings, navigate to Wi-Fi, and take a screenshot

智能体
  1. 1

    Sends openApp command to port 9223 with bundleId com.apple.Preferences

  2. 2

    Calls snapshot with interactiveOnly to retrieve the accessibility tree

  3. 3

    Uses find command to locate and tap the Wi-Fi cell by label text

  4. 4

    Sends screenshot command and decodes the base64 PNG response to a file

  5. 5

    Calls closeApp to terminate Settings

输出

PNG screenshot of the Wi-Fi settings screen saved to /tmp/wifi-settings.png

前置要求

  • Xcode installed on macOS (provides xcrun, xcodebuild, and iOS Simulator)

安装

clawhub install jordancoin/atl-mobile

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

链接