26 pages for dontask.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
How the agent loop works
Claude Code CLI · in the page
agent-sdk/agent-loop
…review or when you need to approve changes before they're made | | `"dontAsk"` | Never prompts. Tools pre-approved by [permission rules](/docs/en/settings-reference.md#permission-settings) run, and s…
Configure permissions
Claude Code CLI · in the page
agent-sdk/permissions
…ys fall through to the callback, even when an allow rule matches. In `dontAsk` mode both cases are denied instead, because that mode never prompts. The MCP annotation requires Claude Code v2.1.199 or…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…ile edits "plan", # Planning mode - explore without editing "dontAsk", # Deny anything not pre-approved instead of prompting "bypassPermissions", # Bypass permission checks; explicit as…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…ill prompt | "plan" // Planning mode - explore without editing | "dontAsk" // Don't prompt for permissions, deny if not pre-approved | "auto"; // A model classifier reviews actions such as shell…
Handle approvals and user input
Claude Code CLI · in the page
agent-sdk/user-input
…-evaluated) for which of them reach the callback and what happens in `dontAsk` and `auto` mode. You can also use the [`PermissionRequest` hook](/docs/en/agent-sdk/hooks#available-hooks) to send exter…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…ermissions Teammates start with the lead's permission mode, except [`dontAsk` mode](/docs/en/permission-modes#allow-only-pre-approved-tools-with-dontask-mode), which they don't inherit. If the lead r…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…he session you came from. Permissiveness runs plan, then Manual and `dontAsk`, then `acceptEdits` and auto, which each count as more permissive than the other, then `bypassPermissions`. #### Dispatc…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…--allowedTools "Edit,Bash(git commit *)" \ --permission-mode dontAsk done ``` **3. Test on a few files, then run on all of them** Refine your prompt based on what goes wrong with the first…
Claude Code changelog
Claude Code CLI · in the page
changelog
…in `=` * Fixed fork subagents not keeping the session's plan mode or `dontAsk` mode: a fork now runs under its parent's permission mode and cannot exit plan mode * Fixed `claude remote-control --help`…
CLI reference
Claude Code CLI · in the page
cli-reference
…permission-modes). Accepts `default`, `acceptEdits`, `plan`, `auto`, `dontAsk`, `bypassPermissions`, or `manual` as an alias for `default`. The `manual` alias selects the permission mode the UI labels…
Message your other Claude Code sessions
Claude Code CLI · in the page
cross-session-messaging
…ssion-modes.md#eliminate-prompts-with-auto-mode), `acceptEdits`, and `dontAsk` count as prompting: * **The receiving session prompts for permissions**: Claude Code delivers each message. It holds one…
Desktop application
Claude Code CLI · in the page
desktop
…these modes Ask permissions, Auto accept edits, and Plan mode. The `dontAsk` permission mode is available only in the [CLI](/docs/en/permission-modes.md#allow-only-pre-approved-tools-with-dontask-mo…
Glossary
Claude Code CLI · in the page
glossary
…de.ai. Available modes are `default`, `acceptEdits`, `plan`, `auto`, `dontAsk`, and `bypassPermissions`. The `default` mode is labeled Manual in the CLI, in the VS Code and JetBrains extensions, and…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…cs/en/permission-modes.md) with `--permission-mode`, such as `auto`, `dontAsk`, or `acceptEdits`: * **`auto`**: pass `--permission-mode auto` to have a classifier review most actions instead of you *…
Hooks reference
Claude Code CLI · in the page
hooks
…ermission-modes): `"default"`, `"plan"`, `"acceptEdits"`, `"auto"`, `"dontAsk"`, or `"bypassPermissions"`. The mode labeled **Manual** arrives as `"default"`, never as `"manual"`, so scripts that matc…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…e](/docs/en/headless.md) with the `-p` flag, they still run outside [`dontAsk` mode](/docs/en/permission-modes#allow-only-pre-approved-tools-with-dontask-mode), and a call that no hook decides and not…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…permissions.md) that match the tool don't skip the prompt either. In `dontAsk` mode, which never prompts, Claude Code denies the call instead. * **Tool set to `blocked`**: Claude Code filters the tool…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…gan: `"default"`, `"plan"`, `"acceptEdits"`, `"bypassPermissions"`, `"dontAsk"`, or `"auto"`. Manual mode appears as `"default"`. A [subagent](/docs/en/sub-agents.md#permission-modes) call reports the…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…background safety checks | Long tasks, reducing prompt fatigue | | [`dontAsk`](#allow-only-pre-approved-tools-with-dontask-mode) | File reads inside your working directories and pre-approved tools; a…
Configure permissions
Claude Code CLI · in the page
permissions
…prompts-with-auto-mode) checks that they align with your request | | `dontAsk` | Auto-denies every call that would otherwise prompt, though a [mod](/docs/en/plugins/mods/overview.md) you installed can…
Create a mod
Claude Code CLI · in the page
plugins/mods/create
…**: the session can't show you a prompt, as in a `claude -p` run or [`dontAsk` mode](/docs/en/permission-modes) * **The workspace isn't trusted**: you haven't accepted the trust prompt for the directo…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…**: a separate classifier model evaluates the underlying command * **`dontAsk` mode**: Claude Code denies the retry * **Plan mode**: see [how Claude Code gates commands while you plan](/docs/en/permis…
Claude Code settings
Claude Code CLI · in the page
settings
…sion-modes). Valid values: `default`, `acceptEdits`, `plan`, `auto`, `dontAsk`, `bypassPermissions`, and `manual` as an alias for `default`, the mode labeled Manual in the CLI, the VS Code and JetBrai…
All settings
Claude Code CLI · in the page
settings-reference
…rwise approve them, such as `acceptEdits` or `bypassPermissions`. In `dontAsk` mode Claude Code denies a matching tool use instead of prompting. * **Scope**: [`Any file`](#scopes) * **Type**: array o…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…rmission mode](#permission-modes): `default`, `acceptEdits`, `auto`, `dontAsk`, `bypassPermissions`, `plan`, or `manual` as an alias for `default`. Ignored for [plugin subagents](#choose-the-subagent-…
Orchestrate subagents at scale with dynamic workflows
Claude Code CLI · in the page
workflows
…evaluated) as the rest of the session, so deny rules, ask rules, and `dontAsk` mode apply to the launch as they apply to every tool call. To let the workflow start in these runs, use one of these: *…