Skip to main content
prompt GP ChatGPT

phone_scroll — Claude Code prompt for Android scrolling

The phone_scroll Claude Code prompt scrolls an Android app screen. Set a direction, gesture amount, or scroll region.

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_scroll.md
Open on GitHub

What phone_scroll does

The prompt scrolls content in an Android app. down reveals content further down the page, while up reveals content above; for a gesture, the finger moves the other way.

With the default amount and no coordinates, it first uses a scrollable accessibility node. If that is unavailable, it falls back to a gesture. Set an amount from 1 to 20 or provide x/y coordinates for a specific gesture or region. Repeating a scroll is valid when it reveals new content.

Stop at the end only after the page state confirms there is nothing new. An effect.kind value of no_effect together with atEnd can signal this state.

What it helps with

  • scroll an Android screen down to reveal more content
  • move back to content higher on the page
  • set a gesture amount from 1 to 20
  • scroll a specific region using x/y coordinates
  • detect the end of a page from its state

Example prompts for the agent

  • Scroll the Android app down to reveal more content.
  • Scroll the page up by an amount of 3.
  • Scroll the region at coordinates x/y.

How to install phone_scroll

Manually: put the files in place

.claude/commands/phone_scroll.md

Questions about phone_scroll

How do I install phone_scroll in Claude Code?

Add the prompt file at .claude/commands/phone_scroll.md.

What does phone_scroll do?

It scrolls an Android app screen up or down. With the default amount and no coordinates, it tries an accessibility node first, then uses a gesture if that node is unavailable.

How do I set the direction and amount in phone_scroll?

Use down to reveal content lower on the page or up to reveal content above. For a specific scroll, set an amount from 1 to 20 or provide x/y coordinates.

Source text

phone_scroll.md · Apache-2.0
Scroll in the Android app. direction=down shows content further down (the finger moves up for a gesture); up shows content further up (the finger moves down). With the default amount and no x/y, Mika first asks the scrollable accessibility node to move and falls back to a gesture if no such node is available. Give another amount (1-20) or x/y when you need a specific gesture or scroll region. Repeating a scroll can be correct when it reveals new content. Stop at the end only when the page state confirms there is no new content; effect.kind no_effect with atEnd is one signal.

© wangzan101 · Apache-2.0 · wangzan101/Mika

Similar prompts

All prompts for Mobile →

From the same set132

The whole set →
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_wait The phone_wait Claude Code prompt waits for text, an activity screen, or a settled phone display. Its Android port responds to accessibility events. 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 run_command This Claude Code prompt runs shell commands in a Linux sandbox. It can also route calls to the current task’s phone tools through mika phone. GP ChatGPT ★ 9,488repo stars

Project sponsors

Companies that keep this analytics open