一键导入
erne-setup-device
ERNE — Install and configure agent-device MCP server for simulator/emulator control
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
ERNE — Install and configure agent-device MCP server for simulator/emulator control
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Apple HIG design intelligence — build, review, animate, and analyze with Apple Human Interface Guidelines for React Native/Expo
Video-based visual debugging — extract key frames from screen recordings and analyze UI bugs over time. Detects animation glitches, race conditions, gesture issues, scroll jank, keyboard overlap, and navigation transitions that screenshots cannot capture.
Auto-generate skills and rules from observed React Native development patterns
ERNE — Implement animations using the ui-designer agent with Reanimated and Gesture Handler
ERNE — Diagnose and fix build failures using the expo-config-resolver agent
ERNE — Comprehensive code review combining code quality and performance analysis
| name | erne-setup-device |
| description | ERNE — Install and configure agent-device MCP server for simulator/emulator control |
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 |