- Home
- Skills
- Testing & Debugging
- appium cli
Works with the AI Agents you already use
appium cli
AI-agent-ready mobile automation CLI for Android and iOS. Control real devices, emulators, and simulators using simple commands, semantic locators, and structured JSON output—without an MCP server.
$2
appium cli
Example session with this skill installed
Open my Android application and test the login flow.
- Inspect the current screen and identify the email and password fields.
- Enter the email "test@example.com" and password "Test123456".
- Tap the Login button.
- Wait for the dashboard to appear.
- Verify that login was successful.
- Take a screenshot of the final screen.
If anything fails, investigate the UI and explain what went wrong.
- Read your context and instructions
- Compiled the appium cli
Successfully executed the login flow on the Android emulator using appium-cli.
Execution Results:
- Connected to the active Appium session.
- Inspected the UI hierarchy and identified the login form.
- Located the email and password fields using semantic queries.
- Entered the provided credentials.
- Successfully tapped the Login button.
- Waited for the dashboard to load.
- Verified that the dashboard appeared successfully.
- Captured a screenshot of the final screen.
Final Status: PASS
The login flow completed successfully.
Screenshot: ./screen.png
No manual interaction with the device was required.
Connects securely to your tools. The creator never sees your data.
About this skill
appium-cli – Mobile Automation for AI Agents
Give your AI coding agent the ability to control and test mobile applications directly from the terminal.
appium-cli is a powerful, AI-friendly command-line interface built on top of Appium. It provides developers and AI agents with a simple, predictable way to interact with Android and iOS applications across emulators, simulators, and real devices.
Instead of relying on an Appium MCP server, appium-cli exposes mobile automation capabilities through straightforward terminal commands, structured JSON responses, and predictable exit codes.
Whether you're using Claude Code, Cursor, Codex, or another AI coding agent, appium-cli makes mobile automation accessible with minimal setup.
Why appium-cli?
Traditional mobile automation often requires writing complex selectors, managing automation scripts, and configuring additional integrations for AI agents.
appium-cli simplifies this experience.
- AI-Agent Ready: Designed specifically for AI agents, with structured
--jsonand--aioutput that agents can easily understand and process. - No MCP Server Required: Give your AI agent access to Appium through standard CLI commands instead of setting up an MCP integration.
- Semantic Interaction: Use commands like
tap "Sign in"ortype "Email" "user@example.com"instead of manually writing XPath selectors. - Cross-Platform: Automate Android and iOS applications on emulators, simulators, and real devices.
- Powerful UI Inspection: Inspect UI hierarchies, discover locators, retrieve element attributes, and capture screenshots.
- Scriptable & CI-Friendly: Predictable exit codes and machine-readable responses make it suitable for automated workflows and CI/CD pipelines.
- Session Management: Create, attach, switch between, and manage multiple Appium sessions.
What can your AI agent do?
Your agent can interact with mobile applications using simple commands:
| Capability | Example |
|---|---|
| Tap elements | tap "Login" |
| Enter text | type "Email" "user@example.com" |
| Swipe & scroll | swipe up |
| Wait for elements | wait "Dashboard" |
| Inspect UI | dump-ui --simplified |
| Find locators | inspect-locators "Continue" |
| Take screenshots | screenshot --out ./screen.png |
| Manage applications | Launch, install, terminate, uninstall |
| Handle gestures | Double-tap, pinch, drag, long-press |
| Manage device state | Orientation, clipboard, keyboard, permissions |
| Inspect system dialogs | Read, accept, or dismiss alerts |
And much more.
Quick Installation
1. Install appium-cli
Make sure Node.js 18+ is installed.
npm install -g appium-cli
2. Install the agent skill
For Claude Code:
appium-cli skill install claude
For Cursor:
appium-cli skill install cursor
For Codex:
appium-cli skill install codex
This installs the bundled instructions that teach your AI agent how to use appium-cli, including available commands, workflows, and troubleshooting.
3. Connect to Appium
Start your Appium server and connect to your device:
appium-cli connect \
--server http://127.0.0.1:4723 \
--caps ./caps.json
4. Start automating!
Ask your AI agent:
- Open the application and log in.
- Find the registration screen and inspect its fields.
- Enter test data and submit the form.
- Take a screenshot and verify the result.
- Explore the application and identify potential issues.
Your agent can use appium-cli to execute these actions directly.
Requirements
- Node.js 18 or newer.
- A running Appium 2.x+ server.
- Appropriate Appium drivers (UiAutomator2 for Android or XCUITest for iOS).
- A configured emulator, simulator, or real device.
Some iOS device preparation and signing utilities require macOS and Xcode.
Important: appium-cli does not replace Appium or its drivers. It provides a more convenient, AI-friendly interface to your existing Appium infrastructure.
Who is this for?
- QA Engineers and SDETs building AI-powered testing workflows.
- Developers who want AI agents to interact with mobile applications.
- AI Agent developers building autonomous mobile testing solutions.
- Teams integrating mobile automation into CI/CD pipelines.
Documentation
GitHub: https://github.com/WessamJuby/appium-cli
Get started: Install it, connect your Appium server, install your preferred agent skill, and let your AI agent take control of mobile automation.
Stop making your AI agent struggle with mobile automation. Give it a CLI built for the job.
Requires Node.js 18+ and a running Appium server. iOS prep commands require macOS/Xcode. CLI does not install drivers or start the server.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed today
Requires