Prepare the phone
Use a dedicated iPhone for PhysiClaw. It doesn’t need to be a flagship or the latest model. A cheap second-hand iPhone is perfectly fine.
Set up your IM app
Section titled “Set up your IM app”PhysiClaw talks to you through instant messaging.
Add your contact
Section titled “Add your contact”Sign in to your messaging app (e.g. WhatsApp) on the phone and start a chat with your own account. This is the thread PhysiClaw will use to reach you. Pin the conversation to the top of the chat list so it’s always in the same place.
Pin the app to the Dock
Section titled “Pin the app to the Dock”Drag the app icon to the Dock. That way, no matter which screen you’re on, PhysiClaw can always find and open it quickly.
Set up the Shortcuts
Section titled “Set up the Shortcuts”Run this in your computer’s terminal:
physiclaw test-assistive-touchThis prints your computer’s hostname in the terminal and automatically opens a test page in your browser to verify screenshot uploads and clipboard transfer.
Upload a screenshot
Section titled “Upload a screenshot”Capture the current screen and upload it directly to the computer so the agent can inspect a sharper image.
-
In the Shortcuts app, tap + to create a new one.
-
Add Take Screenshot.
-
Add Get Contents of URL:
- URL:
http://<hostname>.local:8049/api/bridge/screenshot - Show More → Method POST, Request Body File, File → the output of the previous Take Screenshot action
- URL:
-
Rename it to
PhysiClaw Upload Screenshot.
Copy to clipboard
Section titled “Copy to clipboard”The agent sends text to the phone’s clipboard and pastes it. That’s faster and more reliable than tapping it out key by key with the stylus.
-
In the Shortcuts app, tap + to create a new one.
-
Add Get Contents of URL, with URL
http://<hostname>.local:8049/api/bridge/clipboardand Method GET. -
Add Copy to Clipboard, with its input set to the previous step’s Contents of URL.
-
Rename it to
PhysiClaw Clipboard.
Turn on AssistiveTouch
Section titled “Turn on AssistiveTouch”AssistiveTouch is the floating on-screen button in iOS. The arm taps it once to capture and upload a screenshot, or long-presses it to copy text to the clipboard.
-
Settings → Accessibility → Touch → AssistiveTouch → turn it on.
-
Under Custom Actions, set:
- Single-Tap → PhysiClaw Upload Screenshot
- Long Press → PhysiClaw Clipboard
Verify the setup
Section titled “Verify the setup”- Tap AssistiveTouch once. Check that the computer’s page shows a screenshot of your iPhone’s current screen.
- Long-press AssistiveTouch, then paste into Notes on your iPhone. Check that the text matches the code on the test page.
Set the passcode
Section titled “Set the passcode”PhysiClaw can unlock the phone itself, but it only ever uses one fixed passcode: 111111. A dedicated passcode keeps your usual passcode from leaking through logs or config files. Set this phone’s passcode to 111111:
Settings → Face ID & Passcode → Turn Passcode On → enter 111111
Fix the screen brightness
Section titled “Fix the screen brightness”The camera tunes its exposure time to the screen’s brightness. Auto-Brightness can leave the camera’s view over- or under-exposed. Turn it off and set a fixed brightness of 50% or higher.
Settings → Accessibility → Display & Text Size → Auto-Brightness → off
Allow pasting from other apps
Section titled “Allow pasting from other apps”PhysiClaw uses Shortcuts to copy text to the clipboard and paste it into WhatsApp to talk with you, or into Amazon and Walmart to search for products. If a prompt asks you to confirm pasting every time, adjust this setting to skip it:
Settings → [App Name] → Paste from Other Apps → Allow