REA
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
XCode CLI & Simulator Skill. Progressive disclosure of output. Minimises context & token use. Lets AI agents build, run sim & drive iOS apps without drowning in Xcode output. Now with Duo support.
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/skills/conorluddy-ios-simulator-skill)在同一工作中把 AI 连到服务的 MCP
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Codebase intelligence for TypeScript and JavaScript, exposed as structured MCP analysis tools.
MCP server for terminal commands, file operations, and process management
同类工作,排序与 Skill 列表相同
| 本项 ios-simulator-skill | rea | andrej-karpathy-skills | graphify | MoneyPrinterTurbo | |
|---|---|---|---|---|---|
| 作者 | conorluddy | morluto | multica-ai | Graphify-Labs | harry0703 |
| Skill 数 | 1 | 1 | 1 | 1 | 1 |
| GitHub 星标 | 1,330 | 465,460 | 233,910 | 149,364 | 144,149 |
| 最近代码更新 | 2026年11月8日 | 2026年11月17日 | 2026年4月20日 | 2026年11月17日 | 2026年11月17日 |
| 许可证 | MIT | MIT | – | Apache-2.0 | MIT |
conorluddy 提供的 1 个 Skill(指令集),AI 读取后照做 · 不是 MCP server
MCP = 手
把 AI 连到外部服务或数据,例如读取 Notion 或开发票。需要有程序或服务器在运行。
Skill = 手册
教 AI 怎么做某项工作的文本文件,不连接任何服务。
有些会重叠:少数 Skill 带有调用工具的脚本,少数 MCP 只提供知识。请从你想完成的工作出发。
Claude CodeCodexCursor
依据开发者 README 和 repo 中的文件夹
GitHub account conorluddy (person), 15 years old
★ 1,330 stars · code last changed 2026年11月8日
47 scripts that can run on a computer: scripts/accessibility_audit.py, scripts/app_launcher.py, scripts/app_state_capture.py, scripts/build_and_test.py and 43 more
Could not check every script (some are too large); read them first
No hooks or writes to machine settings found
Checked automatically from the repo files at commit 86fb9ba (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
第一步:你用哪个 AI?
选择你用的应用,本页只显示该应用的安装方法
Uploading to claude.ai would fail: the description is over 200 characters (423). Use "Let the AI install it" instead
复制这句话,粘贴到 Claude Code 的对话中
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
重新打开 Claude Code,输入 /ios-simulator-skill,或直接提出相关任务,Claude 会自动选用
Checked against official docs 2026年11月12日 · Source: code.claude.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
/plugin marketplace add conorluddy/ios-simulator-skill
/plugin install ios-simulator-skill@conorluddy摘自开发者 README,会下载并运行开发者的代码
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
git clone --depth 1 https://github.com/conorluddy/ios-simulator-skill.git /tmp/popnx-skill-conorluddy-ios-simulator-skill-86fb9ba && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-conorluddy-ios-simulator-skill-86fb9ba/ios-simulator-skill/skills/ios-simulator-skill' ~/.claude/skills/ios-simulator-skillChatGPT 桌面应用内置 Codex,Codex 从 ~/.agents/skills 文件夹读取 Skill
在 ChatGPT 桌面应用中打开 Codex,把这句话粘贴到对话中
The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
把 ios-simulator-skill 文件夹放到 ~/.agents/skills/ios-simulator-skill
~ 是你的主文件夹($HOME)
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
git clone --depth 1 https://github.com/conorluddy/ios-simulator-skill.git /tmp/popnx-skill-conorluddy-ios-simulator-skill-86fb9ba && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-conorluddy-ios-simulator-skill-86fb9ba/ios-simulator-skill/skills/ios-simulator-skill' ~/.agents/skills/ios-simulator-skillChecked against official docs 2026年11月15日 · Source: learn.chatgpt.com
不能使用你自己安装的 Skill,只能使用目录中插件自带的 Skill
想在 ChatGPT 中使用这个 Skill,请按上面的方法使用 ChatGPT 桌面应用
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
复制这句话,粘贴到 Codex 的对话中 · 适用于 ChatGPT 桌面应用中的 Codex、Codex CLI 和 IDE 扩展
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex · 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
git clone --depth 1 https://github.com/conorluddy/ios-simulator-skill.git /tmp/popnx-skill-conorluddy-ios-simulator-skill-86fb9ba && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-conorluddy-ios-simulator-skill-86fb9ba/ios-simulator-skill/skills/ios-simulator-skill' ~/.agents/skills/ios-simulator-skill复制这句话,粘贴到 Cursor 的对话中
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
在 Cursor 的 Agent 聊天中输入 / 并选择 ios-simulator-skill
Checked against official docs 2026年11月12日 · Source: cursor.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
git clone --depth 1 https://github.com/conorluddy/ios-simulator-skill.git /tmp/popnx-skill-conorluddy-ios-simulator-skill-86fb9ba && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-conorluddy-ios-simulator-skill-86fb9ba/ios-simulator-skill/skills/ios-simulator-skill' ~/.cursor/skills/ios-simulator-skill适用于其他能读取 Skill 的应用。这句话列出了 Claude Code、Codex 和 Cursor 的路径,AI 会按你的应用选择 · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com
其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。
已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹
✓ 命令已检查 2026年11月18日
以下文字来自开发者的 repo,不是 PopNx MCP 的指令
显示前 8,000 个字符 · 在 GitHub 打开完整文件
---
name: ios-simulator-skill
version: 1.8.0
description: Build, test, and drive iOS apps in the Simulator with 31 token-efficient scripts. Use when asked to build or test an Xcode project, launch an app on a simulator, tap/type/swipe through its UI by accessibility label, take screenshots or visual diffs, audit accessibility, read logs or diagnose hangs, or manage simulators (boot, erase, permissions, location, push, appearance). macOS only; needs Xcode, Python 3.12+ and idb.
---
# iOS Simulator Skill
Build, test, and automate iOS applications using accessibility-driven navigation and structured data instead of pixel coordinates.
## Quick Start
```bash
# 1. Check environment
bash scripts/sim_health_check.sh
# 2. Launch app
python3 scripts/app_launcher.py --launch com.example.app
# 3. Map screen to see elements
python3 scripts/screen_mapper.py
# 4. Tap button
python3 scripts/navigator.py --find-text "Login" --tap
# 5. Enter text
python3 scripts/navigator.py --find-type TextField --enter-text "user@example.com"
```
**Paths:** `scripts/` is relative to the directory containing this SKILL.md, not the user's project.
Examples write `scripts/...` for brevity; run them by absolute path from the user's project
(e.g. `python3 <skill-dir>/scripts/navigator.py ...`) so relative Xcode project paths still resolve.
All scripts support `--help` for detailed options; most support `--json` for machine-readable output.
## Navigation Strategy
**Always prefer the accessibility tree over screenshots for navigation.** The accessibility tree gives you element types, labels, frames, and tap targets — structured data that's cheaper and more reliable than image analysis.
Use this priority:
1. `screen_mapper.py` → structured element list (5-7 lines, ~10 tokens)
2. `navigator.py --find-text/--find-type/--find-id` → semantic interaction
3. Screenshots → only for visual verification, bug reports, or visual diff
Screenshots cost 1,600–6,300 tokens depending on size. The accessibility tree costs 10–50 tokens in default mode.
## 31 Production Scripts
### Build & Development (2 scripts)
1. **build_and_test.py** - Build Xcode projects, run tests, parse results with progressive disclosure
- Build with live result streaming
- Parse errors and warnings from xcresult bundles
- Retrieve detailed build logs on demand
- `--run` builds, installs and launches the app in one call: `Launched: <bundle> on <device> (pid N)`
- Tests that never started (parallel clone failed to boot) report `Tests: NOT RUN`, not FAIL; retry with `--no-parallel`
- Options: `--project`, `--scheme`, `--clean`, `--test`, `--run`, `--no-parallel`, `--verbose`, `--json`
2. **log_monitor.py** - Real-time log monitoring with intelligent filtering
- Stream logs or capture by duration
- Filter by severity (error/warning/info/debug)
- Deduplicate repeated messages
- Options: `--app`, `--severity`, `--follow`, `--duration`, `--output`, `--json`
### Device State (4 scripts)
3. **appearance.py** - Control simulator appearance: dark mode, Dynamic Type size, contrast, and locale/region
- Toggle light/dark theme via `xcrun simctl ui`
- Set Dynamic Type size with friendly aliases (XS through AX5)
- `--contrast high|normal` toggles Increase Contrast and reads it back to confirm; `--reset` also restores normal contrast
- Write locale and region defaults; optional app restart via `--bundle-id`
- RTL flagged automatically for ar/he/fa/ur/yi locales
- Options: `--theme`, `--text-size`, `--contrast`, `--locale`, `--region`, `--reset`, `--bundle-id`, `--udid`, `--json`, `--verbose`
4. **location.py** - Simulate GPS coordinates, named city presets, and GPX scenario playback
- Fix a coordinate with `--lat`/`--lng` or pick a city with `--city`
- Play a built-in scenario (City Run, Freeway Drive, etc.) via `--gpx <scenario>`
- Animate multi-waypoint paths with configurable speed via `--waypoints` and `--speed`
- Clear simulated location with `--clear`; list available scenarios with `--list-scenarios`
- Options: `--lat`, `--lng`, `--city`, `--gpx`, `--waypoints`, `--speed`, `--clear`, `--list-scenarios`, `--udid`, `--json`, `--verbose`
5. **media.py** - Seed or empty the photo library for photo-picker tests
- `--add a.jpg b.png` via `xcrun simctl addmedia`
- `--clear --yes` empties the library via `idb photos clear` (idb 1.7+); `--clear --yes --add` leaves exactly the added files
- Without `--yes`, `--clear` refuses if the library has photos (they can't be recovered): ask the user first
- Fails fast on a missing file
- Options: `--add`, `--clear`, `--yes`, `--udid`, `--json`
6. **duo.py** - Experimental iPhone Duo hinge and interface orientation controls
- Requires an explicit booted Duo `--udid`; no automatic device selection
- Read observed angle, active cover/inner display ID and rotation (default or `--state`)
- `--pose closed|partial|open` (0°/90°/180°), `--angle 0..180`, or `--orientation portrait|landscape|portrait-upside-down|landscape-flipped`
- Changes verify observed readback; hinge endpoints also verify cover/inner display activation
- Bundled Objective-C helper compiles and signs with the selected Xcode on first use; no extra CLI
- Private APIs are experimental; inner-display coordinate touch routing is unverified
- Options: `--udid`, `--state`, `--pose`, `--angle`, `--orientation`, `--json`, `--verbose`
### Navigation & Interaction (5 scripts)
7. **screen_mapper.py** - Analyze current screen and list interactive elements
- Element type breakdown
- Interactive button list
- Text field status
- If labelled elements cover under 10% of the screen, adds a `Coverage:` line suggesting `--deep`
- `--deep` reads through idb's axbridge backend (idb 1.7+): also sees Safari/WKWebView content
and in-app alerts the default read misses, plus many unlabelled container views. It turns on
the device's accessibility automation mode (not restored afterwards). Web-content frames are
relative to the web view, so use `--deep` to find elements, not to take tap coordinates
- Options: `--verbose`, `--hints`, `--deep`, `--json`
8. **navigator.py** - Find and interact with elements semantically
- Find by text (fuzzy, or exact with `--find-exact`); interactive leaf elements rank above containers sharing the label
- Find by element type
- Find by accessibility ID
- Enter text or tap elements
- `--tap` on a Button/Link/Switch/CheckBox/Tab with a unique accessibility ID or label uses an accessibility press
(idb 1.7+), so overlays like a floating search bar can't intercept it; output says
`(accessibility press)`. Otherwise it taps the frame center
- `--set-value TEXT` replaces a field's value without the keyboard (any characters, idb 1.7+).
Focus doesn't move, so use `--enter-text` when a Return key must submit afterwards
The value is read back before success is claimed (not for secure fields); a mismatch exits 1
- `--tap --expect VALUE` taps only if the element's value is VALUE (toggles: `1` on, `0` off) and
exits 1 without tapping otherwise, so "turn X off" is safe to repeat
- iOS 27 reports toggles as `CheckBox`. Only a press flips them (no HID touch does, even on the
switch itself); if neither ID nor label is unique, the output warns to check the value
- A frozen app stalls every read and tap until its main thread responds
- Failures include idb's stderr (e.g. a dead companion)
- Options: `--find-text`, `--find-exact`, `--find-type`, `--find-id`, `--index`, `--tap`, `--expect`, `--tap-at`, `--enter-text`, `--set-value`, `--list`
9. **gesture.py** - Perform swipes, scrolls, pinches, and complex gestures
- Directional swipes (up/down/left/right) - `--swipe` is the direction the finger moves
- Multi-swipe scrolling - `--scroll` is the direction the content moves (`down` reveals content below)
- Pinch zoom via `idb ui pinch` (`--pinch提问、分享技巧或报告无法使用。按“有帮助”数量排序。