Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

12 pages for excludedcommands.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …otal=False): enabled: bool autoAllowBashIfSandboxed: bool excludedCommands: list[str] allowUnsandboxedCommands: bool network: SandboxNetworkConfig ignoreViolations: SandboxIgno… Claude Code changelog Claude Code CLI · in the page changelog …the sandbox exemption from a git pattern such as `git *` in `sandbox.excludedCommands`; it is now treated like the long form * Fixed the first feature-flag request of a session ignoring a proxy or AP… Deploy managed settings Claude Code CLI · in the page managed-settings …ands`, counts as `false`. * In a list outside `credentials`, such as `excludedCommands` or `network.allowedDomains`, Claude Code drops an invalid entry and keeps the rest of the list. A list that isn'… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …ou type runs sandboxed * **Excluded commands**: commands that match [`excludedCommands`](#run-commands-outside-the-sandbox-with-excludedcommands) run unsandboxed * **Unsandboxed retries**: Claude can… Claude Code settings Claude Code CLI · in the page settings …| | `excludedCommands` | Commands that should run outside of the sandbox… All settings Claude Code CLI · in the page settings-reference …cation-on-macos) on macOS | Sandbox settings | Any file | | [`sandbox.excludedCommands`](#sandbox-excludedcommands) | Name commands Claude Code can run outside the [sandbox](/docs/en/sandboxing.md) |… Troubleshooting Claude Code CLI · in the page troubleshooting …one of these tools, adding `pbcopy *`, `wl-copy *`, or `xclip *` to [`excludedCommands`](/docs/en/settings-reference#sandbox-excludedcommands) doesn't take that call out of the sandbox on its own. ##… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …de and add [excluded commands](/docs/en/settings-reference.md#sandbox-excludedcommands) there. Requires Claude Code v2.1.280 or later. * Select **Claude in Chrome** in the Customize section, or type… Security and data handling Claude Documentation · in the page government/security/security-and-data-handling …mentation. Exempting git commands such as `git commit` with `sandbox.excludedCommands` is not a safe way around the socket restriction. A sandboxed command can still change files that git runs during… Code in Claude Desktop on 3P Claude Documentation · in the page third-party/claude-desktop/code …aceFolders`. Where the sandbox runs, a command that matches [`sandbox.excludedCommands`](https://code.claude.com/docs/en/sandboxing#run-commands-outside-the-sandbox-with-excludedcommands) in the user'… Configuration reference Claude Documentation · in the page third-party/claude-desktop/configuration …. Not covered: MCP servers, hooks, the terminal, commands in `sandbox.excludedCommands`, and git worktrees, which Claude Desktop and Claude Code still create inside the folder. > > > > If a read-only… SSH remote sessions in Claude Desktop on 3P Claude Documentation · in the page third-party/claude-desktop/ssh-remote-sessions …. The sandbox doesn't cover commands listed in Claude Code's `sandbox.excludedCommands`, or a path that contains one of `* ? [ ] ( ) { } | +` or a double quote. It may not stop commands in a folder th…
Feedback