Allow or deny permission requests from Claude Code, Codex and your own scripts, from your phone.
On the Mac or Linux computer where your agents run:
curl -fsSL https://plainworkapprovals.duckdns.org/approvals/install.sh | sh
It installs the hooks for Claude Code and Codex if they are present, then shows a QR code. Open the app, tap Scan QR code, and you are paired.
approvals ask "Test request"
Your phone gets a notification. Tap Allow or Deny.
Claude Code never asks my phone. Claude Code's auto mode runs low-risk commands without asking. Start it with claude --permission-mode default to get every prompt.
Codex never asks my phone. Run Codex with -a on-request, and approve the hook once with /hooks.
What if I don't answer? Nothing is approved. The request goes back to the normal prompt on your computer.
Pair a new phone. Run approvals pair --force.
Remove it. Run approvals hook remove all and approvals unpair.
Use the developer contact email shown on the app's App Store or Google Play page.