capsrock

iOS Simulator Automation Skill — Design skill for Claude Code

Design community

A Claude skill for driving and verifying the Xcode 27 iOS Simulator without opening Device Hub: which tool to use for tap, screenshot, rotation and UI tree, and which ones report success but do nothin.

How to install iOS Simulator Automation Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open capsrock/ios-simulator-automation-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What iOS Simulator Automation Skill does

A Claude skill for driving and verifying the Xcode 27 iOS Simulator without opening Device Hub: which tool to use for tap, screenshot, rotation and UI tree, and which ones report success but do nothing.

Alternatives in Design

  • NotebookLM Automation — Complete programmatic access to Google NotebookLM—including capabilities not exposed in the web UI 6.8k ★
  • Theme Swap — Recolour an extracted site's design around a new brand primary 3.6k ★
  • Claude Of Tanks — A World of Tanks-style, Vite-powered, engine-free pure Three.js armored combat simulator resolving plate-level 169 ★

README

ios-simulator-automation

![ios-simulator-automation — Drive and verify the iOS Simulator without opening Device Hub](assets/social-card.png)

**English** | [日本語](#日本語)

A Claude skill for driving and verifying the iOS Simulator from the command line and MCP.

Several tools can drive the simulator, and **among tools that nominally do the same thing, some work and some do not**. Worse, several of them return success while nothing actually happens. This skill sorts out which one to reach for.

At its center is the idea of **keeping track of why a tool was chosen**. If you cannot tell whether you are avoiding something because it is broken or because the other path is the proper one, you have no way to revisit the choice once the layer underneath is fixed. A guide that only lists the steps goes stale at that point.

The other axis is **whether the path goes through Device Hub**. Device Hub takes over the screen and stops your work, so if there is a direct route, use it. Conversely, two operations can only be done in Device Hub, and those have to be handed to a human. Knowing that boundary up front saves rework.

What you can do with it

With this skill installed, Claude can carry out the following **without opening Device Hub**:

What you want to do What it uses
Tap (portrait) tap in Claude's simulator panel
Tap (landscape) axe touch -x -y --down --up
Read element coordinates and labels axe describe-ui
Take a screenshot xcrun simctl io screenshot
Rotate the device xcrun devicectl device orientation set
Rotate, tap and dump the hierarchy in one call Xcode MCP's DeviceInteractionSynthesize
Dark mode, text size, contrast xcrun simctl ui
Set up a screen's state Write the app's UserDefaults directly
Fold or unfold iPhone Duo, tap its inner display `duoctl`

Two operations have **no command equivalent and have to be handed to a human**: key inpu