mobile-automation
Skill này làm gì
Skill này cho phép AI điều khiển một điện thoại thật, trình giả lập hoặc simulator, chẳng hạn mở ứng dụng hoặc chạm vào một nút. Nó dành cho người kiểm thử và lập trình viên cần kiểm tra hoặc tái hiện một lỗi trên điện thoại.
Khi nào nên dùng
- ✓Khi bạn cần tái hiện một lỗi trên ứng dụng Android hoặc iPhone.
- ✓Khi bạn muốn AI kiểm thử các màn hình của ứng dụng di động và báo cáo những gì nó thấy.
- ✓Khi một tác vụ yêu cầu chạm, gõ hoặc vuốt qua một ứng dụng điện thoại từng bước.
Liên kết skill
https://github.com/mobile-next/mobile-mcp/blob/main/skills/mobile-automation/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể mở ứng dụng Android của chúng tôi trên trình giả lập, đi tới màn hình đăng nhập và cho tôi biết nút có hiển thị không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill kết nối AI với thiết bị, đọc danh sách các phần tử trên màn hình, rồi chạm hoặc gõ. Sau mỗi bước, nó kiểm tra màn hình đã thay đổi như mong đợi chưa.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Mobile Automation with Mobile MCP
Tools for driving real phones, emulators and simulators. All tools are
prefixed mobile_.
Workflow
- Pick a device. Call
mobile_list_available_devicesand use one of the returned devices for every subsequent call. If no device is available, ask the user to connect one (Android:adb devicesmust show it; iOS: simulator booted or device paired). - See the screen. Prefer
mobile_list_elements_on_screen— it returns the accessibility tree with element labels and coordinates. It is faster, cheaper, and more reliable than screenshots. Fall back tomobile_take_screenshotonly when elements are missing or you need visual confirmation (games, canvas-drawn UI, image content). - Act.
mobile_click_on_screen_at_coordinates,mobile_swipe_on_screen,mobile_type_keys,mobile_press_button(HOME, BACK, VOLUME, ENTER),mobile_launch_app/mobile_terminate_app/mobile_list_apps,mobile_open_url. - Verify after every action. Re-list elements (or re-screenshot) to confirm the UI changed as expected before the next step. Mobile UIs animate; if the expected element is not there yet, wait briefly and check again rather than tapping blind.
Tips
- Click the center of an element's bounds, not its top-left corner.
- To type, first tap the input field, confirm it is focused, then
mobile_type_keys. - Use
mobile_save_screenshotwhen the user wants the image as a file;mobile_start_screen_recording/mobile_stop_screen_recordingfor videos. - App crashed?
mobile_list_crashesandmobile_get_crashfetch crash logs. - Screen size from
mobile_get_screen_size; coordinates are in that space. - Real devices in the cloud (no local hardware):
mobile_login_to_cloud_provider, thenmobile_list_remote_devices/mobile_allocate_remote_device, and release withmobile_release_remote_devicewhen done. See https://mobilenext.ai/docs for details.
Câu hỏi thường gặp
Có cần điện thoại thật không?
Không. Skill hoạt động với thiết bị thật cũng như trình giả lập và simulator.
Vì sao đọc các phần tử trên màn hình thay vì ảnh chụp?
Skill nói danh sách phần tử nhanh hơn và đáng tin cậy hơn, còn ảnh chụp được dùng làm phương án dự phòng.
Tôi cần thiết lập gì trước?
Thiết bị phải được kết nối hoặc khởi động. Thiết bị Android phải xuất hiện trong danh sách thiết bị adb, còn iOS cần một simulator đang chạy hoặc thiết bị đã ghép nối.
Chi tiết
Mô tả gốc của tác giả
Control Android and iOS devices, emulators and simulators — launch apps, tap, swipe, type, take screenshots, read the accessibility tree. Use when a task involves a mobile device or app, mobile UI testing, or reproducing a bug on a phone.
repo: mobile-next/mobile-mcp
Độ phổ biến
- Sao GitHub
- 10k
- Vị trí xếp hạng
- #11994
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Skill tương tự
android-clean-architecture
280kGiúp agent của bạn tổ chức dự án Android hiệu quả, cấu trúc code để việc bảo trì và phát triển tính năng mới dễ dàng hơn.
compose-multiplatform-patterns
280kGiúp agent của bạn dùng các mẫu Compose Multiplatform và Jetpack Compose trong dự án KMP, gồm trạng thái, điều hướng, giao diện và hiệu năng.
dart-flutter-patterns
280kGiúp agent của bạn viết code cho ứng dụng Dart và Flutter. Agent dùng các mẫu hiện đại để tạo ứng dụng vững chắc và dễ quản lý.