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

773 pages for write.

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

Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …user.** The mod keeps that user's permissions: it can still read and write files, start processes, and make network requests. It can also rewrite tool calls and prompts, deny a tool call, and draw in… Use the mods API Claude Code CLI · in the page plugins/mods/api …read_input_tokens` counts the tokens it read from the cache. Expect a write on the first call and reads on later calls within the TTL. If every call writes and none reads, the prefix differs between… Create a mod Claude Code CLI · in the page plugins/mods/create # Create a mod > Have Claude write a Claude Code mod from a description, or write one yourself that counts tool calls and adds a command. Learn the reload and validate loop. A mod is a Claude Code [… React to events with a mod Claude Code CLI · in the page plugins/mods/events …events with a mod > Handle Claude Code events from a mod: observe, rewrite, or answer tool calls, prompts, and turns, filter which events a hook handles, and plan for other mods. A hook is an event… Interface gallery for mods Claude Code CLI · in the page plugins/mods/gallery …directories inside it. [Create a mod](/docs/en/plugins/mods/create.md#write-a-mod-yourself) explains the files. Save the manifest as `gallery/.claude-plugin/plugin.json`: ```json gallery/.claude-plu… Draw in the interface with a mod Claude Code CLI · in the page plugins/mods/interface …de, and the code file. [Create a mod](/docs/en/plugins/mods/create.md#write-a-mod-yourself) explains each one. Create a directory named `hello-tabs` with `.claude-plugin` and `hooks` directories insid… Mods overview Claude Code CLI · in the page plugins/mods/overview …them](#compare-mods-settings-hooks-skills-and-mcp-servers) before you write a mod. To manage mods for an organization, see [Manage mods for your organization](/docs/en/plugins/mods/admin.md). ## Get… Mods reference Claude Code CLI · in the page plugins/mods/reference …ou have installed. When the two disagree, trust [the copy Claude Code writes for your version](/docs/en/plugins/mods/create.md#get-the-types-for-your-build). ## Files A mod is a plugin directory wit… Test a mod Claude Code CLI · in the page plugins/mods/test # Test a mod > Write automated tests for a Claude Code mod that fire events, stub Claude Code's answers, and press buttons, with no session, sign-in, or network. You can write automated tests for a… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …g, check what Claude Code reads from the mod's files, and the line it writes when it skips something. For the first, in your shell run [`claude plugin validate`](/docs/en/plugins/mods/create#check-wha… Manage Claude Code plugins for your organization Claude Code CLI · in the page plugins/org …marketplaces follow these rules: * **Read-only**: Claude Code never writes to the seed and forces `autoUpdate` off for seed marketplaces. * **Seed entries take precedence**: on each startup, a marke… Recommend plugins for your org Claude Code CLI · in the page plugins/relevance …to the plugin's entry in `marketplace.json`. A marketplace operator writes the `relevance` entries. An administrator then allowlists the marketplace in managed settings. Users see no suggestions fro… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …he address shows. The text after the address names what to change. Rewrite the address as the message says and run the command again. A refusal that instead says `is blocked by enterprise policy` co… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …cache warm through longer breaks but [charges a higher rate for cache writes](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#pricing). The longer TTL helps when you leave a sessi… Prompt library Claude Code CLI · in the page prompt-library …prompt: 'explain what {path} does and how data flows through it. write it up as {format}', slots: { path: 'src/scheduler/queue.ts', format: 'an HTML page with a diagram, then open… Quickstart Claude Code CLI · in the page quickstart …rkflows Try a few more prompts. You can ask Claude to refactor code, write tests, update documentation, or review your changes: ```text wrap theme={null} refactor the authentication module to use as… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …. Requires Claude Code v2.1.282 or later. | | `--debug-file <path>` | Write debug logs to the given file. | | `--verbose` | Show detailed connection and session logs. | | `--sandbox`, `--no-sandbox` |… Automate work with scheduled tasks Claude Code CLI · in the page routines …/routines), from the Desktop app, or from the CLI. All three surfaces write to the same cloud account, so a scheduled task you create in one shows up in the others immediately. In the Desktop app's **… Choose a sandbox environment Claude Code CLI · in the page sandbox-environments …threat model. Isolating Claude Code limits what a session can read, write, and reach on the network. This matters most when you let Claude work with fewer permission prompts, run it unattended, or p… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …ch default. | Access | Default | Change it with | | :- | :- | :- | | Writes | The working directory, a per-user temp directory, and [directories you've added](/docs/en/permissions.md#additional-direc… Run prompts on a schedule Claude Code CLI · in the page scheduled-tasks …ne its own. | The file is plain Markdown with no required structure. Write it as if you were typing the `/loop` prompt directly. The following example keeps a release branch healthy: ```markdown tit… Security Claude Code CLI · in the page security …*: In Manual mode, Claude Code asks you before its file tools read or write outside the folder where it was started and its subfolders. The boundary is a permission prompt, so a Bash command you appro… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …see [Permissions and tool approval](#permissions-and-tool-approval). Writes here are isolated to this session. The directory stays under `<base-dir>/_sessions/` after the session ends unless you star… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …s own working directory that no other process on the host can read or write. Make `--hooks-dir`, the wrapper script, and the host's `~/.claude/` read-only to the session, either built into the image o… Verify session identity in self-hosted environments Claude Code CLI · in the page self-hosted-environments-identity …ims to decide what access to grant. ## The session token Before you write verification code, know what the token establishes and the shape your JWT library will see. ### What the token proves A va… Self-hosted environments quickstart Claude Code CLI · in the page self-hosted-environments-quickstart …es the repository's `https://` URL. To clone over SSH instead, see [Rewrite git URLs for private networks](/docs/en/self-hosted-environments-deploy.md#rewrite-git-urls-for-private-networks). * A clock… Self-hosted environments reference Claude Code CLI · in the page self-hosted-environments-reference …itory checkouts and per-session working directories. The runner needs write access to this path or its parent. The runner creates the directory at startup and exits with `cannot create or write to bas… Test self-hosted environments end to end Claude Code CLI · in the page self-hosted-environments-testing …for testing a new runner image. A Stop hook you install on the runner writes each turn's final reply to a local file, and the script reads it from there, so the only calls to the Anthropic API are the… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …n managed settings. The `Bash(curl *)` rule matches `curl` [as Claude writes it](/docs/en/permissions.md#bash-rule-limits), not `/usr/bin/curl` or `sh -c 'curl …'`; for network enforcement that doesn'… Manage sessions Claude Code CLI · in the page sessions …copies the transcript and switches the running Claude Code process to write to it. That distinction determines what the branch inherits: | State | After `/branch` | | :- | :- | | Conversation history… Claude Code settings Claude Code CLI · in the page settings …`~/.config/git/ignore`. If you create the file by hand or have Claude write it with the Write tool, add it to your gitignore yourself. Claude Code reads and writes this file at the root of the gi… Example settings files Claude Code CLI · in the page settings-example …, "sandbox": { "enabled": true, "filesystem": { "allowWrite": [ "/tmp/build" ] }, "network": { "allowedDomains": [ "registry.npmjs.org", "*.… All settings Claude Code CLI · in the page settings-reference …(/docs/en/permission-modes.md#analyze-before-you-edit-with-plan-mode) writes plan files | Memory and context | Any file | | [`pluginConfigs`](#pluginconfigs) | Store the answers you gave a [plugin](/d… Advanced setup Claude Code CLI · in the page setup …The VS Code extension, the JetBrains plugin, and the Desktop app also write to `~/.claude/`. If any of them is still installed, the directory is recreated the next time it runs. To remove Claude Code… Extend Claude with skills Claude Code CLI · in the page skills …When it has to build and drive your app without a recorded recipe, it writes what worked to `.claude/skills/verify/SKILL.md` at the repo root, or in the touched package directory in a monorepo, so lat… Claude Code in Slack Claude Code CLI · in the page slack …. * **Define success**: Explain what "done" looks like. Should Claude write tests? Update documentation? Create a PR? * **Use threads**: Reply in threads when discussing bugs or features so Claude can… Customize your status line Claude Code CLI · in the page statusline …ow, from the most recent API response. Input includes cache reads and writes | | `context_window.context_window_size` | Maximum context window size in tokens. 200000 by default, or 1000000 for models… Create custom subagents Claude Code CLI · in the page sub-agents …ription to decide when to delegate tasks. When you create a subagent, write a clear description so Claude knows when to use it. Those descriptions take up context, so keep them short. When the combin… Configure your terminal for Claude Code Claude Code CLI · in the page terminal-config …sor, Devin Desktop, Alacritty before 0.16, and Zed, `/terminal-setup` writes a Shift+Enter keybinding into the terminal's configuration file. On the first run you see a confirmation such as `Installed… Tools reference Claude Code CLI · in the page tools-reference …cs/en/mcp.md). To extend Claude with reusable prompt-based workflows, write a [skill](/docs/en/skills.md), which runs through the existing `Skill` tool rather than adding a new tool entry. > [!NOTE]… Troubleshoot installation and login Claude Code CLI · in the page troubleshoot-install …nstall that fails on permissions names the path it couldn't create or write. On Windows the install writes under `%USERPROFILE%`, which is writable by your user by default, so this section rarely appl… Troubleshooting Claude Code CLI · in the page troubleshooting …GB. If memory usage stays high after these steps, run `/heapdump` to write two files to `~/Desktop`: a JavaScript heap snapshot named `<session-id>.heapsnapshot` and a memory breakdown named `<sessio… Find bugs with ultrareview Claude Code CLI · in the page ultrareview …re it. Requires Claude Code v2.1.309 or later | `claude ultrareview` writes its progress messages to stderr so stdout stays parseable. Running `claude ultrareview` requires the same authentication a… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …**Build a custom style** from the **Output styles** menu. Claude Code writes the [style file](/docs/en/output-styles.md#create-a-custom-output-style) for you at the project or user level. Requires Cla… Week 13 · March 23–27, 2026 Claude Code CLI · in the page whats-new/2026-w13 …ked and surfaced. It's the middle ground between approving every file write and running with `--dangerously-skip-permissions`. ![Claude Code prompt footer showing 'auto mode on (shift+tab to cycle)'… Week 15 · April 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w15 …pace.git_worktree` in the JSON input`CLAUDE_CODE_PERFORCE_MODE`: Edit/Write fail on read-only files with a `p4 edit` hint instead of silently overwritingOS CA certificate store is now trusted by defau… Week 18 · April 27 – May 1, 2026 Claude Code CLI · in the page whats-new/2026-w18 …1 on failure`--dangerously-skip-permissions` now bypasses prompts for writes to `.claude/`, `.git/`, `.vscode/`, shell config files, and other previously protected paths, while catastrophic removal co… Week 19 · May 4–8, 2026 Claude Code CLI · in the page whats-new/2026-w19 …resh concurrently, and a rare login loop from a concurrent credential write is fixedNew `parentSettingsBehavior` admin key lets admins opt SDK `managedSettings` into the policy merge [Full changelog… Week 22 · May 25–29, 2026 Claude Code CLI · in the page whats-new/2026-w22 …kflows research preview A workflow is an orchestration script Claude writes for your task and runs across many subagents in the background. Use one when a task is too large for one conversation to co… Week 23 · June 1–5, 2026 Claude Code CLI · in the page whats-new/2026-w23 …gs such as `.npmrc`, `.bazelrc`, and `.pre-commit-config.yaml`. These writes are never auto-approved in any mode except `bypassPermissions`. Work in acceptEdits mode; Claude now pauses before writing…
Feedback