InstantPing

InstantPing / Guides

Approve Claude Code permission requests from your phone

Updated 2026-12-04

Claude Code asks for permission before it runs a command, edits a file or calls a tool. If you are not at your computer, it simply waits. InstantPing's Approve from phone sends that request to your phone with the command shown, so you can allow or deny it from wherever you are. It is optional, on by default for app users, and coming with the next InstantPing app update, as part of InstantPing Pro.

How it works

  1. Claude Code is about to ask for permission. A small PermissionRequest hook on your computer checks whether you are away: no keyboard or mouse use for 30 seconds by default.
  2. If you are away, the hook sends the tool name and the command to the InstantPing relay, which pushes it to your phone.
  3. You tap Allow, Allow for this session or Deny. The answer goes back to your computer once, and Claude Code carries on or stops.

If you are at your computer, nothing changes: you answer in the terminal as always, and the phone is not involved.

What you see on your phone

The safety rules

What leaves your computer

Only with this switched on: the tool name and the command or file path (up to 300 characters) travel through the InstantPing relay and the push services of Expo, Apple and Google to reach your phone. They are not saved in your ping history, and they are deleted as soon as you answer or after 2 minutes. InstantPing does not read your code, prompts or files. The details are in the privacy policy.

How to turn it on

  1. Update the InstantPing app and pair your phone with npx instantping setup. That turns Approve from phone on, in the app and on your computer.
  2. Paired before the update? Open the app settings and switch on Approve from phone.
  3. Then, on your computer, run this once. It installs the hook; without it, nothing is asked on your phone:
    npx instantping config approve on

To turn it off again, switch it off in the app and run npx instantping config approve off. To change the 30 seconds, use npx instantping config awaySeconds 60.

What it does not do

The hook behind it

Claude Code runs a PermissionRequest hook just before it shows a permission dialog and lets the hook answer allow or deny. The JSON each hook receives is described in the hook input reference. For plain notifications without answering, see Claude Code push notifications on your phone.

Frequently asked questions

Can I approve Claude Code permission requests from my phone?

Yes, with InstantPing's Approve from phone, which arrives with the next app update. When you are away from your computer, a permission request reaches your phone with the command and you tap Allow, Allow for this session or Deny.

Does it approve things while I am sitting at my computer?

No. The request goes to your phone only when the computer has had no keyboard or mouse input for 30 seconds (you can change that), and it stops waiting as soon as you use the computer again.

What happens if I do not answer on my phone?

After 2 minutes the hook gives up and the normal permission prompt stays in your terminal, waiting for you. Nothing is approved automatically.

Is it safe to allow commands from my phone?

On an iPhone, Allow needs Face ID or your passcode. Allow for this session is offered only when Claude Code suggests it and never for risky commands such as rm -rf, sudo or git push --force. Each request accepts one answer from your paired phone only.

What does InstantPing see of my commands?

Only with Approve from phone switched on: the tool name and the command (up to 300 characters), passed through the relay to your phone and deleted after your answer or after 2 minutes. They are not kept in your history.