ios-simulator
Skill1 starsChanged 8 months agoMITView on GitHub
Drive an iOS Simulator from plain-language instructions by discovering the project, launching the app, inspecting the visible UI, and interacting with elements through xcodebuildmcp. Use when the user wants an agent to open Simulator, navigate screens, tap buttons, type into fields, scroll, or capture screenshots and logs. ALSO auto-invoke this skill when you need to take a screenshot of a built iOS app, verify a UI component visually, or test a UI change you just implemented — any time seeing the running app in Simulator would confirm your work.
- Installs packages
4 other projects use a version of this.
Adopted by
Most recently taken up by
- callstack/agent-devicetheir own version, first seen Sep 27, 2026
- dpearson2699/swift-ios-skillstheir own version, first seen Jul 13, 2026
- simiancraft/simiancraft-skillstheir own version, first seen Jul 1, 2026
- ninjaproger/skillstheir own version, first seen Apr 1, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- callstack/agent-device★ 4.9ksame name
- dpearson2699/swift-ios-skills★ 1.2ksame name
- simiancraft/simiancraft-skills★ 8same name
- ninjaproger/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- captureSkill
- github-actionsSkill
- _templateSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
32 rules. 0 are common, 16 are distinctive, and 16 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
16
Distinctive
This author's own choices. Worth a look.
16
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill for the requested simulator task:
- Distinctive: line 19
If the CLI is missing, stop and provide setup help instead of improvising.
- Very specific: line 23
Prefer xcodebuildmcp simulator build-and-run when the app needs to be launched.
- Very specific: line 26
Prefer taps by accessibility id or label.
- Distinctive: line 40
If it fails, stop and give short install guidance such as:
- Very specific: line 47
If the repo does not clearly expose a single .xcworkspace or .xcodeproj, use project-discovery discover-projects.
- Distinctive: line 48
Prefer a workspace over a project when both exist for the same app.
- Very specific: line 49
If the scheme is unknown, use project-discovery list-schemes.
- Distinctive: line 50
Ask the user only when there are multiple plausible app targets or schemes and the correct choice is not obvious.
- Very specific: line 54
Use simulator list to find devices when the task names a preferred device or when you need a simulator id.
- Very specific: line 55
Use simulator boot only for manual flows that need an already-booted device.
- Very specific: line 56
Use simulator open when the Simulator app should be visible to the user.
- Very specific: line 57
Do not boot a simulator just because you can.
- Very specific: line 61
Prefer simulator build-and-run for the common path.
- Very specific: line 62
If the app is already built and only a relaunch is needed, use simulator launch-app.
- Distinctive: line 63
If the bundle id is unknown, resolve it with:
- Very specific: line 69
Call simulator snapshot-ui before the first tap, type, swipe, or scroll.
- Very specific: line 70
If skills/ios-simulator/scripts/ui_helper.py is available, use it as the default fast path for taps on visible elements.
- Very specific: line 72
After any action that could change layout or navigation, run snapshot-ui again before the next interaction.
- Distinctive: line 76
verify focus if the UI output changes
- Very specific: line 78
Prefer ui-automation gesture for common scrolling.
- Very specific: line 79
Use ui-automation swipe only when a preset gesture is not precise enough.
- Distinctive: line 80
If an element is missing or not hittable:
- Distinctive: line 83
use coordinate fallback only when the element is visible and uniquely identified
- Very specific: line 87
Use simulator screenshot or ui-automation screenshot when the user asks for proof or when a failure needs visual confirmation.
- Distinctive: line 88
Use simulator log capture when a flow crashes, stalls, or needs console evidence.
- Distinctive: line 89
When the flow fails, summarize:
- Distinctive: line 97
Ask for confirmation before destructive or external actions, including delete, purchase, submit, sign-out, account changes, or anything …
- Distinctive: line 98
Do not erase simulators, reset location, clear app data, or change status bar state unless the user explicitly asks.
- Distinctive: line 99
Do not guess between multiple similarly named UI elements without confirming which one is intended.
- Distinctive: line 100
Do not use coordinate taps as the first choice when an accessibility id or label is available.
- Distinctive: line 101
Prefer explicit command flags over hidden profiles or session defaults unless the user specifically asks to rely on them.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
iOS Simulator
Use this skill for the requested simulator task:
$ARGUMENTS
This is a manual workflow skill. Treat every simulator action as deliberate, verify progress after each step, and pause before risky side effects.
Quick Start
- Run
xcodebuildmcp --helpfirst. - If the CLI is missing, stop and provide setup help instead of improvising.
- Discover the Xcode project or workspace only when the path is not already clear.
- Resolve the scheme only when it is not obvious.
- List, boot, or open the simulator only as needed.
- Prefer
xcodebuildmcp simulator build-and-runwhen the app needs to be launched. - Inspect the current screen with
snapshot-uibefore the first interaction and after every navigation-changing action. - In this repo, prefer
python3 skills/ios-simulator/scripts/ui_helper.py tap ...for repeated tap flows so the helper can resolve centers and retry fallbacks automatically. - Prefer taps by accessibility
idorlabel. Use coordinates only after a fresh UI snapshot confirms the target is visible. - Focus a field before using
type-text. - Capture screenshots or logs when the user asks for proof or when debugging is needed.
Workflow
1. Preflight
- Parse the task for four things:
- what app or repo to run
- which simulator, if any
- which screen flow to follow
- whether proof is required through screenshots or logs
- Run
xcodebuildmcp --help. - If it fails, stop and give short install guidance such as:
brew tap getsentry/xcodebuildmcpbrew install xcodebuildmcpnpm install -g xcodebuildmcp@latest
2. Discover The App
- If the repo does not clearly expose a single
.xcworkspaceor.xcodeproj, useproject-discovery discover-projects. - Prefer a workspace over a project when both exist for the same app.
- If the scheme is unknown, use
project-discovery list-schemes. - Ask the user only when there are multiple plausible app targets or schemes and the correct choice is not obvious.
3. Prepare The Simulator
- Use
simulator listto find devices when the task names a preferred device or when you need a simulator id. - Use
simulator bootonly for manual flows that need an already-booted device. - Use
simulator openwhen the Simulator app should be visible to the user. - Do not boot a simulator just because you can.
simulator build-and-runalready handles booting when needed.
4. Launch The App
- Prefer
simulator build-and-runfor the common path. - If the app is already built and only a relaunch is needed, use
simulator launch-app. - If the bundle id is unknown, resolve it with:
simulator get-app-pathproject-discovery get-app-bundle-id
5. Navigate And Interact
- Call
simulator snapshot-uibefore the first tap, type, swipe, or scroll. - If
skills/ios-simulator/scripts/ui_helper.pyis available, use it as the default fast path for taps on visible elements. - Match the requested UI target using visible accessibility ids or labels first.
- After any action that could change layout or navigation, run
snapshot-uiagain before the next interaction. - For navigation-changing or toggle actions, prefer helper invocations with
--expect-changeso failed taps retry automatically. - For text entry:
- focus the field with a tap
- verify focus if the UI output changes
- use
ui-automation type-text
- Prefer
ui-automation gesturefor common scrolling. - Use
ui-automation swipeonly when a preset gesture is not precise enough. - If an element is missing or not hittable:
- refresh the UI snapshot
- confirm the target is still expected on the current screen
- use coordinate fallback only when the element is visible and uniquely identified
6. Capture Proof And Recover
- Use
simulator screenshotorui-automation screenshotwhen the user asks for proof or when a failure needs visual confirmation. - Use simulator log capture when a flow crashes, stalls, or needs console evidence.
- When the flow fails, summarize:
- what step was attempted
- what the latest UI snapshot showed
- what recovery you tried
- what still blocks progress
Safety Rules
- Ask for confirmation before destructive or external actions, including delete, purchase, submit, sign-out, account changes, or anything that can alter real data or trigger network side effects.
- Do not erase simulators, reset location, clear app data, or change status bar state unless the user explicitly asks.
- Do not guess between multiple similarly named UI elements without confirming which one is intended.
- Do not use coordinate taps as the first choice when an accessibility id or label is available.
- Prefer explicit command flags over hidden profiles or session defaults unless the user specifically asks to rely on them.
Examples
/ios-simulator Open the simulator, run the current app, go to Settings, and tap Profile/ios-simulator Launch the app on iPhone 16, finish onboarding, type test@example.com, and take a screenshot/ios-simulator Open Simulator, reproduce the crash after tapping Continue, and capture logs
Reference
For exact command patterns, helper usage, and recovery recipes, see references/command-recipes.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

