
ios-simulator
Run and inspect an app on an iOS Simulator: choose a target, install and launch, capture evidence, exercise accessibility-driven UI, and diagnose simulator failures. Use for explicit simulator testing or automation, not general iOS implementation, physical-device validation, or App Store approval.
- Installs
- 100
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/tristanmanchester/agent-skills --skill ios-simulator- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads ios-simulator automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
iOS Simulator
Use Apple's xcrun simctl for lifecycle and app operations, and current idb for
accessibility/input. Keep native command syntax rather than a second simulator
API. Resolve SKILL_DIR to the directory containing this file; it is not the app
repository's scripts/ directory.
Establish the target
xcode-select -p
xcodebuild -version
xcrun simctl list --json
idb --help
idb list-targets
Record the Xcode/runtime, exact simulator UDID, app bundle ID, build/configuration,
and reproduction steps. Choose from the actual inventory; never choose the first
fuzzy name match or silently switch to a different booted device. Use the same
explicit UDID for every operation. Inspect effective IDB_COMPANION/IDB_UDID
configuration without exposing credentials before assuming a local target.
Only install missing tools or runtimes when authorised. The current upstream
route is brew install facebook/fb/idb, which includes client and companion.
Full Xcode is required, not standalone Command Line Tools. Check host requirements
against installation; do not force an
unsupported binary onto a different architecture. The client may connect to an
explicitly authorised remote Mac; do not invent a remote-execution tool or expose
a companion to the public network.
Run, observe, act, verify
- Inspect
xcrun simctl help COMMANDoridb ui COMMAND --helpfor the installed version. Unsupported syntax is a setup issue, not a reason to guess fallbacks. - Boot only when needed, then wait with
xcrun simctl bootstatus "$UDID" -b. A boot request is not proof that the app is ready; an already-booted error is acceptable only after confirming the intended target's actual state. - Install the simulator-compatible
.app, launch the exact bundle, and capture the initial screenshot/accessibility state. - Read the current UI; resolve a unique intended element; take one authorised action; check its expected postcondition. Re-read after layout/navigation changes.
- Save the smallest useful evidence and distinguish process completion from app behaviour. A screenshot or successful tap alone does not pass a test.
xcrun simctl install "$UDID" /absolute/path/MyApp.app
xcrun simctl launch "$UDID" com.example.MyApp
idb ui describe-all --udid "$UDID"
idb ui text 'test text' --udid "$UDID"
xcrun simctl io "$UDID" screenshot /absolute/path/evidence.png
idb ui text, not idb text, targets the currently focused field. Use synthetic
values, not real credentials in arguments. Prefer a verified accessibility
identifier when available. Current marker matching is first substring match,
not unique equality: inspect candidates before tapping; refuse ambiguity. For
installed versions supporting it, guard with --expected-value. A coordinate
fallback needs a fresh image, correct point scaling, and a checked target; it is
not equivalent to accessibility activation.
See operations and diagnosis for remaining lifecycle, permissions, push, clipboard, recording, logs, and test workflows.
Reliable command outcomes
The optional helper runs a bounded, non-interactive command without a shell:
node "$SKILL_DIR/scripts/run.mjs" --timeout-ms 120000 -- \
xcrun simctl bootstatus "$UDID" -b
It reports a JSON envelope and nonzero exit for failed launch, nonzero child exit,
signal, timeout, or output overflow. Captured output defaults to 1 MiB total;
--max-bytes adjusts that bound up to 16 MiB. It does not parse the command's own
result, approve actions, redact output, or guarantee termination of remote work.
Inspect nested results and verify state. A timed-out write may already have run;
do not blindly repeat a tap, purchase, push, or destructive operation.
Run recordings, interactive tools, and streaming logs directly with explicit lifecycle control, not through this bounded helper. Some execution interfaces (such as idb-repl) report execution errors in their output despite exit zero; process status alone cannot validate them.
Safety and acceptance
A simulator app can reach real services. UI input, URLs, push, permissions,
uninstall, erase, and delete are mutations, not a blanket safe tier. Use test
accounts/backends and the user's authorised scope. Before destructive operations,
identify the target and data loss; never default to all or erase to fix an
unrelated failure. Keep screenshots/logs private and review them before sharing.
Report the build/UDID, actions, expected versus observed results, evidence paths, and unresolved failures. Simulator success does not establish physical-device performance, store billing, hardware behaviour, or submission readiness.
Maintainer check: node --test "$SKILL_DIR/tests/run.test.mjs". These runner tests
exercise local subprocess semantics, not Xcode, idb, or a real application.
FAQ
What does the ios-simulator skill do?
Run and inspect an app on an iOS Simulator: choose a target, install and launch, capture evidence, exercise accessibility-driven UI, and diagnose simulator failures. Use for explicit simulator testing or automation, not general iOS implementation, physical-device validation, or App Store approval.
How do I install ios-simulator?
Run npx skills add https://github.com/tristanmanchester/agent-skills --skill ios-simulator in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/ios-simulator/ (personal) or .claude/skills/ios-simulator/ (project).
Which AI agents can use ios-simulator?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is ios-simulator safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains ios-simulator?
It is published by tristanmanchester in tristanmanchester/agent-skills. It has 100 recorded installs.
More from tristanmanchester/agent-skills
designing-beautiful-websites
tristanmanchester/agent-skills
Design, implement, or critique website and web-app UX/UI: information structure, user flows, responsive layouts, visual systems, content, and interaction states. Use for a requested interface or visual-design change; do not expand a small component edit into an unrequested product redesign.
reddit-readonly
tristanmanchester/agent-skills
Open the skill to read its SKILL.md instructions.
animating-react-native-expo
tristanmanchester/agent-skills
Implement and debug React Native or Expo motion with Reanimated 4 and Gesture Handler 3: state transitions, layout, gestures, scroll, worklets, cancellation, and accessible alternatives. Use for native UI motion, not web Motion or a reason to add canvas graphics to ordinary views.
styling-nativewind-v4-expo
tristanmanchester/agent-skills
Open the skill to read its SKILL.md instructions.
nextjs-framer-motion-animations
tristanmanchester/agent-skills
Open the skill to read its SKILL.md instructions.
react-native-skia
tristanmanchester/agent-skills
Build, debug, or profile React Native Skia canvases, paths, rich text, shaders, images, snapshots, video, and animated graphics. Use when Skia is selected or custom drawing is needed. Do not introduce a canvas merely because ordinary native UI should look polished or animate smoothly.
Popular mobile skills
design-mobile-apps
designed-by-ai/skills
Design mobile app screens with Sleek, edit Sleek projects, and implement their designs in React Native or HTML.
ios-design
uizze.sh
Design and review iOS UI/UX for iPhone apps in SwiftUI, UIKit, or React Native. Use for mobile app design, screen redesigns, navigation flows, typography, forms, keyboard and safe-area layout, and accessibility checks. Apply Apple Human Interface Guidelines and consult real product references through the optional Uizze connection.
vercel-react-native-skills
vercel-labs/agent-skills
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
animate-expo
emilkowalski/skills
Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and expo-haptics. Use when animating anything in an Expo app, adding gestures, sheets, screen transitions, press feedback or haptics, or fixing motion that stutters on device. For web animation use animate.
xcode-project-setup
firebase/agent-skills
Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).
firebase-remote-config-basics
firebase/agent-skills
Manages Firebase Remote Config templates, feature flags, loading strategies, and SDKs (Android, iOS). Use when downloading/deploying remoteconfig JSON templates, managing version history/feature flags, setting in-app defaults, fetchAndActivate(), real-time listeners, or SDK setup. Don't use for Firebase Hosting, Auth, Firestore, Data Connect, Crashlytics, or App Hosting.