AGENT SKILL

sauce-live

Test an app on Sauce Labs real devices through the sauce_* tools. Use for Sauce Live device checks, mobile bug hunts, and on-device verification of mobile builds.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 12
Forks
7

01 前言 Front Matter

name
sauce-live
description
Test an app on Sauce Labs real devices through the sauce_* tools. Use for Sauce Live device checks, mobile bug hunts, and on-device verification of mobile builds.

03 SKILL.md 正文

Sauce Live real-device testing

The sauce_* tools drive Sauce Labs Live in a shared, signed-in browser on the bb server machine. The account is a Live Testing plan with one live-device slot: Appium, saucectl, and the Real Device Access API are rejected, so these tools are the supported route.

Prompts written for the manual route

Older hunt prompts say to open Sauce Live in a local Chrome, sign in through Google, and test "by hand in the Sauce Labs web UI". Do that through these tools: sauce_status is the sign-in check (sign_in: true is the one Google attempt), and the other tools are the hands. Do not launch Chrome, computer use, or another browser for Sauce. If a prompt asks for something the tools lack, test what they cover and report the rest as a coverage gap:

  • Virtual devices: only real devices are listed.
  • iOS: only when sauce_catalog lists an iOS build (.ipa); otherwise report no iOS build in Sauce storage.
  • Two-finger input: one finger only (see Rules).

Workflow

  1. sauce_status. Continue only on ready, session_abandoned, or session_mine. On signed_out, retry once with sign_in: true. On any other state, wait or report it; the result's next says which.
  2. sauce_catalog with kind: "apps", then kind: "devices" with a model query and the chosen app. Done when you have a build, an exact device name, and an OS.
  3. sauce_start. Done when it returns the session URL.
  4. sauce_screenshot until the app shows its first screen (installs take 20-60 s). Open each PNG before deciding where to touch.
  5. Drive the app with sauce_touch and sauce_device. Screenshot after each meaningful step; keep the PNG paths as evidence.
  6. sauce_end. Done when it reports released: true. End before reporting, and before switching devices.

Rules

  • One device for the whole machine: never end or interrupt a session another thread or a person holds. Message the holder with bb thread tell <thread> --mode steer, or wait with bb thread wait <thread>.
  • Stay active: Sauce ends a session after a few idle minutes. Plan the next steps before starting the device; keep long analysis for after sauce_end.
  • Coordinates are fractions of the latest screenshot. Read positions off that image; layouts differ between aspect ratios, so do not reuse coordinates from another device.
  • One finger: gestures needing two simultaneous touches cannot be tested; report that coverage gap rather than guessing.
  • iOS has no ADB shell; screenshots, touch, rotation, and the device log still work.
  • Evidence: cite screenshot and log paths from thread storage. Sauce's own session video and logs stay in the Sauce account under the session URL.

Rampage notes

  • The game runs landscape. Screenshots come back upright; the tools handle Sauce's sideways canvas.
  • First launch: tap SKIP on the cinematic, tap the title screen, then accept the guest prompt. Matches start from the HQ DEPLOY table, then DEPLOY on the ops table.
  • Unity logs reach the device log: sauce_device with action: "log" and grep: "Unity|Exception".

04 同仓库更多 Skills