phone_app_after_task — Claude Code prompt: what it does
The phone_app_after_task Claude Code prompt marks whether a phone app should stay open or close when a task ends. Apps playing sound or video close by default.
Apache-2.0 ★ 9,488 updated 2026-11-16
.claude/commands/phone_app_after_task.mdWhat phone_app_after_task does
The prompt records what should happen to an opened app after a task. Normally, the app stays in the background on the page where it was left. An app playing audio or video is closed instead.
The keep mark leaves the app running, including during playback. close marks an app for closure when requested or when it was opened for a one-time sign-in or brief check. Marking an app does not change its state right away, and a new mark replaces the previous one for that app.
What it helps with
- keep a phone app open after a task
- close an app used for a one-time sign-in
- leave music or video playing
Example prompts for the agent
- Keep the music app open after this task.
- Close the app after the one-time sign-in.
- Mark the video app to keep playing when the task ends.
How to install phone_app_after_task
Manually: put the files in place
.claude/commands/phone_app_after_task.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about phone_app_after_task
How do I install phone_app_after_task in Claude Code?
Place the prompt file at .claude/commands/phone_app_after_task.md.
What does phone_app_after_task do?
It marks an opened app to stay open or close when a task ends. The mark itself does not change the app immediately.
What happens to an app playing audio or video?
It closes by default when the task ends. A keep mark leaves it running.
Source text
phone_app_after_task.md · Apache-2.0
Choose what happens to an app on your display when this task ends. By default every app you opened stays open in the background on the phone, on the page where you left it (the user finds it in recent apps, and the next task continues from there), except an app that is playing sound or video at that moment, which is closed. Mark keep when the user wants the app to keep running after you are done (keep playing the music or the video), even while it plays. Mark close when the user asks you to close it, or when leaving it open makes no sense (a one-time sign-in or a page you opened only to check something). It only marks the app; nothing changes now. Marking the same app again replaces the earlier mark.
© wangzan101 · Apache-2.0 · wangzan101/Mika