# How to approve Claude Code permission prompts faster

Fewer, faster Claude Code permission prompts with "don't ask again" rules, /permissions, permission modes, notifications, your phone and the bee office.

Source: https://hivemux.dev/guides/approve-claude-code-permission-prompts/

> Choose "Yes, and don't ask again" to save a rule for that command in the repository, or add allow rules in /permissions. Shift+Tab switches permission modes; auto mode lets a classifier approve safe actions. For prompts you must answer, get notified, approve from your phone with Remote Control, or answer from hivemux's bee office without switching windows.

A Claude Code session that stops for a permission prompt does nothing until someone answers it. There are two ways to lose less time to that: get fewer prompts (rules and permission modes), and answer the remaining ones faster (notifications, your phone, or one place that shows every waiting session).

The Claude Code facts below come from Anthropic's [permissions](https://code.claude.com/docs/en/permissions), [permission modes](https://code.claude.com/docs/en/permission-modes), [terminal configuration](https://code.claude.com/docs/en/terminal-config) and [Remote Control](https://code.claude.com/docs/en/remote-control) docs (November 2026).

## What the prompt offers

A Bash permission prompt in Manual mode shows what Claude wants to run and asks "Do you want to proceed?" with these options:

| Option | What it does |
|---|---|
| Yes | Runs this one action |
| Yes, and don't ask again for: `npm test *` | Runs it and saves a rule, so matching commands stop asking |
| Yes, and switch to auto mode | Runs it and changes the session to auto mode (not on every prompt) |
| No | Refuses; Claude Code stops the turn unless you add a comment |

On Yes or No, `Tab` opens a comment field, so you can approve and add "then run the linter", or refuse with a reason Claude continues from.

How long "don't ask again" lasts depends on the tool:

| Tool | Asks in Manual mode | "Don't ask again" lasts |
|---|---|---|
| Reads, Grep | No, inside your working directories | Not needed |
| Bash commands | Yes, except a built-in set of read-only commands | Permanently, per repository and command |
| File edits | Yes | Until the session ends |
| WebFetch | Yes, except preapproved documentation domains | Permanently, per repository and domain |
| WebSearch | Yes | Permanently, per repository |

A permanent approval goes into `.claude/settings.local.json` at the root of the git repository (through worktrees, to the main checkout), so it also covers sessions started in subfolders and in other worktrees of the same repository.

## Write the rules once with /permissions

`/permissions` lists every allow, ask and deny rule and the settings file it comes from, and lets you add or remove rules, even while Claude is working. A typical allow list in `.claude/settings.json`:

```json
{
  "permissions": {
    "allow": ["Bash(npm run *)", "Bash(npm test)"],
    "deny": ["Bash(rm *)"]
  }
}
```

Rules are checked in the order deny, then ask, then allow, and the first match decides; a narrow allow rule cannot carve an exception out of a broad deny rule. Rules are enforced by Claude Code, not by the model, so writing "don't ask me" in CLAUDE.md changes nothing.

## Choose a permission mode

`Shift+Tab` cycles permission modes during a session; `claude --permission-mode <mode>` picks one at start, and `permissions.defaultMode` in settings makes it the default.

| Mode | Runs without asking | Best for |
|---|---|---|
| `default` (Manual) | Reads only | Reviewing every action |
| `acceptEdits` | Reads, file edits and common filesystem commands (`mkdir`, `touch`, `mv`, `cp`) | Iterating on code you review |
| `plan` | Reads (plus classifier-approved commands when auto mode is available) | Exploring before changing |
| `auto` | Everything, with background safety checks | Long tasks, fewer prompts |
| `dontAsk` | Reads in working directories and pre-approved tools; anything else is denied | Locked-down CI and scripts |
| `bypassPermissions` | Everything | Isolated containers and VMs only |

From Claude Code 2.1.283, auto mode is the built-in starting mode for interactive terminal and VS Code sessions on supported models, so many people see far fewer prompts already. Anthropic's docs warn that auto mode reduces prompts but does not guarantee safety, and that `bypassPermissions` (`--dangerously-skip-permissions`) belongs only in isolated environments. Deny rules apply in every mode, including `bypassPermissions`.

## Know when a prompt is waiting

