mobile-automation
Android・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.
実行スコア 未検証
インストール方法を見るこんなときに便利
- スマホアプリの画面を確認したいとき
- モバイルUIをテストしたいとき
- 端末上で不具合を再現したいとき
- 画面録画やクラッシュログを取りたいとき
日本語での紹介
できること
Android・iOSの実機、エミュレーター、シミュレーターを操作し、アプリの起動や終了、タップ、スワイプ、文字入力、ボタン操作を行います。画面上の要素とラベルをアクセシビリティツリーで確認でき、要素が見つからない場合や視覚的な確認が必要な場合はスクリーンショットを使います。操作のたびに画面を再確認し、想定した変化が起きたかを確かめながら進めます。クラッシュログの確認や、画面録画にも対応します。
こんなときに便利
スマートフォン上のアプリを操作する作業や、モバイルUIのテスト、不具合の再現に向いています。入力欄への文字入力や、画面遷移を順に確かめたいときにも使えます。
使い方の例
- 「このアプリを開いて、ログイン画面まで進めて」
- 「この画面でボタンを押した後の表示を確認して」
- 「アプリのクラッシュログを確認して」
注意点
操作には利用可能な端末が必要です。Androidはadb devicesで認識される端末、iOSは起動済みシミュレーターまたはペアリング済み端末を使います。ローカル端末がない場合は、クラウド上の実機を利用できます。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
含まれるファイル(1)
- SKILL.md2.3 KB
SKILL.md(原文)
インストールする前に、エージェントに与えられる指示の中身を確認できます。
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.
レビュー
まだレビューはありません。使ってみた感想をお寄せください。
コメント
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。