cd /news/ai-agents/how-to-approve-claude-code-permissio… · home › topics › ai-agents › article
[ARTICLE · art-181149] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

How to approve Claude Code permissions from your phone

A developer built Mirror for Claude, a free tool that lets users approve Claude Code permission prompts, including AskUserQuestion dialogs, from a phone instead of at the terminal. It installs a small Node-based PermissionRequest hook that returns immediately when no player is connected, and offers a phone link plus an Android app with a home-screen widget, quick-settings tile and push alerts. The project is in beta, free for personal use, and not affiliated with Anthropic.

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.

by read1 min views9 publishedDec 3, 2026

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 Mirror for Claude is an independent project, not made by Anthropic.

── more in #ai-agents 4 stories · sorted by recency
── more on @claude code 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-to-approve-claud…] indexed:0 read:1min 2026-12-03 · —