web-infra-dev avatar

Ios Device Automation

Automates iOS devices through natural language commands and screenshot analysis instead of traditional DOM scraping or accessibility APIs. You connect a device, Claude takes screenshots, then issues commands like "tap the login button" or "scroll to the bottom" based on what it sees. The workflow is strictly synchronous: one command at a time, wait for the screenshot, analyze, then act. It's built on Midscene and needs a vision model like Gemini or Qwen configured via environment variables. The critical thing to know is that each command can take up to a minute because of AI inference, so this isn't for speed. Good for testing apps where traditional automation hooks don't exist or when you want to drive interactions purely from visual state.

skills.sh installs
3.2K
GitHub stars
321
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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.

Sponsors

Details

Repository
github.com/web-infra-dev/midscene-skills
Categories
Frontend Development, Testing & QA, DevOps & CI/CD, Automation & Workflows, Mobile Development, Design & UI/UX, CLI & Terminal
First seen
Apr 16, 2026

More from web-infra-dev/midscene-skills

All 8
1freshtechbro avatarlottie-animationsfreshtechbro/claudedesignskillsAfter Effects animation rendering for web and React applications. Use this skill when implementing Lottie animations, JSON vector animations, interactive animat3.1Kskills.sh installs
2nexu-io avatarremotionnexu-io/open-designProgrammatic video creation with React. Useful for branded explainers, social cuts, dashboards-to-video, and reproducible motion graphics.3.1Kskills.sh installs
3openai avatarfigma-generate-designopenai/skillsUse this skill alongside figma-use when the task involves translating an application page, view, or multi-section layout into Figma. Triggers: 'write to Figma',3Kskills.sh installs
4freshtechbro avatarspline-interactivefreshtechbro/claudedesignskillsBrowser-based 3D design tool with visual editor, animation, and web export. Use this skill when creating 3D scenes without code, designing interactive web exper3Kskills.sh installs
5meodai avatarcolor-expertmeodai/skill.color-expertUse when working with color naming, color theory, color spaces, color definitions, or any task involving color knowledge - palettes, ramps, gradients, conversio2.9Kskills.sh installs
6nexu-io avatarfield-notes-editorial-templatenexu-io/open-designEditorial "Field Notes" report template with soft paper background, serif hero typography, rounded pastel insight cards, and a retention chart panel. Use when u2.9Kskills.sh installs