mobile-automation
できること
このスキルは、AIが実際の携帯電話、エミュレーター、シミュレーターを操作できるようにします。アプリを開く、ボタンをタップするなどです。携帯電話上のバグを確認したり、再現したりする必要があるテスト担当者や開発者向けです。
使う場面
- ✓AndroidまたはiPhoneのアプリでバグを再現する必要があるとき。
- ✓AIにモバイルアプリの画面をテストさせ、見えたものを報告させたいとき。
- ✓携帯電話のアプリで、タップ、入力、スワイプを段階的に行う必要があるとき。
スキルのリンク
https://github.com/mobile-next/mobile-mcp/blob/main/skills/mobile-automation/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“エミュレーターでAndroidアプリを開き、ログイン画面まで移動して、ボタンが見えるかを教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、AIをデバイスに接続し、画面の要素の一覧を読み、そしてタップまたは入力します。各手順の後、画面が期待どおりに変わったかを確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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.
よくある質問
実機の携帯電話が必要ですか?
いいえ。このスキルは、実機だけでなく、エミュレーターやシミュレーターでも動きます。
なぜスクリーンショットではなく画面の要素を読むのですか?
要素の一覧の方が速く信頼できるためで、スクリーンショットは代わりの手段として使われると、このスキルは述べています。
最初に何を設定する必要がありますか?
デバイスが接続されているか、起動している必要があります。Androidのデバイスはadbのデバイス一覧に表示され、iOSでは実行中のシミュレーターかペアリングされたデバイスが必要です。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 10k
- ランキング
- #11994
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
似ているスキル
android-clean-architecture
280kエージェントがAndroidプロジェクトを効率よく整理できるようにします。コードを構造化して、保守や新機能の開発をしやすくします。
compose-multiplatform-patterns
280kエージェントがKMPプロジェクトでCompose MultiplatformとJetpack Composeのパターンを使えるようにします。状態管理、ナビゲーション、テーマ設定、パフォーマンスを扱います。
dart-flutter-patterns
280kエージェントがDartとFlutterのアプリ向けのコードを書けるようにします。最新のパターンを使い、堅牢で管理しやすいアプリを作ります。