New advertisers: 50% off your first month with code FIRSTMONTHSee slots
web-infra-dev avatar

Ios Device Automation

Vision-driven iOS automation via Midscene CLI, operating from screenshots without DOM or accessibility labels.

skills.sh installs
3.2K
GitHub stars
325
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers connecting to devices, launching apps or deep links, taking screenshots, and running natural language act and assert commands
  • Includes connect, take_screenshot, act, assert, runwdarequest, and launch support, with WebDriverAgent as the control channel
  • Enforces one synchronous command at a time so each screenshot is read before the next action is chosen
  • Designed for QA and visual verification of iPhone and iPad apps that requires a configured vision-capable model

Install

$ npx -y skills add web-infra-dev/midscene-skills --skill ios-device-automation -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

iOS Device Automation

CRITICAL RULES — VIOLATIONS WILL BREAK THE WORKFLOW:

  1. Never run midscene commands in the background. Each command must run synchronously so you can read its output (especially screenshots) before deciding the next action. Background execution breaks the screenshot-analyze-act loop.
  2. Run only one midscene command at a time. Wait for the previous command to finish, read the screenshot, then decide the next action. Never chain multiple commands together.
  3. Allow enough time for each command to complete. Midscene commands involve AI inference and screen interaction, which can take longer than typical shell commands. A typical command needs about 1 minute; complex act commands may need even longer.
  4. Always report task results before finishing. After completing the automation task, you MUST proactively summarize the results to the user — including key data found, actions completed, screenshots taken, and any relevant findings. Never silently end after the last automation step; the user expects a complete response in a single interaction.

Details

Repository
github.com/web-infra-dev/midscene-skills
Categories
Mobile Apps, Testing & QA
First seen
Apr 16, 2026

More from web-infra-dev/midscene-skills

All 7

Similar to Ios Device Automation

More Mobile Apps