share_file — Claude Code prompt: what it does, how to install
The share_file Claude Code prompt moves a file from /workspace to the phone’s Download/Mika folder and presents it as a file card. Exported images can also go back to an image-capable messaging conversation when the task ends.
Apache-2.0 ★ 9,488 updated 2026-11-16
.claude/commands/share_file.mdWhat share_file does
The prompt copies a file from /workspace into Download/Mika on the phone, then displays a file card. The size limit is 100 MB.
For tasks started through an image-capable messaging channel, exported PNG, JPEG, GIF, and WebP files are sent to the same conversation when the task finishes. A screenshot the agent only inspected stays local; the intended image must be saved and shared explicitly. In Claude Code, install the prompt at .claude/commands/share_file.md.
What it helps with
- send a result from
/workspaceto the phone - display a delivered file as a card
- return an exported image to the messaging thread
Example prompts for the agent
- Send the finished file from
/workspaceto my phone’s downloads. - Save the exported image and send it back in this conversation.
- Show the file from
/workspaceas a card.
How to install share_file
Manually: put the files in place
.claude/commands/share_file.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about share_file
How do I install share_file in Claude Code?
Add the prompt file at .claude/commands/share_file.md.
What does share_file do?
It moves a file from /workspace to the phone’s Download/Mika folder and displays a file card. The file limit is 100 MB.
Which images does share_file send back to a conversation?
For tasks from an image-capable messaging channel, it sends exported PNG, JPEG, GIF, and WebP files. Screenshots that were only inspected are not sent automatically.
Source text
share_file.md · Apache-2.0
Save a file from /workspace to the phone's Download/Mika folder (at most 100 MB) and show it to the user as a file card. Use it to hand results to the user. For a task received through an image-capable messaging channel, exported PNG, JPEG, GIF and WebP images are also sent back to that conversation when the task finishes. Screenshots that you only inspect are not sent; save and share the intended image explicitly.
© wangzan101 · Apache-2.0 · wangzan101/Mika