rn-device-control

Control iOS Simulator and Android Emulator devices with simctl and adb.

10|1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/Lykhoyda/rn-dev-agent --skill rn-device-control
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rn-device-control
Source: https://github.com/Lykhoyda/rn-dev-agent/tree/main/packages/codex-plugin/skills/rn-device-control
Command: npx skills add https://github.com/Lykhoyda/rn-dev-agent --skill rn-device-control

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires xcrun, adb, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unit offers a comprehensive set of commands to control iOS Simulator and Android Emulator, manage device state, take screenshots, and handle various interactions, making the process of testing React Native applications more efficient.

Core Features & Use Cases

  • iOS Simulator Commands: Manage devices, open URLs, take screenshots, stream logs, and manage permissions and settings.
  • Android Emulator/Device Commands: Control devices, open URLs, take screenshots, extract UI hierarchy, disable animations, and stream logs.
  • Use Case: When testing a React Native app, you can use this skill to automatically boot and install the app on a simulator, take screenshots of the UI, read the UI hierarchy, and stream native logs for debugging.

Quick Start

To launch an app on a booted simulator, use the following command:

xcrun simctl launch booted com.example.app

Frequently Asked Questions about rn-device-control

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate taking screenshots in an iOS Simulator for React Native testing?

You can automate taking iOS Simulator screenshots by running simctl commands through this skill to capture the screen and manage device state. It provides deterministic automation for booting devices, installing apps, and capturing UI screenshots during React Native testing.

Can I extract the UI hierarchy from an Android Emulator during testing?

Yes, you can extract the UI hierarchy from an Android Emulator using adb commands provided by this skill. It allows you to control devices, read the UI hierarchy, and capture screenshots to verify React Native UI components.

Do I need xcrun and adb installed to control simulators and emulators?

Yes, you need xcrun for simctl access to control iOS Simulator and adb for Android Emulator commands. This skill requires both dependencies to manage device state, stream logs, and take screenshots across both platforms.

How do I stream native logs to debug a React Native app on a booted simulator?

You can stream native logs by executing device control commands through this skill to read real-time output from the iOS Simulator or Android Emulator. It targets React Native development by providing deterministic log streaming for debugging application issues.

What is the best way to manage device permissions on an iOS Simulator automatically?

The best way to manage iOS Simulator permissions automatically is by using the simctl commands integrated into this skill. It allows you to grant or revoke permissions, manage settings, open URLs, and handle various device interactions without manual intervention.