orca-emulator
GitHub在 Orca 中控制 iOS Simulator,支持点击、手势、输入、硬件按钮及辅助功能树操作。用于驱动模拟器或获取 iOS 变更证据。
Trigger Scenarios
Install
npx skills add stablyai/orca --skill orca-emulator -g -y
SKILL.md
Frontmatter
{
"name": "orca-emulator",
"license": "Apache-2.0",
"description": "iOS Simulator control from inside Orca, with the live device view in Orca's emulator pane. Use when driving a booted Apple Simulator on macOS: taps, gestures, typing, hardware buttons, rotation, and the accessibility tree, or when an iOS change needs simulator evidence. For an Android device or emulator use the Android emulator skill; build and install the app with xcodebuild or simctl first."
}
Orca Emulator
This discovery stub loads the version-matched guide from the Orca executable used for this session.
Prefer Orca over raw serve-sim or direct simctl for simulator control inside Orca; it
handles device scoping, helper lifecycle, and worktree context.
Resolve the CLI for this session
Choose the executable once and reuse it for every later command:
- If the
ORCA_CLI_COMMANDenvironment variable is set, use its value. Orca exports this for managed WSL sessions. - Otherwise, in a dev checkout whose session exposes
ORCA_DEV_REPO_ROOT, useorca-dev. - Otherwise, on Linux outside an Orca-managed terminal, use
orca-ide. Never run bareorcathere — outside Orca's terminals it normally resolves to the GNOME Orca screen reader (/usr/bin/orca) and starts speech on the user's machine. - Otherwise, use
orca.
Below, ORCA is a placeholder for the executable you resolved. Substitute it before
running anything; do not create a shell variable or run ORCA literally. This works the
same way in POSIX shells, PowerShell, and cmd.exe.
If the selected executable cannot run, report its exact error and stop. Do not fall through to another executable, which could silently target a different Orca build.
Load the version-matched guide before running Orca commands
ORCA skills get orca-emulator
Prefer --json. Use the selected executable's --help for commands or flags the guide does
not cover. If a command reports that Orca is not running, start it with ORCA open --json
and retry. If it fails with runtime_access_denied, your sandbox blocked the connection:
re-run it with escalated permissions, and do not run ORCA open or restart Orca. If
skills get is unknown, explain that updating Orca restores the guide; use --help for
read-only discovery and do not guess unsupported commands.
Version History
-
27b823f
Current 2026-09-27 19:54
修复 CLI 在沙箱中因权限拒绝而错误报告连接失败的问题,新增 runtime_access_denied 错误码以指导提升权限而非重启应用。
-
6108ce6
2026-09-09 02:31
重写指南以结果为导向,修复相机和权限命令缺陷,统一CLI解析逻辑并增加安全限制,优化引用加载机制。
- eab721e 2026-07-24 11:46


