Chuyển đến nội dung
Skillpedia
Ứng dụng di động10k · #11994

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.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/mobile-next/mobile-mcp/blob/main/skills/mobile-automation/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

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

  1. Pick a device. Call mobile_list_available_devices and use one of the returned devices for every subsequent call. If no device is available, ask the user to connect one (Android: adb devices must show it; iOS: simulator booted or device paired).
  2. 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 to mobile_take_screenshot only when elements are missing or you need visual confirmation (games, canvas-drawn UI, image content).
  3. 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.
  4. 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_screenshot when the user wants the image as a file; mobile_start_screen_recording / mobile_stop_screen_recording for videos.
  • App crashed? mobile_list_crashes and mobile_get_crash fetch 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, then mobile_list_remote_devices / mobile_allocate_remote_device, and release with mobile_release_remote_device when 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

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Skill tương tự