Skip to main content
prompt GP ChatGPT

phone_wait — Claude Code prompt: what it does and how to install

The phone_wait Claude Code prompt waits for text, an activity screen, or a settled phone display. Its Android port responds to accessibility events.

Apache-2.0 ★ 9,488 updated 2026-11-16

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/phone_wait.md
Open on GitHub

What phone_wait does

The prompt waits for text to show up or vanish, for a target Activity to open, or for the phone display to settle. Invoke it after an action that begins loading, rather than checking the screen at fixed intervals.

Set a condition tied to the result you need, such as specific text or an Activity. A stability timeout alone does not establish that the screen is unusable: animations, video, and timers can keep running. After a bounded wait, inspect the screen and continue if the target is visible.

What it helps with

  • wait for a label to appear on the phone screen
  • wait for a loading indicator to disappear
  • wait for a target Activity to open
  • continue once the target is visible even if an animation keeps running

Example prompts for the agent

  • Wait until the phone shows the text “Done”.
  • Wait for the loading indicator to disappear.
  • Wait for the results Activity to open, then continue.

How to install phone_wait

Manually: put the files in place

.claude/commands/phone_wait.md

Questions about phone_wait

How do I install phone_wait in Claude Code?

Save the prompt as .claude/commands/phone_wait.md.

What does phone_wait do?

It waits for text to appear or disappear, a target Activity to open, or the phone screen to settle after an action starts loading.

Does a stability timeout mean the screen is unusable?

No. Animation, video, or timers may continue; after a bounded wait, continue if the target is visible.

Source text

phone_wait.md · Apache-2.0
Wait for text to appear or disappear, an activity class to open, or the phone screen to become stable. The Android port wakes on accessibility events. Use this after an action that starts loading instead of repeatedly observing at a fixed interval.

Prefer appear/disappear/activity conditions for the result you actually need. A stability timeout does not prove the screen is unusable: animation, video and timers may never stop. After a bounded wait, observe and continue if the intended target is identifiable; do not loop on stable waits for decorative motion.

© wangzan101 · Apache-2.0 · wangzan101/Mika

Similar prompts

All prompts for Mobile →

From the same set132

The whole set →
web_run_site_command The web_run_site_command Claude Code prompt runs a named command for the current site to extract structured data from an open page. Open the target page first. GP ChatGPT ★ 9,488repo stars press_key press_key — a prompt for Claude Code presses navigation and editing keys on the current screen. Its result describes the interface change and reports a new location when the screen changes. GP ChatGPT ★ 9,488repo stars task_memory_search The task_memory_search prompt for Claude Code finds summaries of earlier tasks across conversations. Search by task wording, then narrow results by app package or start date. GP ChatGPT ★ 9,488repo stars spawn_agent The spawn_agent Claude Code prompt sends a child agent to investigate a bounded question. It returns a short observation; that result alone does not finish the main task. GP ChatGPT ★ 9,488repo stars phone_scroll The phone_scroll Claude Code prompt scrolls an Android app screen. Set a direction, gesture amount, or scroll region. GP ChatGPT ★ 9,488repo stars phone_open_link The phone_open_link Claude Code prompt opens an Android page on the virtual display from a settings action or URI. Request a target page directly instead of navigating through the app. GP ChatGPT ★ 9,488repo stars phone_observe The phone_observe Claude Code prompt reads a phone’s virtual display and its accessibility tree. The agent can locate a control or dialog before tapping it. GP ChatGPT ★ 9,488repo stars phone_collect phone_collect — a prompt for Claude Code and ChatGPT reads text across consecutive Android app screens with local scrolling. It gathers long chat logs, feeds, and lists while merging overlapping lines. GP ChatGPT ★ 9,488repo stars

Project sponsors

Companies that keep this analytics open