Skip to content

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.

PhysiClaw talks to you through instant messaging.

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.

Drag the app icon to the Dock. That way, no matter which screen you’re on, PhysiClaw can always find and open it quickly.

Run this in your computer’s terminal:

bash
physiclaw test-assistive-touch

This prints your computer’s hostname in the terminal and automatically opens a test page in your browser to verify screenshot uploads and clipboard transfer.

Capture the current screen and upload it directly to the computer so the agent can inspect a sharper image.

  1. In the Shortcuts app, tap + to create a new one.

  2. Add Take Screenshot.

  3. 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
  4. Rename it to PhysiClaw Upload Screenshot.

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.

  1. In the Shortcuts app, tap + to create a new one.

  2. Add Get Contents of URL, with URL http://<hostname>.local:8049/api/bridge/clipboard and Method GET.

  3. Add Copy to Clipboard, with its input set to the previous step’s Contents of URL.

  4. Rename it to PhysiClaw Clipboard.

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.

  1. Settings → Accessibility → Touch → AssistiveTouch → turn it on.

  2. Under Custom Actions, set:

    • Single-Tap → PhysiClaw Upload Screenshot
    • Long Press → PhysiClaw Clipboard
  1. Tap AssistiveTouch once. Check that the computer’s page shows a screenshot of your iPhone’s current screen.
  2. Long-press AssistiveTouch, then paste into Notes on your iPhone. Check that the text matches the code on the test page.

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

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

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