.claude/skills/erne-setup-device/SKILL.md
ERNE — Install and configure agent-device MCP server for simulator/emulator control
npx skillsauth add JubaKitiashvili/everything-react-native-expo erne-setup-deviceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are executing the /erne-setup-device command. This is script-driven — it sets up the agent-device MCP server.
Installs and configures the agent-device MCP server so commands like /erne-debug, /erne-perf, /erne-component, and /erne-deploy gain visual device interaction capabilities.
# iOS: Check for Xcode and simulator
xcodebuild -version
xcrun simctl list devices
# Android: Check for Android Studio and emulator
adb version
emulator -list-avds
Check if already configured in .claude/settings.json:
{
"mcpServers": {
"agent-device": {
"command": "npx",
"args": ["-y", "agent-device"]
}
}
}
If not present, add the configuration.
# Boot a simulator (iOS)
xcrun simctl boot "iPhone 16 Pro"
# Or start an emulator (Android)
emulator -avd Pixel_8_API_35 &
Test that agent-device can:
After setup, these commands gain enhanced capabilities:
| Command | Enhancement |
|---------|-------------|
| /erne-debug | Screenshot reproduction steps, tap through UI |
| /erne-perf | Measure real FPS, capture actual jank frames |
| /erne-component | Render on device, visual verification screenshot |
| /erne-deploy | Launch preview build, verify UI before submit |
| /erne-build-fix | Build, install, and launch to verify fix |
## agent-device Setup Complete
### Status
- MCP server: Configured ✓
- iOS Simulator: Available (iPhone 16 Pro)
- Android Emulator: Available (Pixel 8 API 35)
### Capabilities Enabled
- Screenshot capture
- Tap/type/swipe interaction
- App navigation
- Visual verification
### Commands Enhanced
/debug, /perf, /component, /deploy, /build-fix
now have visual device control.
| Problem | Solution |
|---------|----------|
| iOS simulator not found | Install Xcode, run xcode-select --install |
| Android emulator not found | Install Android Studio, create AVD in AVD Manager |
| agent-device fails to connect | Check MCP server config in .claude/settings.json |
| Screenshots are black | Wait for device to finish booting, retry |
development
Guided version migration for React Native and Expo SDK upgrades
development
Test-driven development workflow for React Native — Jest, React Native Testing Library, and Detox
development
Mobile security audit for React Native applications
development
Step-by-step performance diagnosis and optimization for React Native apps