When Claude pauses for a permission prompt and you seem to be away, Claude Code fires a notification event. Ghostty, kitty and iTerm2 (after you turn on its alerts) show it as a desktop notification; in other terminals, set `preferredNotifChannel` to `"terminal_bell"` or add a `Notification` hook. [How to get notified when Claude Code needs input](/guides/claude-code-notifications/) has working setups, and [Claude Code in iTerm2, WezTerm or kitty](/guides/claude-code-iterm2-wezterm-kitty/) covers each terminal.

## Approve from your phone with Remote Control

Remote Control connects the Claude app or claude.ai/code to a session running on your machine. It needs a Pro, Max, Ultra, Team or Enterprise plan and does not work with an API key.

1. Run `/remote-control` in a session, or turn on Enable Remote Control for all sessions in `/config` (`remoteControlAtStartup` in `~/.claude/settings.json`).
2. In `/config`, turn on Push when actions required. The phone then gets a push for permission prompts and questions.
3. Answer in the app. Claude Code keeps permission prompts and questions open until you answer them.

Pushes are skipped while you are typing in or focused on the connected terminal. More on the phone app and on reaching a session from another computer is in [How to continue Claude Code from your phone](/guides/claude-code-remote/).

## Answer every waiting session from one place with hivemux

hivemux is a tmux sidebar that shows every Claude Code session — running, waiting for you, or done — and lets you jump to the one that needs you. A waiting Claude's line turns amber, says why it waits on a second line, such as `approve · <what Claude runs or edits>`, and counts how long it has waited. `Option+0` jumps to the one that has waited longest, and a desktop notification arrives when a task needs input, except for the one you are looking at.

The [bee office](/docs/bee-office/) lets you answer without going to the pane at all. Every session is a bee in a 3D office building, and a waiting bee raises its hand with a bubble saying why: an approval (with Claude's own description of the command, or the file), a plan, a question, an MCP server asking for input, or an error.

[Image: The hivemux bee office: a glass office building in 3D with bees at their desks on each floor, a rooftop with a pool and the Hive Residence beside it]

The bee that has waited longest pops out in front with its question. Click it, its bubble or the bee, and a card shows the same choices as the terminal; one click answers in that pane:

| Waiting for | In the card |
|---|---|
| An approval | Yes, Yes and don't ask again, No |
| A plan | Approve, or write what to change and send it |
| A question | Pick one, pick several, or type your own answer |

Before pressing anything, hivemux reads the pane again and answers only if the same dialog is still there; if the screen changed, nothing is pressed and the card says so. Bees of a computer connected with `hivemux connect` can be answered too, when it runs hivemux 0.1.37 or later. Open the office with the 🐝 button at the top of the sidebar, `prefix Shift+B`, or `hivemux office`.

`hivemux setup` also offers to turn on Remote Control for every session, so the phone route above works for every Claude you start in hivemux.

Install:

```sh
curl -fsSL https://hivemux.dev/install.sh | bash
```

or

```sh
brew install hivemux/tap/hivemux
hivemux setup
```

## FAQ

### How do I stop Claude Code asking permission for the same command?

Choose "Yes, and don't ask again" on the prompt. For a Bash command or a web domain, Claude Code saves the rule to .claude/settings.local.json at the repository root, and it applies to later sessions anywhere in that repository, worktrees included. You can also add allow rules such as Bash(npm run *) in /permissions.

### Can I approve Claude Code permission prompts from my phone?

Yes, with Remote Control on a Pro, Max, Ultra, Team or Enterprise plan (not an API key). Turn on "Push when actions required" in /config; the Claude app then gets a push for permission prompts and questions, and you answer there. Permission prompts stay open until you answer them.

### Is it safe to use --dangerously-skip-permissions?

Anthropic's docs say to use bypassPermissions (the same as --dangerously-skip-permissions) only in isolated containers or VMs, because it offers no protection against prompt injection or unintended actions. For far fewer prompts with background safety checks, they point to auto mode instead.

### What does auto mode do in Claude Code?

Auto mode has a classifier model review each action instead of asking you. From Claude Code 2.1.283 it is the starting mode for interactive terminal and VS Code sessions, on supported models. Anthropic's docs warn that it reduces prompts but does not guarantee safety.

### Why does the "don't ask again" option not appear on some prompts?

Claude Code offers it only when the prompt can show everything the saved rule would allow. When a prompt offers only a one-time approval, approve it once or add the rule yourself in /permissions.
