agent-device
Automates interactions for iOS simulators/devices and Android emulators/devices.
Skill by bidah
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/bidah-agent-device
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/agent-device
What's inside
- Skill name
agent-device- Description
- Automates interactions for iOS simulators/devices and Android emulators/devices. Use when navigating apps, taking snapshots/screenshots, tapping, typing, scrolling, or extracting UI info on mobile targets.
- License
- MIT
- Instructions
- 259 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (10)
- SKILL.md
- batching.md · references/
- coordinate-system.md · references/
- logs-and-debug.md · references/
- perf-metrics.md · references/
- permissions.md · references/
- remote-tenancy.md · references/
- session-management.md · references/
- snapshot-refs.md · references/
- video-recording.md · references/
SKILL.md (first lines)
## Mobile Automation with agent-device For exploration, use snapshot refs. For deterministic replay, use selectors. For structured exploratory QA bug hunts and reporting, use [../dogfood/SKILL.md](../dogfood/SKILL.md). ## Start Here (Read This First) Use this skill as a router, not a full manual. 1. Pick one mode: - Normal interaction flow - Debug/crash flow - Replay maintenance flow 2. Run one canonical flow below. 3. Open references only if blocked. ## Decision Map - No target context yet: `devices` -> pick target -> `open`. - Normal UI task: `open` -> `snapshot -i` -> `press/fill` -> `diff snapshot -i` -> `close` - Debug/crash: `open <app>` -> `logs clear --restart` -> reproduce -> `network dump` -> `logs path` -> targeted `grep` - Replay drift: `replay -u <path>` -> verify updated selectors - Remote multi-tenant run: allocate lease -> point client at remote daemon base URL -> run commands with tenant isolation flags -> heartbeat/release lease - Device-scope isolation run: set iOS simulator set / Android allowlist -> run selectors within scope only ## Target Selection Rules - iOS local QA: use simulators unless the task explicitly requires a physical device. - iOS local QA in mixed simulator/device environments: run `ensure-simulator` first and pass `--device`, `--udid`, or `--ios-simulator-device-set` on later commands. - Android local QA: use `install` or `reinstall` for `.apk`/`.aab` files, then relaunch by installed package name. - Android React Native + Metro flows: prefer `open <package> --remote-config <path> --relaunch`. - In mixed-device environments, always pin the exact target with `--serial`, `--device`, `--udid`, or an isolation scope. - For session-bound automation runs, prefer a pre-bound session/platform instead of repeating selectors on every command: set `AGENT_DEVICE_SESSION`, set `AGENT_DEVICE_PLATFORM`, and the daemon will enforce the shared lock policy across CLI, typed client, and RPC entry points. - Use `--session-lock reject|strip` (or `AGENT_DEVICE_SESSION_LOCK`) only when you need to override the default reject behavior. Lock mode applies to nested `batch` steps too. ## Canonical Flows ### 1) Normal Interaction Flow ```bash agent-device open Settings --platform ios agent-device snapshot -i agent-device press @e3 agent-device diff snapshot -i agent-device fill @e5 "test" agent-device close ``` ### 1a) Local iOS Simulator QA Flow ```bash agent-device ensure-simulator --platform ios --device "iPhone 16" --boot agent-device open MyApp --platform ios --device "iPhone 16" --session qa-ios --relaunch agent-device snapshot -i agent-device press @e3 agent-device close ``` Use this when a physical iPhone is also connected and you want deterministic simulator-only automation. ### 1b) Android React Native + Metro QA Flow ```bash agent-device reinstall MyApp /path/to/app-debug.apk --platform android --serial emulator-5554 agent-device open com.example.myapp --remote-config ./agent-device.remote.json --relaunch agent-device snapshot -i agent-device close ``` Do not use `open <apk|aab> --relaunch` on Android. Install/reinstall binaries first, then relaunch by package. ### 1c) Session-Bound Automation Flow ```bash export AGENT_DEVICE_SESSION=qa-ios export AGENT_DEVICE_PLATFORM=ios export AGENT_DEVICE_SESSION_LOCK=strip agent-device open MyApp --relaunch agent-device snapshot -i agent-device batch --steps-file /tmp/qa-steps.json --json agent-device close ``` Use this for orchestrators that must preserve one bound session/device across many plain CLI calls without a wrapper script. ### 1d) Android Emulator Session-Bound Flow ```bash export AGENT_DEVICE_SESSION=qa-android export AGENT_DEVICE_PLATFORM=android agent-device reinstall MyApp /path/to/app-debug.apk --serial emulator-5554 agent-device --session-lock reject open com.example.myapp --relaunch agent-device snapshot -i agent-device close --shutdown ``` ### 2) Debug/Crash Flow ```bash agent-device open MyApp --platform ios agent-device logs clear --restart agent-device network dump 25 agent-device logs path ``` Logging is off by default. Enable only for debugging windows. `logs clear --restart` requires an active app session (`open <app>` first). ### 3) Replay Maintenance Flow ```bash agent-device replay -u ./session.ad ``` ### 4) Remote Tenant Lease Flow (HTTP JSON-RPC) ```bash
From bidah/react-native-hifi, MIT.
More from bidah/react-native-hifi
- 0.501score
react-native-brownfield-migration
Callstack
Provides an incremental adoption strategy to migrate native iOS or Android apps to React Native or Expo using @callstack/react-native-brownfield for initial…
SkillDFreshness: D★ 30Claude Code +9 - 0.498score
callstack-best-practices
Callstack
Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations.
SkillDFreshness: D★ 30Claude Code +9 - 0.496score
building-native-ui
bidah
Use when building user interfaces in React Native or Expo, implementing navigation, layouts, animations, native controls, modals, gesture handling, or styling…
SkillDFreshness: D★ 30Claude Code +9 - 0.496score
use-dom
bidah
Use when embedding web-only libraries or DOM content in React Native apps, including charts with recharts, syntax highlighting, rich text editors, or any…
SkillDFreshness: D★ 30Claude Code +9 - 0.496score
expo-dev-client
bidah
Use when building custom development clients for Expo apps, integrating custom native modules, using Apple ecosystem features, third-party native SDKs, or…
SkillDFreshness: D★ 30Claude Code +9 - 0.496score
expo-tailwind-setup
bidah
Use when setting up or using Tailwind CSS v4 with NativeWind v5 in React Native or Expo projects, configuring universal styling across iOS Android and web, or…
SkillDFreshness: D★ 30Claude Code +9 - 0.496score
expo-ui-jetpack-compose
bidah
Use when building Android-specific UI components using Jetpack Compose views in Expo, implementing LazyColumn scrolling lists, or rendering XML vector…
SkillDFreshness: D★ 30Claude Code +9 - 0.496score
expo-ui-swift-ui
bidah
Use when building iOS-specific UI components using SwiftUI views in Expo, embedding React Native views in SwiftUI with RNHostView, or implementing native iOS…
SkillDFreshness: D★ 30Claude Code +9 - 0.496score
expo-api-routes
bidah
Use when building server-side API endpoints in Expo apps, handling backend logic, protecting credentials, connecting to databases, or deploying API routes…
SkillDFreshness: D★ 30Claude Code +9 - 0.492score
software-mansion-best-practices
Software Mansion
Software Mansion's best practices for production React Native apps on the New Architecture.
SkillDFreshness: D★ 30Claude Code +9 - 0.487score
native-data-fetching
bidah
Use when implementing network requests, API calls, data caching, or offline support in React Native or Expo apps, including authentication token management…
SkillDFreshness: D★ 30Claude Code +9 - 0.476score
using-react-native-hifi
bidah
Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions
SkillDFreshness: D★ 30Claude Code +9
Signals
- Stars
- 30
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Apr 8, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/bidah/react-native-hifi
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from bidah
- 0.496score
building-native-ui
bidah
Use when building user interfaces in React Native or Expo, implementing navigation, layouts, animations, native controls, modals, gesture handling, or styling…
SkillDFreshness: D★ 30Claude Code +9 - 0.496score
expo-ui-jetpack-compose
bidah
Use when building Android-specific UI components using Jetpack Compose views in Expo, implementing LazyColumn scrolling lists, or rendering XML vector…
SkillDFreshness: D★ 30Claude Code +9 - 0.496score
expo-api-routes
bidah
Use when building server-side API endpoints in Expo apps, handling backend logic, protecting credentials, connecting to databases, or deploying API routes…
SkillDFreshness: D★ 30Claude Code +9 - 0.496score
expo-dev-client
bidah
Use when building custom development clients for Expo apps, integrating custom native modules, using Apple ecosystem features, third-party native SDKs, or…
SkillDFreshness: D★ 30Claude Code +9 - 0.496score
expo-tailwind-setup
bidah
Use when setting up or using Tailwind CSS v4 with NativeWind v5 in React Native or Expo projects, configuring universal styling across iOS Android and web, or…
SkillDFreshness: D★ 30Claude Code +9 - 0.496score
expo-ui-swift-ui
bidah
Use when building iOS-specific UI components using SwiftUI views in Expo, embedding React Native views in SwiftUI with RNHostView, or implementing native iOS…
SkillDFreshness: D★ 30Claude Code +9
Cite this page
agent-device skill. Agent Mart. https://agentmart.dev/skills/bidah-agent-device (last updated 2026-10-24)