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

361 pages for origin.

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

How Claude Code works Claude Code CLI · in the page how-claude-code-works …n` or `/branch` copies the history into a new session ID, leaving the original unchanged. ![Diagram of session continuity: resume continues the same session, fork creates a new branch with a new ID.]… Interactive mode Claude Code CLI · in the page interactive-mode …6. **Cancel search**: * Press `Ctrl+C` to cancel and restore your original input * Press `Backspace` on empty search to cancel The inline search scans your full prompt history, newest first, w… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …status or a transport error code, Claude Code adds that code and the origin of the server's URL to the message it prints after the attempt. The origin is the scheme and host, plus the port when the U… Connect to MCP servers Claude Code CLI · in the page mcp-quickstart …eturns `404 Not Found`, Claude Code shows `MCP endpoint not found at <origin>. Check the URL in your MCP config.` when you select the server in `/mcp`. The message names the URL's origin, such as `htt… Model configuration Claude Code CLI · in the page model-config …onversation first. If every fallback is smaller, compaction shows the original error and you can retry. Claude Code also applies the chain to [subagents](/docs/en/sub-agents.md). When a subagent's re… Monitoring Claude Code CLI · in the page monitoring-usage …tent limit is accompanied by `<attribute>_truncated` and `<attribute>_original_length`. **`claude_code.tool.blocked_on_user`** | Attribute | Description | Gated by | | - | - | - | | `duration_ms` |… Enterprise network configuration Claude Code CLI · in the page network-config …rmissions.md#project-allow-rules-and-workspace-trust) checkout whose `origin` is a `googlesource.com` host, Claude Code asks that host's `-review` server anonymously for the open change matching HEAD'… Choose a permission mode Claude Code CLI · in the page permission-modes …ser actions that could send page content, cookies, or credentials off-origin * Deleting files in `/tmp`, `$TMPDIR`, or another shared scratch or cache directory by wildcard, glob, or age filter rather… Configure permissions Claude Code CLI · in the page permissions …-5 main`, `git log --output=<file> main` | `git log main`, `git push origin main` | | `Bash(git * main)` | `git merge main`, `git push origin main`, `git -c core.fsmonitor=<script> diff main` | `git… Plugin commands reference Claude Code CLI · in the page plugins/cli-reference …| | `--remote <name>` | Remote to push to with `--push`. Defaults to `origin` | Preview the tag for a plugin in a marketplace checkout: ```bash theme={null} claude plugin tag plugins/formatter --dry… Create a Claude Code plugin Claude Code CLI · in the page plugins/create …s missing, work through [Test and debug](#test-and-debug). While the originals are still under `.claude/`, they stay loaded alongside the plugin's copies: * **Skills and agents**: the two sets don't… Plugin dependencies Claude Code CLI · in the page plugins/dependencies …ersion histories. Create the tag from the plugin directory, with an `origin` remote configured to receive the pushed tag, using [`claude plugin tag`](/docs/en/plugins/cli-reference#plugin-tag): ```b… Host and maintain a marketplace Claude Code CLI · in the page plugins/host-marketplace …` marketplace source | 5 MiB | 10 seconds | A redirect to a different origin must use `https://` and can't point at a loopback, link-local, or cloud-metadata host, so a redirect from `https://` to `ht… Plugin loading reference Claude Code CLI · in the page plugins/loading …where a plugin came from Every plugin has an id of the form `<name>@<origin>`, which is what you see in settings files and in `claude plugin list --json`. The part after `@` tells you where Claude Co… Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …te', async ($, e, next) => { $.ui.log('audit fs.write by ' + next.origin.plugin + ' ' + JSON.stringify(e.path), { to: 'debug' }) return next(e) }) } ``` The file registers three hooks: * *… Use the mods API Claude Code CLI · in the page plugins/mods/api …e arrives for this session, before Claude reads it | `e.text`, and `e.origin.kind`, such as `peer` or `peer-send-message` for another session or agent, `task-notification`, or `scheduled-trigger`. Ret… React to events with a mod Claude Code CLI · in the page plugins/mods/events …handlers and Claude Code receive the trimmed prompt and never see the original. You can also change the result: `await next(e)`, then return a copy of the result with a field replaced. ### Answer an… Mods reference Claude Code CLI · in the page plugins/mods/reference …| An `AbortSignal` that aborts when the event is abandoned | | `next.origin` | `{ plugin, tier }` of whoever fired the event. Claude Code itself is `{ plugin: 'engine', tier: 'core' }`. A mod's `tier… Test a mod Claude Code CLI · in the page plugins/mods/test …` | `($, e) => ({ text: e.text })`. Fire it with `$.session.receive({ origin: { kind: 'peer-send-message' }, text })`. | | `ui.render` | `() => ({ type: 'Text', props: {}, children: ['...'] })` | `ex… Publish and distribute a plugin Claude Code CLI · in the page plugins/publish …creates a `{name}--v{version}` tag. Add `--push` to send the tag to `origin`. The [`plugin tag` reference](/docs/en/plugins/cli-reference#plugin-tag) lists its flags. ### Rename or remove a plugin… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …nteractivity has been disabled` or `terminal prompts disabled` in the original error. Only credentials that already work non-interactively succeed: * **SSH**: `ssh -T git@<host>` must succeed without… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …n has read through that prefix, which kept the entry warm even if the original turn was longer ago than the TTL. Restoring file checkpoints alongside the conversation has no separate effect on the ca… Prompt library Claude Code CLI · in the page prompt-library …this design, then take a screenshot of the result, compare it to the original, and fix any differences', nextHref: '/en/goal', src: 'best-practices' }, { id: 'follow-an-existing-pattern… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …from whichever conversation is open in your terminal. To work on the original conversation from the device again, run `/resume` in your terminal and switch back to it. * **Pulling a session with `/te… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …as a personal access token: ```bash theme={null} git remote set-url origin https://git.example.com/example-org/example-repo.git ``` If you have to keep the SSH remote, take git's network commands o… Catch security issues as Claude writes code Claude Code CLI · in the page security-guidance …d prompt: the reviewer starts from the diff, has no investment in the original approach, and is instructed only to find problems. None of the layers block writes or commits. Findings reach the writin… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …NNER_SESSION_ID ($CLAUDE_RUNNER_EXIT_REASON)" || continue g push -q origin "HEAD:refs/heads/rescue/$CLAUDE_RUNNER_SESSION_ID" || true done ``` The `GIT_ALLOW_PROTOCOL` line in the script limits git… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …ed session, that traffic goes through `api.anthropic.com` rather than originating inside your network boundary. To keep a connector out of self-hosted sessions, filter it with the [`allowedMcpServers… Self-hosted environments reference Claude Code CLI · in the page self-hosted-environments-reference …nd such as a drain or idle release, push tracked outcome branches to `origin` before deleting the workspace, so in-flight commits survive a restart. Best-effort; adds 30 seconds to the shutdown budget… Test self-hosted environments end to end Claude Code CLI · in the page self-hosted-environments-testing …om a git checkout so the CLI can auto-detect the repository from the `origin` remote. The optional `--ref <branch>` bases the session's checkout on a named ref instead of local HEAD. The command exits… Manage sessions Claude Code CLI · in the page sessions …ations). Claude Code looks for the agent in two places: the session's original directory, provided you have [trusted that workspace](/docs/en/permissions.md#project-allow-rules-and-workspace-trust), a… Claude Code settings Claude Code CLI · in the page settings …ich ref new worktrees branch from. `"fresh"` (default) branches from `origin/<default-branch>` for a clean tree matching the remote. `"head"` branches from your current local `HEAD`, so unpushed commi… All settings Claude Code CLI · in the page settings-reference …are bounded as follows: | Constraint | Behavior | | :- | :- | | URL origin | Captured values are URL-encoded and the constructed URL must share the template's literal origin. A capture can fill a pa… Advanced setup Claude Code CLI · in the page setup …est`. Avoid `npm update -g`, which respects the semver range from the original install and may not move you to the newest release. > [!WARNING] > > Do NOT use `sudo npm install -g` as this can lead t… Extend Claude with skills Claude Code CLI · in the page skills …k Summarize this pull request... ``` Substitution runs once over the original file. Command output is inserted as plain text and is not re-scanned for further `` !`<command>` `` placeholders, so a co… Customize your status line Claude Code CLI · in the page statusline ….owner`, `workspace.repo.name` | Repository identity parsed from the `origin` remote, for example, `"github.com"`, `"anthropics"`, `"claude-code"`. Absent outside a git repository or when no `origin`… Create custom subagents Claude Code CLI · in the page sub-agents …-foreground-or-background) and can keep reading the [prompt cache the original run warmed](/docs/en/prompt-caching.md#subagents-and-the-cache). A subagent that has the `SendMessage` tool can send tha… Configure your terminal for Claude Code Claude Code CLI · in the page terminal-config …emoval leaves empty, Claude Code cancels the submission and keeps the original text in the input, with the placeholder still in it. Delete the placeholder or edit the command, then resubmit. ## Edit… Tools reference Claude Code CLI · in the page tools-reference …Yes | | `ExitWorktree` | Exits a worktree session and returns to the original directory. Not available to subagents that already run in their own working directory, such as with [`isolation: worktree… Troubleshoot installation and login Claude Code CLI · in the page troubleshoot-install …after a few minutes**: the issue is often temporary. Wait and try the original command again. 2. **Use an alternative install method**: unlike a native install, a Homebrew or WinGet install [doesn't… Find bugs with ultrareview Claude Code CLI · in the page ultrareview …esn't need to exist in your local clone; Claude Code fetches it from `origin`. If the name has a typo, Claude Code suggests the closest branch name in the error. A commit id or tag also works as the… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …laude wants to edit a file, it shows a side-by-side comparison of the original and proposed changes, then asks for permission. You can accept, reject, or tell Claude what to do instead. If you edit th… Get started with Claude Code in the cloud Claude Code CLI · in the page web-quickstart …prompts too long to embed in a query string. The URL must allow cross-origin requests. Ignored when `prompt` is also set. | | `repositories` | Comma-separated list of `owner/repo` slugs to preselect.… Week 28 · July 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w28 …llows `git push` to the repo's configured push remote in addition to `origin`Gateway: `/login` now supports Anthropic-operated public gateway endpoints`EnterWorktree` asks for confirmation before ente… Week 32 · August 3–7, 2026 Claude Code CLI · in the page whats-new/2026-w32 …k) now makes its code changes in a worktree of its own instead of the original session's checkoutPlugins you install from [`/plugin`](/docs/en/plugins/install#install-a-plugin) activate in the current… Week 33 · August 10–14, 2026 Claude Code CLI · in the page whats-new/2026-w33 …ktree https://gitlab.com/group/project/-/merge_requests/42 ``` When `origin` is on gitlab.com, Claude Code fetches `merge-requests/42/head` and opens the session on that branch in its own worktree.… Orchestrate subagents at scale with dynamic workflows Claude Code CLI · in the page workflows …t, or in an Agent SDK application that stamps your keyboard input's [`origin`](/docs/en/agent-sdk/typescript#sdkmessageorigin) as `{ kind: "human" }`. It doesn't start a workflow when it reaches the s… Run parallel sessions with worktrees Claude Code CLI · in the page worktrees …in the directory you launched Claude from, and Claude Code leaves the original session's worktree untouched. * **Deleted worktree**: if the worktree directory no longer exists, Claude Code resumes the… Admin controls Claude Documentation · in the page claude-science/admin-controls …our organization doesn't allow isn't copied or moved and stays in its original folder, and credentials such as API keys and connector sign-ins are never copied or moved. When the switch is off, the ap… Command line settings Claude Documentation · in the page claude-science/command-line-settings …Serve the app under a URL prefix behind a reverse proxy. | | `--allow-origin` `<url>` | unset | An extra browser Origin allowed to connect, written as `https://<host>` with an optional port and no pat…
Feedback