本文へスキップ
Skillpedia
モバイルアプリ5.2k · #15026

agent-device

できること

agent-deviceのコマンドラインツールを使い、アプリを開き、画面を読み取り、タップ、入力、スクロールを行います。AIにモバイルアプリの動作を確認させたい開発者やテスターが対象です。

使う場面

  • ✓電話やシミュレーターでアプリを開き、画面を一通り操作させたいとき。
  • ✓実機でモバイルアプリの変更を使って確認したいとき。
  • ✓モバイルアプリのバグのスクリーンショットや詳細が欲しいとき。

スキルのリンク

https://github.com/callstack/agent-device/blob/main/skills/agent-device/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/callstack/agent-device/blob/main/skills/agent-device/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“iOSシミュレーターでアプリを開き、テスト用のアカウントでログインして、設定画面が読み込まれるか教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントはアプリを開き、画面をターゲットの一覧として読み取り、それらに対して操作します。各ステップの後に変化を読み、依頼された結果を確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

agent-device

For a normal app-driving task, start immediately. Do not probe first with --help, --version, devices, appstate, snapshot, or screenshot:

agent-device open <app> --foreground

That starts the session and returns the initial interactive snapshot with @refs.

Loop: act with press|click|fill|longpress <target> ... --settle, scroll <direction> --settle, or back --settle; continue from the printed diff, verify the named expectation (wait text "...", is, get, or find), then run agent-device close, or agent-device close --shutdown if your session booted a local simulator or emulator, unless the user asks to keep it running.

Reaching an off-screen target is one command, not a scroll-and-check loop: scroll down --until <selector> scrolls until that element is on screen, and scroll bottom runs to the end of the content. Repeated bare scroll down calls are the slow way to find something.

Copy refs byte-for-byte: @e12, @e12~s4 — keep the @ and any ~sN. Prefer current refs, then id/label/role selectors; coordinates are a last resort. If snapshot reports sparse/AX-unavailable, its refs and selectors are invalid: run agent-device screenshot, inspect the image, use coordinates, then retry snapshot -i after navigating. Otherwise run snapshot -i only when the diff lacks the next target.

Error output includes corrective hints; follow them instead of re-planning. Only when the task is specialized (for example gestures, scripting, TV, macOS, remote, or debugging) or a command shape is unclear, run agent-device help <topic>. agent-device --help lists topics, but is not a startup step.

To capture network traffic on a Limrun session, see agent-device help remote or the Limrun docs.

よくある質問

エージェントが使う前に、ツールを導入する必要がありますか?

はい。エージェントが使う前に、agent-deviceのコマンドラインツールをあなた自身で導入します。

TVアプリにも対応していますか?

はい。TVのリモコンと、Android TV、Fire TV、Amazon Vega OS TVのアプリを扱います。

作業の後、シミュレーターは終了されますか?

セッションがシミュレーターやエミュレーターを起動した場合、終了時にそれを終了します。ただし、起動したままにするよう頼んだ場合は除きます。

詳細

作者による元の説明

Automates Apple-platform apps (iOS, tvOS, macOS), Android devices (including Android TV and Fire TV on Fire OS), and Amazon Vega OS TV apps in Vega Virtual Devices. Use when navigating apps, taking snapshots/screenshots where supported, driving TV remotes, tapping, typing, scrolling, extracting UI info, collecting evidence, or planning agent-device CLI commands.

repo: callstack/agent-device

人気

GitHubのスター
5.2k
ランキング
#15026
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル