iOS Simulator skill
Build, test and drive iOS apps in the Simulator with 31 scripts that tap and type by accessibility label instead of screen coordinates.
Community · Conor Luddy| Author | Conor Luddy |
|---|---|
| Licence | MIT |
| Source | conorluddy/ios-simulator-skill · SKILL.md on GitHub |
| Works in | Claude Code · Codex, Gemini CLI, Cursor, Copilot |
| Read from the source on |
The iOS Simulator skill lets a coding agent build an Xcode project, launch the app in a simulator and move through its screens by reading the accessibility tree, the same labels VoiceOver uses.
It ships 31 Python and shell scripts: builds and tests, taps, swipes and typing, screenshots and visual diffs, accessibility and localization audits, log and hang capture, permissions, location, push notifications and the simulator lifecycle. It runs only on a Mac with Xcode.
From the skill's SKILL.md: Always prefer the accessibility tree over screenshots for navigation.
What it does
- Check the Mac, Xcode, idb and Python setup with a health-check script.
- Build and test the project, then report errors and failing tests in short summaries.
- Launch the app and list the buttons and fields on the current screen.
- Tap, type, swipe and press hardware buttons by label, type or accessibility ID.
- Audit the screen for accessibility problems and capture a debugging snapshot when something breaks.
What you get
- Short text or JSON summaries of builds, tests, screens and audits.
- Screenshots, visual diff images and Markdown test or bug reports.
- Recorded hang sessions with summaries, stored under ~/.ios-simulator-skill/sessions.
When to use it
- Let an agent test an iOS app end to end in the Simulator.
- Check accessibility labels, Dynamic Type, dark mode or a right-to-left locale.
- Find what makes an app freeze, with recorded hang events instead of guesses.
When not to use it
- Windows, Linux or an Intel Mac: the Homebrew idb build is Apple silicon only.
- Testing on a physical iPhone; the scripts drive simulators.
What it needs
- An Apple silicon Mac with macOS 15 or later and the full Xcode 26 or later (Command Line Tools alone are not enough).
- Python 3.12 or later; idb 1.5.1 or later, installed with Homebrew; Pillow only for visual diffs.
- A coding agent that can run shell commands, such as Claude Code or Codex.
Files in the skill
| File or folder | What it is for |
|---|---|
SKILL.md | Script reference, navigation strategy, requirements and troubleshooting. |
scripts/ | The 31 build, navigation, testing and simulator scripts, with shared helpers. |
scripts/sim_health_check.sh | Environment check for macOS, Xcode, simctl, idb and Python. |
Licence as found in the repository on 2026-11-22: MIT.
Example prompts
Type one of these after installing; naming the skill makes sure it is used.
- Build the app, launch it on an iPhone simulator and sign in with the test account from .env.
- Run an accessibility audit on every screen of onboarding and list the missing labels.
- Turn on dark mode and the largest text size, then screenshot the settings screen.
- Record hangs while you open and close the photo picker ten times, then summarise the worst one.
How to install ios-simulator-skill
Install Xcode and idb first
Every script that taps, swipes or types needs idb, both the command-line tool and its companion. Homebrew installs both; the old pip package fb-idb must not come first on your PATH.
On Xcode 27, idb-companion must be 1.5.1 or newer, or taps report success and nothing happens on screen. After upgrading, run idb kill so running companions restart with the new version.
Run the health check from your app's project folder, using the absolute path of the skill folder.
brew install facebook/fb/idb
pip3 install pillow # only for visual diffs
bash <skill-folder>/scripts/sim_health_check.shOther install routes from the publisher
The repository is also a Codex plugin marketplace, and the skills CLI can copy it into a project or for every project.
codex plugin marketplace add conorluddy/ios-simulator-skill
codex plugin add ios-simulator-skill@conorluddy
npx skills add conorluddy/ios-simulator-skill -gA skill is a folder with a SKILL.md file. You install it once; the agent reads its short description at the start of each session and loads the full instructions only when a request matches. Pick the place you use:
Claude Code: from the plugin marketplace
- Start Claude Code in a terminal with
claude. - Add the marketplace (once per computer):
/plugin marketplace add conorluddy/ios-simulator-skill - Install the plugin. Claude Code opens its details first: check what it will add (skills, hooks, MCP servers), then choose whether it is for you, for everyone on this repository, or for you in this repository only.
/plugin install ios-simulator-skill@conorluddy - Type / and look for
/ios-simulator-skill:ios-simulator-skill, or simply ask for the task.
From your shell instead of a session:
claude plugin marketplace add conorluddy/ios-simulator-skill
claude plugin install ios-simulator-skill@conorluddyClaude Code: copy the folder into your skills folder
Put the skill's folder in ~/.claude/skills/ to use it in every project on this computer, or in .claude/skills/ inside a repository to share it with everyone who works there (commit it).
git clone --depth 1 https://github.com/conorluddy/ios-simulator-skill.git
mkdir -p ~/.claude/skills
cp -R ios-simulator-skill/ios-simulator-skill/skills/ios-simulator-skill ~/.claude/skills/Claude Code notices new or changed skills in these folders during the session. If the skills folder did not exist when the session started, run /reload-skills once. Then type /ios-simulator-skill or just describe the task.
On Windows, run the commands in Git Bash or WSL, or copy the folder into the same place with File Explorer.
Codex, Gemini CLI, Cursor and GitHub Copilot
These agents read the same SKILL.md folders. The one folder all four accept inside a project is .agents/skills/, so this copies the skill there:
git clone --depth 1 https://github.com/conorluddy/ios-simulator-skill.git
mkdir -p .agents/skills
cp -R ios-simulator-skill/ios-simulator-skill/skills/ios-simulator-skill .agents/skills/| Agent | Project folder | Your user folder | Notes |
|---|---|---|---|
| OpenAI Codex | .agents/skills/ | ~/.agents/skills/ | Type $ or run /skills to pick a skill; Codex also chooses one when your task matches. |
| Gemini CLI | .agents/skills/.gemini/skills/ | ~/.agents/skills/~/.gemini/skills/ | Or install from Git with gemini skills install <git URL> --path <folder> --consent. Google replaced Gemini CLI with Antigravity CLI for free-tier and Google One users on 18 June 2026; Antigravity uses .agents/skills/ in a project and ~/.gemini/config/skills/ for you. |
| Cursor | .agents/skills/.cursor/skills/ | ~/.agents/skills/~/.cursor/skills/ | Type / in Agent chat to pick a skill. Cursor also reads Claude Code's .claude/skills/ folders. |
| GitHub Copilot | .github/skills/.agents/skills/.claude/skills/ | ~/.copilot/skills/~/.agents/skills/ | Works in Copilot CLI, the cloud agent, and agent mode in VS Code, Visual Studio and JetBrains (IDE support depends on the version). Or run gh skill install OWNER/REPOSITORY SKILL (public preview, GitHub CLI 2.90.0 or later). |
Sources for these steps
Checked against each vendor's documentation on 2026-11-14:
Taps that survive UI changes
The screen mapper lists the interactive elements of the current screen, and the navigator finds one by its text, type or accessibility ID before acting. A tap on a button with a unique label uses an accessibility press, so a floating bar cannot intercept it; setting a field's value is read back before success is reported.
Known idb limits are listed in the skill: on some iOS 26 and later screens the default read sees only the app node, and system alerts may need the deeper axbridge read.
Audits and hang detection
The accessibility audit sorts problems into critical issues, warnings and information. The localization audit compares string catalogs across languages and flags missing keys and placeholder mismatches; with --strict it fails a CI run.
HangBuster records system hang events in the background while you use the app, then returns a short summary of the worst clusters and can compare two sessions to spot a regression. Sessions are pruned after 24 hours by default.
Questions about ios-simulator-skill
Does it work on Windows, Linux or an Intel Mac?
No. It needs an Apple silicon Mac with macOS 15 or later and the full Xcode, because the Homebrew build of idb is arm64 only.
Why does it read the accessibility tree instead of screenshots?
The tree gives element types, labels and tap targets as short text, which the skill puts at 10 to 50 tokens against 1,600 to 6,300 for a screenshot. Taps by label also survive layout changes. Screenshots are kept for visual checks.
Can it delete simulators or app data by mistake?
Deleting or erasing a simulator, uninstalling an app and clearing the photo library all refuse to run without an explicit --yes flag. The skill tells the agent to ask you first, because the data cannot be recovered.
Does it test on a real iPhone?
No. It drives iOS simulators through xcrun simctl and idb. Testing on a device needs other tools.
More AI skills
Related skills
Dev-Browser skill
Community · Sawyer HoodAutomate Chrome with persistent named pages, Puppeteer scripts and a local command-line service.Fixing Accessibility skill
Community · ibelickReview names, keyboard access, focus, semantics and announcements with small targeted changes.Agent Evaluation skill
Community · Muratcan KoylanPlan agent regression suites with deterministic checks, separate quality dimensions and versioned baselines.Antfu skill
Community · Anthony FuApply Anthony Fu's JavaScript and TypeScript tooling preferences to a compatible project.Antfu Create PR skill
Community · Anthony FuPrepare an evidence-backed GitHub pull request with the correct diff range and review context.Daymade Skill Creator
Community · daymadeCreate and improve skills while preserving source ownership, capabilities and evidence boundaries.