Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,334 pages for file.

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

Share session output as artifacts Claude Code CLI · in the page artifacts …ne. If Claude responds that it can't publish, or writes a local HTML file without a link, artifacts aren't enabled for your session. Check the [Availability](#availability) requirements. If the termi… Authentication Claude Code CLI · in the page authentication …claude.com/docs/en/settings-reference#forceloginmethod) in a settings file requires. With `"claudeai"`, an API key from an earlier Claude Console login doesn't count as an existing sign-in. With `"con… Configure auto mode Claude Code CLI · in the page auto-mode-config …The classifier reads `autoMode` from the following scopes: | Scope | File | Use for | | :- | :- | :- | | One developer | `~/.claude/settings.json` | Personal trusted infrastructure | | Organization-w… Best practices for Claude Code Claude Code CLI · in the page best-practices …the code alone: * A deploy process that lives in someone's head * A file that must never be read * A check that has to pass before anything counts as done * A budget you need to stay under No defau… Champion kit Claude Code CLI · in the page champion-kit …ase conventions." | Suggest running `/init` to generate a `CLAUDE.md` file, then adding the team's conventions, test commands, and any directories that should be avoided. | [Memory](https://code.claud… Claude Code changelog Claude Code CLI · in the page changelog …nizations managed in Anthropic's Enterprise Admin Console: the AWS profile they chose, and how their sign-in relates to your own `ANTHROPIC_BASE_URL` * Added answering an in-process agent teammate's p… Push events into a running session with channels Claude Code CLI · in the page channels …Threads > * Create Public Threads > * Read Message History > * Attach Files > * Add Reactions > > Open the generated URL to add the bot to your server. > > **4. Install the plugin** > > Start Claude C… Channels reference Claude Code CLI · in the page channels-reference …# Example: build a webhook receiver This walkthrough builds a single-file server that listens for HTTP requests and forwards them into your Claude Code session. By the end, anything that can send an… Checkpointing Claude Code CLI · in the page checkpointing …n to manage session state. Claude Code automatically tracks Claude's file edits as you work. To undo edits, run `/rewind` or its alias `/undo` in your session to open the [rewind menu](#rewind-and-su… Use Claude Code with Chrome Claude Code CLI · in the page chrome …wser tasks like data entry, form filling, or multi-site workflows * **File uploads**: attach files from your machine to upload fields on web pages * **Session recording**: record browser interactions… Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry Claude Code CLI · in the page claude-apps-gateway …ocs/en/claude-apps-gateway-config.md) covers every option in the YAML file the quickstart writes, and the [deployment guide](https://code.claude.com/docs/en/claude-apps-gateway-deploy.md) covers per-I… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …elemetry. A Claude apps gateway deployment is configured by one YAML file, conventionally `gateway.yaml`. The file defines everything the gateway does: where it listens, how developers sign in, where… Claude apps gateway deployment and operations Claude Code CLI · in the page claude-apps-gateway-deploy …er, and running it day-to-day. For every option in the `gateway.yaml` file the gateway reads at boot, see the [Configuration reference](https://code.claude.com/docs/en/claude-apps-gateway-config.md).… Deploy Claude apps gateway on AWS Claude Code CLI · in the page claude-apps-gateway-on-aws …ilt-in model catalog, which resolves to `us.anthropic.*` inference profiles, and the IAM policy grants those ARNs. In a non-US region, add a [`models:` block](https://code.claude.com/docs/en/claude-ap… Deploy Claude apps gateway on Google Cloud Claude Code CLI · in the page claude-apps-gateway-on-gcp …-client-id> client_secret: ${OIDC_CLIENT_SECRET} # GKE: ${file:/secrets/oidc-client-secret} allowed_email_domains: [example.com] # Google ignores offline_access; these yield refresh to… Claude apps gateway spend limits Claude Code CLI · in the page claude-apps-gateway-spend-limits …rry no model name, such as an Amazon Bedrock application-inference-profile ARN or a Microsoft Foundry deployment name. Requires v2.1.218 or later. 4. The unknown-model tier of \$5/\$25 per million inp… Use Claude Code in the cloud Claude Code CLI · in the page claude-code-on-the-web …={null} claude --permission-mode plan ``` In plan mode, Claude reads files, runs commands to explore, and proposes a plan without editing source code. Once you're satisfied, save the plan to the repo… Explore the .claude directory Claude Code CLI · in the page claude-directory …directory and from `~/.claude` in your home directory. Commit project files to git to share them; files in `~/.claude` are personal configuration that applies across all your projects. On Windows, `~… Claude Code with Claude Models on Google Cloud (Anthropic managed) Claude Code CLI · in the page claude-models-on-google-cloud-anthropic-managed …sign in with a Google account rather than with a service account key file ## Set up Claude Code **1. Create Application Default Credentials** > [tab] Google account > > Run this command in your sh… Claude Code on Claude Platform on AWS Claude Code CLI · in the page claude-platform-on-aws …AWS CLI before starting Claude Code. The example below uses an SSO profile, but any method that produces credentials in the standard locations works. ```bash theme={null} aws sso login --profile my-p… Let Claude coordinate ongoing work with Projects Claude Code CLI · in the page claude-projects …in claude.ai chat and Cowork. They group conversations and reference files but have no threads. ## When to use a project A project is worth creating when the work has a goal that outlasts one sessi… Scan your codebase for vulnerabilities Claude Code CLI · in the page claude-security …e** If you want patches later, commit all your changes and untracked files, or stash them with `git stash -u` from your shell until the scan ends. **2. Open the Claude Security menu** Start Claude… Claude Ship Claude Code CLI · in the page claude-ship …s a check that reports who still has to approve. You write its policy file, which can set how many people have to approve changes to a path, and where Claude can post an approving review. The check bl… claude-tag Claude Code CLI · in the page claude-tag …href="/docs/llms.txt" tabindex="-1">/docs/llms.txt</a></p><p>Use this file to discover all available pages before exploring further.</p></blockquote><style>:root{--banner-height:0px!important}</style>… CLI reference Claude Code CLI · in the page cli-reference …ery via SDK, then exit | `claude -p "explain this function"` | | `cat file \| claude -p "query"` | Process piped content | `cat logs.txt \| claude -p "explain"` | | `claude -c` | Continue most recent… Configure cloud environments Claude Code CLI · in the page cloud-environments …a session on your own machine, which uses your machine's network and files, not a cloud environment. To choose the environment a Claude Tag channel uses, see [Set the environment a Claude Tag channel… Run tool calls from code with Code Mode Claude Code CLI · in the page code-mode …aude to raise a retry limit, Claude might write this code to find the file, edit it, and run the tests. The last line returns the file's path and the test output to Claude: ```javascript theme={null}… Code Review Claude Code CLI · in the page code-review …You can tune what Claude flags by adding a `CLAUDE.md` or `REVIEW.md` file to your repository. To run Claude in your own CI infrastructure instead of this managed service, see [GitHub Actions](/docs/… Code Review costs and usage Claude Code CLI · in the page code-review-costs …de.claude.com/docs/en/approvals-setup.md#what-approvals-costs) policy file, reviews can start that the **Review runs** setting wouldn't start, and [automatic ones can stop](https://code.claude.com/doc… Customize Code Review Claude Code CLI · in the page code-review-customize …ons to it. This is how you cut nit volume, stop comments on generated files, or add a rule your team cares about. Put them in one of two files: * **`CLAUDE.md`**: [project instructions](https://code.… Review locally with /code-review Claude Code CLI · in the page code-review-local …eview target. A target can be a pull request number, a branch name, a file path, or a Git revision range. The following table shows what to type for common targets: | To point the review at | Type |… Read and request reviews on a pull request Claude Code CLI · in the page code-review-pull-requests …e.claude.com/docs/en/approvals.md#keep-automatic-code-reviews) policy file, the policy can use a review's result to decide who has to approve. It can also change which pull requests get an automatic r… Set up Code Review Claude Code CLI · in the page code-review-setup …i. Reviews run on Anthropic infrastructure, so you don't add workflow files to your repositories. After setup, an Owner chooses how thorough reviews are and when they run in each repository. You spen… Troubleshoot Code Review Claude Code CLI · in the page code-review-troubleshooting …laude Approvals](https://code.claude.com/docs/en/approvals.md) policy file, and the policy asks for no review on this pull request. To get a review anyway, comment `@claude review` on the pull request… Commands Claude Code CLI · in the page commands …| Add a working directory for file access during the current session. Type a partial path to see matching directory suggestions; press `Tab` to accept one. Most… Common workflows Claude Code CLI · in the page common-workflows …specific feature or functionality. **1. Ask Claude to find relevant files** ```text wrap theme={null} find the files that handle user authentication ``` **2. Get context on how components interact… Communications kit Claude Code CLI · in the page communications-kit …be the first reply | | One concrete first task chosen, a real bug or file in your codebase | Generic examples don't convert; "fix the flaky test in `auth_test.go`" does | | A named owner for the chan… Let Claude use your computer from the CLI Claude Code CLI · in the page computer-use …arp, and other terminals and IDEs | | Can open, change, or delete any file, and run apps and scripts | Finder | | Can change system settings | System Settings | Approve Finder to let Claude click the… Explore the context window Claude Code CLI · in the page context-window …indow fills during a session. See what loads automatically, what each file read costs, and when rules and hooks fire. export const ContextWindow = () => { const MAX = 200000; const STARTUP_END =… Run Claude Code behind a corporate launcher Claude Code CLI · in the page corporate-launcher …xternally managed state: `/doctor` reports it, auto-update leaves the file in place, and cleanup of old versions stays disabled until the installer manages that path again. **2. Set CLAUDE\_CODE\_PRO… Manage costs effectively Claude Code CLI · in the page costs …ame schedule as the rest of your session data: at startup, it removes files older than [`cleanupPeriodDays`](https://code.claude.com/docs/en/claude-directory#cleaned-up-automatically), 30 days by defa… Message your other Claude Code sessions Claude Code CLI · in the page cross-session-messaging …Claude writes to another, never the sender's conversation history or files. To move a whole conversation or its context, [resume the session](https://code.claude.com/docs/en/sessions.md#resume-a-sess… Data usage Claude Code CLI · in the page data-usage …rsation transcript, any subagent transcripts, and the raw session log file from disk to Anthropic. Known API key and token patterns are redacted before upload. Source code, file contents, and other co… Debug your configuration Claude Code CLI · in the page debug-your-config …feature you configured doesn't appear, the cause is usually that the file didn't load, it loaded from a different location than you expected, or another file overrode it. This guide shows how to insp… Desktop application Claude Code CLI · in the page desktop …ith Git isolation, drag-and-drop pane layout, integrated terminal and file editor, side chats, computer use, Dispatch sessions from your phone, visual diff review, app previews, PR monitoring, connect… Test iOS apps in the simulator Claude Code CLI · in the page desktop-ios-simulator …ith **Cmd+R**, using the pane's capture buttons or the shortcuts; the files are saved to your Desktop * Stop streaming a device without shutting it down by clicking the device's name at the top of the… Claude Desktop on Linux (beta) Claude Code CLI · in the page desktop-linux …e `31DDDE24DDFAB679F42D7BD2BAA929FF1A7ECACE`. If gpg reports that the file can't be opened or contains no valid OpenPGP data, the download failed or returned the wrong content. Confirm your network ca… Get started with the desktop app Claude Code CLI · in the page desktop-quickstart …ts for your approval: * **Auto or Accept edits**: Claude applies its file changes, and an indicator such as `+12 -1` appears so you can review them in the [diff view](https://code.claude.com/docs/en/… Schedule recurring tasks in Claude Code Desktop Claude Code CLI · in the page desktop-scheduled-tasks …s: * **Local task**: runs on your machine with direct access to your files and tools, but only fires while the app is open and your computer is awake * **Cloud task**: runs even when your computer is… Claude Code Desktop in WSL Claude Code CLI · in the page desktop-wsl …se a WSL session when your repository lives inside the distribution's filesystem. Working on those files from Windows goes through a network filesystem, which is slow and breaks file watching; running…
Feedback