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

787 pages for edit.

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

Configure auto mode Claude Code CLI · in the page auto-mode-config …nd, then shows you the draft. You accept or discard it as a whole, so edit `~/.claude/settings.json` afterwards to adjust single entries. When you accept, Claude Code writes the draft and reconciles i… Best practices for Claude Code Claude Code CLI · in the page best-practices …blem. Use [plan mode](/docs/en/permission-modes.md#analyze-before-you-edit-with-plan-mode) to separate exploration from execution. The recommended workflow has four phases: **1. Explore** Enter pla… Champion kit Claude Code CLI · in the page champion-kit …Tab until you see "plan"; it lays out the changes it proposes without editing your source. ``` ## Be the person people ask Once you have shared a few examples, questions will follow. This is where a… Claude Code changelog Claude Code CLI · in the page changelog …get the standard Bash prompt and run as written, not a simulated file-edit preview; like other Bash edits, it is no longer restored by `/rewind` * Changed `claude ultrareview` to require workspace tru… Channels reference Claude Code CLI · in the page channels-reference …chat) shows a more complete example with file attachments and message editing. ## Gate inbound messages An ungated channel is a prompt injection vector. Anyone who can reach your endpoint can put te… Checkpointing Claude Code CLI · in the page checkpointing # Checkpointing > Track, rewind, and summarize Claude's edits and conversation to manage session state. Claude Code automatically tracks Claude's file edits as you work, allowing you to quickly undo… Use Claude Code with Chrome Claude Code CLI · in the page chrome …teracts with it, and reports what it finds, all from your terminal or editor: ```text wrap theme={null} Go to code.claude.com/docs, click on the search box, type "hooks", and tell me what results app… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …ability. > > Two propagation clocks apply: > > * **Policy contents**: editing a policy and redeploying reaches connected Claude Code clients on their next managed-settings poll, within an hour, apart… Claude apps gateway deployment and operations Claude Code CLI · in the page claude-apps-gateway-deploy …config#choose-cli-or-code). Restart the gateway so that it reads the edited file. Then have developers restart Claude Code to get `CLAUDE_STREAM_IDLE_TIMEOUT_MS`. ### Long thinking on an Anthropic A… Deploy Claude apps gateway on AWS Claude Code CLI · in the page claude-apps-gateway-on-aws …very credential resolves at boot through `${VAR}` expansion. A config edit therefore means a rebuild under a new tag; `setup.sh` automates this by tagging images with a hash of the file. * **`terrafor… Use Claude Code in the cloud Claude Code CLI · in the page claude-code-on-the-web …de reads files, runs commands to explore, and proposes a plan without editing source code. Once you're satisfied, save the plan to the repo, commit, and push so the cloud VM can clone it. Then start a… Explore the .claude directory Claude Code CLI · in the page claude-directory …ut you spelling them out each time', <>Run <C>/memory</C> to open and edit CLAUDE.md from within a session</>, <>Also works at <C>.claude/CLAUDE.md</C> if you prefer to keep the project root clean</>,… Let Claude coordinate ongoing work with Projects Claude Code CLI · in the page claude-projects …des.md#eliminate-prompts-with-auto-mode), so Claude runs commands and edits files in that folder without asking you each time. If auto mode is unavailable or turned off in that computer's Claude Code,… Scan your codebase for vulnerabilities Claude Code CLI · in the page claude-security …234". Only committed changes are scanned: commit or stash in-progress edits first, or run a full scan, which reads the working tree. Change scans need a git repository; full scans of an unversioned d… claude-tag Claude Code CLI · in the page claude-tag …t-prose font-semibold text-base text-gray-800 dark:text-white" contentEditable="false" data-component-part="card-title">Set up Claude Tag</h2><div id="_R_675dd7av5tcd74t9snpfiutbH1_" class="prose font… CLI reference Claude Code CLI · in the page cli-reference …e Code state for a project: transcripts, task lists, debug logs, file-edit history, prompt history lines, and the project's entry in `~/.claude.json`. Omit `[path]` to pick from an interactive list. F… Configure cloud environments Claude Code CLI · in the page cloud-environments …talled before it starts working. ## Configure your environment Add, edit, and archive environments from the environment selector under the message box on the screen where you start a new session at… Code Review Claude Code CLI · in the page code-review …reakdown costs are estimated at list price, before any discounts or credits, and cover only reviews that Claude posted on a pull request. For invoice-accurate spend, refer to your Anthropic bill. ##… Code Review costs and usage Claude Code CLI · in the page code-review-costs …spends on Claude Code Review: how reviews are billed through usage credits, what drives cost, and where to track usage. [Code Review](/docs/en/code-review.md) has no flat per-review price. What you… Review locally with /code-review Claude Code CLI · in the page code-review-local …aude to apply the findings to your working tree after the review. Its edits go through your [permission mode](/docs/en/permission-modes.md). * `--comment`: posts the findings on a GitHub pull request… Read and request reviews on a pull request Claude Code CLI · in the page code-review-pull-requests …t, not an inline comment on a diff line and not the body of a review. Editing an earlier comment doesn't count. * Put the whole command on one line at the start of the comment. Other text can follow i… Set up Code Review Claude Code CLI · in the page code-review-setup …nless you give that repository its own. * **One repository**: click **Edit** on the repository's row, then select a **Review level** there. The first option, **Default**, follows the organization. The… Troubleshoot Code Review Claude Code CLI · in the page code-review-troubleshooting …top-level comment, or the command wasn't at the start of the comment. Editing an earlier comment instead of posting a new one doesn't count either, and the pull request has to be open. See the [condit… Commands Claude Code CLI · in the page commands …sk Claude to create or manage [subagents](/docs/en/sub-agents), or to edit `.claude/agents/` or `~/.claude/agents/` directly. On v2.1.197 and earlier, opens an interactive interface for creating and m… Common workflows Claude Code CLI · in the page common-workflows …with worktrees](#run-parallel-sessions-with-worktrees) so concurrent edits don't collide * [Plan before editing](#plan-before-editing) to review changes before they touch disk * [Delegate research to… Communications kit Claude Code CLI · in the page communications-kit …s, tests, PRs. It is not autocomplete and it is not a chat window. It edits files and runs your commands. Get running in two minutes: curl -fsSL https://claude.ai/install.sh | bash cd <your-… Explore the context window Claude Code CLI · in the page context-window …', link: null }, { t: 0.57, kind: 'claude', label: 'Edit auth.ts', tokens: 400, color: '#D97757', vis: 'full', desc: 'Fixes the token rotation order. The diff appears… Manage costs effectively Claude Code CLI · in the page costs …the Claude Code prompt and press `f` again. #### Check your usage-credits spend `/usage` also shows a usage-credits row while [usage credits](#add-usage-credits-to-your-subscription) are on. What t… Message your other Claude Code sessions Claude Code CLI · in the page cross-session-messaging …use` | Claude Code drops each message without delivering it | Beyond editing a settings file, you can select the value in the `/config` row **Messages from your other sessions**. Claude Code writes t… Debug your configuration Claude Code CLI · in the page debug-your-config …s across user and project scopes with the option to open each in your editor, plus access to the auto memory folder and the auto memory toggle | | `/skills` | Available skills from project, user, and… Launch sessions from links Claude Code CLI · in the page deep-links …link's prompt text already in the input box. 4. You read the prompt, edit it if you want, and press Enter to send it. The link itself can be hosted anywhere, but the session always opens locally on… Desktop application Claude Code CLI · in the page desktop …it 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, connectors,… Claude Desktop on Linux (beta) Claude Code CLI · in the page desktop-linux …ws: parallel sessions, visual diff review, an integrated terminal and editor, and live app preview. See [Use Claude Code Desktop](/docs/en/desktop.md) for the feature reference. ## Requirements * A… Get started with the desktop app Claude Code CLI · in the page desktop-quickstart …ox to see whether Claude waits 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](/doc… Schedule recurring tasks in Claude Code Desktop Claude Code CLI · in the page desktop-scheduled-tasks …on-in-its-own-worktree) instead, select **Worktree** in the task's [**Edit** form](#manage-scheduled-tasks) after you create it. The checkbox is available when the task's folder is a Git repository.… Claude Code Desktop in WSL Claude Code CLI · in the page desktop-wsl …rk, backed by the git and toolchain inside the distribution. "Open in editor" opens VS Code connected to the distribution through [Remote - WSL](https://code.visualstudio.com/docs/remote/wsl). If a D… Development containers Claude Code CLI · in the page devcontainer …Claude runs execute inside it rather than on the host machine, while edits to your project files appear in your local repository as you work. This page covers [installing Claude Code in a dev contai… Environment variables Claude Code CLI · in the page env-vars …| | `CLAUDE_CODE_BASH_EDIT_DIFF` | Set to `0` to turn off the [diff of the files that changed while a Bash command ran](/docs… Error reference Claude Code CLI · in the page errors …t limit` | [Usage limits](#youve-hit-your-session-limit) | | `Usage credits required for 1M context` | [Usage limits](#usage-credits-required-for-1m-context) | | `the prompt to confirm went unanswered… Speed up responses with fast mode Claude Code CLI · in the page fast-mode …n plans (Pro/Max/Team/Enterprise), fast mode is available via usage credits only and not included in the subscription rate limits. ## Toggle fast mode In the CLI, toggle fast mode in either of these… Extend Claude Code Claude Code CLI · in the page features-overview …n that must run on every matching event | Run ESLint after every file edit | | **[Artifact](/docs/en/artifacts.md)** | Publish session output as a private, interactive web page | Output you want to se… Fullscreen rendering Claude Code CLI · in the page fullscreen …the click, file paths in tool output, like the ones printed after an Edit or Write, open in your file manager with the file selected. A plain click without the modifier doesn't open links, matching n… Claude Code GitHub Actions Claude Code CLI · in the page github-actions …(#run-a-skill) to the checked-in file yourself, which keeps any other edits you made to it. After installing the GitHub App, Claude Code asks whether to continue with GitHub Actions setup. Choose **S… Claude Code GitLab CI/CD Claude Code CLI · in the page gitlab-ci-cd …and implement the requested changes'}" --permission-mode acceptEdits --allowedTools "Bash Read Edit Write mcp__gitlab" --debug ``` After adding the job and your `ANTHROPIC_API_KEY`… Glossary Claude Code CLI · in the page glossary …you send that starts a turn. Claude Code snapshots files before every edit so a checkpoint can revert them. Press `Esc` twice or run `/rewind` to restore code, conversation, or both to an earlier poin… Keep Claude working toward a goal Claude Code CLI · in the page goal …active because the host restores access on its own. * An exhausted credit balance * A context overflow that [auto-compaction](/docs/en/model-config.md#set-the-auto-compact-window) couldn't clear * A… Run Claude Code programmatically Claude Code CLI · in the page headless …ull} claude -p "Find and fix the bug in auth.py" --allowedTools "Read,Edit,Bash" ``` This page covers using the Agent SDK via the CLI (`claude -p`). For the Python and TypeScript SDK packages with st… Hooks reference Claude Code CLI · in the page hooks …optional surrounding whitespace | `Bash` matches only the Bash tool; `Edit\|Write` and `Edit, Write` each match either tool exactly; `code-reviewer` matches only that agent type | | Contains any other… Automate actions with hooks Claude Code CLI · in the page hooks-guide …tions with hooks > Run shell commands automatically when Claude Code edits files, finishes tasks, or needs input. Format code, send notifications, validate commands, and enforce project rules. Hooks… How Claude Code works Claude Code CLI · in the page how-claude-code-works …es tools throughout, whether searching files to understand your code, editing to make changes, or running tests to check its work. ![Diagram of the agentic loop: Your prompt leads to Claude gathering…
Feedback