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.

Interactive mode Claude Code CLI · in the page interactive-mode …cursor instead | | `Ctrl+G` or `Ctrl+X Ctrl+E` | Open in default text editor | Edit your prompt or custom response in your default text editor. `Ctrl+X Ctrl+E` is the readline-native binding. Turn on… JetBrains IDEs Claude Code CLI · in the page jetbrains …or `Ctrl+Esc` (Windows/Linux) to open Claude Code directly from your editor, or click the Claude Code button in the UI * **Diff viewing**: Claude Code opens code changes in the IDE diff viewer instea… Customize keyboard shortcuts Claude Code CLI · in the page keybindings …Description | | :- | :- | | `$schema` | Optional JSON Schema URL for editor autocompletion | | `$docs` | Optional documentation URL | | `bindings` | Array of binding blocks by context | This example… Set up Claude Code in a monorepo or large codebase Claude Code CLI · in the page large-codebases ….sparsePaths`](#check-out-only-the-directories-you-need) | | Read and edit a sibling package or another repository from the same session | [`--add-dir`](#grant-access-across-packages-or-repositories)… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …apply only to that terminal session and programs started from it. An editor launched from the dock or Start menu won't see them. To make the values persist across new terminals, add the same lines to… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …gement](https://platform.claude.com/docs/en/build-with-claude/context-editing) | Context management beta header pairs with the `context_management` body field | `400` with `Extra inputs are not permit… Control MCP server access for your organization Claude Code CLI · in the page managed-mcp …-mcp-json) describes. ### What users can see and change Users can't edit or remove a provided server: * `claude mcp remove` reports that the server is provided by the organization. * When you haven… Deploy managed settings Claude Code CLI · in the page managed-settings …](/docs/en/settings-reference#requiredminimumversion), and [some user-editable keys](/docs/en/settings.md#when-edits-take-effect) take effect at the next session start. * A new or changed [`policyHe… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …oesn't trim the whitespace and uses the values exactly as written, so edit the configuration to remove it. * **Same name in more than one scope**: if you define the same server name in more than one [… Connect to MCP servers Claude Code CLI · in the page mcp-quickstart …o approve)`` | A project-scoped server you haven't approved yet. See [Edit .mcp.json directly](#edit-mcp-json-directly) | | `⊘ Disabled for this project (re-enable via /mcp)` | A server turned off for… How Claude remembers your project Claude Code CLI · in the page memory …hat contradict each other. You get a report of findings with proposed edits, and nothing in your files changes until you ask Claude to apply them. By default, the audit covers your CLAUDE.md, CLAUDE.… Claude Code on mobile Claude Code CLI · in the page mobile …behavior differs. * **Permission modes**: cloud sessions offer Accept edits, Plan, and Auto, and Remote Control sessions offer Manual, Accept edits, Plan, and Auto. You can't select Bypass permissions… Model configuration Claude Code CLI · in the page model-config …in the picker grayed out, with a note on why. #### Fable and usage credits Depending on your plan and seat tier, Fable usage can bill to [usage credits](https://support.claude.com/en/articles/124294… Monitoring Claude Code CLI · in the page monitoring-usage …AI semantic convention | | | `file_path` | Target file path for Read, Edit, and Write tools | `OTEL_LOG_TOOL_DETAILS` | | `full_command` | Command string for the Bash tool | `OTEL_LOG_TOOL_DETAILS` |… Output styles Claude Code CLI · in the page output-styles …omething that has to happen every time, such as formatting after each edit or blocking a command, use a [hook](/docs/en/hooks-guide.md). > * For skills, subagents, and the other options, see [Choose b… Overview Claude Code CLI · in the page overview …ew > Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools. Available in your terminal, IDE, desktop app, and browser.… Choose a permission mode Claude Code CLI · in the page permission-modes …Manual mode, Claude Code stops and asks you before most actions that edit files, run shell commands, or reach the network. In [auto mode](#eliminate-prompts-with-auto-mode), a second model, the class… Configure permissions Claude Code CLI · in the page permissions …nds) | Permanently per repository and command | | File modification | Edit/write files | Yes | Until session end | | Web fetch | WebFetch | Yes, except a built-in set of [preapproved documentation dom… Platforms and integrations Claude Code CLI · in the page platforms …extensions trade some CLI-only features for visual review and tighter editor integration. The web runs in the cloud, so tasks keep going after you disconnect. Mobile is a thin client into those same c… Test plugins with evals Claude Code CLI · in the page plugin-evals …in tools that need a grant you didn't give, such as `Bash`, `Write`, `Edit`, `WebFetch`, and `WebSearch`, are removed from the session, so Claude can't call them at all. A run allows only the read-on… Plugin commands reference Claude Code CLI · in the page plugins/cli-reference …stall step. `new` is an alias for `init`. For the create, test, and edit workflow that begins with this command, see [Create a plugin](/docs/en/plugins/create.md). ```bash theme={null} claude plugi… Code intelligence plugins Claude Code CLI · in the page plugins/code-intelligence …> Install a language server plugin so Claude sees type errors after edits and navigates code by symbol, and answer the LSP plugin recommendation dialog. A code intelligence plugin gives Claude the… Add components to a plugin Claude Code CLI · in the page plugins/components …* A security-review subagent * A hook that formats files after Claude edits them, and the `scripts/` folder it calls * A log monitor * An output style and a color theme * A route-audit workflow * A `h… Create a Claude Code plugin Claude Code CLI · in the page plugins/create …-a-new-version) says when to set or omit it. * **`author`**: who to credit. `name` is required inside it; `email` and `url` are optional. Every other field is on the [manifest reference](/docs/en/plu… Create a marketplace Claude Code CLI · in the page plugins/create-marketplace …n `claude plugin validate ./my-marketplace` in your shell after every edit, and install from the marketplace on your own machine before you share it. Validation and installation catch different proble… Host and maintain a marketplace Claude Code CLI · in the page plugins/host-marketplace …ssion ratio**: uncompressed content 50 times the size of the zip ### Edit plugins in place on a shared directory When users add your marketplace from a shared directory, Claude Code reads plugins wi… Plugin loading reference Claude Code CLI · in the page plugins/loading …ugin loads in place from its path inside the marketplace folder. Your edits to the source directory take effect at the next session start or `/reload-plugins`, and you don't need to increase the versi… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …ription | | :- | :- | :- | | `$schema` | String | JSON Schema URL for editor autocomplete. Claude Code ignores it at load time | | [`name`](#name) | String | Plugin identifier, required. Use kebab-cas… Marketplace reference Claude Code CLI · in the page plugins/marketplace-reference …n't fail the marketplace | | `$schema` | string | JSON Schema URL for editor autocomplete. Ignored at load time | | `description` | string | Marketplace description shown to users. `claude plugin vali… Create a mod Claude Code CLI · in the page plugins/mods/create …6d0f4b8a7e13/git-branch/`. > [!NOTE] > > In the `default` and `acceptEdits` [permission modes](/docs/en/permission-modes.md), Claude Code asks you to approve each of the mod's files before Claude cre… React to events with a mod Claude Code CLI · in the page plugins/mods/events …l.call', { tool: 'Bash' }, hook) // An array matches any value in it: Edit calls and Write calls on('tool.call', { tool: ['Edit', 'Write'] }, hook) // A regular expression matches by pattern: every to… Draw in the interface with a mod Claude Code CLI · in the page plugins/mods/interface …it with the plugin's name, as in **From the token-chart plugin** or **Edited by the token-chart plugin**. * **Keyboard**: buttons have no hotkeys, so the user clicks a button or presses Enter on it on… Mods overview Claude Code CLI · in the page plugins/mods/overview …replay-theater): adds a `/replay` command that steps through the file edits Claude made in the last turn A sample mod runs with your permissions. To see what one does before you load it, [list its ho… Mods reference Claude Code CLI · in the page plugins/mods/reference …aft, or as a dim suggestion | `next(e)` with changed text | | `prompt.edit` | The user edits the prompt box | `next(e)` | | `prompt.autocomplete` | The user types in the prompt box and a word ends at… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …docs/en/env-vars.md#features-that-need-feature-flag-fetching). ## An edit or a value is lost The mod runs, and a change you made or a value it kept isn't there. ### Your edits don't take effect Yo… Plugins overview Claude Code CLI · in the page plugins/overview …ands Claude Code runs at points in its lifecycle, such as after every edit * [**A hooks module**](/docs/en/plugins/mods/overview.md): hooks written as JavaScript functions, which can also draw panes a… Recommend plugins for your org Claude Code CLI · in the page plugins/relevance …`manifestDeps` signals also match against files Claude has written or edited this session and against the project's auto-loaded `CLAUDE.md` memory files. #### Working directory matching `cwd` is the… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …add acme-corp/claude-plugins#v1.2.0 ``` * **Use the new source**: edit or remove the `extraKnownMarketplaces` entry, then add the marketplace again. If managed settings declare it, ask your admini… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …h triggers a slow uncached turn, what `/compact` costs, why CLAUDE.md edits don't apply mid-session, and how to check your cache hit rate. Prompt caching makes Claude Code faster and more cost-effici… Prompt library Claude Code CLI · in the page prompt-library …r the {target} to {goal}. list the files you would change, but don\'t edit anything yet', slots: { target: 'payment module', goal: 'support multiple currencies' }, src: 'workfl… Quickstart Claude Code CLI · in the page quickstart …de Console](https://platform.claude.com/) (API access with pre-paid credits). On first login, a "Claude Code" workspace is automatically created in the Console for centralized cost tracking. * [Amazon… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …sessions share the current working directory, so they can conflict if editing the same files. • `worktree`: each on-demand session gets its own [git worktree](/docs/en/worktrees.md). Requires a git re… Automate work with scheduled tasks Claude Code CLI · in the page routines …changed APIs, and opens update PRs against the docs repository for an editor to review. * **Library port**: a GitHub trigger runs on `pull_request.closed` filtered to merged PRs in one SDK repository.… Choose a sandbox environment Claude Code CLI · in the page sandbox-environments …* Other [built-in tools](/docs/en/tools-reference.md) such as Read, Edit, and WebFetch run inside the Claude Code process and do not spawn arbitrary code. [Permission rules](/docs/en/permissions.md)… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …n outside it: * **Built-in file and web tools**: tools such as Read, Edit, Write, WebFetch, and WebSearch follow [permission rules](/docs/en/permissions.md) instead. A `denyRead` entry doesn't stop t… Run prompts on a schedule Claude Code CLI · in the page scheduled-tasks …he thread. If everything is green and quiet, say so in one line. ``` Edits to `loop.md` take effect on the next iteration, so you can refine the instructions while a loop is running. When no `loop.md… Security Claude Code CLI · in the page security …de**: Claude Code starts with read-only permissions. When it needs to edit files, run tests, or execute commands, it asks you first, and you choose whether to approve the action once or allow it from… Catch security issues as Claude writes code Claude Code CLI · in the page security-guidance …iff against git state and skip silently outside a repository. The per-edit pattern check works anywhere On first run the plugin creates a virtual environment under `~/.claude/security/` and installs… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …ne tool calls, including `Bash`, and cloud sessions [pre-approve file edits regardless of mode](/docs/en/permission-modes.md#switch-permission-modes). A call that nothing pre-approves prompts through… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …e that session's own workspace: an `additionalDirectories` entry, an `Edit`, `Write`, or `NotebookEdit` rule in `permissions.allow`, or a `sandbox.filesystem.allowWrite` or `allowRead` entry * A non…
Feedback