phone_find — Claude Code prompt for app search
The phone_find Claude Code prompt scrolls a mobile app and searches its accessibility tree for text, a resource ID, or a role. It stops if the app changes or the content no longer moves.
Apache-2.0 ★ 9,488 updated 2026-11-16
.claude/commands/phone_find.mdWhat phone_find does
phone_find scrolls the current mobile app until it finds matching text, a resource ID, or a role in the accessibility tree. It checks each screen and returns the current ref along with its parent context.
Use it to locate an item above or below the current position in a long list. maxScrolls sets a ceiling, not a fixed number of scroll actions. The search also stops when the app changes or the content stops moving.
What it helps with
- find text in a long mobile app list
- locate an item by resource ID
- search the accessibility tree by role
- retrieve a found element’s ref and parent context
Example prompts for the agent
- Find “Settings” in the current app by scrolling through the long list.
- Locate the button with resource ID
settings_buttonand return its ref and parent context. - Find a
buttonrole farther down the current list.
How to install phone_find
Manually: put the files in place
.claude/commands/phone_find.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about phone_find
How do I install phone_find in Claude Code?
Save the prompt file at .claude/commands/phone_find.md.
What does phone_find do?
It scrolls the current mobile app and searches its accessibility tree for text, a resource ID, or a role. It returns the matching ref and parent context.
When does phone_find stop scrolling?
It stops if the app changes or the content no longer moves. maxScrolls is a limit, not a preset number of scroll actions.
Source text
phone_find.md · Apache-2.0
Scroll the current phone app until text, a resource ID, or a role is found in its accessibility tree. Check each resulting screen, stop if the app changes or content stops moving, and return the current ref and parent context. Use for a target further up or down a long list. maxScrolls is a limit, not a fixed action plan.
© wangzan101 · Apache-2.0 · wangzan101/Mika