To approve Claude Code permission prompts from your phone, you have two real options: Claude's own Remote Control, which needs a claude.ai subscription, or a PermissionRequest hook that sends each prompt to an approval inbox like handup. The option people reach for first, --dangerously-skip-permissions, doesn't move the prompt anywhere. It deletes the prompt. This article covers what each mode does, what the skip flag still doesn't skip, and how to set up the phone route in a few commands.
Why Claude Code stops and asks
In the default mode, Claude Code prompts before most edits, shell commands and network requests. The prompt shows the command, and you answer yes, no, or "yes, and don't ask again". If you walk away, the session waits.
Permission rules decide what asks. They are checked in order: deny, then ask, then allow, and the first match wins. Rules live in settings.json and you edit them with /permissions. The docs also point out that permission rules are enforced by Claude Code, not the model: telling Claude in a prompt or CLAUDE.md doesn't change them.
The permission modes
| Mode | What runs without asking | Good for |
|---|---|---|
default (Manual) | Reads inside your working directories | Sensitive work, unfamiliar code |
acceptEdits | Reads, file edits, common filesystem commands such as mkdir and mv | Iterating on code you're reviewing |
plan | Reads; no edits until you approve a plan | Exploring before changing anything |
auto | Everything, while a background classifier checks actions | Long tasks, fewer prompts |
dontAsk | Only pre-approved tools; anything that would prompt is denied | Locked-down CI |
bypassPermissions | Everything | Isolated containers and VMs only |
Source: permission modes. Start in one with claude --permission-mode <mode>, or press Shift+Tab to cycle.
What --dangerously-skip-permissions does and doesn't do
--dangerously-skip-permissions is equivalent to --permission-mode bypassPermissions. The docs call the mode right for "isolated containers and VMs only", and warn that it offers no protection against prompt injection or unintended actions.
Some guardrails stay on, which is worth knowing:
- Deny rules still block, and ask rules still prompt. Allow rules have no effect, because everything is allowed anyway (permission modes).
- Claude Code doesn't auto-approve some actions in any mode, such as recognized
rmcritical-path removals. - On Linux and macOS it refuses to start as root or under sudo outside a recognized sandbox.
- Admins can turn the mode off with
permissions.disableBypassPermissionsMode.
In this mode, writes to protected paths, which hold repository state and Claude's own configuration, are allowed without a prompt. There is a milder cousin, --allow-dangerously-skip-permissions: it adds bypassPermissions to the Shift+Tab cycle without starting in it.
Fewer prompts without skipping them
If the complaint is "too many prompts", try these before bypass:
- Allow rules for the commands you approve all the time, for example
Bash(npm run *)andBash(git commit *). Put the*after the subcommand, as the wildcard docs explain. - A deny rule for what must never run, like
Bash(git push *). Bash rules match the command text as written, so they aren't a security boundary. For a real boundary use sandboxing. acceptEditsfor file edits, orautomode if your plan and model support it.
None of these helps when you are away from the desk and the one prompt left is a real decision.
Approving from your phone: two ways
| Aspect | Claude Code Remote Control | handup |
|---|---|---|
| How it works | The Claude mobile app or claude.ai/code attaches to the session on your machine | A PermissionRequest hook sends each prompt to a local inbox you open on your phone |
| Requires | A claude.ai Pro, Max, Ultra, Team or Enterprise plan. API keys are not supported | handup ($30 one time after a 14-day trial), plus Tailscale or a self-hosted relay |
| Agents | Claude Code | Claude Code, Codex, Cursor, Gemini CLI, opencode, omp, any MCP client, scripts |
| You also get | Chat from the phone, the same session on any device | One inbox across agents and machines, the command or diff on the card, deny with a note |
Remote Control can push a notification when an action is required, including permission prompts and questions. If you only use Claude Code with a subscription, it is the least work, and you should try it first. handup is for when you run more than one agent, use an API key, or want one place for everything.
Set up handup for Claude Code
Install handup, then connect Claude Code. The install line is from the downloads page:
curl -fsSL https://github.com/gethandup/handup/releases/latest/download/install.sh | sh
handup setup
handup integrate claude --dry-run # preview the config changes
handup integrate claude # install the hooks and the MCP server
handup prompt --agent claude # instructions for the agentThe installer merges command hooks into ~/.claude/settings.json: a PermissionRequest hook (handup hook claude) for permission prompts, plus two small hooks for notice replies. It also adds the handup MCP server to ~/.claude.json. It keeps your other hooks, backs up the changed files, and handup integrate claude --uninstall removes it all. Restart Claude Code and check /mcp. Details are in the Claude Code setup guide and the handup docs.
Then connect the phone. On the computer run handup remote tailscale, then handup pair and scan the QR code with the Android app. On an iPhone, pair a browser instead (there is no native iOS app): see use handup in a browser. Full steps: remote access.
Run Claude Code in a mode that asks (default, or acceptEdits with rules). When it needs permission, you get a card with:
- the exact Bash command and Claude's description, or a diff for Edit and Write;
- Approve or Deny. A denial can carry a note (
handup deny ID -m 'Use staging instead'), and Claude receives it as the reason, so it can change its plan.
If the daemon is unreachable or the request expires, Claude Code uses its own prompt. You can make that a hard deny with handup config set integrations.claude.fallback deny. Neither fallback ever approves.
Using skip permissions more safely
If you do want the bypass mode, put the isolation outside Claude: a container or VM, a non-root user, no secrets mounted that you wouldn't hand to a stranger, and deny rules for the few things that must never happen, since deny rules still apply in bypass mode.
One caveat for handup users. The permission hook only runs when Claude asks for permission, so in bypass mode it has nothing to forward. What you can still do is let the agent ask on its own. The handup MCP server gives Claude request_approval, ask_question and notify, and handup prompt --agent claude tells it when to use them. That is how I run my agents with prompts off: they decide most things, and they ask me before the risky ones. It depends on the agent following the instruction. It isn't enforcement.
FAQ
Does --dangerously-skip-permissions skip everything?
No. Deny rules, explicit ask rules and recognized critical-path rm removals still apply, and the mode won't start as root on Linux or macOS. Everything else is allowed with no prompt.
What is the difference between --dangerously-skip-permissions and --permission-mode bypassPermissions?
None. The CLI reference says the first is equivalent to the second.
Can I approve Claude Code prompts from my phone without a claude.ai subscription?
Remote Control needs a claude.ai plan; API keys aren't supported. A hook-based inbox such as handup runs as a local hook command, separate from how Claude Code signs in.
Do hooks slow every command?
A PermissionRequest hook only runs when Claude is about to ask. Commands it already allows don't involve handup.