phone_back — Claude Code prompt: what it does, how to install
The phone_back Claude Code prompt presses Back on a phone’s virtual display. If the screen stays put, it uses the app’s visible back control instead.
Apache-2.0 ★ 9,488 updated 2026-11-16
.claude/commands/phone_back.mdWhat phone_back does
The prompt presses Back on the phone’s virtual display. When that does not change the screen, it switches to the app’s visible back control rather than pressing Back again.
The result is place_changed when Back leaves the app; effect.to then identifies the app on the new screen. If the screen does not change, the result is no_effect.
What it helps with
- return to the previous phone screen
- use an app’s visible back control
- tell whether Back left the app
Example prompts for the agent
- Press Back on the phone’s virtual display.
- If nothing changes, use the app’s visible back control.
- Report whether the screen left the app and which app appears in
effect.to.
How to install phone_back
Manually: put the files in place
.claude/commands/phone_back.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about phone_back
How do I install phone_back in Claude Code?
Add the prompt file at .claude/commands/phone_back.md.
What does phone_back do?
It presses Back on a phone’s virtual display. If the screen does not change, it uses the app’s visible back control instead.
What happens if Back has no effect?
The prompt switches to the app’s visible back control instead of repeating the press. The result is no_effect if the screen remains unchanged.
Source text
phone_back.md · Apache-2.0
Press Back on the phone's virtual display. If nothing changes, use the app's visible back control instead of repeating. effect.kind is place_changed (the app in effect.to) when back left the app, no_effect when nothing changed.
© wangzan101 · Apache-2.0 · wangzan101/Mika