Answer Claude Code from your iPhone
When Claude Code stops to ask you something, Hwip sends the question to your iPhone and types your answer back into the same tmux session.
What reaches your phone
- Questions. Claude Code asks through the
hwip_asktool: up to four buttons and a text field. Its ownAskUserQuestionsends a push too. - Permission prompts. When a session waits on "Bash command", "Edit file" or "Create file", the phone shows the tool, the command or diff, and the numbered options. If you answer at the keyboard first, the phone's answer is refused.
- A finished turn. When you are away from the keyboard, a push with Claude's last summary.
- The live timeline. Prompts, tool calls, replies and Claude's to-do list, read from its transcript.
Set it up
- Install Hwip on your iPhone and sign in.
- On your Mac:
npm install -g @hwip/cli && hwip install. For Claude Code this installs the Hwip plugin: hooks and an MCP server. - Start Claude Code through Hwip:
hwip cc. It runs in a normal tmux session namedhwip-<project>, and arguments pass through:hwip cc --resume.
What a question carries
The session's git diff against HEAD and its last 60 terminal lines. Secret-looking text is masked first, best effort. Everything is sealed on your Mac with AES-256-GCM before it is sent.
What it doesn't do
- Other dialogs come without details. Plan approvals and MCP prompts show only that the session is waiting on you.
- tmux is required. On Windows, that means WSL.
- Claude Code has its own remote control. If Claude Code is the only agent you run, use it. Hwip is for running Claude Code next to Codex, pi or Gemini CLI.