# How to approve Claude Code permissions from your phone

> Source: <https://dev.to/viswa_jagadeesan_cdcc69d3/how-to-approve-claude-code-permissions-from-your-phone-28nj>
> Published: 2026-12-03 16:06:12+00:00

**Key takeaway:** Claude Code's PermissionRequest hook can route approval prompts to a phone, returning immediately when no client is connected so default terminal behavior is unchanged.

You give Claude Code a big task, go make coffee, and come back twenty minutes later to find it stopped after thirty seconds on:

**Allow this?** `npm test`

Everyone who runs Claude Code for long tasks knows this. The fix is to answer the prompt wherever you are. This post shows how I do it with a free tool I built, **Mirror for Claude**, and how it works under the hood.

`AskUserQuestion` box), not only yes/no.
Claude Code has a `PermissionRequest` hook. Mirror installs a small hook script (plain Node, no npm packages) that:

With no player open the hook returns at once and Claude Code asks as it always does. Nothing is sent anywhere unless you turn on the phone link.

The phone connects in one of two ways:

There is also an Android app with a home-screen widget, a quick-settings tile and push alerts. On iPhone, add the page to the home screen.

`Install.cmd` / `Install.command` / `./install.sh`.
The installer keeps your other settings, makes a backup of `~/.claude/settings.json` first, and `Uninstall` removes everything.

Mirror is for when you run several chats, also want questions and live steps, and want it to stay on your computer.

It's free for personal use, in beta, and I'd love feedback:

[https://github.com/viswa-jagadeesan-personal/mirror-for-claude](https://github.com/viswa-jagadeesan-personal/mirror-for-claude)

*Mirror for Claude is an independent project, not made by Anthropic.*
