Skip to content

CLI & Agent

Install RocketSim's command line tool and bundled Agent Skill from Settings so agents and scripts use the latest installed app version.

Use RocketSim → Settings → CLI & Agent to install the rocketsim command line tool and the RocketSim Agent Skill.

This is the recommended setup for agentic development. The command line tool gives agents a fast way to interact with the running Simulator through RocketSim, while the Agent Skill teaches your AI coding tool how to use that CLI reliably.

  1. Open RocketSim → Settings → CLI & Agent
  2. In Command Line Tool, click Install Command Line Tool
  3. Choose the default selected folder if it is on your PATH, or pick another folder such as /opt/homebrew/bin or /usr/local/bin
  4. Confirm the installation

RocketSim creates a rocketsim symlink in the folder you choose. The real executable stays inside RocketSim.app.

CLI & Agent settings showing the command line tool installer

That means:

  • rocketsim is available from Terminal, agents, and CI scripts
  • The command stays tied to the RocketSim app you installed
  • App Store updates keep the command up to date automatically
  • Repairing the install updates the symlink if RocketSim moved

The Agent Skill is installed from the same settings page.

  1. Open RocketSim → Settings → CLI & Agent
  2. Install the command line tool first if it is not installed yet
  3. In Agent Skill, choose General Agents for broad support or Agentic Coding in Xcode for Xcode’s built-in coding assistant
  4. Click Install
  5. Restart or refresh your tool if it does not detect new skills automatically

RocketSim installs the skill as a symlink to the bundled skill inside the app. The skill and CLI are version-matched, so your agent receives instructions that match the RocketSim version it is controlling.

CLI & Agent settings showing Agent Skill installation options

We recommend General Agents because it installs into the shared .agents/skills location. Multiple AI coding tools can reuse that same version-matched RocketSim skill.

Use Agentic Coding in Xcode when you want Xcode’s built-in Claude Agent or Codex integration to discover RocketSim. Xcode stores coding assistant configuration under ~/Library/Developer/Xcode/CodingAssistant, separate from Claude Code’s ~/.claude/skills folder.

Use a tool-specific destination only if your tool does not scan the shared location.

The RocketSim Mac app is already running beside the Simulator. It can keep state, cache expensive work, and optimize repeated agent loops. The CLI exposes that running app to agents, and the Agent Skill helps agents use the CLI in the right order.

Compared with other tools available to control the iOS Simulator, RocketSim produced over 99% less command output, had an about 95% lower byte-based context estimate, and used about 24% less measured command time in our July 2026 head-to-head benchmark. Read how we test the CLI and Agent Skill for the scenarios, methodology, and improvement findings.

Run:

Terminal window
rocketsim doctor

The doctor command checks whether RocketSim, the CLI install, the Simulator, accessibility permissions, and agent workflow state are ready. Run it when setup appears broken, not before every interaction. RocketSim 16.4.2 also discovers booted Simulators shown through Xcode 27’s Device Hub.

Then ask your AI coding tool:

Use RocketSim to inspect the visible elements in the focused Simulator

If everything is installed correctly, the agent should use RocketSim to read the current screen and continue from there.

Agent shells can have a different PATH than Terminal. Check /opt/homebrew/bin/rocketsim, /usr/local/bin/rocketsim, ~/.local/bin/rocketsim, and /Applications/RocketSim.app/Contents/Helpers/rocketsim. If none is available, reinstall from Settings → CLI & Agent and choose a folder on the agent’s PATH.

The existing rocketsim symlink points somewhere unexpected. Click Repair Command Line Tool to point it back to the current RocketSim app.

Some AI coding tools only scan skill folders when they start. Restart the tool or reload its workspace after installing the skill.

If you are using Claude Agent inside Xcode, install Agentic Coding in Xcode instead of the Claude destination. The Claude row installs into ~/.claude/skills, while Xcode’s built-in coding assistant reads from its own ~/Library/Developer/Xcode/CodingAssistant configuration folders.

Use Choose Custom Skill Folder… in the Agent Skill section and select the folder your tool scans for skills.

Device Hub is open, but no Simulator is found

Section titled “Device Hub is open, but no Simulator is found”

Put Xcode 27’s Device Hub in Compact Mode and focus the device you want to control. Then run rocketsim doctor again. RocketSim 16.4.2 resolves booted Simulators through Device Hub as well as Simulator.app.

Open RocketSim’s Networking window and approve the Network Extension once. macOS requires this user action and agents cannot complete it headlessly. If a command reports a timeout instead, retry once; RocketSim 16.4.2 now fails after a bounded wait instead of hanging indefinitely.