agent-mobile

Automate iOS and Android app testing via a command-line interface.

1|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/r0227n/agent-mobile --skill agent-mobile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-mobile
Source: https://github.com/r0227n/agent-mobile/tree/main/.claude/skills/agent-mobile
Command: npx skills add https://github.com/r0227n/agent-mobile --skill agent-mobile

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates mobile application end-to-end testing, enabling AI agents to interact with and validate mobile apps efficiently.

Core Features & Use Cases

  • Cross-Platform Automation: Supports both iOS and Android with a unified API.
  • Semantic Locators: Find UI elements using natural language descriptions (text, labels, types).
  • Token-Efficient References: Use short aliases like @e1 for elements after a snapshot, minimizing token usage.
  • Use Case: An AI agent can use this Skill to log into a mobile banking app, check account balances, and perform a transaction, all through natural language commands.

Quick Start

Use agent-mobile to find the 'Login' button and tap it.

Frequently Asked Questions about agent-mobile

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate mobile E2E testing using AI agents?

Mobile E2E testing automation for AI agents is handled through a command-line interface that supports cross-platform interaction with iOS and Android devices. It enables automated app launches, UI interactions, and media capture using natural language commands.

How do semantic locators work for mobile UI element discovery?

Semantic locators find UI elements using natural language descriptions like text, labels, and types. After a UI snapshot, the system generates token-efficient element references such as `@e1` or `@e2` to minimize token usage during subsequent interactions.

Can I run cross-platform mobile testing for both iOS and Android?

Yes, cross-platform mobile testing supports both iOS and Android through a unified API. This allows automated end-to-end testing workflows to interact with and validate applications across different mobile operating systems without changing the command structure.

What is the best way to reduce token usage during mobile UI automation?

Token usage during mobile UI automation is minimized by using a token-efficient element reference system. After capturing a UI snapshot, the tool assigns short aliases like `@e1` to elements, allowing AI agents to interact without repeatedly processing full element descriptions.

What mobile testing actions can an AI agent perform via CLI?

Mobile testing actions via CLI include automated app launch, element interaction like tap and fill, media capture such as screenshot and record, and application or device management. These commands allow AI agents to execute complete end-to-end testing workflows.

Does mobile E2E automation support media capture like screenshots and recording?

Yes, mobile E2E automation supports media capture including screenshots and recording. The CLI allows AI agents to capture visual output during automated testing workflows to validate application behavior and UI state across iOS and Android devices.