Setup
The primary way agents drive rnx is the rnx CLI. Use the same
rnx path a human uses after the standalone install; there is no separate
agent install.
From inside any agent (Claude Code, Cursor, Codex, or anything that can run
shell commands), rnx describe,
rnx do tap-text "Sign in", and the rest of the
CLI work against whatever sim is running.
Pick an integration surface
| your agent | use | why |
|---|---|---|
| runs shell commands (Claude Code, Cursor, Codex, CI) | the rnx CLI | fastest, React Native-aware reads, auto-settle, claim leases |
| runs shell and works in this repo often | CLI + rnx skill install | skills teach the supported workflows once, per agent home |
| browser-only tooling (Chrome MCP, DOM automation) | the accessibility DOM mirror | the sim exposes real <button>/<input> proxies, so browser tools drive it like a website |
All three drive the same simulator through the same gesture pipeline; they differ only in who is calling.
Start the app’s existing Metro, Expo, React Native, or One server yourself.
rnx does not own that process. Run rnx open <port> from the app
project root so font, splash-screen, and project-configuration discovery has
the same context as the development server.
Verifying
With a sim open:
If list is empty, start a sim first (rnx open <port> or your usual
dev flow), then retry.
If the scan or live app exposes a missing rnx compatibility seam, the agent
should explain the finding and offer to send it with rnx report-issue.
Nothing is submitted until you explicitly agree. The command previews its
bounded attachment set before sending; see Reporting Issues.
Skills
We ship a handful of skill files that teach agents how to use rnx well: setup, debugging (including accessibility review), performance, visual review, and test authoring. The standalone CLI installs them into the standard agent skill homes:
Available: rnx-setup, rnx-debug, rnx-perf, rnx-visual, rnx-test,
and contrast. Pick what matches your task,
then restart the agent session so it reloads the skill list.
What’s next
- +CLI Use: the day-to-day commands an agent runs.
- +Agent Devtool (Inspect): the in-sim panel where you talk to an agent and watch it work.