Skip to main content
prompt GP ChatGPT

phone_clipboard_file — Claude Code prompt: what it does

The phone_clipboard_file Claude Code prompt sends a text file containing a secret to a phone. It takes the file’s absolute path instead of secret text in the request.

MIT ★ 395 updated 2026-11-16

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

What phone_clipboard_file does

The prompt reads the named file and sends its text straight to the phone through Persona. The secret stays out of the request, and phone_clipboard_get must not be used to read it back.

The result reports the file size and, once it reaches a configured threshold, its last four characters. The file must belong to the user, sit inside their home directory, and contain UTF-8 text; a size limit also applies.

What it helps with

  • send an API key from a computer to a phone
  • transfer a token without putting it in a prompt
  • send a password or private key stored in a text file

Example prompts for the agent

  • Send the contents of /home/me/secret.txt to my phone.
  • Transfer the API key in /home/me/api-key.txt to my phone without showing it to me.
  • Send the token from /home/me/token.txt to my phone through Persona.

How to install phone_clipboard_file

Manually: put the files in place

.claude/commands/phone_clipboard_file.md

Questions about phone_clipboard_file

How do I install phone_clipboard_file in Claude Code?

Create .claude/commands/phone_clipboard_file.md and put the prompt contents in that file. Then ask Claude Code to send a secret from a text file to the phone.

What does phone_clipboard_file do?

It reads a text file by its absolute path and sends the contents to a phone through Persona. The result includes the file size and, once a configured threshold is reached, the final four characters.

What does phone_clipboard_file need to work?

It needs a user-owned UTF-8 text file inside the home directory and Persona to deliver the contents to the phone. The file is subject to a size limit.

Source text

phone_clipboard_file.md · MIT
{{.Description}}

For a secret (an API key, a token, a password, a private key), pass file instead of text: the absolute path of a text file on the computer you run on. Persona reads the file and sends its text straight to the phone, so the secret never passes through you. Do not read the file yourself, never put a secret in text, and do not read it back with phone_clipboard_get. The result gives only its size and, when it is at least {{.TailMin}} characters long, its last 4 characters. The file must be your own, inside your home directory, and UTF-8 text of at most {{.MaxKiB}} KiB.

© nwverse · MIT · nwverse/persona

Similar prompts

Prompts catalog →

From the same set61

The whole set →
snapshot_agents snapshot_agents — a prompt for Claude Code and ChatGPT formats a snapshot of agent sessions. It shows labels, machines, session IDs, and any available links, notes, closeouts, and plans. GP ChatGPT ★ 395repo stars snapshot_closeout The snapshot_closeout Claude Code prompt reports whether a change was merged and deployed. It compares a self-reported status with information from hub. GP ChatGPT ★ 395repo stars transcription_setting The transcription_setting Claude Code prompt reports and changes the default transcription mode for new meeting recordings. It covers device processing and the hub service. GP ChatGPT ★ 395repo stars room_heard The room_heard prompt for Claude Code and ChatGPT picks the latest question addressed to Persona or the owner. It uses meeting lines from the 45 seconds before the tap. GP ChatGPT ★ 395repo stars minutes_merge_input The minutes_merge_input Claude Code prompt formats meeting data as structured minutes. It separates the meeting into parts and groups notes into points, decisions, tasks, and open questions. GP ChatGPT ★ 395repo stars next_message The next_message prompt for Claude Code and ChatGPT predicts a likely next user message in an AI chat. It reads only the latest turns and writes in the user's voice. GP ChatGPT ★ 395repo stars just_me The just_me Claude Code prompt adds meeting context to the owner’s private question. The reply stays on the meeting page for the owner and is neither spoken aloud nor sent to others. GP ChatGPT ★ 395repo stars room_photo The room_photo Claude Code prompt processes a photo shared in a meeting room. It sends a meeting note about the image to meeting_photo_note, then stays silent. GP ChatGPT ★ 395repo stars

Project sponsors

Companies that keep this analytics open