Skip to main content
prompt GP ChatGPT

phone_share_text — Claude Code prompt: what it does, how to install

phone_share_text — a prompt for Claude Code and ChatGPT sends text into an installed Android app by package name. It opens the target app share screen on the phone virtual display with the text prefilled.

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

What phone_share_text does

The prompt triggers an Android text share intent to an app by its exact package name. It opens the share interface on the phone's virtual display with the text already filled in. This helps when an app screen cannot be read or does not accept direct typing.

The prompt does not send the message on its own. You pick the recipient on screen and tap confirm manually. If the target app cannot accept shared text, the prompt returns cannot_share, meaning you must open the app and type directly. When Android asks which target or cloned app to choose, it returns ok:true with the prompt on screen so you can make the choice without triggering a second share.

What it helps with

  • send text to an Android app using its package name
  • paste content into screens that block direct typing
  • trigger the Android share dialog on a virtual display

Example prompts for the agent

  • Share the text "Meeting at 3 PM" to org.telegram.messenger
  • Send the contents of summary.txt to com.google.android.keep

How to install phone_share_text

Manually: put the files in place

.claude/commands/phone_share_text.md

Questions about phone_share_text

How to install phone_share_text in Claude Code?

Save the prompt file to .claude/commands/phone_share_text.md.

What does phone_share_text do?

It launches the native Android share interface for a target package and inserts the specified text.

Does phone_share_text send messages automatically?

No, it only opens the share screen. You must pick the target recipient and tap send manually on the virtual display.

Source text

phone_share_text.md · Apache-2.0
Share a piece of text to an installed app by exact package name: opens that app's share screen on the phone's virtual display with the text filled in (an Android text share). Use it to send or post text into an app (a message to a contact, a note), especially when the app's screen cannot be read or typed into. It does not send anything: on the share screen, pick the recipient or destination and tap its send or confirm button yourself, then check the result. If the app cannot receive shared text, it returns cannot_share: open the app and type instead. If the system asks which one to use (an app installed twice, or several share targets), it returns ok:true with that question on screen: pick the option the task needs, and do not share again.

© wangzan101 · Apache-2.0 · wangzan101/Mika

Similar prompts

All prompts for Mobile →
Sms Gateway using your phone sms8 Sms Gateway using your phone connects real Android phones via SMS8.io to AI coding assistants for sending SMS, handling webhooks, and extracting OTP codes during automated flows. CX Codex +1 1,800installs Buddy phone tools ghorbelhamdi Buddy phone tools is an MCP server for Claude Code that connects an agent to an Android phone through Buddy. It runs when the agent needs to inspect the display or control an app. CX Codex +1 ★ 314repo stars phone-harness DuskBotAI phone-harness is a Claude Code skill that automates Android device control via USB debugging. It performs taps, text entry, and screenshots within mobile apps. CX Codex +1 ★ 567repo stars open-autoglm-phone-agent reason-machines open-autoglm-phone-agent — a skill for Claude Code, Codex, Cursor and other IDEs that teaches your agent to set up Open-AutoGLM, an AI phone agent framework controlling Android, HarmonyOS NEXT and iOS via the AutoGLM vision-language model. CX Codex +1 1,400installs recipe-share-event-materials official googleworkspace The recipe-share-event-materials skill reads Google Calendar attendees and gives them reader access to a Google Drive file. Use it when meeting materials need to reach every guest. CX Codex +1 30,700installs android-device-automation web-infra-dev android-device-automation — a skill for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode controls Android devices via ADB with natural language commands. CX Codex +1 5,900installs

From the same set132

The whole set →
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 app_classifier The app_classifier prompt for Claude Code and ChatGPT assigns Android apps to categories based on their main purpose. Give it app labels and package names to get a JSON classification. GP ChatGPT ★ 9,488repo stars root_run_command root_run_command — a prompt for Claude Code runs shell commands on Android with root privileges. Used when interacting with device system files. GP ChatGPT ★ 9,488repo stars phone_set_alarm The phone_set_alarm Claude Code prompt sets a phone alarm through Android’s standard alarm action without opening the clock app’s screens. Each alarm needs a separate call. GP ChatGPT ★ 9,488repo stars route_decision route_decision — a Claude Code prompt that selects an existing execution route matching the current request. It evaluates saved route templates against the query without generating new actions. GP ChatGPT ★ 9,488repo stars

Project sponsors

Companies that keep this analytics open