Answer Claude Code's permission prompts from your phone
このコンテンツはまだ日本語訳がありません。
You start Claude Code on a cloud server in a herdr pane, give it a task and walk away. Ten minutes later it wants to run npm install or edit a file, so it stops and asks. Nothing happens until you answer. With a laptop you would come back to a prompt that has been waiting since you left.
Hmob is built around that moment. This post shows how it knows an agent is waiting, how you see what the agent is asking, and how you answer it from an iPhone, an iPad or an Android phone. Codex works the same way.
It describes the hmob gateway 1.3.0, Hmob 1.2 for iPhone and iPad, the Android beta 1.2.0 and herdr 0.9.5. The wording of the prompts comes from Claude Code and Codex and changes between their versions.
What you need
Section titled “What you need”- herdr on the host, with the agent running in a herdr pane.
- The hmob gateway next to it, reachable from the phone over Tailscale, WireGuard or a relay in your own Cloudflare account. Choose a setup takes about ten minutes.
- Hmob on the phone, paired once by scanning the QR code from
hmob pair.
How Hmob knows an agent is waiting
Section titled “How Hmob knows an agent is waiting”herdr tracks the state of each agent it runs: working, blocked, idle or done. An agent that stops at a permission prompt is blocked. The gateway reads these states from herdr, by listing the agents and by following herdr’s status-change events, and the app shows them next to every agent: Working, Needs you, Idle and Finished.
Hmob does not parse the agent’s screen to guess its state. If herdr says an agent is blocked, Hmob says it needs you.
While the app is open and connected, it also notifies you: “needs you” with a sound, “is done” silently. It cannot wake a locked phone, so an agent that blocks while the phone is in your pocket shows up the next time you open Hmob, at the top of the inbox.
The inbox: read the question, answer it
Section titled “The inbox: read the question, answer it”On iPhone and iPad, the bell in the terminal toolbar opens the inbox, and its badge counts the agents that need you. The inbox lists the blocked agents first, then the finished ones, then those still working. The Android beta has the same inbox and the same buttons.
Each blocked agent gets a card with a live snapshot of its pane. That is the part that matters: you read the actual prompt, the command Claude Code wants to run or the file it wants to edit, before you answer. Under the snapshot are five buttons, each sent to the pane as keystrokes:
| Button | Sends | In Claude Code | In Codex |
|---|---|---|---|
| Allow | Enter | Picks the selected option, Yes: this action only | Picks the selected option, Yes, proceed |
| Deny | Esc | No, and tell Claude what to do differently | No, and tell Codex what to do differently |
| 1 | 1 |
The first option, Yes | The first option |
| 2 | 2 |
The second option, usually “Yes, and don’t ask again” for similar actions | The second option |
| y | y |
Yes, proceed |
Read the snapshot before you tap 2: the second option is broader than the first, and its exact wording depends on the action and the version. When an agent asks something else, such as a yes/no question or a choice between plans, the same buttons answer it, because they only send keys.
When the answer is not a yes
Section titled “When the answer is not a yes”Deny stops the action, and Claude Code then waits for you to say what to do instead. Tap the card’s header to open the agent’s pane, then write the instruction. The compose panel is easier than the keyboard for anything longer than a few words: it sends the whole text to the pane and presses Return after it, which you can turn off.
The key bar has what the agents’ own shortcuts need:
- esc to interrupt an agent that is going the wrong way, and ^C to stop a command.
- The arrows, to move through a list of options before ↵.
- tab with shift (on the arrow row) for Shift+Tab, which cycles Claude Code’s permission modes, for example to accept edits for the rest of the session.
- / to type a slash command. On iPhone and iPad it suggests the agent’s built-in commands, and with gateway 1.2 or later your own commands and skills too.
Swipe left or right to move between tabs, with two fingers between panes, and swipe in from the left edge to go back.
A routine that works
Section titled “A routine that works”- Start the agents on the host as usual, each in its own herdr pane or tab.
- Leave. When you have a minute, open Hmob: the bell tells you whether anything is waiting.
- In the inbox, read each card’s snapshot and tap Allow or Deny. Open the pane only when you need to write something.
- Finished agents are in the inbox too. Open one to read what it did, or browse the files it wrote in the file browser.
On an iPad, Split View keeps Hmob next to whatever else you are doing, so the inbox is a glance away.
Nothing in between
Section titled “Nothing in between”Your answers go from the phone to your own gateway and from there into the pane, as keystrokes through herdr. There is no Hmob account or Hmob server. A direct connection trusts only your gateway’s certificate, which the app learned from the QR code; a relay you deploy yourself sees only end-to-end encrypted messages. No SSH server or SSH keys are involved.
Get Hmob on the App Store, download the Android beta, or try the demo without a host: on the pairing screen, tap Try the demo (no host needed).