All skills
callstackincubator avatar

/agent-device

@23643af official

Automates interactions for Apple-platform apps (iOS, tvOS, macOS) and Android devices. Use when navigating apps, taking snapshots/screenshots, tapping, typing, scrolling, or extracting UI info across mobile, TV, and desktop targets.

Use this Skill: https://skilld.dev/gh/callstackincubator/agent-skills/agent-device

This session only. Nothing lands on disk.

SKILL.md

≈62 tokens always: the name and description. ≈1.2k when used: this file. ≈9.1k more on demand in 7 files.

agent-device

Use this skill as a router with mandatory defaults. Read this file first. For normal device tasks, always load references/bootstrap-install.md and references/exploration.md before acting. Use bootstrap to confirm or establish deterministic setup. Use exploration for UI inspection, interaction, and verification once the app session is open.

Default operating rules

  • Start conservative. Prefer read-only inspection before mutating the UI.
  • Use plain snapshot when the task is to verify what text or structure is currently visible on screen.
  • Use snapshot -i only when you need interactive refs such as @e3 for a requested action or targeted query.
  • Avoid speculative mutations. You may take the smallest reversible UI action needed to unblock inspection or complete the requested task, such as dismissing a popup, closing an alert, or clearing an unintended surface.
  • Do not browse the web or use external sources unless the user explicitly asks.
  • Re-snapshot after meaningful UI changes instead of reusing stale refs.
  • Prefer @ref or selector targeting over raw coordinates.
  • Ensure the correct target is pinned and an app session is open before interacting.
  • Keep the loop short: open -> inspect/act -> verify if needed -> close.

Default flow

  1. Load references/bootstrap-install.md and references/exploration.md before acting on a normal device task.
  2. Use bootstrap first to confirm or establish the correct target, app install, and open app session.
  3. Once the app session is open and stable, use exploration for inspection, interaction, and verification.
  4. Start with plain snapshot if the goal is to read or verify what is visible.
  5. Escalate to snapshot -i only if you need refs for interactive exploration or a requested action.
  6. Use get, is, or find before mutating the UI when a read-only command can answer the question.
  7. End by capturing proof if needed, then close.

QA modes

Required references

  • For every normal device task, after reading this file, load references/bootstrap-install.md first, then references/exploration.md, before acting.
  • Use bootstrap to confirm or establish deterministic setup, especially in sandbox or cloud environments.
  • Use exploration once the app session is open and stable.
  • Load additional references only when their scope is needed.

Decision rules

  • Use plain snapshot when you need to verify whether text is visible.
  • Use snapshot -i mainly for interactive exploration and choosing refs.
  • Use get, is, or find when they can answer the question without changing UI state.
  • Use fill to replace text.
  • Use type to append text.
  • When a task asks to "go back", use plain back for predictable app-owned navigation and reserve back --system for platform back gestures or button semantics.
  • Use type --delay-ms or fill --delay-ms for debounced search fields that drop characters when typed too quickly.
  • If there is no simulator, no app install, or no open app session yet, switch to bootstrap-install.md instead of improvising setup steps.
  • Use the smallest unblock action first when transient UI blocks inspection, but do not navigate, search, or enter new text just to make the UI reveal data unless the user asked for that interaction.
  • Do not use external lookups to compensate for missing on-screen data unless the user asked for them.
  • If the needed information is not exposed on screen, say that plainly instead of compensating with extra navigation, text entry, or web search.
  • Prefer @ref or selector targeting over raw coordinates.

Additional references

Source: SKILL.md on GitHub

No alerts16d3 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The analyzed skill provides documentation and guidance for an automated device interaction tool (agent-device) supporting iOS, Android, and macOS targets. It includes instruction references for bootstrapping, coordinate systems, debugging, UI exploration, macOS desktop specificity, remote tenancy (daemon over HTTP), and verification. No malicious behaviors or significant security concerns were detected; the skill primarily orchestrates local or remote mobile/desktop automation tools safely.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

Signed by skilld at 23643af. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 6 months ago
  • Testing
  • ios
  • android
  • macos
  • tvos
  • mobile
  • ui-automation
  • device-interaction
  • snapshots
  • app-testing

README badge

README badge for callstackincubator/agent-skills/agent-device

Automates UI interaction and inspection for iOS, tvOS, macOS, and Android apps via snapshot, tap, type, scroll, and element targeting commands. Use this skill to navigate apps, extract UI state, and verify behavior across mobile and desktop platforms without writing native test code.

Generated from the current SKILL.md.

What platforms does this skill support?
iOS, tvOS, macOS, and Android. The skill routes interactions across all four platforms with platform-specific references for desktop and remote scenarios.
Do I need to set up the device or simulator first?
Yes. Always load bootstrap-install.md before acting to confirm the target, app install, and open app session in a deterministic way.
Should I use snapshot or snapshot -i?
Use plain snapshot to verify what is visible on screen. Use snapshot -i only when you need interactive refs like @e3 for a specific action or targeted query.
Can this skill handle web browsing or external lookups?
No. The skill does not browse the web or use external sources unless explicitly requested by the user.
How do I debug failures, capture recordings, or access logs?
Load references/debugging.md for logs and failure triage, or references/verification.md for screenshots, recordings, and perf data.

Generated from the current SKILL.md. These answers refresh after source changes.