Orca iOS Simulator Control
stablyai/orca
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…
Control a connected iPhone, iOS simulator, Android emulator, or Android device from macOS through PhoneAgent's JSON-RPC bridge.
$ npx skills add rounak/PhoneAgent --skill phoneagent -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rounak/PhoneAgent phoneagent --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/rounak/PhoneAgent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/phoneagent .claude/skills/phoneagent && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "phoneagent" agent skill from https://github.com/rounak/PhoneAgent/tree/main/.agents/skills/phoneagent into .claude/skills/phoneagent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phoneagent", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/rounak/PhoneAgent/tree/main/.agents/skills/phoneagentType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add rounak/PhoneAgent --skill phoneagent -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rounak/PhoneAgent phoneagent --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rounak/PhoneAgent.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/phoneagent .agents/skills/phoneagent && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "phoneagent" agent skill from https://github.com/rounak/PhoneAgent/tree/main/.agents/skills/phoneagent into .agents/skills/phoneagent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phoneagent", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rounak/PhoneAgent --skill phoneagent -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rounak/PhoneAgent phoneagent --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rounak/PhoneAgent.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/phoneagent .cursor/skills/phoneagent && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "phoneagent" agent skill from https://github.com/rounak/PhoneAgent/tree/main/.agents/skills/phoneagent into .cursor/skills/phoneagent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phoneagent", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/rounak/PhoneAgent.git --path .agents/skills/phoneagent--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add rounak/PhoneAgent --skill phoneagent -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rounak/PhoneAgent phoneagent --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rounak/PhoneAgent.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/phoneagent .gemini/skills/phoneagent && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "phoneagent" agent skill from https://github.com/rounak/PhoneAgent/tree/main/.agents/skills/phoneagent into .gemini/skills/phoneagent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phoneagent", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install rounak/PhoneAgent phoneagentInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add rounak/PhoneAgent --skill phoneagent -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rounak/PhoneAgent.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/phoneagent .github/skills/phoneagent && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "phoneagent" agent skill from https://github.com/rounak/PhoneAgent/tree/main/.agents/skills/phoneagent into .github/skills/phoneagent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phoneagent", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rounak/PhoneAgent --skill phoneagent -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rounak/PhoneAgent phoneagent --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rounak/PhoneAgent.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/phoneagent .opencode/skills/phoneagent && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "phoneagent" agent skill from https://github.com/rounak/PhoneAgent/tree/main/.agents/skills/phoneagent into .opencode/skills/phoneagent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phoneagent", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
phoneagentControl a connected iPhone, iOS simulator, Android emulator, or Android device from macOS through PhoneAgent's JSON-RPC bridge.
Phoneagent is an agent skill from rounak/PhoneAgent. Control a connected iPhone, iOS simulator, Android emulator, or Android device from macOS through PhoneAgent's JSON-RPC bridge. Use when users ask to automate mobile UI actions, inspect accessibility trees, toggle Settings switches, navigate apps, or capture screenshots by sending RPC methods like gettree, getscreenimage, getcontext, tapelement, entertext, scroll, swipe, and openapp.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `scripts/android_rpc_bridge.py`, `scripts/forward_rpc_localhost.py` and `scripts/rpc.py`).
It sits in Mobile, covering Mobile UI design, Mobile testing and debugging and iOS development. It works with Android, iOS, macOS and Python. The repository describes itself as: An AI agent that can get things done across iPhone apps. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 4f0e201. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 5 files in scripts/ (Python and Shell), which the agent can run.
Shell commands in SKILL.md call:
python3pythonxcodebuildadbgitxcrunFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Phoneagent loads about 2.2k tokens when it runs. Until then it costs about 101 tokens; SKILL.md has 799 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from rounak/PhoneAgent at commit 4f0e201, republished under its MIT licence (© rounak). 799 words, ~2,182 tokens.
.claude/skills/phoneagent/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.Use this workflow to drive iOS or Android UI through PhoneAgent's JSON-RPC bridge.
All shell commands below assume you are in the repo root:
cd "$(git rev-parse --show-toplevel)"127.0.0.1:45678 by default).# iOS (XCTest-hosted bridge)
./.agents/skills/phoneagent/scripts/start_rpc_bridge_local.sh
# Android (adb bridge; emulator or physical device)
./.agents/skills/phoneagent/scripts/start_android_rpc_bridge_local.shNotes:
start_rpc_bridge_local.sh is interactive and will show a numbered list of iOS devices/simulators.
Enter the number for the destination you want.start_rpc_bridge_local.sh starts a localhost-only forwarder.pymobiledevice3 into a local venv:
python3 -m venv .venv && ./.venv/bin/python -m pip install -U pip && ./.venv/bin/python -m pip install pymobiledevice3start_android_rpc_bridge_local.sh uses adb; if multiple devices are connected it prompts for the serial.PHONEAGENT_RPC_READY ... in logs before sending RPC calls../.agents/skills/phoneagent/scripts/rpc.py get-tree >/dev/null && echo rpc-ready127.0.0.1:45678 as the RPC endpoint (or rpc.py --port <port> if customized).Notes:
xcrun devicectl list devices, then run:
python3 ./.agents/skills/phoneagent/scripts/forward_rpc_localhost.py --udid <UDID> (binds 127.0.0.1:45678)Use the helper CLI:
# iOS bundle identifier
./.agents/skills/phoneagent/scripts/rpc.py open-app com.apple.Preferences
# Android package name
./.agents/skills/phoneagent/scripts/rpc.py open-app com.android.settings
./.agents/skills/phoneagent/scripts/rpc.py get-tree | head
# Use coordinates copied from the tree (XCUI frame string).
./.agents/skills/phoneagent/scripts/rpc.py enter-text \
--coordinate '{{33.0, 861.0}, {364.0, 38.0}}' \
--text 'Display'
./.agents/skills/phoneagent/scripts/rpc.py tap-element \
--coordinate '{{37.7, 969.7}, {199.7, 29.0}}'get_tree.tap_element / enter_text).tree from the action response to verify the UI changed as expected.get_context and write result.screenshot_base64 to a PNG (or use ./.agents/skills/phoneagent/scripts/rpc.py get-screen-image, which writes PNG files to /tmp/phoneagent-artifacts).Use swipe to reveal off-screen content, then use the returned tree (or call get_tree if needed).
Use one request at a time per server. Do not fire concurrent batches.
Split long keyboard input into chunks; do not send giant enter_text payloads in one call.
All RPC requests are newline-delimited JSON objects with this shape:
{"id":1,"method":"<method>","params":{...}}All success responses look like:
{"id":1,"result":{...}}get_tree{"tree": "<string>"}Example:
{"id":1,"method":"get_tree","params":{}}get_screen_image{"screenshot_base64":"<base64>","metadata":{"width":<number>,"height":<number>}}Example:
{"id":2,"method":"get_screen_image","params":{}}get_context{"tree":"<string>","screenshot_base64":"<base64>","metadata":{"width":<number>,"height":<number>}}Example:
{"id":3,"method":"get_context","params":{}}open_appbundle_identifier (string, required).com.apple.Preferences).com.android.settings).{"bundle_identifier":"<string>", "tree":"<string>"} (Android also includes package_name).Example:
{"id":4,"method":"open_app","params":{"bundle_identifier":"com.apple.Preferences"}}tapx (number, required), y (number, required). Coordinates are in absolute screen points as reported by the tree.{"tree":"<string>"}Example:
{"id":5,"method":"tap","params":{"x":120,"y":300}}tap_elementcoordinate (string, required). Must look like {{x, y}, {w, h}} (copied from the tree).count (integer, optional; default 1). Use 2 for double-tap.longPress (boolean, optional; default false). When true, performs a long-press gesture.{"coordinate":"<string>", "count":<number>, "longPress":<bool>, "tree":"<string>"}Example:
{"id":6,"method":"tap_element","params":{"coordinate":"{{20.0, 165.0}, {390.0, 90.0}}","count":1,"longPress":false}}enter_textcoordinate (string, required). Must look like {{x, y}, {w, h}} (copied from the tree).text (string, required).{"coordinate":"<string>", "tree":"<string>"}Example:
{"id":7,"method":"enter_text","params":{"coordinate":"{{33.0, 861.0}, {364.0, 38.0}}","text":"hello"}}scrollx (number, required), y (number, required), distanceX (number, required), distanceY (number, required).{"tree":"<string>"}Example:
{"id":8,"method":"scroll","params":{"x":215,"y":760,"distanceX":0,"distanceY":-460}}swipex (number, required), y (number, required), direction (string, required; one of up, down, left, right).{"tree":"<string>"}Example:
{"id":9,"method":"swipe","params":{"x":215,"y":760,"direction":"up"}}stopxcodebuild test session).{}Example:
{"id":10,"method":"stop","params":{}}com.apple.Preferencescom.apple.cameracom.apple.mobileslideshowcom.apple.MobileSMScom.apple.springboardcom.android.settingscom.android.camera2com.google.android.apps.photoscom.google.android.apps.messagingopen_app, restart the test-hosted server and retry with a known-good bundle id.get_tree again and recalculate target.xcodebuild test and resume from latest verified app state.adb (adb kill-server && adb start-server), relaunch the bridge, and retry.stop only when the task is complete.stop is not sent, terminate the xcodebuild session manually.© rounak, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files (scripts) in .agents/skills/phoneagent of rounak/PhoneAgent.
Open the folder on GitHubat commit 4f0e201
Phoneagent next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Phoneagent this skillrounak/PhoneAgent | 798 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Orca iOS Simulator Controlstablyai/orca | 87k | 1 repos | ~584 | Automated safety check: Pass | Apache-2.0 | |
| Apple Crash Log .NET Symbolicationdotnet/skills | 5.6k | 1 repos | ~2.4k | Automated safety check: Pass | MIT | |
| Mobilerun Docs Referencedroidrun/mobilerun | 9.6k | — | ~943 | Automated safety check: Pass | MIT | |
| App Store Screenshots GeneratorParthJadhav/app-store-screenshots | 7.2k | — | ~14k | Automated safety check: Pass | MIT | |
| Apple Higjustinwetch/HIGAgentSkills | 525 | — | ~2.4k | Automated safety check: Pass | None |
stablyai/orca
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…
dotnet/skills
Resolves .NET runtime frames in Apple .ips crash logs to function names, source files and line numbers using dSYM symbols, atos and the Microsoft symbol server.
droidrun/mobilerun
Answers questions about Mobilerun, the LLM-agent framework for automating Android and iOS devices, by pointing the agent to the right page of its v5 documentation.
ParthJadhav/app-store-screenshots
Scaffolds a Next.js editor for designing App Store and Google Play screenshots as ads and exporting them at every required size, for iOS, Mac and Android.
justinwetch/HIGAgentSkills
Apple Human Interface Guidelines reference, updated for iPhone Duo and OS 27.
hyochan/react-native-nitro-sound
Build and run repeatable react-native-nitro-sound recorder/player regression tests on an iOS Simulator or Android emulator, with explicit virtual-device selection, microphone permission, Maestro…
Categories
Control a connected iPhone, iOS simulator, Android emulator, or Android device from macOS through PhoneAgent's JSON-RPC bridge. Phoneagent is an agent skill from rounak/PhoneAgent. Control a connected iPhone, iOS simulator, Android emulator, or Android device from macOS through PhoneAgent's JSON-RPC bridge.
Phoneagent fits situations like: users ask to automate mobile UI actions; inspect accessibility trees; toggle Settings switches; capture screenshots by sending RPC methods like gettree.
Run `npx skills add rounak/PhoneAgent --skill phoneagent -a claude-code`. Or copy the skill folder (.agents/skills/phoneagent in rounak/PhoneAgent) into .claude/skills/phoneagent in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rounak/PhoneAgent --skill phoneagent -a codex`. Or copy the skill folder (.agents/skills/phoneagent in rounak/PhoneAgent) into .agents/skills/phoneagent in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rounak/PhoneAgent --skill phoneagent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/phoneagent, .gemini/skills/phoneagent, .github/skills/phoneagent and .opencode/skills/phoneagent in your project.
Going by SKILL.md and its folder, Phoneagent needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (python3, python, xcodebuild, adb, git and xcrun). Our summary lists: Python 3; A Bash shell.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Phoneagent is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Phoneagent: Orca iOS Simulator Control (stablyai/orca, 87k stars), Apple Crash Log .NET Symbolication (dotnet/skills, 5.6k stars), Mobilerun Docs Reference (droidrun/mobilerun, 9.6k stars) and App Store Screenshots Generator (ParthJadhav/app-store-screenshots, 7.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rounak (a GitHub user) maintains it in rounak/PhoneAgent, which has 798 GitHub stars. The repository was last updated on August 15, 2026.
Source: rounak/PhoneAgent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.