Claude Code CLI documentation
228 pages as of the newest read. Every one links to its own history: what it said before, and what changed when.
Pages tracked228in the newest capture
Last read22 Oct 202601:07 UTC
Removed upstream9pages gone since this site started reading
Captures kept624reads this site has made of this source
This captureclaude-codeclaude-code-20261022T010702Z
The newest read
15 pages changed on 22 Oct 2026
/
15 rows
ReadPageWhatLines
claude-tag
±changed
+1−1
claude-codechanged
claude-tag
No line of the body moved in this read.
+1 −1 lines
Recorded here 22 Oct 2026 01:07 UTC
self-hosted-environments-deploy
±changed
+1−1
claude-codechanged
self-hosted-environments-deploy
* **Runner's own clone and fetches**: run without the variable and check Anthropic-managed git against a per-session certificate file the runner writes. That file holds the runne
* **Runner's own clone and fetches**: run without the variable and check Anthropic-managed git against a per-session certificate file the runner writes. The runner builds that fi
+1 −1 lines
Upstream edited 22 Oct 2026 00:44 UTC Recorded here 22 Oct 2026 01:07 UTC
errors
±changed
+2−0
claude-codechanged
errors
| `The model's tool call could not be parsed (retry also failed).` | [Automatic retries](#automatic-retries) |
* A response that says Claude is calling a tool but contains no tool call. Claude Code retries by asking Claude for the tool call, up to two times. If both retries fail the same wa
+2 −0 lines
Upstream edited 22 Oct 2026 00:44 UTC Recorded here 22 Oct 2026 01:07 UTC
auto-mode-config
±changed
+5−3
claude-codechanged
auto-mode-config
To see what the classifier blocked, find the tool call in the conversation. If the call appears shortened or folded into a summary line such as `Ran 3 shell commands`, press `Ctrl+
Two other places on screen that report denials leave out the command or URL: the notice near the input box, such as `bash denied by auto mode · [Data Exfiltration] · /permissions`,
To read the command or URL behind a notice such as `bash denied by auto mode · [Data Exfiltration] · /permissions`, use the **Recently denied** tab, a hook, or the conversation:
+5 −3 lines
Upstream edited 22 Oct 2026 00:44 UTC Recorded here 22 Oct 2026 01:07 UTC
permission-modes
±changed
+31−11
claude-codechanged
permission-modes
* `rm` and `rmdir` removals targeting a [critical path](#critical-paths), which no allow rule or `PreToolUse` hook `"allow"` approves
* Recognized `rm` and `rmdir` [critical-path removals](#critical-paths), which no allow rule or `PreToolUse` hook `"allow"` approves
Each path also goes through the [symlink check](/docs/en/permissions#symlinks), so a write that resolves outside that scope isn't auto-approved either. Paths outside that scope, wr
These still prompt:
+31 −11 lines
Upstream edited 22 Oct 2026 00:41 UTC Recorded here 22 Oct 2026 01:07 UTC
agent-sdk/permissions
±changed
+10−8
claude-codechanged
agent-sdk/permissions
Run [hooks](/docs/en/agent-sdk/hooks) first. A hook can deny the call outright or pass it on. A hook that returns `allow` does not skip the deny and ask rules below; those are eval
Run [hooks](/docs/en/agent-sdk/hooks) first. A hook can deny the call outright or pass it on. A hook that returns `allow` doesn't skip the deny and ask rules below, which are evalu
A `PreToolUse` hook that returns `allow` also can't approve an `rm` or `rmdir` command whose target Claude Code recognizes as a [critical path](/docs/en/permission-modes#critical-p
* In `bypassPermissions` mode, Claude Code approves everything that reaches this step except `rm` and `rmdir` removals targeting a [critical path](/docs/en/permission-modes#critica
+10 −8 lines
Upstream edited 22 Oct 2026 00:41 UTC Recorded here 22 Oct 2026 01:07 UTC
plugins/mods/troubleshoot
±changed
+11−0
claude-codechanged
plugins/mods/troubleshoot
If the reason ends with `; the version loaded before is unloaded`, no version of the mod is running now. Once you fix the error, run [`/reload-plugins`](/docs/en/plugins/cli-refere
### `the parser stopped` or `the engine ran out of stack loading the file`
+11 −0 lines
Upstream edited 22 Oct 2026 00:39 UTC Recorded here 22 Oct 2026 01:07 UTC
plugins/loading
±changed
+5−1
claude-codechanged
plugins/loading
#### Sync timing in cloud Cowork sessions
If you turn a plugin on or off for your claude.ai account during a Cowork session that runs in the cloud, keep working in that session. If nothing has changed after a few messages,
If you enable a plugin on claude.ai while a session is running, the plugin downloads the next time you start Claude Code.
+5 −1 lines
Upstream edited 22 Oct 2026 00:39 UTC Recorded here 22 Oct 2026 01:07 UTC
plugins/components
±changed
+1−0
claude-codechanged
plugins/components
* **A `name` longer than 256 characters**: Claude Code ignores it and names the agent after its file, as it does when the field is missing
+1 −0 lines
Upstream edited 22 Oct 2026 00:39 UTC Recorded here 22 Oct 2026 01:07 UTC
mcp
±changed
+31−4
claude-codechanged
mcp
* **In [`claude -p`](/docs/en/headless) runs and [Agent SDK](/docs/en/agent-sdk/overview) sessions**: Claude Code makes the same five attempts, with no `/mcp` panel to show them. W
* **In [`claude -p`](/docs/en/headless) runs and [Agent SDK](/docs/en/agent-sdk/overview) sessions**: Claude Code makes the same five attempts, with no `/mcp` panel to show them. I
* **After a transient error, such as a 5xx response or a timeout**: Claude Code keeps retrying an HTTP or SSE server in the background. Retries last up to about half an hour, and
* **When the server [needs you to sign in again](#authenticate-with-remote-mcp-servers)**: Claude Code stops retrying, and an Agent SDK session reports the server's status as `ne
In `claude -p` runs, [Agent SDK](/docs/en/headless) sessions, and [cloud sessions](/docs/en/claude-code-on-the-web) outside a [project](/docs/en/claude-projects#what-threads-pick-u
+31 −4 lines
Upstream edited 22 Oct 2026 00:34 UTC Recorded here 22 Oct 2026 00:37 UTC
desktop
±changed
+34−8
claude-codechanged
desktop
The Code tab is built around panes you can arrange in any layout: chat, diff, browser, terminal, file, plan, tasks, and subagent, along with the [iOS Simulator](/docs/en/desktop-io
The Code tab is built around panes you can arrange in any layout: chat, diff, browser, terminal, file, plan, tasks, and subagent, along with the [iOS Simulator](/docs/en/desktop-io
To open another pane, click its icon button in the session's title bar. Hover to see each button's name, such as **Terminal**, **Changes** for the diff view, **Browser**, and **Fil
+34 −8 lines
Upstream edited 22 Oct 2026 00:34 UTC Recorded here 22 Oct 2026 00:37 UTC
code-review-pull-requests
±changed
+1−1
claude-codechanged
code-review-pull-requests
| `@claude review stop` | Ends the PR's subscription to push-triggered reviews, without starting a review or canceling one that's already queued or running. Claude replies with a c
| `@claude review stop` | Ends the PR's subscription to push-triggered reviews, without starting a review or canceling one that's already running. Claude replies with a comment ins
+1 −1 lines
Upstream edited 22 Oct 2026 00:34 UTC Recorded here 22 Oct 2026 00:37 UTC
errors
±changed
+16−1
claude-codechanged
errors
| `Your organization's managed settings need your approval, which couldn't be asked for here.` | [Configuration warnings](#managed-settings-need-your-approval) |
* If you use a custom [`ANTHROPIC_BASE_URL`](/docs/en/env-vars) and the error starts with `Prompt is too long · automatic compaction failed`, [set the model's context window](/do
* On v2.1.305, with many MCP tools and a direct connection to the Anthropic API, this error can hide an unrelated 400 or 422 error from the API. [Update Claude Code](/docs/en/setup
You ran [`claude import`](/docs/en/cli-reference#cli-commands) while Claude Code couldn't parse `~/.claude.json`, the file where it stores your login and per-project state. The sub
You ran [`claude import`](/docs/en/cli-reference#cli-commands) while Claude Code couldn't parse `~/.claude.json`, the file where it stores your account details and per-project stat
+16 −1 lines
Upstream edited 22 Oct 2026 00:33 UTC Recorded here 22 Oct 2026 00:37 UTC
claude-apps-gateway-spend-limits
±changed
+6−0
claude-codechanged
claude-apps-gateway-spend-limits
#### Long-prompt rates
The list price for [Claude Haiku 5.5](https://platform.claude.com/docs/en/models/haiku-5-5/overview) has a [higher rate for prompts over a token threshold](/docs/en/model-config#ha
+6 −0 lines
Upstream edited 22 Oct 2026 00:33 UTC Recorded here 22 Oct 2026 00:37 UTC
authentication
±changed
+13−1
claude-codechanged
authentication
After [installing Claude Code](/docs/en/setup#install-claude-code), run `claude` in your terminal. On first launch, Claude Code opens a browser window for you to log in. If you've
After [installing Claude Code](/docs/en/setup#install-claude-code), run `claude` in your terminal. Claude Code opens a browser window for you to log in on first launch, except in c
* **API key**: you've set the `ANTHROPIC_API_KEY` environment variable and you approve the key when Claude Code asks whether to use it
* **Earlier sign-in**: you ran [`claude auth login`](/docs/en/cli-reference#cli-commands) in your shell before your first session, or you rebuilt a dev container that keeps your cr
+13 −1 lines
Upstream edited 22 Oct 2026 00:33 UTC Recorded here 22 Oct 2026 00:37 UTC
No change matches that. Try a path fragment like hooks.
What Anthropic says changed 25
Claude Code CLI's own weekly digests, newest first. These are documentation pages like any other here, and they're the ones worth reading.
- What's new
- Week 37 · September 7–11, 2026
- Week 36 · August 31 – September 4, 2026
- Week 35 · August 24–28, 2026
- Week 34 · August 17–21, 2026
- Week 33 · August 10–14, 2026
- Week 32 · August 3–7, 2026
- Week 30 · July 20–24, 2026
- Week 29 · July 13–17, 2026
- Week 28 · July 6–10, 2026
- Week 27 · June 29 – July 3, 2026
- Week 26 · June 22–26, 2026
- Week 25 · June 15–19, 2026
- Week 24 · June 8–12, 2026
- Week 23 · June 1–5, 2026
- Week 22 · May 25–29, 2026
- Week 21 · May 18–22, 2026
- Week 20 · May 11–15, 2026
- Week 19 · May 4–8, 2026
- Week 18 · April 27 – May 1, 2026
- Week 17 · April 20–24, 2026
- Week 16 · April 13–17, 2026
- Week 15 · April 6–10, 2026
- Week 14 · March 30 – April 3, 2026
- Week 13 · March 23–27, 2026
Every page
203 listed, page 1 of 3agent-sdk 32
- agent-sdk/agent-loop
- agent-sdk/claude-code-features
- agent-sdk/configuration
- agent-sdk/cost-tracking
- agent-sdk/custom-tools
- agent-sdk/examples
- agent-sdk/file-checkpointing
- agent-sdk/hooks
- agent-sdk/hosting
- agent-sdk/mcp
- agent-sdk/migration-guide
- agent-sdk/modifying-system-prompts
- agent-sdk/observability
- agent-sdk/overview
- agent-sdk/permissions
- agent-sdk/plugins
- agent-sdk/python
- agent-sdk/quickstart
- agent-sdk/secure-deployment
- agent-sdk/session-storage
- agent-sdk/sessions
- agent-sdk/skills
- agent-sdk/streaming-output
- agent-sdk/streaming-vs-single-mode
- agent-sdk/structured-outputs
- agent-sdk/subagents
- agent-sdk/todo-tracking
- agent-sdk/tool-search
- agent-sdk/troubleshooting
- agent-sdk/typescript
- agent-sdk/typescript-v2-preview
- agent-sdk/user-input
plugins 30
- plugins/anthropic-marketplaces
- plugins/cli-hints
- plugins/cli-reference
- plugins/code-intelligence
- plugins/components
- plugins/create
- plugins/create-marketplace
- plugins/dependencies
- plugins/host-marketplace
- plugins/install
- plugins/loading
- plugins/manifest-reference
- plugins/marketplace-reference
- plugins/measure
- plugins/mods/admin
- plugins/mods/api
- plugins/mods/create
- plugins/mods/events
- plugins/mods/gallery
- plugins/mods/interface
- plugins/mods/overview
- plugins/mods/reference
- plugins/mods/test
- plugins/mods/troubleshoot
- plugins/org
- plugins/overview
- plugins/publish
- plugins/relevance
- plugins/security
- plugins/troubleshooting
root 38
- accessibility
- admin-setup
- advisor
- agent-teams
- agent-view
- agents
- amazon-bedrock
- analytics
- artifacts
- authentication
- auto-mode-classifier-billing
- auto-mode-config
- best-practices
- champion-kit
- changelog
- channels
- channels-reference
- checkpointing
- chrome
- claude-apps-gateway
- claude-apps-gateway-config
- claude-apps-gateway-deploy
- claude-apps-gateway-on-aws
- claude-apps-gateway-on-gcp
- claude-apps-gateway-spend-limits
- claude-code-on-the-web
- claude-directory
- claude-platform-on-aws
- claude-projects
- claude-security
- claude-tag
- cli-reference
- cloud-environments
- code-review
- code-review-costs
- code-review-customize
- code-review-local
- code-review-pull-requests