110 pages for /permissions.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Desktop application
Claude Code CLI · in the page
desktop
…remote machine, `~/.claude/settings.json`, add [allow rules](/docs/en/permissions.md#manage-permissions) for the commands the task needs. If your organization [accepts permission rules from managed s…
Test iOS apps in the simulator
Claude Code CLI · in the page
desktop-ios-simulator
…ion mode Two actions follow your session's [permission mode](/docs/en/permissions.md#permission-modes) instead of the one-time consent: * Opening a URL on the device, for example to test a deep link…
Error reference
Claude Code CLI · in the page
errors
…rver or its tools by the old name, such as [permission rules](/docs/en/permissions.md#mcp) and [hook matchers](/docs/en/hooks.md#match-mcp-tools). * If a [plugin bundles the server](/docs/en/mcp.md#pl…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…llowedTools` in `claude_args` or a [`permissions.allow` rule](/docs/en/permissions#permission-rule-syntax) in the `settings` input. If you invoke a skill instead, Claude can use the tools its [`allowe…
Glossary
Claude Code CLI · in the page
glossary
…mode](#permission-mode). Learn more: [Configure permissions](/docs/en/permissions.md) ### Plan mode A [permission mode](#permission-mode) where Claude researches and proposes changes without editin…
Keep Claude working toward a goal
Claude Code CLI · in the page
goal
…er the same [workspace trust rule as hooks in settings files](/docs/en/permissions.md#what-runs-before-you-trust-a-folder), because the evaluator is part of the hooks system. `/goal` is also unavailab…
Claude Code on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…er the same [workspace trust rule as hooks in settings files](/docs/en/permissions.md#what-runs-before-you-trust-a-folder), which includes `-p` sessions in folders you've never trusted. ### 4. Config…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…server approval prompt. [What runs before you trust a folder](/docs/en/permissions.md#what-runs-before-you-trust-a-folder) covers each kind of repository content under `-p` and how to keep it out. Th…
Set up Claude Code (local mode) for a HIPAA-ready organization
Claude Code CLI · in the page
hipaa-setup
…ich commands and hosts Claude can use, see [permission rules](/docs/en/permissions.md) and the [sandbox](/docs/en/sandboxing.md). ## Manage local session data Claude Code (local mode) and Cowork (lo…
Hooks reference
Claude Code CLI · in the page
hooks
…the tool call continues through the normal [permission flow](/docs/en/permissions.md). The hook can deny the call, but staying silent doesn't approve it. **5. Claude Code acts on the result** Claud…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…e is disabled by [`permissions.disableBypassPermissionsMode`](/docs/en/permissions#managed-settings), or if you started the session in [restricted mode](/docs/en/cli-reference.md#cli-flags). > > Claud…
How Claude Code works
Claude Code CLI · in the page
how-claude-code-works
…wide policies down to personal preferences. See [Permissions](/docs/en/permissions.md) for details. *** ## Work effectively with Claude Code These tips help you get better results from Claude Code.…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…ield. See [add a comment when you answer a permission prompt](/docs/en/permissions.md#add-a-comment-when-you-answer-a-permission-prompt) | | `Up/Down arrows` or `Ctrl+P`/`Ctrl+N` | Move cursor or navi…
JetBrains IDEs
Claude Code CLI · in the page
jetbrains
…is automatically shared with Claude Code. [`Read` deny rules](/docs/en/permissions#read-and-edit) block this sharing for matching files * **File reference shortcuts**: use `Cmd+Option+K` (Mac) or `Alt…
Customize keyboard shortcuts
Claude Code CLI · in the page
keybindings
…| On a file permission prompt, closes an open [comment field](/docs/en/permissions.md#add-a-comment-when-you-answer-a-permission-prompt); with no field open, selects the option that allows the action…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…*)` still [anchor at the session's current working directory](/docs/en/permissions.md#read-and-edit) rather than the repository root, so if you start sessions from subdirectories, write the rules in t…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…n` applies only after the first-run wizard and [trust prompt](/docs/en/permissions.md#what-runs-before-you-trust-a-folder) | Set `ANTHROPIC_AUTH_TOKEN` somewhere Claude Code reads before first-run set…
Control MCP server access for your organization
Claude Code CLI · in the page
managed-mcp
…agedPermissionRulesOnly`, which locks down [permission rules](/docs/en/permissions.md#managed-settings) only. Setting that flag does not enforce the MCP allowlist. ### Match servers by URL, command,…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…er that folder in a new Cowork session. [Read and Edit rules](/docs/en/permissions.md#read-and-edit) cover the path syntax, including the `//` form for absolute paths. ### What a developer can change…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…'s launch directory plus every [additional working directory](/docs/en/permissions.md#working-directories) you've granted with `--add-dir`, `/add-dir`, or the `additionalDirectories` setting. Claude C…
How Claude remembers your project
Claude Code CLI · in the page
memory
…ser-level-rules)**: the session's [primary working directory](/docs/en/permissions.md#working-directories) To have path-scoped rules load for files in a sibling git worktree, start Claude Code in tha…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…bsent in these cases: * An allow or deny [permission rule](/docs/en/permissions.md#manage-permissions) decided the call * Claude Code approved the call in auto mode without asking the classifier…
Enterprise network configuration
Claude Code CLI · in the page
network-config
…ude Desktop Code tab session starts or resumes on a [trusted](/docs/en/permissions.md#project-allow-rules-and-workspace-trust) checkout whose `origin` is a `googlesource.com` host, Claude Code asks th…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…ion-modes). Modes set the baseline. Layer [permission rules](/docs/en/permissions.md#manage-permissions) on top to pre-approve or block specific tools. Deny rules block in every mode, including `bypa…
Configure permissions
Claude Code CLI · in the page
permissions
…time approval, approve the action once, or add the rule yourself in [`/permissions`](#manage-permissions). To stop the prompts for a command that starts with an exec wrapper such as `watch`, or for a…
Add components to a plugin
Claude Code CLI · in the page
plugins/components
…gin_db__query`. That is the name to use in [permission rules](/docs/en/permissions.md) and [hook matchers](#hooks) * **Substitution**: `${CLAUDE_PLUGIN_ROOT}` and the other [path variables](#path-vari…
Host and maintain a marketplace
Claude Code CLI · in the page
plugins/host-marketplace
…n` | Only after the user accepts the [workspace trust dialog](/docs/en/permissions.md#what-runs-before-you-trust-a-folder) for that folder itself. A `-p` or SDK session doesn't count as accepting it,…
Plugin loading reference
Claude Code CLI · in the page
plugins/loading
….claude/skills/` of the session's [primary working directory](/docs/en/permissions.md#working-directories) and, unlike plain skills and commands, doesn't [search parent directories](/docs/en/skills.md…
Manage mods for your organization
Claude Code CLI · in the page
plugins/mods/admin
…'s approval doesn't skip, see [Extend permissions with hooks](/docs/en/permissions.md#precedence-among-rules-hooks-and-mods). The guard's source is public in the [`mods/sec-default` directory of the…
React to events with a mod
Claude Code CLI · in the page
plugins/mods/events
…cision. For a fixed command or path, use a [permission rule](/docs/en/permissions.md#permission-rule-syntax) such as `Bash(npm test)`, which takes no code. Handle `tool.check` when the decision depen…
Mods overview
Claude Code CLI · in the page
plugins/mods/overview
…at a `deny` rule refuses, see [Extend permissions with hooks](/docs/en/permissions.md#precedence-among-rules-hooks-and-mods). A mod can restyle much of Claude Code's interface, but not the permission…
Manage Claude Code plugins for your organization
Claude Code CLI · in the page
plugins/org
…ly after the contributor accepts the [workspace trust dialog](/docs/en/permissions.md#what-runs-before-you-trust-a-folder) for that folder. * **[Non-interactive `-p` runs](/docs/en/headless)**: the en…
Plugin security and trust
Claude Code CLI · in the page
plugins/security
…l.md#keep-plugins-updated). Claude Code's [permission rules](/docs/en/permissions.md) and [sandbox](/docs/en/sandboxing.md) cover the tool calls Claude makes, not the code a plugin runs by itself: *…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…you whether it did. * When you [move the session with `/cd`](/docs/en/permissions#move-the-session-to-another-directory) on v2.1.246 or later, Claude Code applies the plugins the new directory's sett…
Automate work with scheduled tasks
Claude Code CLI · in the page
routines
…uto mode**: for example, an action that matches an [ask rule](/docs/en/permissions.md#manage-permissions). See [How auto mode evaluates actions](/docs/en/permission-modes.md#how-auto-mode-evaluates-ac…
Choose a sandbox environment
Claude Code CLI · in the page
sandbox-environments
…e process and do not spawn arbitrary code. [Permission rules](/docs/en/permissions.md) for path or domain gate them instead. * [MCP](/docs/en/mcp.md) servers, [command hooks](/docs/en/hooks.md#command…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…ry, a per-user temp directory, and [directories you've added](/docs/en/permissions.md#additional-directories-grant-file-access-not-configuration). [Protected paths](#protected-paths) stay write-denied…
Run prompts on a schedule
Claude Code CLI · in the page
scheduled-tasks
…ude as plain text instead of executing: * Built-in commands such as `/permissions`, `/model`, or `/clear` * Skills marked [`disable-model-invocation: true`](/docs/en/skills#frontmatter-reference), in…
Security
Claude Code CLI · in the page
security
…from then on. It runs a built-in set of [read-only commands](/docs/en/permissions.md#read-only-commands) such as `ls`, `cat`, and `git status` without asking You and your organization configure thes…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…cause they hold JSON, whole sentences, or a [permission rule](/docs/en/permissions.md#permission-rule-syntax) such as `Bash(npm run test *)`. * **Arguments**: pass them on as `"$@"` * **Variables**:…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…The `Bash(curl *)` rule matches `curl` [as Claude writes it](/docs/en/permissions.md#bash-rule-limits), not `/usr/bin/curl` or `sh -c 'curl …'`; for network enforcement that doesn't depend on the com…
Manage sessions
Claude Code CLI · in the page
sessions
…riginal directory, provided you have [trusted that workspace](/docs/en/permissions.md#project-allow-rules-and-workspace-trust), and then the directory you resume from, so a project-scoped agent still…
Claude Code settings
Claude Code CLI · in the page
settings
…also saves permanent "don't ask again" [permission approvals](/docs/en/permissions#permission-system), such as Bash command approvals, to this file. Because this file is yours rather than the rep…
Example settings files
Claude Code CLI · in the page
settings-example
…ies take effect after each person [trusts this folder itself](/docs/en/permissions.md#project-allow-rules-and-workspace-trust), not only a parent folder; deny and ask rules apply in every session, tru…
All settings
Claude Code CLI · in the page
settings-reference
…d-settings.md) the only settings source of [permission rules](/docs/en/permissions.md#managed-settings) | Permission settings | Managed | | [`alwaysThinkingEnabled`](#alwaysthinkingenabled) | Turn [ex…
Extend Claude with skills
Claude Code CLI · in the page
skills
…oad on demand * **Permissions**: an offer to make [auto mode](/docs/en/permissions.md#permission-modes) your default permission mode and to [pre-approve](/docs/en/permissions.md) read-only commands th…
Customize your status line
Claude Code CLI · in the page
statusline
…er the same [workspace trust rule as hooks in settings files](/docs/en/permissions.md#what-runs-before-you-trust-a-folder). Accepting the dialog for the folder, or for a parent directory whose trust e…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…agent, deny the `Agent` tool itself with [`permissions.deny`](/docs/en/permissions#tool-specific-permission-rules). * To remove only the built-in `Explore` and `Plan` subagents, set [`CLAUDE_CODE_DISA…
Tools reference
Claude Code CLI · in the page
tools-reference
…ool names are the exact strings you use in [permission rules](/docs/en/permissions.md#tool-specific-permission-rules), [subagent tool lists](/docs/en/sub-agents.md), and [hook matchers](/docs/en/hooks…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…he Customize section to view the session's [permission rules](/docs/en/permissions.md), grouped into Allow, Ask, and Deny. You can add rules to your user, project, or local settings and remove rules s…