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

258 pages for glob.

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

Automate actions with hooks Claude Code CLI · in the page hooks-guide …d of direnv, the same pattern works with `devbox shellenv` or `devbox global shellenv` in place of `direnv export bash`. To react to specific files instead of every directory change, use `FileChanged… Customize keyboard shortcuts Claude Code CLI · in the page keybindings …* where the bindings apply: | Context | Description | | :- | :- | | `Global` | Applies everywhere in the app | | `Chat` | Main chat input area | | `Autocomplete` | Autocomplete menu is open | | `Sett… Set up Claude Code in a monorepo or large codebase Claude Code CLI · in the page large-codebases …epo root | When Claude works with a file matching the rule's `paths:` glob | You want all conventions in one place, or the same rule applies to many scattered paths | For a comparison that also cover… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …tings.local.json` applies to one project. Claude Code adds it to your global gitignore when it saves a setting there; if you create it by hand or have Claude write it, add it to your gitignore yoursel… How Claude remembers your project Claude Code CLI · in the page memory …d`](/docs/en/permissions#move-the-session-to-another-directory). Use glob patterns in the `paths` field to match files by extension, directory, or any combination: | Pattern | Matches | | - | - | |… Model configuration Claude Code CLI · in the page model-config …Press `Option+T` on macOS or `Alt+T` on Windows and Linux | | Set the global default | Run `/config` and toggle thinking mode. Saved as `alwaysThinkingEnabled` in `~/.claude/settings.json` | | Disable… Monitoring Claude Code CLI · in the page monitoring-usage …-tool), `"powershell"`, `"file"` for Read, Edit, Write, NotebookEdit, Glob, and Grep, `"web"` for WebFetch and WebSearch, `"mcp"`, or `"other"` * `tool_name`: The tool's name, such as `"Bash"` for a b… Output styles Claude Code CLI · in the page output-styles …limits.ts, which is why this change adds an entry there rather than a global default. ───────────────────────────────────────────────── ``` ### Learning In the Learning style, Claude adds the same `… Choose a permission mode Claude Code CLI · in the page permission-modes …`$TMPDIR`, or another shared scratch or cache directory by wildcard, glob, or age filter rather than by a specific named path * Including sensitive details in content sent, uploaded, published, or wr… Configure permissions Claude Code CLI · in the page permissions …owerShell, `file_path` for Read, Edit, and Write, `path` for Grep and Glob, `notebook_path` for NotebookEdit, and `url` for WebFetch. A rule like `Bash(command:rm *)` would be bypassable by a compound… Test plugins with evals Claude Code CLI · in the page plugin-evals …st: ```markdown theme={null} --- max_turns: 10 allowed_tools: [Read, Glob, Grep, Skill] --- Write me a commit message for this change: I renamed getUser to fetchUser and updated the three call sites… Use the mods API Claude Code CLI · in the page plugins/mods/api …ng Claude Code. The hooks module itself has no Node.js APIs, no timer globals such as `setTimeout`, and no network or file access of its own. Standard JavaScript and web APIs such as `URL`, `TextEncod… React to events with a mod Claude Code CLI · in the page plugins/mods/events …uires Claude Code v2.1.304 or later. Some tools, such as Read, Grep, Glob, and WebSearch, report every call as read-only. Bash and MCP tools report a call as read-only in these cases: * **Bash**: th… Recommend plugins for your org Claude Code CLI · in the page plugins/relevance …cription | Limit | | :- | :- | :- | :- | | `cwd` | array of strings | Glob patterns matched against the session's working directory. See [working directory matching](#working-directory-matching). | 10… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …plugin name. ### `Plugin '<name>@<marketplace>' is already installed globally` You ran `/plugin install` for a plugin that's already installed at user scope or by managed settings, and Claude Code r… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …way: a bare tool name, the equivalent `Bash(*)` form, or a [tool-name glob](/docs/en/permissions.md#tool-name-wildcards) like `"*"`. A glob that matches only MCP tools, such as `"mcp__*"`, blocks thos… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …orted-by-claude-remote-control) instead of starting. | If you pass a global `claude` flag before `remote-control`, or a wrapper script adds one, Claude Code doesn't carry the flag over to the session… Choose a sandbox environment Claude Code CLI · in the page sandbox-environments …aude.json ] || echo '{}' > ~/.claude.json; } ``` Install the runtime globally, under a prefix outside every path you allow writes to: ```bash theme={null} npm install -g @anthropic-ai/sandbox-runtim… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …hich apply to the current project. Claude Code adds that file to your global gitignore when it saves a setting there. To enable the sandbox across all of your projects, set [`sandbox.enabled`](/docs/e… Catch security issues as Claude writes code Claude Code CLI · in the page security-guidance …ral substrings; provide this or `regex` | | `paths` | list | Optional glob patterns; the rule applies only to matching files. Globs match against the full file path, so prefix project-relative pattern… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …h theme={null} export CLAUDE_CODE_USE_VERTEX=1 export CLOUD_ML_REGION=global export ANTHROPIC_VERTEX_PROJECT_ID=YOUR-PROJECT-ID ``` To choose a region, see [Region configuration](/docs/en/google-vert… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …e-git`, or set `SELF_HOSTED_RUNNER_CONFIGURE_GIT=1`, to have it write global git config at startup: * `user.name = Claude` and `user.email = [email protected]`, matching Anthropic-hosted sessions… Self-hosted environments reference Claude Code CLI · in the page self-hosted-environments-reference …git` | `SELF_HOSTED_RUNNER_CONFIGURE_GIT=1` | off | At startup, write global git identity, enable Anthropic commit signing, turn on git push negotiation, and install commit hooks that append a `Co-aut… Claude Code settings Claude Code CLI · in the page settings # Claude Code settings > Configure Claude Code with global and project-level settings, and environment variables. Claude Code offers a variety of settings to configure its behavior to meet your need… All settings Claude Code CLI · in the page settings-reference …aude Code reads from a settings file, plus the [short group of keys](#global-config-settings) it keeps in `~/.claude.json` instead. To pick a file, or check precedence, start with [Settings files and… Advanced setup Claude Code CLI · in the page setup …ain, remove `~/.local/bin/claude` and run `claude update`. If an npm global install can't auto-update because the npm global directory isn't writable, Claude Code shows a one-time notice at startup,… Extend Claude with skills Claude Code CLI · in the page skills …l hooks](/docs/en/hooks.md#limits-on-skill-hooks). | | `paths` | No | Glob patterns that limit when this skill is activated. Accepts a comma-separated string or a YAML list. When set, Claude loads the… Create custom subagents Claude Code CLI · in the page sub-agents …st practices. Use after writing or modifying code. tools: Read, Grep, Glob model: sonnet --- You are a code improvement specialist. For each issue you find, explain the problem, show the current code… Enterprise deployment overview Claude Code CLI · in the page third-party-integrations …td>Multiple Azure [regions](https://azure.microsoft.com/en-us/explore/global-infrastructure/products-by-region/)</td> </tr> <tr> <td>Prompt caching</td> <td>Enabled by default</td… Tools reference Claude Code CLI · in the page tools-reference …irectory. File-access tools marked No, including `Read`, `Grep`, and `Glob`, still prompt for paths outside the [working directory and additional directories](/docs/en/permissions.md#working-directori… Troubleshoot installation and login Claude Code CLI · in the page troubleshoot-install …cal npm install created by older versions of Claude Code, and the npm global list shows a `-g` install: ```bash theme={null} ls -la ~/.local/bin/claude ``` A native install shows a symlink into `~/.… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …```bash theme={null} rm -rf ~/Library/"Application Support"/Code/User/globalStorage/anthropic.claude-code ``` On Linux: ```bash theme={null} rm -rf ~/.config/Code/User/globalStorage/anthropic.claude… Week 14 · March 30 – April 3, 2026 Claude Code CLI · in the page whats-new/2026-w14 …t` entry, up to a hard ceiling of 500K characters. The cap used to be global, so tools that occasionally returned inherently large payloads like database schemas or full file trees hit the default lim… Week 17 · April 20–24, 2026 Claude Code CLI · in the page whats-new/2026-w17 …s now `high` (was `medium`)Native macOS and Linux builds replace the `Glob` and `Grep` tools with embedded `bfs` and `ugrep` available through Bash, for faster searches without a separate tool round-t… Week 18 · April 27 – May 1, 2026 Claude Code CLI · in the page whats-new/2026-w18 …ll 7 installed via the Microsoft Store, MSI without PATH, or a `.NET` global tool is now detected automatically. [Setup guide](/docs/en/setup.md) Other wins MCP servers can opt out of tool-search d… Week 23 · June 1–5, 2026 Claude Code CLI · in the page whats-new/2026-w23 …stead of running it immediately; press Enter to runListing `Grep` or `Glob` in `--tools` now provides the dedicated search tools on native builds with embedded search, instead of silently ignoring tho… Week 24 · June 8–12, 2026 Claude Code CLI · in the page whats-new/2026-w24 …s, workflows, and built-in commands from the modelDeny rules accept a glob in the tool-name position, so `"*"` denies all tools, and unknown tool names in deny rules now warn at startupAgent messaging… Orchestrate subagents at scale with dynamic workflows Claude Code CLI · in the page workflows …n accept input through the `args` parameter. The script reads it as a global named `args`. Use this to supply a research question, a list of target paths, or a configuration object at invocation time… Run parallel sessions with worktrees Claude Code CLI · in the page worktrees …e LFS filter into the repository's own `.git/config` rather than your global git config. A plain `git lfs install` writes to your global config and isn't affected. The same applies to any other [filte… Command line settings Claude Documentation · in the page claude-science/command-line-settings …in, run `claude-science update`, which installs the latest build. ## Global flags These two work on every command. On Windows, `~` in the defaults below is your user profile folder, `%USERPROFILE%`.… Connectors and skills Claude Documentation · in the page claude-science/connectors-and-skills …for approval per tool, with Once, This conversation, This project, or Global scope. The databases behind Featured connectors are on the network allowlist in groups under Settings > Network. Turning o… Core concepts Claude Documentation · in the page claude-science/core-concepts …dows) / Install packages? | Once, This conversation, This project, or Global | | Work in a write-access folder too large to check for credential files (Linux) | This folder is too large to check fully… Glossary Claude Documentation · in the page claude-science/glossary …how long an approval lasts (Once, This conversation, This project, or Global), with every standing grant listed and revocable under Settings > Permissions. **Session**: one conversation thread inside… Remote compute clusters Claude Documentation · in the page claude-science/remote-compute-clusters …Approve with **Once**, **This conversation**, **This project**, or **Global** scope. On approval, the job script and inputs are copied to a job directory under the scratch directory. > [!WARNING] >… Attribute costs to users Claude Documentation · in the page claude-tag/admins/attribute-costs …channel spend, one row per user per day: ```bash theme={null} curl --globoff "https://api.anthropic.com/v1/organizations/analytics/cost_report?\ starting_at=2026-09-01T00:00:00Z&\ ending_at=2026-09-0… Connect an AWS role Claude Documentation · in the page claude-tag/admins/federated-access/aws …each region, and for `us-east-1` also `*.s3.amazonaws.com`, the older global S3 address some tools still use there. Every host must end in `.amazonaws.com`. The sign-in itself goes to the AWS Security… Connect a Google Cloud identity Claude Documentation · in the page claude-tag/admins/federated-access/gcp …example `principal://iam.googleapis.com/projects/123456789/locations/global/workloadIdentityPools/claude/subject/wimse://identity.anthropic.com/org/<your organization ID>/agent/<agent ID>`. To grant… Limits for federated agent access Claude Documentation · in the page claude-tag/admins/federated-access/limits …a numeric project, `//iam.googleapis.com/projects/<number>/locations/global/workloadIdentityPools/<pool>/providers/<provider>`. Workforce identity pools aren't supported. | | **Service account to act… Identity token reference Claude Documentation · in the page claude-tag/admins/federated-access/token-reference …name, for example `//iam.googleapis.com/projects/123456789/locations/global/workloadIdentityPools/claude/providers/agents` | | An authorization server | Your server's issuer identifier as you entered… Lazy authentication for MCP servers Claude Documentation · in the page connectors/building/lazy-authentication …resource metadata and the authorization-server metadata it points to globally, keyed by URL, with a staleness window of about five minutes by default. How the cache is keyed and refreshed decides wh…
Feedback