pi-app — Claude Code prompt for iPhone tasks
The pi-app Claude Code prompt guides an agent through iPhone tasks using the available tools. It handles app navigation, form entry, and result checks.
AGPL-3.0 ★ 1,754 updated 2026-11-16
.claude/commands/pi-app.mdWhat pi-app does
The prompt directs an agent through tasks on an iPhone using the supplied tools. It covers sign-in, SMS verification, system dialogs, and moving between apps. Verification codes can be read from Messages or notifications.
Each action produces a fresh screen observation for the next decision. Before submitting, the agent checks the full field content and its destination. It confirms completion against visible evidence; a matching heading or sent receipt alone does not prove the requested outcome. If content is not visible, the page must be explored by scrolling.
A locked phone, or a password route instead of Face ID, requires the locally configured password. Repeating an action on the same page does not renew the step deadline.
What it helps with
- complete sign-in and enter an SMS code
- navigate between apps and fill in a field
- verify that the requested action reached its intended result
Example prompts for the agent
- Sign in to my account on the iPhone app using the code from Messages.
- Find the requested entry in the app, check the field, and submit it.
- Buy the selected item and confirm the purchase with its button.
How to install pi-app
Manually: put the files in place
.claude/commands/pi-app.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about pi-app
How do I install pi-app in Claude Code?
Place the prompt file at .claude/commands/pi-app.md.
What does pi-app do?
It guides an agent through iPhone tasks with the available tools, including app navigation, entering information, and checking outcomes.
How does pi-app verify a task is complete?
The agent compares the requested outcome with evidence on the screen. A matching heading or a sent receipt by itself is not enough.