iOS Simulator Skill for Agents
Production-ready skill for building, testing, and automating iOS apps. 31 scripts optimized for both human developers and AI agents.
If you prefer MCP, XC-MCP was the original source of this toolkit before Skills were even a thing, and can be run from NPM too)
https://github.com/user-attachments/assets/b1c4225a-e083-4c4b-96bd-0d20a41f9b1f
Xcode Build + Simulator Automation
This skill covers both sides of iOS development:
- Xcode builds via
xcodebuild — compile, test, and parse results with progressive error disclosure
- Simulator interaction via
xcrun simctl and idb — semantic UI navigation, accessibility testing, device lifecycle
Install it
Claude Code — plugin marketplace (recommended)
/plugin marketplace add conorluddy/ios-simulator-skill
/plugin install ios-simulator-skill@conorluddy
Codex — plugin marketplace (recommended)
codex plugin marketplace add conorluddy/ios-simulator-skill
codex plugin add ios-simulator-skill@conorluddy
Or run /plugins inside Codex and install it from the conorluddy marketplace. Start a new
Codex session afterwards. Update later with codex plugin marketplace upgrade conorluddy.
Any agent — npx skills
The skills CLI finds SKILL.md inside the repo and
copies it into the right directory for each agent it detects (Claude Code, Codex, Cursor and
others). It needs Node.js 18+.
npx skills add conorluddy/ios-simulator-skill # project-level (./.claude/skills, ./.agents/skills, ...)
npx skills add conorluddy/ios-simulator-skill -g # user-level, for every project
npx skills add conorluddy/ios-simulator-skill -a claude-code # only one agent
Restart your agent afterwards so it picks the skill up.
Manual install
A skill is loaded from SKILL.md at the root of its directory:
| Agent | User-level skills | Project-level skills |
|---|
| Claude Code | ~/.claude/skills/<name>/SKILL.md | .claude/skills/<name>/SKILL.md |
| Codex | ~/.agents/skills/<name>/SKILL.md | .agents/skills/<name>/SKILL.md |
The commands below use the Claude Code path; swap in ~/.agents/skills for Codex.
This repository is a plugin, so the skill itself lives at
ios-simulator-skill/skills/ios-simulator-skill/; cloning the whole repo into your skills
directory puts SKILL.md three levels too deep and the skill will not load.
From a release (simplest):
curl -L https://github.com/conorluddy/ios-simulator-skill/releases/latest/download/ios-simulator-skill.zip -o skill.zip
unzip skill.zip -d ~/.claude/skills/ios-simulator-skill
From a clone (to track main):
git clone https://github.com/conorluddy/ios-simulator-skill.git ~/src/ios-simulator-skill
cp -R ~/src/ios-simulator-skill/ios-simulator-skill/skills/ios-simulator-skill \
~/.claude/skills/ios-simulator-skill
For a project-local install, use the project-level path from the table instead.
Restart Claude Code afterwards (Codex picks up new skills automatically; restart it if the skill
doesn't appear). Verify SKILL.md sits at the root of the destination:
ls ~/.claude/skills/ios-simulator-skill/SKILL.md # Claude Code
ls ~/.agents/skills/ios-simulator-skill/SKILL.md # Codex
Prerequisites
| Requirement | Version | Needed for |
|---|
| macOS | 15 (Sequoia)+ | everything |
| Xcode (full app, not just Command Line Tools) | 26+ | building, simctl, idb |
| Python | 3.12+ | every script |
idb (CLI + companion) | 1.5.1+ (1.6.3+ recommended) | tapping, swiping, typing |
| Pillow | any | visual diffs only (pip3 install pillow) |
Install idb — required for every interactive script (navigator.py, gesture.py, keyboard.py):
brew install facebook/fb/idb # installs idb-cli and idb-companion
The Homebrew build is prebuilt: it needs an Apple silicon Mac, macOS 15+, and a full Xcode 26+
selected with xcode-select (Command Line Tools alone are not enough). Intel Macs are not
supported (facebook/idb#954).
brew install idb-companion no longer works: idb-companion was removed from Homebrew
core and now lives in Meta's own facebook/fb tap. If you followed older instructions,
see Updating idb.
To verify everything at once:
bash scripts/sim_health_check.sh # add --json for machine-readable output
Updating idb
On Xcode 27, idb-companion must be 1.5.1 or newer. Older builds look for
SimulatorKit.framework where Xcode 26 kept it. Under Xcode 27 the companion still starts and
the accessibility tree still reads correctly, but every tap, swipe and keystroke is silently
dropped — idb reports success and nothing happens on screen.