Skip to main content
skill CX Codex

device-interaction — Claude Code skill: what it does, how to install

Verifies iOS app behavior on devices or simulators using screenshots, UI hierarchy inspection, and synthesized touch inputs. Runs via subagent.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add superagents-lab/xcode27-skills --skill device-interaction -a claude-code
Open on GitHub

What device-interaction does

This skill automates on-device and simulator UI verification for iOS projects. The main agent dispatches the task to a subagent via the Agent tool. A standard run follows four steps: starting with DeviceInteractionStartSession, building and launching via DeviceInteractionInstallAndRun, simulating events with DeviceEventSynthesize, and terminating through DeviceInteractionEndSession. Lingering test sessions waste significant system resources. Shutting them down immediately after testing is necessary.

The subagent inspects hierarchy files to locate controls, reading exact positions from the calculated center field. Guessing tap targets strictly from screenshots is forbidden to prevent misclicks. Supported interactions include single taps, double taps, swipes, orientation toggles, hardware keys, and text entry. In text input chains, sender keyboard kbd <text> must remain the final command.

When a touch event yields no immediate UI update, the subagent retries the action once to account for active transitions. If you pass an unrecognized destination ID to the session starter, the tool responds with a complete list of valid target devices.

What it helps with

  • verify iOS interface behavior on a device or simulator after code changes
  • detect visual defects like clipped text, misaligned views, and bad colors
  • send precise taps, swipes, and text entries using element center points
  • catch silent crashes and unexpected app termination during interactions

Example prompts for the agent

  • Verify that the login screen works on the simulator after this refactor
  • Test this checkout flow on device and report any layout issues
  • Check on device whether the settings switch toggles correctly

How to install device-interaction

1Skills CLI (Vercel)

npx skills add superagents-lab/xcode27-skills --skill device-interaction -a claude-code

2Manually: put the files in place

~/.claude/skills/device-interaction/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/device-interaction/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about device-interaction

How to install device-interaction in Claude Code?

Run npx skills add superagents-lab/xcode27-skills --skill device-interaction -a claude-code in your terminal.

What does device-interaction do?

It orchestrates iOS test sessions where a subagent compiles the app, inspects the view hierarchy, captures screenshots, and synthesizes touch gestures.

How does the subagent find elements on screen?

It reads structural hierarchy data and targets the calculated center coordinates of views rather than estimating pixel positions from screenshots.

Similar skills

Everything for Mobile →

From the same set6

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor