Skip to main content
prompt GP ChatGPT

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

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

What 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.md

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

Similar prompts

Prompts catalog →

From the same set132

The whole set →
history_read The history_read Claude Code prompt retrieves details from earlier conversation turns. Use it to resume an interrupted task without collecting the same findings again. GP ChatGPT ★ 9,488repo stars phone_call_dial phone_call_dial — a prompt for Claude Code and ChatGPT dials an explicit cellular number. Speech handling after connection passes to a locally configured Volcengine assistant. GP ChatGPT ★ 9,488repo stars ask_user The ask_user Claude Code prompt asks for missing details or a decision. Short answer choices appear as buttons. GP ChatGPT ★ 9,488repo stars inline-screen inline-screen — a prompt for Claude Code and ChatGPT that guides agents through handling differential screen updates after UI actions. GP ChatGPT ★ 9,488repo stars memory_save memory_save — a prompt for Claude Code and ChatGPT saves user instructions and preferences for later tasks. It triggers on phrases like "remember this" or "always do it this way". GP ChatGPT ★ 9,488repo stars memory_edit The memory_edit prompt for Claude Code and ChatGPT edits or deletes saved memory only after a direct request in the current message. It searches for the entry before changing it. GP ChatGPT ★ 9,488repo stars phone_add_calendar_event phone_add_calendar_event — a prompt for Claude Code opens the calendar app new-event screen on a virtual phone display. GP ChatGPT ★ 9,488repo stars type_text The type_text Claude Code prompt enters text into a chosen field. It can submit the field and check what appeared there. GP ChatGPT ★ 9,488repo stars

Project sponsors

Companies that keep this analytics open