One read of Claude Code CLIclaude-code-20261119T230702Z
67 pages moved out of 205 read.
Pages moved
67
significant first
Pages read
205
in this capture
Captured
23:07 UTC
Corpus hash
43a6ad1e2fd6
corpus-hash
What this read moved
26-50 of 67, page 2 of 3This capture is too large to show at once. Changes 26-50 of 67 are below, significant first; the rest are on the following screens.
sessions Changed · +6 / -9 lines
from line 48
4848* Agent: a session started with [`--agent`](https://code.claude.com/docs/en/sub-agents#invoke-subagents-explicitly) or the `agent` setting continues as that agent, keeping its tool restrictions and model. Pass `--agent` when resuming to pick a different one; for the system prompt in either case, see [System prompt flags in resumed conversations](https://code.claude.com/docs/en/cli-reference.md#system-prompt-flags-in-resumed-conversations). Claude Code looks for the agent in two places: the session's original directory, provided you have [trusted that workspace](https://code.claude.com/docs/en/permissions.md#project-allow-rules-and-workspace-trust), and then the directory you resume from, so a project-scoped agent still loads when you resume from another directory. If Claude Code doesn't find the agent in either place, the session resumes with the default tools and shows a [warning naming the agent](https://code.claude.com/docs/en/errors.md#session-agent-no-longer-available).
4949* Permission mode: if you resume from a terminal with `claude --continue`, `claude --resume <session-id>`, or `claude --resume <name>` when the name matches one session, without `-p`, Claude Code restores the permission mode the session was in, except in the cases in [permission mode on resume](#permission-mode-on-resume), which also covers the session picker, `/resume`, and resuming with `claude -p`. Pass `--permission-mode` or `--dangerously-skip-permissions` to override the restored mode.
5050* Active goal: a [goal](https://code.claude.com/docs/en/goal.md#resume-with-an-active-goal) that was still active when the session ended carries over; its turn count, timer, and token-spend baseline reset.
51* Session-scoped scheduled tasks: [tasks that haven't expired](https://code.claude.com/docs/en/scheduled-tasks.md#limitations) are restored. Background Bash and monitor tasks aren't.
51* Session-scoped scheduled tasks: restored, with [exceptions](https://code.claude.com/docs/en/scheduled-tasks.md#limitations). Background Bash and monitor tasks aren't restored.
5252* Background work: a [background subagent](https://code.claude.com/docs/en/sub-agents.md#run-subagents-in-foreground-or-background), background Bash command, or [workflow](https://code.claude.com/docs/en/workflows.md) that ended with the previous process shows up in the resumed transcript as a note that it didn't finish. Claude Code doesn't start a turn from those notes; Claude reads them with your next prompt.
5353
5454#### Flags to pass again when you resume
from line 64
6464* **Directories**: `--add-dir`, as in `claude --continue --add-dir ../shared`. Use `--add-dir` for directories you added with `/add-dir` too.
6565* **Extra settings**: `--settings`
6666* **Fallback models**: `--fallback-model`
67* **Tool access**: `--tools`, `--allowedTools`, `--disallowedTools`
6768
6869For `--system-prompt` and `--append-system-prompt`, see [System prompt flags in resumed conversations](https://code.claude.com/docs/en/cli-reference.md#system-prompt-flags-in-resumed-conversations).
6970
from line 183
182183| Shortcut | Action |
183184| :- | :- |
184185| `↑` / `↓` or `k` / `j` | Navigate between sessions |
185| `→` / `←` | Expand or collapse grouped sessions |
186186| `Enter` | Resume the highlighted session |
187| `1` to `9` | Resume the session at that position in the list |
188187| `Space` | Preview the session content. `Ctrl+V` also works on terminals that don't capture it as paste |
189188| `Ctrl+R` | Rename the highlighted session |
190| `/` or any printable character other than `Space`, `j`, `k`, or a digit | Enter search mode and filter sessions. Paste a GitHub, GitHub Enterprise, GitLab, or Bitbucket pull or merge request URL to find the session that created it |
189| `/` or any printable character other than `Space`, `j`, or `k` | Enter search mode and filter sessions. Paste a GitHub, GitHub Enterprise, GitLab, or Bitbucket pull or merge request URL to find the session that created it |
191190| `Ctrl+A` | Show sessions from all projects on this machine. Press again to return to the current repository |
192191| `Ctrl+W` | Show sessions from all worktrees of the current repository. Press again to return to the current worktree. Only shown in multi-worktree repositories |
193192| `Ctrl+B` | Filter to sessions from the current git branch. Press again to show all branches |
194193| `Esc` | Exit the session picker or search mode |
195194
196Each row shows the session name if you set one, otherwise the AI-generated session title, conversation summary, or first prompt, along with time since last activity, git branch, and file size.
195Each session's row is labeled with the first of these that exists: the name you set, the AI-generated session title, a conversation summary, or one of your prompts.
197196
198Sessions created with `/branch` or `--fork-session` get their own session IDs and appear as separate rows. When the picker finds more than one entry for the same session, it groups them under a single row. Press `→` to expand a group.
199
200If Claude Code can't load the session you select from the `claude --resume` picker, it prints [`Failed to resume the conversation`](https://code.claude.com/docs/en/errors#failed-to-resume-the-conversation) with a command to retry, then exits with code 1. From the `/resume` picker inside a session, Claude Code reports the failure and your current conversation keeps running.
197Sessions created with `/branch` or `--fork-session` get their own session IDs and appear as separate rows.
201198
202199## Branch a session
203200
settings-reference Changed · +18 / -18 lines
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 1142
11421142
11431143* **Scope**: [`Any file`](#scopes). `auto` and `bypassPermissions` don't take effect from project or local settings, so set them in `~/.claude/settings.json` instead. Before v2.1.257, `bypassPermissions` took effect from any file. For conversations the VS Code extension starts, Claude Code reads only user, managed, and `--settings` values.
11441144* **Type**: string, one of:
1145 * `"default"`: Claude Code runs only reads without asking
1145 * `"default"`: Claude Code runs file reads inside your working directories and [some other actions](https://code.claude.com/docs/en/permission-modes.md#available-modes) without asking
11461146 * `"acceptEdits"`: Claude Code also runs file edits and common filesystem commands such as `mkdir` and `mv` without asking
11471147 * `"plan"`: Claude Code reads and plans but blocks edits until you approve a plan
11481148 * `"auto"`: Claude Code runs without routine prompts; before actions such as shell commands and network requests run, a background classifier checks that they align with your request
from line 1944
19441944| `onExtractNoMatch` | `"warn"`, `"deny"`, or `"error"`; default `"warn"`. On an entry with `decode`, only `"warn"` is accepted | What happens when `extract` matches nothing. `warn` passes the variable through unmasked, `deny` unsets it inside the sandbox, and `error` stops sandbox setup until you fix the configuration. Requires v2.1.224 or later |
19451945| `decode` | the string `"jwt"` | Verify the whole value is a JWT and replace it with a structurally valid fake token, so code inside the sandbox that decodes the token keeps working; the proxy substitutes the whole real token on egress. A value that doesn't verify passes through unmasked with a warning. Requires v2.1.224 or later |
19461946| `maskClaims` | array of strings, at least one claim name; requires `decode` | Mask only the named top-level payload claims inside the decoded JWT and rebuild the token around the modified payload, so the other claims stay readable. When no named claim matches, the variable passes through unmasked with a warning. Requires v2.1.224 or later |
1947| `injectHosts` | array of strings, each a host that [`sandbox.network.allowedDomains`](#sandbox-network-alloweddomains) also admits | Narrow the hosts where the sandbox proxy substitutes the real value. When unset, the proxy substitutes it on requests to every host in `sandbox.network.allowedDomains`. Write an IPv6 destination as the bare compressed address, such as `"::1"`, not the bracketed form; see [IPv6 destinations in `injectHosts`](https://code.claude.com/docs/en/sandboxing#ipv6-destinations-in-injecthosts) |
1947| `injectHosts` | array of strings, each a host that [`sandbox.network.allowedDomains`](#sandbox-network-alloweddomains) also admits | List the hosts where the sandbox proxy substitutes the real value. For most variables with no `injectHosts`, the proxy substitutes the real value on requests to every host in `sandbox.network.allowedDomains`. Write an IPv6 destination as the bare compressed address, such as `"::1"`, not the bracketed form; see [IPv6 destinations in `injectHosts`](https://code.claude.com/docs/en/sandboxing#ipv6-destinations-in-injecthosts) |
19481948
19491949This masks only the password inside `DATABASE_URL`, unsets the variable if the pattern matches nothing, and masks a JWT in `SERVICE_JWT` while leaving every claim except `api_key` readable:
19501950
from line 2019
20192019
20202020Each named variable must be a whole-value `mask` entry in [`sandbox.credentials.envVars`](#sandbox-credentials-envvars), without `extract` or `decode`, and can fill only one slot across all pairs. These rules also apply:
20212021
2022* The proxy re-signs requests on the hosts listed in the access key ID entry's `injectHosts`
2022* The proxy can re-sign requests on the hosts listed in the access key ID entry's `injectHosts`
20232023* When `sessionTokenVar` is set, the proxy sends the real token as `x-amz-security-token` on re-signed requests
20242024* Naming any of the conventional variables in a pair replaces the automatic pairing
20252025
from line 3322
33223322
33233323### `verbose`
33243324
3325By default, the transcript collapses each tool call to a short summary, such as the command Claude ran and a line count of its output, and you press `Ctrl+O` to switch the whole transcript to the expanded view when you want the details. Set this key to `true` to show every tool call's full input and
3325By default, the transcript collapses each tool call to a short summary, such as the command Claude ran and a line count of its outpu
skills Changed · +3 / -3 lines
from line 317
317317
318318Claude Code watches skill directories for file changes, except in [bare mode](https://code.claude.com/docs/en/headless.md#start-faster-with-bare-mode). When you add, edit, or remove a skill under `~/.claude/skills/`, the project `.claude/skills/`, or a `.claude/skills/` inside an `--add-dir` directory, Claude Code picks up the change within the current session, without a restart.
319319
320If you create a top-level skills directory that didn't exist when the session started, run [`/reload-skills`](https://code.claude.com/docs/en/commands#all-commands) to pick up the skills you put there. Claude Code isn't watching that directory yet, so run `/reload-skills` again after each later change there.
320If a new skill doesn't appear, run [`/reload-skills`](https://code.claude.com/docs/en/commands#all-commands).
321321
322322> [!NOTE]
323323>
from line 411
411411| `agent` | No | Which subagent type to use when `context: fork` is set. |
412412| `background` | No | Only applies with `context: fork`. Set to `false` to wait for the forked subagent's result in the turn that invoked the skill, instead of [running it in the background](#run-skills-in-a-subagent). Default: `true`. |
413413| `hooks` | No | Hooks that Claude Code registers when the skill is invoked and keeps running for the rest of the session. See [Hooks in skills and agents](https://code.claude.com/docs/en/hooks.md#hooks-in-skills-and-agents) for the configuration format, the `once` option, and the [limits on skill hooks](https://code.claude.com/docs/en/hooks.md#limits-on-skill-hooks). |
414| `paths` | No | Glob patterns that limit when this skill is activated. Accepts a comma-separated string or a YAML list. When set, Claude loads the skill automatically only when working with files matching the patterns. Patterns are relative to Claude's current working directory, and files outside that directory don't match. Uses the same glob format as [path-specific rules](https://code.claude.com/docs/en/memory.md#path-specific-rules). |
414| `paths` | No | Glob patterns for the files that activate this skill. Accepts a comma-separated string or a YAML list. Patterns are relative to Claude's current working directory. In the main conversation, they stay relative to the [primary working directory](https://code.claude.com/docs/en/permissions.md#working-directories) after a `cd` into one of its subdirectories in the same Git worktree. Patterns match only files inside the directory they're relative to. Uses the same glob format as [path-specific rules](https://code.claude.com/docs/en/memory.md#path-specific-rules). |
415415| `shell` | No | Shell to use for `` !`command` `` and ` ```! ` blocks in this skill. Accepts `bash` (default) or `powershell`. Setting `powershell` runs inline shell commands via PowerShell when the [PowerShell tool](https://code.claude.com/docs/en/tools-reference.md#powershell-tool) is enabled: it's on by default on Windows without Git Bash, on by default with Git Bash for claude.ai and Console accounts, and needs `CLAUDE_CODE_USE_POWERSHELL_TOOL=1` in Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry sessions and on macOS, Linux, and WSL. Set it to `0` to turn the tool off. |
416416| `metadata` | No | Free-form YAML map for your own key-value data, such as entitlement or catalog fields, read by your own tooling from `SKILL.md`. Claude Code doesn't act on its contents, and drops a value that isn't a map. Don't reuse frontmatter field names such as `paths` as keys. |
417417| `license` | No | License covering the skill. Part of the [Agent Skills](https://agentskills.io) spec; see [Using skill frontmatter outside Claude Code](#using-skill-frontmatter-outside-claude-code). Claude Code accepts the field but doesn't act on it. |
from line 1202
120212023. Try rephrasing your request to match the description more closely
120312034. Invoke it directly with `/skill-name` if the skill is user-invocable
120412045. If `/skill-name` isn't recognized either, check whether Claude Code [refused the skill's name](#characters-a-skill-name-cant-hold)
12056. If the skill sets `paths`, check that the files Claude reads, edits, or writes are inside Claude's current working directory. The skill doesn't activate for files outside it, such as those in a sibling git worktree, even one you added with `/add-dir`. To have the skill activate for those files, start Claude Code in that worktree or [move the session there with `/cd`](https://code.claude.com/docs/en/permissions#move-the-session-to-another-directory).
12056. If the skill sets `paths`, check that the files Claude reads, edits, or writes are inside the [directory the patterns are relative to](#frontmatter-reference). The skill doesn't activate for files outside it, such as those in a sibling git worktree, even one you added with `/add-dir`. To have the skill activate for those files, start Claude Code in that worktree or [move the session there with `/cd`](https://code.claude.com/docs/en/permissions#move-the-session-to-another-directory).
12061206
12071207If the frontmatter YAML is malformed, Claude Code loads the skill body with empty metadata, so `/skill-name` still works but Claude can't match against your `description`. Run with `--debug` to see the parse error.
12081208
sub-agents Changed · +19 / -9 lines
from line 132
132132
133133Claude delegates to your new subagent, which scans the codebase and returns improvement suggestions. In the transcript, the delegation appears as a tool call row showing the subagent's name followed by a short task description, such as `code-improver(Suggest code improvements)`.
134134
135If Claude can't find the new subagent, restart Claude Code and try again. This happens only when `~/.claude/agents/` didn't exist before the session started, because a running session doesn't detect a newly created `agents` directory.
135If Claude can't find the new subagent, restart Claude Code and try again.
136136
137137You now have a subagent you can use in any project on your machine to analyze codebases and suggest improvements.
138138
from line 241
241241>
242242> Claude Code watches `~/.claude/agents/` and `.claude/agents/`. When you add or edit a subagent file on disk, or ask Claude to write one for you, Claude Code detects the change within a few seconds and the next delegation uses the updated definition, with no restart needed.
243243>
244> Three cases still need a restart:
244> Some cases still need a restart:
245245>
246> * The watcher covers only directories that existed when the session started, so after creating a scope's first agent file in a new `agents` directory, restart to load it.
247246> * Claude Code doesn't watch `.claude/agents/` inside directories added with `--add-dir` or `/add-dir`, so after adding or editing a subagent there, restart to load the change.
248247> * Sessions started with `--disable-slash-commands` don't watch these directories at all.
249248
from line 258
259258specific, actionable feedback on quality, security, and best practices.
260259```
261260
262The frontmatter defines the subagent's metadata and configuration. The body becomes the system prompt that guides the subagent's behavior. Subagents receive only this system prompt plus basic environment details like the working directory, not the Claude Code system prompt.
261The frontmatter defines the subagent's metadata and configuration. The body becomes the system prompt that guides the subagent's behavior. Subagents receive this system prompt plus basic environment details like the working directory, not the Claude Code system prompt.
263262
264263In [non-interactive mode](https://code.claude.com/docs/en/headless.md), pass [`--append-subagent-system-prompt`](https://code.claude.com/docs/en/cli-reference#cli-flags) to append your text to the end of every subagent's system prompt, nested subagents included, apart from a [forked subagent](#fork-the-current-conversation), which reuses the conversation's own prompt. Requires Claude Code v2.1.205 or later. If your text is too long to pass on the command line, save it to a file and pass the path with `--append-subagent-system-prompt-file` instead. The file flag requires Claude Code v2.1.261 or later.
265264
from line 427
428427
429428#### When a subagent has no `effort` field or parameter
430429
431On the main conversation's model, the subagent runs at the level you pick in the session, such as with `/effort`, or set with `--effort`. On another model, [that level doesn't apply](https://code.claude.com/docs/en/model-config.md#effort-level-of-subagents-and-teammates). To choose its level, set the `effort` field.
430A subagent other than a fork, forked skill, or [teammate](#subagent-names) runs at the first of these that applies to it:
432431
4321. The level in `CLAUDE_CODE_EFFORT_LEVEL`, if you set it
4332. The `effort` set for the [subagent that spawned it](#let-subagents-spawn-their-own-subagents), or a level set only for the current turn, such as a [skill's `effort`](https://code.claude.com/docs/en/skills#frontmatter-reference)
4343. The level in [`CLAUDE_CODE_SUBAGENT_EFFORT`](https://code.claude.com/docs/en/env-vars#variables), if you set it
435
436With none of these, a subagent on the main conversation's model runs at the level you pick in the session, such as with `/effort`, or set with `--effort`. On another model, [that level doesn't apply](https://code.claude.com/docs/en/model-config.md#effort-level-of-subagents-and-teammates). To choose its level, set the `effort` field.
437
433438### Control subagent capabilities
434439
435440You can control what subagents can do through tool access, permission modes, and conditional rules.
from line 450
445450* `EndConversation`, which can end only the main conversation; see [EndConversation tool behavior](https://code.claude.com/docs/en/tools-reference.md#endconversation-tool-behavior)
446451* `EnterPlanMode`
447452* `ExitPlanMode`, unless the subagent's [`permissionMode`](#permission-modes) is `plan`
453* `propose_skills`
448454* `ScheduleWakeup`
449455* `WaitForMcpServers`
450456* `Workflow`
451457
452The second filter applies to subagents running in the background. Apart from `Agent` and `ExitPlanMode`, which follow the first filter's conditions wherever the subagent runs, a background subagent keeps every MCP tool but only these built-in tools: `Read`, `Grep`, `Glob`, `LSP`, `Bash`, `PowerShell`, `Edit`, `Write`, `NotebookEdit`, `WebFetch`, `WebSearch`, `TodoWrite`, `Skill`, `ToolSearch`, `EnterWorktree`, `ExitWorktree`, `Monitor`, `TaskStop`, `SendMessage`, and `Artifact`, plus [`SubagentHandback`](https://code.claude.com/docs/en/tools-reference) for a subagent that reports through it. Claude Code removes every other built-in tool from a background subagent, whether inherited or listed in the `tools` field, so the same definition can resolve to different tools in the foreground and the background. The removal reports no error unless it leaves the `tools` list [resolving to nothing](https://code.claude.com/docs/en/errors.md#agent-would-be-spawned-with-zero-tools).
458The second filter applies to subagents running in the background. `Agent` and `ExitPlanMode` follow the first filter's conditions wherever the subagent runs. A background subagent keeps every MCP tool, and [`SubagentHandback`](https://code.claude.com/docs/en/tools-reference) if it reports through that tool. It also keeps `Read`, `Grep`, `Glob`, `LSP`, `Bash`, `PowerShell`, `Edit`, `Write`, `NotebookEdit`, `WebFetch`, `WebSearch`, `TodoWrite`, `Skill`, `ToolSearch`, `EnterWorktree`, `ExitWorktree`, `Monitor`, `TaskStop`, `SendMessage`, `Artifact`, `ListPlugins`, `ListSkills`, `SearchPlugins`, and `SearchSkills`.
453459
460Don't rely on other built-in tools in a background subagent: Claude Code removes most of them, whether inherited or listed in the `tools` field. The removal reports no error unless it leaves the `tools` list [resolving to nothing](https://code.claude.com/docs/en/errors.md#agent-would-be-spawned-with-zero-tools).
461
454462Before v2.1.280, background subagents couldn't use `LSP`.
455463
456464[`ListAgents`](https://code.claude.com/docs/en/cross-session-messaging) follows these filters like any built-in tool: a foreground subagent inherits it in sessions where cross-session messaging is enabled, and a background subagent doesn't keep it.
from line 983
975983* When a subagent finishes successfully, Claude Code removes its row immediately and, except in [screen reader mode](https://code.claude.com/docs/en/accessibility.md), shows `/tasks to see subagents` in the footer for 30 seconds. During those 30 seconds, run [`/tasks`](https://code.claude.com/docs/en/commands) and press `Enter` on the subagent to open its transcript. Before v2.1.232, Claude Code kept the row for 30 seconds after the subagent finished, the same as a failed one, and showed no footer hint.
976984* When a subagent fails or you stop it, Claude Code keeps its row for 30 seconds. To clear the row sooner, select it and press `x`.
977985
978A background subagent that completes stays listed in [`/tasks`](https://code.claude.com/docs/en/commands), marked done and sorted below running work, for the same 30 seconds as the footer hint. Its detail view stays open when the subagent finishes. Subagents that fail or that you stop leave the list. Before v2.1.208, a completed subagent left the list the moment it finished and its detail view closed.
986A background subagent that completes stays listed in [`/tasks`](https://code.claude.com/docs/en/commands), marked done and sorted below running work, for 30 seconds, or longer if you messaged it. Its detail view stays open when the subagent finishes. Subagents that fail or that you stop leave the list. Before v2.1.208, a completed subagent left the list the moment it finished and its detail view closed.
979987
988You can reopen the transcripts of some subagents that have left the list. Run `/tasks` in the terminal. If a detail view opens, press the key it labels `go back`. Then open the **Earlier in this session** row and press `Enter` on a subagent. Requires Claude Code v2.1.319 or later.
989
980990### Subagent names
981991
982992If you start a session with [agent teams](https://code.claude.com/docs/en/agent-teams.md#enable-agent-teams) enabled, Claude can give a subagent a name by passing a `name` parameter on the Agent tool call. It may do so on its own, without asking you first. The name makes the subagent addressable: Claude can [message or resume it by name](#resume-subagents) after it finishes.
from line 1150
11401150Resumed subagents retain their full conversation history, including all previous tool calls, results, and reasoning. If the subagent spawned [background subagents of its own](#let-subagents-spawn-their-own-subagents), that history includes the results they delivered while it ran. Before v2.1.304, a subagent that Claude messaged or resumed right after it finished could forget its most recent work.
11411151
11421152* When a subagent completes, Claude receives its agent ID.
1143* The built-in Explore and Plan agents are one-shot and return no agent ID, so Claude can't resume them. Use `general-purpose` or a custom subagent when you need to continue the work.
1153* For work you'll continue later, use `general-purpose` or a custom subagent. The built-in Explore and Plan agents can finish without giving Claude an ID to resume them with.
11441154* When a subagent stops at its [`maxTurns`](#supported-frontmatter-fields) limit, Claude Code marks the returned output as partial, and Claude can resume the subagent to continue its work.
11451155
11461156Claude uses the `SendMessage` tool with the agent's ID or name as the `to` field to resume it. `SendMessage` doesn't require [agent teams](https://code.claude.com/docs/en/agent-teams.md) to be enabled; only structured team-protocol messages such as `shutdown_request` and `plan_approval_response` do. Beyond subagents and teammates, in sessions where cross-session messaging is enabled, Claude can use the same tool to message [your other Claude Code sessions](https://code.claude.com/docs/en/cross-session-messaging.md), on this machine or [beyond it](https://code.claude.com/docs/en/cross-session-messaging.md#message-sessions-on-other-machines).
tools-reference Changed · +9 / -2 lines
from line 20
2020| `Artifact` | Publishes an HTML or Markdown file to claude.ai as an [artifact](https://code.claude.com/docs/en/artifacts.md): a private, interactive page. You can share it with a public link, or inside your organization on Team and Enterprise plans, where public sharing requires an Owner to [enable it](https://code.claude.com/docs/en/artifacts.md#control-public-sharing). Requires a Pro, Max, Ultra, Team, or Enterprise plan and `/login` authentication; see [Availability](https://code.claude.com/docs/en/artifacts.md#availability) | Yes |
2121| `AskUserQuestion` | Asks multiple-choice questions to gather requirements or clarify ambiguity. Questions stay open until you answer them by default. See [AskUserQuestion tool behavior](#askuserquestion-tool-behavior) | No |
2222| `Bash` | Executes shell commands in your environment. See [Bash tool behavior](#bash-tool-behavior) | Yes |
23| `CronCreate` | Schedules a recurring or one-shot prompt within the current session. Tasks are session-scoped and restored on `--resume` or `--continue` if unexpired. See [session-scoped scheduled tasks](https://code.claude.com/docs/en/scheduled-tasks.md) | No |
23| `CronCreate` | Schedules a recurring or one-shot prompt within the current session. See [session-scoped scheduled tasks](https://code.claude.com/docs/en/scheduled-tasks.md) | No |
2424| `CronDelete` | Cancels a session-scoped scheduled task by ID | No |
2525| `CronList` | Lists all session-scoped scheduled tasks | No |
2626| `Edit` | Makes targeted edits to specific files. See [Edit tool behavior](#edit-tool-behavior) | Yes |
2727| `EndConversation` | Ends the session, in rare cases of sustained abusive input or when you ask Claude to end the session and then confirm. See [EndConversation tool behavior](#endconversation-tool-behavior) | No |
2828| `EnterPlanMode` | Switches to plan mode to design an approach before coding | No |
29| `EnterWorktree` | Creates an isolated [git worktree](https://code.claude.com/docs/en/worktrees.md) and switches into it, or switches into an existing worktree. See [EnterWorktree tool behavior](#enterworktree-tool-behavior) | Yes |
29| `EnterWorktree` | Creates an isolated [git worktree](https://code.claude.com/docs/en/worktrees.md) and switches into it, or switches into an existing worktree. See [EnterWorktree tool behavior](#enterworktree-tool-behavior) | Some worktrees |
3030| `ExitPlanMode` | Presents a plan for approval and exits plan mode | Yes |
3131| `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`](https://code.claude.com/docs/en/sub-agents#supported-frontmatter-fields). Removed or refused once [`permissions.blockWritesOutsideWorkingDirectories`](https://code.claude.com/docs/en/settings-reference#permissions-blockwritesoutsideworkingdirectories) is on | No |
3232| `Glob` | Finds files based on pattern matching. Absent by default on macOS, Linux, and WSL. See [Glob tool behavior](#glob-tool-behavior) | No |
from line 33
3333| `Grep` | Searches for patterns in file contents. Absent by default on macOS, Linux, and WSL. See [Grep tool behavior](#grep-tool-behavior) | No |
3434| `ListAgents` | Lists the agents Claude can message with `SendMessage`: subagents in the session, [agent team](https://code.claude.com/docs/en/agent-teams.md) teammates, your other local Claude Code sessions, and, while this session is connected to [Remote Control](https://code.claude.com/docs/en/remote-control.md), your [cloud sessions](https://code.claude.com/docs/en/claude-code-on-the-web.md) and your Remote Control sessions on other machines. Backs the `/list-agents` command. See [cross-session messaging](https://code.claude.com/docs/en/cross-session-messaging.md). Requires Claude Code v2.1.224 or later, and appears only in sessions where [cross-session messaging is enabled](https://code.claude.com/docs/en/cross-session-messaging.md#availability). Teammate rows and the first line showing this session's own name require v2.1.239 or later | No |
3535| `ListMcpResourcesTool` | Lists resources exposed by connected [MCP servers](https://code.claude.com/docs/en/mcp.md), leaving out [MCP Apps UI resources](https://code.claude.com/docs/en/mcp.md#reference-mcp-resources), which are pages for a host application to render | No |
36| `ListPlugins` | Lists the [plugins enabled for your claude.ai account](https://code.claude.com/docs/en/plugins/loading.md#synced-plugins). Requires a [cloud session](https://code.claude.com/docs/en/claude-code-on-the-web.md) or the [desktop app](https://code.claude.com/docs/en/desktop.md). Not available on [third-party providers](https://code.claude.com/docs/en/third-party-integrations.md) | No |
37| `ListSkills` | Lists the [skills enabled for your claude.ai account](https://code.claude.com/docs/en/skills.md#how-synced-skills-behave). Available in the same sessions as `ListPlugins` | No |
3638| `LSP` | Code intelligence via language servers: jump to definitions, find references, report type errors and warnings. See [LSP tool behavior](#lsp-tool-behavior) | No |
3739| `Monitor` | Runs a command in the background and feeds each output line back to Claude, so it can react to log entries, file changes, or polled status mid-conversation. Can also open a WebSocket and treat each incoming message as an event. See [Monitor tool](#monitor-tool) | Yes |
3840| `NotebookEdit` | Modifies Jupyter notebook cells. See [NotebookEdit tool behavior](#notebookedit-tool-behavior) | Yes |
3941| `PowerShell` | Executes PowerShell commands natively. See [PowerShell tool](#powershell-tool) for availability | Yes |
42| `propose_skills` | Shows a card of proposed skills for you to review and save to your claude.ai account. Available in some cloud sessions, such as cloud [Cowork](https://claude.com/docs/cowork/overview) sessions | No |
4043| `PushNotification` | Sends a desktop notification from a local session, and a phone push with [Remote Control](https://code.claude.com/docs/en/remote-control.md) or in a [cloud session](https://code.claude.com/docs/en/claude-code-on-the-web.md). Push delivery runs through Anthropic-hosted infrastructure, which is not accessible from Amazon Bedrock, Claude Platform on AWS, Google Cloud's Agent Platform, or Microsoft Foundry | No |
4144| `Read` | Reads the contents of files. See [Read tool behavior](#read-tool-behavior) | No |
4245| `ReadMcpResourceTool` | Reads a specific MCP resource by URI | No |
from line 46
4346| `RemoteTrigger` | Creates, updates, runs, and lists [cloud scheduled tasks](https://code.claude.com/docs/en/routines.md), formerly routines, on claude.ai. Backs the `/schedule` command. The [`RemoteTrigger` input reference](https://code.claude.com/docs/en/agent-sdk/typescript#remotetrigger) documents every action and the organization policies that remove the tool. Cloud scheduled tasks live on claude.ai and require a Pro, Max, Ultra, Team, or Enterprise plan. This tool is therefore not accessible from Amazon Bedrock, Claude Platform on AWS, Google Cloud's Agent Platform, or Microsoft Foundry | No |
4447| `ReportFindings` | Reports code-review findings as a structured list, with a file, summary, and failure scenario per finding, so Claude Code can render them instead of printing them as text. Claude calls it when active code-review instructions tell it to. A finding can also carry an optional `category` slug, such as `correctness` or `test-coverage`, shown next to the file location in the rendered list | No |
4548| `ScheduleWakeup` | Reschedules the next iteration of a [self-paced `/loop`](https://code.claude.com/docs/en/scheduled-tasks#let-claude-choose-the-interval). Claude calls this at the end of each iteration to pick when the next one runs, between one minute and one hour out; you don't call it directly. To end the loop instead, Claude calls it with `stop: true`, which cancels the pending wakeup. The pending wakeup appears in `session_crons` in [Stop hook input](https://code.claude.com/docs/en/hooks.md#stop-input) | No |
49| `SearchPlugins` | Searches your claude.ai plugin catalog. Available in the same sessions as `ListPlugins` | No |
50| `SearchSkills` | Searches claude.ai skills. Available in the same sessions as `ListPlugins` | No |
4651| `SendFeedback` | Drafts a feedback report about Claude Code, covering a product problem or Claude's own behavior in the session, and queues it on your machine for you to review. Claude Code sends nothing until you choose to send the draft. See [SendFeedback tool behavior](#sendfeedback-tool-behavior). Requires Claude Code v2.1.238 or later | No |
4752| `SendMessage` | Sends a message to another agent: an [agent team](https://code.claude.com/docs/en/agent-teams.md) teammate, a [subagent it resumes](https://code.claude.com/docs/en/sub-agents.md#resume-subagents) by agent ID or name, or one of your other Claude Code sessions, on this machine or beyond it. Messaging other sessions requires Claude Code v2.1.224 or later. [Cross-session messaging](https://code.claude.com/docs/en/cross-session-messaging.md) covers which sessions Claude can reach, [what a message looks like when it arrives](https://code.claude.com/docs/en/cross-session-messaging.md#what-a-message-looks-like), and [how Claude gets a notice when another session goes idle](https://code.claude.com/docs/en/cross-session-messaging.md#get-a-notice-when-another-session-goes-idle). Claude can include an optional `summary` input, typically 5-10 words, that Claude Code shows as a one-line preview. When Claude omits it on a [plain-text message](https://code.claude.com/docs/en/cross-session-messaging.md#limitations), Claude Code uses the first line of the message as the summary. Claude Code truncates a summary longer than 200 characters with an ellipsis | No |
4853| `SendUserFile` | Sends files from the session to you with an optional caption, so a generated report, diagram, screenshot, or built artifact reaches your device instead of only being mentioned in the transcript. The optional `display` input controls presentation: `render` opens the file inline in the client, `attach` shows a download card only, and when unset the client decides by file type. Available when a [Remote Control](https://code.claude.com/docs/en/remote-control.md) client is connected or in a [cloud session](https://code.claude.com/docs/en/claude-code-on-the-web.md). Delivery runs through Anthropic-hosted infrastructure, so the tool is not available on Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry | No |
from line 54
4954| `ShareOnboardingGuide` | Uploads `ONBOARDING.md` and returns a share link teammates can open in Claude Code. Called from `/team-onboarding` after the guide is written. Available to claude.ai subscribers on Team and Enterprise plans | Yes |
5055| `Skill` | Executes a [skill](https://code.claude.com/docs/en/skills.md#control-who-invokes-a-skill) within the main conversation. Can prompt for skills that set `allowed-tools`, `disallowed-tools`, or `hooks` | Some skills |
5156| `SubagentHandback` | Delivers a subagent's final report to whichever conversation receives that subagent's result. Provided only in [auto mode](https://code.claude.com/docs/en/permission-modes.md#eliminate-prompts-with-auto-mode), to subagents that the Agent tool runs locally other than [forks](https://code.claude.com/docs/en/sub-agents.md#fork-the-current-conversation), and available in the terminal CLI, IDE extensions, cloud sessions, and the Agent SDK; the classifier reviews the report before it's delivered. Requires Claude Code v2.1.271 or later | No |
57| `SuggestPluginInstall` | Shows a [card of suggested plugins](https://code.claude.com/docs/en/claude-code-on-the-web.md#plugin-suggestions-in-the-conversation) you can add. Available in the same sessions as `ListPlugins` | No |
58| `SuggestSkills` | Shows a card of claude.ai skills you can add. Available in the same sessions as `ListPlugins` | No |
5259| `TaskCreate` | Creates a new task in the task list. Provided by default only on the models listed under [Task tool availability](#task-tool-availability), and on other models when you opt in | No |
5360| `TaskGet` | Retrieves full details for a specific task. Provided by default only on the models listed under [Task tool availability](#task-tool-availability), and on other models when you opt in | No |
5461| `TaskList` | Lists all tasks with their current status. Provided by default only on the models listed under [Task tool availability](#task-tool-availability), and on other models when you opt in | No |
troubleshoot-install Changed · +5 / -3 lines
### That doesn't look like the full code ### OAuth error: Invalid code
from line 52
5252| On Windows, the install command prints script text and nothing installs | [Run the complete install command](#wrong-install-command-on-windows) |
5353| `App unavailable in region` | Claude Code is not available in your country. See [supported countries](https://www.anthropic.com/supported-countries). |
5454| `unable to get local issuer certificate` | [Configure corporate CA certificates](#tls-or-ssl-connection-errors) |
55| `OAuth error` or `403 Forbidden` | [Fix authentication](#login-and-authentication) |
55| `OAuth error`, `That doesn't look like the full code`, or `403 Forbidden` | [Fix authentication](#login-and-authentication) |
5656| `Claude Code access has not been granted for this account` | [Get a role that includes Claude Code](#claude-code-access-has-not-been-granted-for-this-account) |
5757| `Unable to connect to Anthropic services` during setup | See [Unable to connect to Anthropic services](https://code.claude.com/docs/en/errors.md#unable-to-connect-to-anthropic-services) in the Error reference |
5858| `Could not load the default credentials` or `Could not load credentials from any providers` | [Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry credentials](#bedrock-agent-platform-or-foundry-credentials-not-loading) |
from line 811
811811
812812**Solutions:**
813813
8141. **Set a working directory** before running the installer. When run from `/`, the installer scans the entire filesystem, which causes excessive memory usage. Setting `WORKDIR` limits the scan to a small directory:
8141. **Set a working directory** before running the installer:
815815 ```dockerfile theme={null}
816816 WORKDIR /tmp
817817 RUN curl -fsSL https://claude.ai/install.sh | bash
from line 1142
11421142
11431143If the browser doesn't open automatically during login, press `c` to copy the OAuth URL to your clipboard, then paste it into a browser manually. This also works when the URL wraps across lines in a narrow or SSH terminal and can't be clicked directly.
11441144
1145### OAuth error: Invalid code
1145### That doesn't look like the full code
1146
1147If you see `That doesn't look like the full code`, copy the whole login code from the browser, including the `#` in the middle, and paste it again.
11461148
11471149If you see `OAuth error: Invalid code. Please make sure the full code was copied`, the login code expired or was truncated during copy-paste.
11481150
voice-dictation Changed · +4 / -4 lines
from line 164
164164
165165Common issues when voice dictation does not activate or record:
166166
167* **`Unknown command: /voice`**: `/voice` is available only while a claude.ai account is your active sign-in. If you aren't signed in with one, run `/login`. If `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, an `apiKeyHelper` setting, or a [third-party provider](#requirements) is in use, it takes precedence over a claude.ai sign-in, so remove it and restart Claude Code.
168* **`Voice mode requires a Claude.ai account`**: Claude Code couldn't find a usable claude.ai sign-in when you ran `/voice` or started recording. Run `/login` to sign in again.
167* **`/voice needs a Claude subscription` or `/voice isn't available with <provider>`**: `/voice` is available only while a claude.ai account is your active sign-in. If you aren't signed in with one, run `/login`. If `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, an `apiKeyHelper` setting, or a [third-party provider](#requirements) is in use, it takes precedence over a claude.ai sign-in, so remove it and restart Claude Code.
168* **`Voice mode needs a Claude.ai account`**: Claude Code couldn't find a usable claude.ai sign-in when you ran `/voice` or started recording. Run `/login` to sign in again.
169169* **`Voice mode is disabled by your organization's policy`**: an administrator policy for your organization turns off voice dictation. Contact your organization administrator to confirm whether voice dictation is available for your organization.
170170* **`Microphone access is denied`**: grant microphone permission to your terminal in system settings. On macOS, go to System Settings → Privacy & Security → Microphone and enable your terminal app, then run `/voice` again. On Windows, go to Settings → Privacy & security → Microphone and turn on microphone access for desktop apps, then run `/voice` again. If your terminal isn't listed in the macOS settings, see [Terminal not listed in macOS Microphone settings](#terminal-not-listed-in-macos-microphone-settings).
171* **`Voice mode requires SoX for audio recording` on Linux**: the native audio module could not load and no fallback is installed. Install SoX with the command shown in the error message, for example `sudo apt-get install sox`.
172* **`Voice mode requires a microphone, but SoX could not open an audio capture device`**: SoX is installed, but the host has no audio capture device, for example a headless server or a container. Run Claude Code on a machine with a microphone. As of v2.1.195, Claude Code on Linux reports this message in that situation; earlier versions asked you to install SoX even when it was already installed.
171* **`Voice mode needs SoX to record` on Linux**: install SoX with the command shown in the error message, for example `sudo apt-get install sox`.
172* **`Voice mode needs a microphone, and SoX couldn't open one`**: SoX is installed, but the host has no audio capture device, for example a headless server or a container. Run Claude Code on a machine with a microphone.
173173* **`Voice mode could not find a working audio recorder in WSL`**: WSLg routes audio through PulseAudio rather than an ALSA device, so SoX needs its PulseAudio backend installed explicitly. Run `sudo apt install sox libsox-fmt-pulse`. Installing `sox` alone pulls in the ALSA backend, which cannot record on WSL because there is no `/dev/snd` device.
174174* **`Voice input is failing repeatedly and has been paused`**: voice dictation hit three failures within 10 seconds. Claude Code pauses dictation until 10 seconds have passed since the first of those failures. This usually means the microphone or audio stack on this host can't capture audio, for example a headless server, a remote shell with no audio passthrough, or a denied microphone permission. Confirm a working input device, fix the underlying cause from the entries above, then trigger voice again. Before v2.1.202, only start-up failures counted toward the pause.
175175* **Nothing happens when holding `Space` in hold mode**: watch the prompt input while you hold. If spaces keep accumulating, voice dictation is likely off; run `/voice hold` to enable it. If only one or two spaces appear and then nothing, voice dictation is on but hold detection is not triggering. Hold detection requires your terminal to send key-repeat events, so it can't detect a held key if key-repeat is disabled at the OS level. Switch to tap mode with `/voice tap` to avoid the key-repeat requirement.
agent-sdk/custom-tools Changed · +1 / -1 lines
from line 411
411411
412412To try the policy, replace the `options` in the [Call a custom tool](#call-a-custom-tool) script with this example's `options`, then run that script from your terminal. The script prints `Approval requested for mcp__weather__get_temperature`, followed by Claude's answer about the temperature. For a complete script, see the [TypeScript reference](https://code.claude.com/docs/en/agent-sdk/typescript.md#mcpsdkserverconfigwithinstance).
413413
414If you use `auto` or `plan` [permission mode](https://code.claude.com/docs/en/agent-sdk/permissions.md#permission-modes), set `destructiveHint: true` in the tool's [annotations](#add-tool-annotations) so calls to the tool still reach your callback. Otherwise the [auto mode classifier](https://code.claude.com/docs/en/permission-modes.md#eliminate-prompts-with-auto-mode) can approve some `always_ask` calls, under [conditions listed in the TypeScript reference](https://code.claude.com/docs/en/agent-sdk/typescript.md#permission-modes-that-can-approve-an-always_ask-call), and a call it approves doesn't reach your callback. Set the hint explicitly, because an unset `destructiveHint` counts as `false` for `always_ask` calls rather than defaulting to `true`.
414If you use `auto` or `plan` [permission mode](https://code.claude.com/docs/en/agent-sdk/permissions.md#permission-modes), set `destructiveHint: true` in the tool's [annotations](#add-tool-annotations) to keep the [auto mode classifier](https://code.claude.com/docs/en/permission-modes.md#eliminate-prompts-with-auto-mode) from approving calls in place of your callback. Otherwise the classifier can approve some `always_ask` calls, under [conditions listed in the TypeScript reference](https://code.claude.com/docs/en/agent-sdk/typescript.md#permission-modes-that-can-approve-an-always_ask-call). Set the hint explicitly, because an unset `destructiveHint` counts as `false` for `always_ask` calls rather than defaulting to `true`.
415415
416416## Handle errors
417417
agent-sdk/hosting Changed · +1 / -1 lines
from line 14
1414
1515
1616
17One agent session maps to one subprocess. Running N concurrent sessions means N subprocesses, each with its own process tree and transcript file. By default they all inherit your application's working directory. When sessions need separate filesystems, pass a distinct `cwd` in the options of each session's `query()` call:
17One agent session maps to one subprocess. Running N concurrent sessions takes N subprocesses, each with its own process tree and transcript file. By default they all inherit your application's working directory. When sessions need separate working directories, pass a distinct `cwd` in the options of each session's `query()` call:
1818
1919```typescript TypeScript theme={null}
2020import { query } from "@anthropic-ai/claude-agent-sdk";
agent-sdk/permissions Changed · +1 / -1 lines
from line 2
22
33> Control how your agent uses tools with permission modes, hooks, and declarative allow/deny rules.
44
5The Claude Agent SDK provides permission controls to manage how Claude uses tools. Use permission modes and rules to define what's allowed automatically, and the [`canUseTool` callback](https://code.claude.com/docs/en/agent-sdk/user-input) to handle everything else at runtime.
5The Claude Agent SDK provides permission controls to manage how Claude uses tools. Use permission modes and rules to define what's allowed automatically, and the [`canUseTool` callback](https://code.claude.com/docs/en/agent-sdk/user-input) to handle calls that still need approval.
66
77## How permissions are evaluated
88
agent-sdk/python Changed · +2 / -2 lines
from line 1172
11721172 "default", # Standard permission behavior
11731173 "acceptEdits", # Auto-accept file edits
11741174 "plan", # Planning mode - Claude explores and plans
1175 "dontAsk", # Deny anything not pre-approved instead of prompting
1175 "dontAsk", # Deny calls that would otherwise prompt
11761176 "bypassPermissions", # Bypass permission checks; explicit ask rules still prompt (use with caution)
11771177 "auto", # A model classifier reviews actions such as shell commands and network requests
11781178]
from line 2624
26242624 ],
26252625 "resolvedModel": str | None, # Model the subagent started on
26262626 "modelsUsed": list[str] | None, # Models used in order, with consecutive repeats collapsed
2627 "totalToolUseCount": int, # Number of tool calls the agent made
2627 "totalToolUseCount": int, # Number of tool calls the agent made, excluding SubagentHandback calls
26282628 "totalDurationMs": int, # Execution duration in milliseconds
26292629 "totalTokens": int, # Token count from the final API request, not the whole run
26302630 "usage": { # Token usage statistics
agent-sdk/user-input Changed · +2 / -2 lines
from line 42
4242
4343The callback fires in two cases:
4444
451. **Tool needs approval**: Claude wants to use a tool that isn't auto-approved by a [permission rule](https://code.claude.com/docs/en/agent-sdk/permissions.md) or permission mode. Check `tool_name` for the tool (e.g., `"Bash"`, `"Write"`).
451. **Tool needs approval**: Claude makes a call that the [permission flow](https://code.claude.com/docs/en/agent-sdk/permissions.md#how-permissions-are-evaluated) hasn't already approved or denied. Check `tool_name` for the tool (for example, `"Bash"`, `"Write"`).
46462. **Claude asks a question**: Claude calls the `AskUserQuestion` tool. Check if `tool_name == "AskUserQuestion"` to handle it differently. If you specify a `tools` array, include `AskUserQuestion` for this to work. For more information, see [Handle clarifying questions](#handle-clarifying-questions).
4747
4848> [!WARNING]
from line 49
4949>
5050> **An earlier step can allow or deny a call before `canUseTool` runs.** The [permission evaluation flow](https://code.claude.com/docs/en/agent-sdk/permissions.md#how-permissions-are-evaluated) checks deny rules, the permission mode, and allow rules before your callback.
5151>
52> To run your checks on calls that a rule or the permission mode already allowed, use a [`PreToolUse` hook](https://code.claude.com/docs/en/agent-sdk/hooks), which runs for those calls and can allow, deny, or modify them.
52> To check calls that run without your callback, such as file reads inside your [working directories](https://code.claude.com/docs/en/permissions.md#working-directories), use a [`PreToolUse` hook](https://code.claude.com/docs/en/agent-sdk/hooks), which can allow, deny, or modify them.
5353
5454You can also use the [`PermissionRequest` hook](https://code.claude.com/docs/en/agent-sdk/hooks#available-hooks) to send external notifications (Slack, email, push) when Claude is waiting for approval.
5555
agent-view Changed · +2 / -2 lines
from line 221
221221
222222* A question with predefined choices: the panel lists the choices by number. With the reply input empty, press a choice's number to fill it in, then `Enter` to send it, or type your own answer instead
223223* A question without predefined choices: type your answer. When the empty input shows a suggested reply, press `Tab` to fill it in and edit it before sending
224* A permission prompt or another dialog, such as a [sandbox](https://code.claude.com/docs/en/sandboxing.md) prompt or an MCP server's [request for input](https://code.claude.com/docs/en/mcp.md#respond-to-mcp-elicitation-requests): replying doesn't answer it. Your message waits in the queue. To answer the dialog, attach with `→`
224* A permission prompt or another dialog, such as a [sandbox](https://code.claude.com/docs/en/sandboxing.md) prompt or an MCP server's [request for input](https://code.claude.com/docs/en/mcp.md#respond-to-mcp-elicitation-requests): replying doesn't answer it. To answer the dialog, attach with `→` while the reply input is empty
225225
226226When a [`PermissionRequest`](https://code.claude.com/docs/en/hooks#permissionrequest) or [`PreToolUse`](https://code.claude.com/docs/en/hooks#pretooluse) hook returns output Claude Code can't validate for the call the session is asking about, the row shows the hook event and `hook output invalid:` with the validation error before the pending request's text. For a hook that fails another way, the row says the hook failed. The session still waits on the same request.
227227
from line 259
259259
260260In a session running in the foreground, one you started in the terminal rather than attached to from agent view, pressing `←` on an empty prompt backgrounds it and opens agent view with that row selected, so you can switch sessions without leaving the terminal. The same single press detaches an attached session.
261261
262If you press `←` right after you delete the last of the prompt's text or move through prompt history, Claude Code asks you to confirm: the first press shows `Press ← again to open agents`, or `Press ← again to go back to agents` in an attached session, and the second press switches.
262If you press `←` right after you delete the last of the prompt's text or move through prompt history, Claude Code asks you to confirm. Press `←` again to switch.
263263
264264After you background a session with `←`:
265265
best-practices Changed · +1 / -1 lines
from line 539
539539
540540In a script you'll almost always want a few more flags:
541541
542* [`--bare`](https://code.claude.com/docs/en/headless#start-faster-with-bare-mode) skips hooks, skills, plugins, MCP servers, and `CLAUDE.md` files, the repo's as well as the machine's, so the run does the same thing wherever it runs. It also never touches your claude.ai login: auth comes from `ANTHROPIC_API_KEY`, an `apiKeyHelper` in the file you pass with `--settings`, or your cloud provider's credentials.
542* [`--bare`](https://code.claude.com/docs/en/headless#start-faster-with-bare-mode) skips your hooks, skills, plugins, MCP servers, and `CLAUDE.md` files from the repo and your home directory. It also doesn't use your claude.ai login: auth comes from `ANTHROPIC_API_KEY`, an `apiKeyHelper` in the file you pass with `--settings`, or your cloud provider's credentials.
543543* `--append-system-prompt`, `--mcp-config`, and `--settings` explicitly pass in what the run *does* need. Hooks you pass with `--settings` [don't run under `--bare`](https://code.claude.com/docs/en/headless#start-faster-with-bare-mode), so don't use `--bare` for a run that needs them.
544544* `--allowedTools` pre-approves its tools, and [`--permission-mode dontAsk`](https://code.claude.com/docs/en/permission-modes#allow-only-pre-approved-tools-with-dontask-mode) refuses anything else that would have prompted.
545545* `--output-format json` gives you a single result object to parse, and `stream-json` with `--verbose` streams events as they happen.
channels Changed · +1 / -1 lines
from line 274
274274
275275## Security
276276
277Every approved channel plugin maintains a sender allowlist: only IDs you've added can push messages, and everyone else is silently dropped.
277The Telegram, Discord, and iMessage channel plugins check direct messages against a sender allowlist. Other people's direct messages reach your session only after you add those people to the list.
278278
279279Telegram and Discord bootstrap the list by pairing:
280280
channels-reference Changed · +1 / -1 lines
from line 427
427427
428428Gate on the sender's identity, not the chat or room identity: `message.from.id` in the example, not `message.chat.id`. In group chats, these differ, and gating on the room would let anyone in an allowlisted group inject messages into the session.
429429
430The [Telegram](https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/telegram) and [Discord](https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/discord) channels gate on a sender allowlist the same way. They bootstrap the list by [pairing](https://code.claude.com/docs/en/channels.md#security). See either implementation for the full pairing flow. The [iMessage](https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/imessage) channel takes a different approach: it detects the user's own addresses from the Messages database at startup and lets them through automatically, with other senders added by handle.
430The [Telegram](https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/telegram) and [Discord](https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/discord) channels gate direct messages on a sender allowlist the same way. They bootstrap the list by [pairing](https://code.claude.com/docs/en/channels.md#security). See either implementation for the full pairing flow. The [iMessage](https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/imessage) channel takes a different approach: it detects the user's own addresses from the Messages database at startup and lets them through automatically, with other senders added by handle.
431431
432432## Relay permission prompts
433433
claude-code-on-the-web Changed · +0 / -2 lines
from line 444
444444
445445Run [`claude auth login`](https://code.claude.com/docs/en/cli-reference#cli-commands) in your shell to sign in with your claude.ai account, then retry the command. Inside a running session, `/login` does the same. If the error names your provider instead, see the [error table](#errors-when-sending-to-a-cloud-session): cloud sessions aren't available through third-party providers.
446446
447From v2.1.274 through v2.1.289, the sign-in message read `Claude Code cloud sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.`
448
449447### Branch is not on GitHub
450448
451449When `claude --cloud` prints a line starting with `Branch <name> is not on GitHub`, the cloud session still starts, but not from your branch. The line names where the session starts instead: a pushed commit from your branch's history, or the repository's default branch. Commits that exist only on your machine and uncommitted changes aren't in the session.
claude-directory Changed · +1 / -1 lines
from line 337
337337Claude Code skips the age-based sweep in these cases:
338338
339339* **Bare mode**: when you run `claude -p` with [`--bare`](https://code.claude.com/docs/en/headless#start-faster-with-bare-mode), Claude Code doesn't run the sweep in that session.
340* **Paused sweep**: if Claude Code can't safely determine the retention period, it pauses the sweep; the [`retention_sweep` event](https://code.claude.com/docs/en/monitoring-usage#retention-sweep-event) lists each configuration that pauses it. When the cause is a settings file that can't be read or parsed, or settings errors with `cleanupPeriodDays` or `desktopSessionCleanupPeriodDays` set, `/status` shows a warning until you fix the cause.
340* **Paused sweep**: if Claude Code can't safely determine the retention period, it pauses the sweep; the [`retention_sweep` event](https://code.claude.com/docs/en/monitoring-usage#retention-sweep-event) reports why. When the cause is a settings file that can't be read or parsed, or settings errors with `cleanupPeriodDays` or `desktopSessionCleanupPeriodDays` set, `/status` shows a warning until you fix the cause.
341341
342342When [managed settings](https://code.claude.com/docs/en/managed-settings.md) provide `cleanupPeriodDays`, Claude Code runs the sweep at the managed value even when a lower-priority settings file has errors.
343343
claude-tag Changed · +1 / -1 lines
from line 461
461461<div class="tm-strip"><div class="tm-strip-head"><p class="tm-strip-title">Security review</p><a href="/docs/claude-tag/concepts/security-and-data" class="link tm-strip-all">Security and data handling</a></div><p>The security model, what admins can and can’t restrict, audit trails, and network requirements.</p></div>
462462<h2 class="flex whitespace-pre-wrap group font-semibold" id="where-to-start-with-claude-tag" aria-labelledby="_R_259deehkd74t9_"><a href="#where-to-start-with-claude-tag" class="anchor-link" aria-label="Navigate to header: Where to start with Claude Tag"></a><span id="_R_259deehkd74t9_" class="cursor-pointer">Where to start with Claude Tag</span></h2>
463463<div class="columns prose dark:prose-invert grid max-w-none gap-4 sm:grid-cols-[repeat(var(--cols),minmax(0,1fr))] @2xl/columns-container:grid-cols-[repeat(var(--cols),minmax(0,1fr))] @[0px]/columns-container:grid-cols-1 card-group dark:prose-dark gap-y-0 sm:grid-cols-[repeat(var(--cols),minmax(0,1fr))]!" style="--cols:2"><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_679deehkd74t9_" tabindex="0" role="link"><div class="px-6 py-5 relative flex items-center gap-x-4" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5"><svg aria-hidden="true" width="18" height="18" stroke-width="2" class="m-0.5 size-3 shrink-0"><use href="#mi-mint-1-ExternalLink"></use></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&>svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url("https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/gear.svg");-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url("https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/gear.svg");mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_679deehkd74t9_" class="not-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_679deehkd74t9H1_" class="prose font-normal text-base text-gray-600 dark:text-gray-400 leading-6 mt-0" data-component-part="card-content"><span data-as="p">Admins: pair your Slack workspace and launch</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_a79deehkd74t9_" tabindex="0" role="link"><div class="px-6 py-5 relative flex items-center gap-x-4" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5"><svg aria-hidden="true" width="18" height="18" stroke-width="2" class="m-0.5 size-3 shrink-0"><use href="#mi-mint-1-ExternalLink"></use></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&>svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url("https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/paper-plane.svg");-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url("https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/paper-plane.svg");mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_a79deehkd74t9_" class="not-prose font-semibold text-base text-gray-800 dark:text-white" contentEditable="false" data-component-part="card-title">Hand Claude Tag your first task</h2><div id="_R_a79deehkd74t9H1_" class="prose font-normal text-base text-gray-600 dark:text-gray-400 leading-6 mt-0" data-component-part="card-content"><span data-as="p">It’s already in your channel: send your first message</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_e79deehkd74t9_" tabindex="0" role="link"><div class="px-6 py-5 relative flex items-center gap-x-4" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5"><svg aria-hidden="true" width="18" height="18" stroke-width="2" class="m-0.5 size-3 shrink-0"><use href="#mi-mint-1-ExternalLink"></use></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&>svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url("https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/diagram-project.svg");-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url("https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/diagram-project.svg");mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_e79deehkd74t9_" class="not-prose font-semibold text-base text-gray-800 dark:text-white" contentEditable="false" data-component-part="card-title">How Claude Tag works</h2><div id="_R_e79deehkd74t9H1_" class="prose font-normal text-base text-gray-600 dark:text-gray-400 leading-6 mt-0" data-component-part="card-content"><span data-as="p">The session model, what it can read, and how memory follows places</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_i79deehkd74t9_" tabindex="0" role="link"><div class="px-6 py-5 relative flex items-center gap-x-4" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5"><svg aria-hidden="true" width="18" height="18" stroke-width="2" class="m-0.5 size-3 shrink-0"><use href="#mi-mint-1-ExternalLink"></use></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&>svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url("https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/list.svg");-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url("https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/list.svg");mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_i79deehkd74t9_" class="not-prose font-semibold text-base text-gray-800 dark:text-white" contentEditable="false" data-component-part="card-title">Use case library</h2><div id="_R_i79deehkd74t9H1_" class="prose font-normal text-base text-gray-600 dark:text-gray-400 leading-6 mt-0" data-component-part="card-content"><span data-as="p">Prompts to paste, by team and connection</span></div></div></div></div></div></div><div class="feedback-toolbar pb-16 w-full flex flex-col gap-y-8"><div class="flex flex-row flex-wrap gap-4 items-center justify-between"><p class="inline-block text-sm text-gray-600 dark:text-gray-400 whitespace-nowrap">Was this page helpful?</p><div class="flex flex-wrap grow gap-3 items-center justify-end"><div class="flex gap-3 items-center"><button id="feedback-thumbs-up" class="px-3.5 py-2 flex flex-row gap-3 items-center border-standard rounded-xl text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 bg-white/50 dark:bg-codeblock/50 hover:border-gray-500 hover:dark:border-gray-500 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-primary dark:focus-visible:outline-primary-light"><svg aria-hidden="true" width="18" height="18" stroke-width="1.5" class="size-4 shrink-0 text-current"><use href="#mi-mint-1-ThumbsUp"></use></svg><small class="text-sm font-normal leading-4">Yes</small></button><button id="feedback-thumbs-down" class="px-3.5 py-2 flex flex-row gap-3 items-center border-standard rounded-xl text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 bg-white/50 dark:bg-codeblock/50 hover:border-gray-500 hover:dark:border-gray-500 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-primary dark:focus-visible:outline-primary-light"><svg aria-hidden="true" width="18" height="18" stroke-width="1.5" class="size-4 shrink-0 text-current"><use href="#mi-mint-1-ThumbsDown"></use></svg><small class="text-sm font-normal leading-4">No</small></button></div><div class="flex gap-3"></div></div></div></div><nav id="pagination" data-layout-item="pagination" aria-label="Pagination" class="px-0.5 flex items-center gap-6 text-sm font-semibold text-gray-700 dark:text-gray-200"><a href="/docs/claude-tag/concepts/how-it-works" rel="next" aria-label="Next: How Claude Tag works" data-component-part="pagination-next" class="group flex items-center min-w-0 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary dark:focus-visible:outline-primary-light gap-3 rounded-sm ml-auto pagination-next"><div class="truncate group-hover:text-gray-900 dark:group-hover:text-white" data-component-part="pagination-title">How Claude Tag works</div><svg viewBox="0 0 3 6" aria-hidden="true" data-component-part="pagination-chevron" class="h-1.5 shrink-0 stroke-gray-400 overflow-visible group-hover:stroke-gray-600 dark:group-hover:stroke-gray-300 rotate-180"><path d="M3 0L0 3L3 6" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg></a></nav><div data-assistant-bar="" class="left-0 right-0 sticky bottom-0 w-full overflow-hidden z-20 pointer-events-none print:hidden"><div class="chat-assistant-floating-input w-full group/assistant-bar relative translate-y-0 opacity-100"><div class="relative pb-4 sm:pb-6 max-w-2xl mx-auto"><div class="flex flex-col w-full rounded-2xl pointer-events-auto bg-background-light dark:bg-background-dark border border-gray-200 dark:border-white/10 focus-within:border-primary dark:focus-within:border-primary-light transition-colors"><div class="relative flex items-end"><textarea id="chat-assistant-textarea" aria-label="Ask a question..." autoComplete="off" placeholder="Ask a question..." class="chat-assistant-input w-full bg-transparent border-0 peer/input text-gray-900 dark:text-gray-100 placeholder-gray-600 dark:placeholder-gray-300 outline-hidden! focus:outline-hidden! focus:ring-0 py-2.5 pl-3.5 pr-10 font-bodyWeight text-sm" style="resize:none" rows="2"></textarea><button class="chat-assistant-send-button flex justify-center items-center rounded-full p-1 size-6 bg-primary/30 dark:bg-primary-dark/30 absolute right-2.5 bottom-2" aria-label="Send message" disabled=""><svg aria-hidden="true" width="18" height="18" stroke-width="2" class="size-2.5 shrink-0 text-white dark:text-white"><use href="#mi-mint-1-Send"></use></svg></button></div></div></div></div></div></div></div></main></div><footer id="footer" data-layout-item="footer" class="advanced-footer flex flex-col items-center mx-auto border-t border-gray-100 dark:border-gray-800/50 peer-[.is-custom]:hidden! peer-[.is-custom]:sm:hidden! peer-[.is-custom]:md:hidden! peer-[.is-custom]:lg:hidden! peer-[.is-custom]:xl:hidden!"><div class="flex w-full flex-col gap-12 justify-between px-8 py-16 md:py-20 lg:py-28 max-w-246 z-20"><div class="flex flex-col md:flex-row gap-8 justify-between min-h-19"><div class="flex md:flex-col justify-between items-center md:items-start min-w-16 md:min-w-20 lg:min-w-48 md:gap-y-24"><a href="/docs" class="select-none" style="-webkit-touch-callout:none"><span class="sr-only">Claude.ai Documentation<!-- --> home page</span><img class="nav-logo w-auto relative object-contain shrink-0 block dark:hidden max-w-48 h-[26px]" src="https://mintcdn.com/claude-ai/1fyDNLAICe3KG6rB/logo/light.svg?fit=max&auto=format&n=1fyDNLAICe3KG6rB&q=85&s=e870c19cb781d8a7c7b7d19de53b0a10" alt="light logo"/><img class="nav-logo w-auto relative object-contain shrink-0 hidden dark:block max-w-48 h-[26px]" src="https://mintcdn.com/claude-ai/1fyDNLAICe3KG6rB/logo/dark.svg?fit=max&auto=format&n=1fyDNLAICe3KG6rB&q=85&s=80cc0b06d8fd9aeefec8acb226de6866" alt="dark logo"/></a><div class="gap-4 min-w-[140px] max-w-[492px] flex-wrap h-fit flex justify-end md:justify-start"><a href="https://x.com/AnthropicAI" target="_blank" rel="noopener noreferrer" class="h-fit"><span class="sr-only">x</span><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! w-5 h-5 bg-gray-500 dark:bg-gray-600 hover:bg-gray-600 dark:hover:bg-gray-500" aria-hidden="true" focusable="false" style="-webkit-mask-image:url("https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/x-twitter.svg");-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url("https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/x-twitter.svg");mask-repeat:no-repeat;mask-position:center"></svg></a><a href="https://www.linkedin.com/company/anthropicresearch" target="_blank" rel="noopener noreferrer" class="h-fit"><span class="sr-only">linkedin</span><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! w-5 h-5 bg-gray-500 dark:bg-gray-600 hover:bg-gray-600 dark:hover:bg-gray-500" aria-hidden="true" focusable="false" style="-webkit-mask-image:url("https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/linkedin.svg");-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url("https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/linkedin.svg");mask-repeat:no-repeat;mask-position:center"></svg></a></div></div><div class="flex flex-col sm:grid max-md:grid-cols-2! gap-8 flex-1" style="grid-template-columns:repeat(4, minmax(0, 1fr))"><div class="flex flex-col gap-4 flex-1 whitespace-nowrap w-full md:items-center"><div class="flex gap-4 flex-col"><p class="text-sm font-semibold text-gray-950 dark:text-white mb-1">Company</p><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://www.anthropic.com/company" target="_blank" rel="noreferrer">Anthropic</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://www.anthropic.com/careers" target="_blank" rel="noreferrer">Careers</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://www.anthropic.com/economic-futures" target="_blank" rel="noreferrer">Economic Futures</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://www.anthropic.com/research" target="_blank" rel="noreferrer">Research</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://www.anthropic.com/news" target="_blank" rel="noreferrer">News</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://trust.anthropic.com/" target="_blank" rel="noreferrer">Trust center</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://www.anthropic.com/transparency" target="_blank" rel="noreferrer">Transparency</a></div></div><div class="flex flex-col gap-4 flex-1 whitespace-nowrap w-full md:items-center"><div class="flex gap-4 flex-col"><p class="text-sm font-semibold text-gray-950 dark:text-white mb-1">Help and security</p><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://www.anthropic.com/supported-countries" target="_blank" rel="noreferrer">Availability</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://status.anthropic.com/" target="_blank" rel="noreferrer">Status</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://support.claude.com/" target="_blank" rel="noreferrer">Support center</a></div></div><div class="flex flex-col gap-4 flex-1 whitespace-nowrap w-full md:items-center"><div class="flex gap-4 flex-col"><p class="text-sm font-semibold text-gray-950 dark:text-white mb-1">Learn</p><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://academy.claude.com/" target="_blank" rel="noreferrer">Courses</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://claude.com/partners/mcp" target="_blank" rel="noreferrer">MCP connectors</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://www.claude.com/customers" target="_blank" rel="noreferrer">Customer stories</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://www.anthropic.com/engineering" target="_blank" rel="noreferrer">Engineering blog</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://www.anthropic.com/events" target="_blank" rel="noreferrer">Events</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://claude.com/partners/powered-by-claude" target="_blank" rel="noreferrer">Powered by Claude</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://claude.com/partners/services" target="_blank" rel="noreferrer">Service partners</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://claude.com/programs/startups" target="_blank" rel="noreferrer">Startups program</a></div></div><div class="flex flex-col gap-4 flex-1 whitespace-nowrap w-full md:items-center"><div class="flex gap-4 flex-col"><p class="text-sm font-semibold text-gray-950 dark:text-white mb-1">Terms and policies</p><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://www.anthropic.com/legal/privacy" target="_blank" rel="noreferrer">Privacy policy</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://www.anthropic.com/responsible-disclosure-policy" target="_blank" rel="noreferrer">Disclosure policy</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://www.anthropic.com/legal/aup" target="_blank" rel="noreferrer">Usage policy</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://www.anthropic.com/legal/commercial-terms" target="_blank" rel="noreferrer">Commercial terms</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://www.anthropic.com/legal/consumer-terms" target="_blank" rel="noreferrer">Consumer terms</a></div></div></div></div></div></footer></div></div></div></div>
464 <template data-mint="config">{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Claude.ai Documentation","colors":{"primary":"#0E0E0E","light":"#D4A27F","dark":"#0E0E0E"},"logo":{"light":"https://mintcdn.com/claude-ai/1fyDNLAICe3KG6rB/logo/light.svg?fit=max\u0026auto=format\u0026n=1fyDNLAICe3KG6rB\u0026q=85\u0026s=e870c19cb781d8a7c7b7d19de53b0a10","dark":"https://mintcdn.com/claude-ai/1fyDNLAICe3KG6rB/logo/dark.svg?fit=max\u0026auto=format\u0026n=1fyDNLAICe3KG6rB\u0026q=85\u0026s=80cc0b06d8fd9aeefec8acb226de6866"},"favicon":"https://mintcdn.com/claude-ai/N9YeVEPVxANlc2We/favicon.ico?fit=max\u0026auto=format\u0026n=N9YeVEPVxANlc2We\u0026q=85\u0026s=a22e48fa0189917f9be516d4a555898c","background":{"color":{"light":"#FDFDF7","dark":"#09090B"}},"navbar":{"links":[{"href":"https://support.anthropic.com","label":"Support"}],"primary":{"type":"button","label":"Go to Claude","href":"https://claude.ai"}},"footer":{"socials":{"x":"https://x.com/AnthropicAI","linkedin":"https://www.linkedin.com/company/anthropicresearch"},"links":[{"header":"Company","items":[{"label":"Anthropic","href":"https://www.anthropic.com/company"},{"label":"Careers","href":"https://www.anthropic.com/careers"},{"label":"Economic Futures","href":"https://www.anthropic.com/economic-futures"},{"label":"Research","href":"https://www.anthropic.com/research"},{"label":"News","href":"https://www.anthropic.com/news"},{"label":"Trust center","href":"https://trust.anthropic.com/"},{"label":"Transparency","href":"https://www.anthropic.com/transparency"}]},{"header":"Help and security","items":[{"label":"Availability","href":"https://www.anthropic.com/supported-countries"},{"label":"Status","href":"https://status.anthropic.com/"},{"label":"Support center","href":"https://support.claude.com/"}]},{"header":"Learn","items":[{"label":"Courses","href":"https://academy.claude.com/"},{"label":"MCP connectors","href":"https://claude.com/partners/mcp"},{"label":"Customer stories","href":"https://www.claude.com/customers"},{"label":"Engineering blog","href":"https://www.anthropic.com/engineering"},{"label":"Events","href":"https://www.anthropic.com/events"},{"label":"Powered by Claude","href":"https://claude.com/partners/powered-by-claude"},{"label":"Service partners","href":"https://claude.com/partners/services"},{"label":"Startups program","href":"https://claude.com/programs/startups"}]},{"header":"Terms and policies","items":[{"label":"Privacy policy","href":"https://www.anthropic.com/legal/privacy"},{"label":"Disclosure policy","href":"https://www.anthropic.com/responsible-disclosure-policy"},{"label":"Usage policy","href":"https://www.anthropic.com/legal/aup"},{"label":"Commercial terms","href":"https://www.anthropic.com/legal/commercial-terms"},{"label":"Consumer terms","href":"https://www.anthropic.com/legal/consumer-terms"}]}]},"seo":{"metatags":{"canonical":"https://claude.com/docs"}},"fonts":{"family":"Anthropic Sans"},"contextual":{"options":["copy","view","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"claude-ai","hasAudioNarration":false,"actualSubdomain":"claude-ai","customDomains":["claude.com"],"gitSource":{"type":"github","owner":"anthropics","repo":"claude-ai-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aff79aca3b7b88affe2ba2f","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"Claude Tag","count":75},{"language":"default","tag":"For administrators","count":60},{"language":"default","tag":"Claude for Government","count":47},{"language":"default","tag":"Claude on third-party platforms","count":46},{"language":"default","tag":"Claude Science","count":41},{"language":"default","tag":"Build for Claude","count":36},{"language":"default","tag":"Set up Claude Tag","count":30},{"language":"default","tag":"Use Claude Science","count":23},{"language":"default","tag":"Customize Claude","count":22},{"language":"default","tag":"Connection guides","count":18}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/docs/_mintlify/custom/claude-ai/f864c4801ebb83ca/style.css"}]}</template>
464 <template data-mint="config">{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Claude.ai Documentation","colors":{"primary":"#0E0E0E","light":"#D4A27F","dark":"#0E0E0E"},"logo":{"light":"https://mintcdn.com/claude-ai/1fyDNLAICe3KG6rB/logo/light.svg?fit=max\u0026auto=format\u0026n=1fyDNLAICe3KG6rB\u0026q=85\u0026s=e870c19cb781d8a7c7b7d19de53b0a10","dark":"https://mintcdn.com/claude-ai/1fyDNLAICe3KG6rB/logo/dark.svg?fit=max\u0026auto=format\u0026n=1fyDNLAICe3KG6rB\u0026q=85\u0026s=80cc0b06d8fd9aeefec8acb226de6866"},"favicon":"https://mintcdn.com/claude-ai/N9YeVEPVxANlc2We/favicon.ico?fit=max\u0026auto=format\u0026n=N9YeVEPVxANlc2We\u0026q=85\u0026s=a22e48fa0189917f9be516d4a555898c","background":{"color":{"light":"#FDFDF7","dark":"#09090B"}},"navbar":{"links":[{"href":"https://support.anthropic.com","label":"Support"}],"primary":{"type":"button","label":"Go to Claude","href":"https://claude.ai"}},"footer":{"socials":{"x":"https://x.com/AnthropicAI","linkedin":"https://www.linkedin.com/company/anthropicresearch"},"links":[{"header":"Company","items":[{"label":"Anthropic","href":"https://www.anthropic.com/company"},{"label":"Careers","href":"https://www.anthropic.com/careers"},{"label":"Economic Futures","href":"https://www.anthropic.com/economic-futures"},{"label":"Research","href":"https://www.anthropic.com/research"},{"label":"News","href":"https://www.anthropic.com/news"},{"label":"Trust center","href":"https://trust.anthropic.com/"},{"label":"Transparency","href":"https://www.anthropic.com/transparency"}]},{"header":"Help and security","items":[{"label":"Availability","href":"https://www.anthropic.com/supported-countries"},{"label":"Status","href":"https://status.anthropic.com/"},{"label":"Support center","href":"https://support.claude.com/"}]},{"header":"Learn","items":[{"label":"Courses","href":"https://academy.claude.com/"},{"label":"MCP connectors","href":"https://claude.com/partners/mcp"},{"label":"Customer stories","href":"https://www.claude.com/customers"},{"label":"Engineering blog","href":"https://www.anthropic.com/engineering"},{"label":"Events","href":"https://www.anthropic.com/events"},{"label":"Powered by Claude","href":"https://claude.com/partners/powered-by-claude"},{"label":"Service partners","href":"https://claude.com/partners/services"},{"label":"Startups program","href":"https://claude.com/programs/startups"}]},{"header":"Terms and policies","items":[{"label":"Privacy policy","href":"https://www.anthropic.com/legal/privacy"},{"label":"Disclosure policy","href":"https://www.anthropic.com/responsible-disclosure-policy"},{"label":"Usage policy","href":"https://www.anthropic.com/legal/aup"},{"label":"Commercial terms","href":"https://www.anthropic.com/legal/commercial-terms"},{"label":"Consumer terms","href":"https://www.anthropic.com/legal/consumer-terms"}]}]},"seo":{"metatags":{"canonical":"https://claude.com/docs"}},"fonts":{"family":"Anthropic Sans"},"contextual":{"options":["copy","view","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"claude-ai","hasAudioNarration":false,"actualSubdomain":"claude-ai","customDomains":["claude.com"],"gitSource":{"type":"github","owner":"anthropics","repo":"claude-ai-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aff7f988f06d693f6d56f2f","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"Claude Tag","count":75},{"language":"default","tag":"For administrators","count":60},{"language":"default","tag":"Claude for Government","count":47},{"language":"default","tag":"Claude on third-party platforms","count":46},{"language":"default","tag":"Claude Science","count":41},{"language":"default","tag":"Build for Claude","count":36},{"language":"default","tag":"Set up Claude Tag","count":30},{"language":"default","tag":"Use Claude Science","count":23},{"language":"default","tag":"Customize Claude","count":22},{"language":"default","tag":"Connection guides","count":18}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/docs/_mintlify/custom/claude-ai/f864c4801ebb83ca/style.css"}]}</template>
465465 <template data-mint="manifest">{"page":{"pagePath":"claude-tag/overview","slug":"/claude-tag/overview","pageMetadata":{"title":"Work with Claude Tag","sidebarTitle":"Overview","description":"Claude Tag puts Claude in your Slack channels with admin-governed access. See what to hand it, how setup works, and where to start as an admin or end user.","keywords":["what is claude tag","claude in slack","claude slack app","slack bot","slack agent","@claude","tag claude","claude tag pricing","cost","how is claude tag billed","which plans include claude tag","team plan","enterprise plan","pro plan","max plan","ultra plan","personal account","claude tag vs cowork","use cases","public beta"],"mode":"wide","href":"/claude-tag/overview"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Claude Tag puts Claude in your Slack channels with admin-governed access. See what to hand it, how setup works, and where to start as an admin or end user.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,Heading}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsxs(`div`,{className:`tm-hero`,children:[_jsxs(`div`,{className:`tm-hero-copy`,children:[_jsx(`span`,{className:`tm-pill`,children:`Public Beta`}),_jsxs(`p`,{className:`tm-hero-title`,children:[`Tag `,_jsx(`span`,{className:`tm-hero-at`,children:`@Claude`}),` in. Get results back in the thread.`]}),_jsx(`p`,{className:`tm-hero-lede`,children:`Anyone in a Slack channel can tag Claude into a problem and hand it work: reproduce a bug and open a pull request, turn a decision thread into a doc, assemble the state of a project. It posts a checklist in the thread as it goes, and the whole exchange stays visible to the channel.`}),_jsxs(`div`,{className:`tm-hero-ctas`,children:[_jsx(_components.a,{className:`tm-btn tm-btn-dark`,href:`/claude-tag/admins/setup-overview`,children:`I’m setting it up →`}),_jsx(`a`,{className:`tm-btn tm-btn-light`,href:`#put-claude-tag-to-work`,children:`Use it in your channel ↓`})]})]}),_jsxs(`div`,{className:`tm-slack`,children:[_jsxs(`div`,{className:`tm-slack-head`,children:[_jsx(`span`,{className:`tm-slack-chan`,children:`# platform-eng`}),_jsx(`span`,{className:`tm-slack-members`,children:`38 members`})]}),_jsxs(`div`,{className:`tm-slack-body`,children:[_jsxs(`div`,{className:`tm-msg`,children:[_jsx(`span`,{className:`tm-avatar tm-avatar-user`,\"aria-hidden\":`true`,children:`D`}),_jsxs(`div`,{className:`tm-msg-col`,children:[_jsxs(`div`,{className:`tm-msg-meta`,children:[_jsx(`span`,{className:`tm-msg-name`,children:`Dana`}),_jsx(`span`,{className:`tm-msg-time`,children:`2:14 PM`})]}),_jsx(`p`,{children:`checkout has felt slow all morning — anyone else seeing it?`})]})]}),_jsxs(`div`,{className:`tm-msg`,children:[_jsx(`span`,{className:`tm-avatar tm-avatar-user tm-avatar-b`,\"aria-hidden\":`true`,children:`L`}),_jsxs(`div`,{className:`tm-msg-col`,children:[_jsxs(`div`,{className:`tm-msg-meta`,children:[_jsx(`span`,{className:`tm-msg-name`,children:`Leo`}),_jsx(`span`,{className:`tm-msg-time`,children:`2:15 PM`})]}),_jsxs(`p`,{children:[`same. `,_jsx(`span`,{className:`tm-mention`,children:`@Claude`}),` can you investigate? Compare latency against this morning’s deploy and find what’s causing it.`]})]})]}),_jsxs(`div`,{className:`tm-msg`,children:[_jsx(`span`,{className:`tm-avatar tm-avatar-claude`,children:_jsx(`img`,{src:`https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/logo/clay-spark.svg?fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=032101c39ca3b1af9f72fc4af8e60d12`,alt:``,noZoom:true,\"data-og-width\":`94`,width:`94`,\"data-og-height\":`94`,height:`94`,\"data-path\":`images/claude-tag/logo/clay-spark.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/logo/clay-spark.svg?w=280\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=cfd209bc25a4794740c6ce203eb3cbd5 280w, https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/logo/clay-spark.svg?w=560\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=56bcce983cd8bde205683364e24e1685 560w, https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/logo/clay-spark.svg?w=840\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=336614fa9447c4f4f985d322bb667df7 840w, https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/logo/clay-spark.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=fb5b4831af3174e5b49abee42199b5fc 1100w, https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/logo/clay-spark.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=0244fb0eb9bb7dd0cf38fddeb44c41e0 1650w, https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/logo/clay-spark.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=5b9c8f67ae332a9922f449534d904bf7 2500w`})}),_jsxs(`div`,{className:`tm-msg-col`,children:[_jsxs(`div`,{className:`tm-msg-meta`,children:[_jsx(`span`,{className:`tm-msg-name`,children:`Claude`}),_jsx(`span`,{className:`tm-msg-app`,children:`APP`}),_jsx(`span`,{className:`tm-msg-time`,children:`2:15 PM`})]}),_jsx(`p`,{children:`On it. I’ll compare latency before and after the deploy, track down the cause, and report back here.`}),_jsxs(`div`,{className:`tm-tasklist`,children:[_jsxs(`span`,{className:`tm-task-done`,children:[_jsx(`span`,{className:`tm-sr`,children:`Done: `}),`Pulled p99 latency from Datadog`]}),_jsxs(`span`,{className:`tm-task-done`,children:[_jsx(`span`,{className:`tm-sr`,children:`Done: `}),`Diffed deploy 4f2c1 against main`]}),_jsxs(`span`,{className:`tm-task-done`,children:[_jsx(`span`,{className:`tm-sr`,children:`Done: `}),`Reproduced the slow query locally`]}),_jsxs(`span`,{className:`tm-task-doing`,children:[_jsx(`span`,{className:`tm-sr`,children:`In progress: `}),`Opening a pull request with the fix…`]})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`plans-that-include-claude-tag`,children:`Plans that include Claude Tag`}),`\n`,_jsxs(_components.p,{children:[`Claude Tag is available on Team and Enterprise plans, on Anthropic’s first-party service. It isn’t available on individual plans (Free, Pro, Max, or Ultra), or for third-party deployments. To use it, your organization pairs its Slack workspace with its Claude organization; see `,_jsx(_components.a,{href:`/claude-tag/admins/setup-overview`,children:`the setup overview`}),` for the full prerequisites.`]}),`\n`,_jsxs(_components.p,{children:[`If you’re choosing between Claude products for Slack-shaped work, `,_jsx(_components.a,{href:`/claude-tag/concepts/how-it-works#how-claude-tag-differs-from-cowork-and-claude-code`,children:`how Claude Tag differs from Cowork and Claude Code`}),` compares them directly: team work in shared channels is Claude Tag; personal work on your own files is Cowork or Claude Code.`]}),`\n`,_jsx(Heading,{level:`3`,id:`who-needs-a-claude-seat`,children:`Who needs a Claude seat`}),`\n`,_jsx(_components.p,{children:`Slack users don’t each need a Claude seat to work with Claude in channels.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`In channels`}),`: by default, anyone in the paired Slack workspace can tag `,_jsx(_components.code,{children:`@Claude`}),` in a channel, and an Owner can `,_jsx(_components.a,{href:`/claude-tag/admins/restrict-access#restrict-who-can-use-claude`,children:`restrict who can use Claude`}),` to people in your Claude organization or, on Enterprise, to specific roles. Channel work bills by usage to your organization’s usage balance, under a `,_jsx(_components.a,{href:`/claude-tag/admins/set-spend-limit`,children:`spend limit`}),` an Owner sets.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`In group DMs`}),`: the same restriction on who can use Claude applies, and the work bills to your organization’s usage balance. See `,_jsx(_components.a,{href:`/claude-tag/admins/restrict-access#group-dms`,children:`Group DMs`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`In one-to-one DMs`}),`: a DM from a member who has connected a Claude account runs on that account and bills to that person’s seat. For the DM to work, that person needs either a seat that includes Claude Code or, on the Enterprise plan, Cowork access on a `,_jsx(_components.strong,{children:`Standard`}),` seat or a usage-based `,_jsx(_components.strong,{children:`Chat`}),` seat. A `,_jsx(_components.a,{href:`/claude-tag/admins/restrict-access#direct-messages-from-members-without-a-claude-account`,children:`DM from a member who hasn’t connected a Claude account`}),` can bill to your organization for a limited time.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`where-claude-tag-runs`,children:`Where Claude Tag runs`}),`\n`,_jsxs(_components.p,{children:[`Claude Tag works in Slack. You interact with it by writing in a Slack channel, thread, or direct message, and it replies there. Mention `,_jsx(_components.code,{children:`@Claude`}),` in a channel to guarantee it picks the message up.`]}),`\n`,_jsxs(_components.p,{children:[`When Claude works on a task, it runs in an ephemeral sandbox, not on your computer. The sandbox is created when a conversation starts, holds any code or files Claude is working with, and is discarded when the conversation goes idle. See `,_jsx(_components.a,{href:`/claude-tag/concepts/how-it-works`,children:`how Claude Tag works`}),` for the full lifecycle.`]}),`\n`,_jsxs(_components.p,{children:[`You extend what Claude can reach, like your repositories, ticketing systems, data warehouses, and custom tools, through `,_jsx(_components.a,{href:`/claude-tag/admins/add-connections`,children:`Claude Tag connectors`}),`, `,_jsx(_components.a,{href:`/claude-tag/admins/customize`,children:`plugins, and skills`}),`. An Owner or a `,_jsx(_components.a,{href:`/claude-tag/admins/restrict-access#delegate-claude-tag-administration`,children:`Claude Tag admin`}),` configures these for all of Slack, for one workspace, or for one channel. Members’ own claude.ai connectors are separate from that configuration; Claude can use them in a channel for the member’s own requests, as `,_jsx(_components.a,{href:`/claude-tag/concepts/personal-connectors`,children:`personal connectors in channels`}),` describes.`]}),`\n`,_jsxs(`div`,{className:`tm-route-grid`,children:[_jsxs(`div`,{className:`tm-card`,children:[_jsxs(_components.a,{className:`tm-band tm-band-admins`,href:`/claude-tag/admins/setup-overview`,children:[_jsxs(`span`,{className:`tm-band-text`,children:[_jsx(`span`,{className:`tm-band-label`,children:`For administrators`}),_jsx(`span`,{className:`tm-band-title`,children:`Set up Claude Tag`})]}),_jsx(`img`,{src:`https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/illustrations/Hand-Key.svg?fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=1b7a9675728f971bc7a4663c7f1ea599`,alt:``,noZoom:true,\"data-og-width\":`1000`,width:`1000`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/claude-tag/illustrations/Hand-Key.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/illustrations/Hand-Key.svg?w=280\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=3c3a2b136a48bc30066d77182034e131 280w, https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/illustrations/Hand-Key.svg?w=560\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=32f7e1b6f5c94b09b60365d1f8656e62 560w, https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/illustrations/Hand-Key.svg?w=840\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=07abecf209987dfae9183fbba74c2b28 840w, https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/illustrations/Hand-Key.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=f231bfb2475e80b9edf9d688f01ac0c1 1100w, https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/illustrations/Hand-Key.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=135090cf14a0bc55ef2236e3075d4e2d 1650w, https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/illustrations/Hand-Key.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=faf87e19781d3005c86f661bc60a0225 2500w`})]}),_jsxs(`div`,{className:`tm-qrows`,children:[_jsx(_components.a,{className:`tm-qrow`,href:`/claude-tag/admins/setup-overview`,children:_jsxs(`span`,{className:`tm-qrow-text`,children:[_jsx(`span`,{className:`tm-qrow-q`,children:`Where do I start?`}),_jsx(`span`,{className:`tm-qrow-sub`,children:`Pair your Slack workspace, launch, and test that it works`})]})}),_jsx(_components.a,{className:`tm-qrow`,href:`/claude-tag/concepts/agent-identity`,children:_jsxs(`span`,{className:`tm-qrow-text`,children:[_jsx(`span`,{className:`tm-qrow-q`,children:`What can Claude Tag access?`}),_jsx(`span`,{className:`tm-qrow-sub`,children:`How admins set access per channel, and where credentials are stored`})]})}),_jsx(_components.a,{className:`tm-qrow`,href:`/claude-tag/admins/add-connections`,children:_jsxs(`span`,{className:`tm-qrow-text`,children:[_jsx(`span`,{className:`tm-qrow-q`,children:`How do I connect each service?`}),_jsx(`span`,{className:`tm-qrow-sub`,children:`Credential types, allowed hosts, and what each connection lets Claude reach`})]})})]})]}),_jsxs(`div`,{className:`tm-card`,children:[_jsxs(`a`,{className:`tm-band tm-band-users`,href:`#put-claude-tag-to-work`,children:[_jsxs(`span`,{className:`tm-band-text`,children:[_jsx(`span`,{className:`tm-band-label`,children:`For end users`}),_jsx(`span`,{className:`tm-band-title`,children:`Put Claude Tag to work`})]}),_jsx(`img`,{src:`https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/illustrations/Hand-NodePair.svg?fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=c64df4c6d27a6da752aa32c9e0622781`,alt:``,noZoom:true,\"data-og-width\":`1000`,width:`1000`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/claude-tag/illustrations/Hand-NodePair.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/illustrations/Hand-NodePair.svg?w=280\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=6251b24fc10f5926244a6233432ac5c5 280w, https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/illustrations/Hand-NodePair.svg?w=560\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=33290118ade6efd057f734f4f23ab2bf 560w, https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/illustrations/Hand-NodePair.svg?w=840\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=8d4ae134ca06a27910d5f69fec5ae319 840w, https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/illustrations/Hand-NodePair.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=bbc86fac6a1def129e50e42ebd2603ce 1100w, https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/illustrations/Hand-NodePair.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=9ae67cdca30ed828416c4dd86403fc3b 1650w, https://mintcdn.com/claude-ai/5JFKyLlO7sHMMf5J/images/claude-tag/illustrations/Hand-NodePair.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=5JFKyLlO7sHMMf5J\u0026q=85\u0026s=58243f7f5c95da5ff412ccd61729165f 2500w`})]}),_jsxs(`div`,{className:`tm-qrows`,children:[_jsx(_components.a,{className:`tm-qrow`,href:`/claude-tag/users/getting-started`,children:_jsxs(`span`,{className:`tm-qrow-text`,children:[_jsx(`span`,{className:`tm-qrow-q`,children:`How do I hand Claude Tag a task?`}),_jsx(`span`,{className:`tm-qrow-sub`,children:`Mention Claude in any channel it’s in, with nothing to install`})]})}),_jsx(_components.a,{className:`tm-qrow`,href:`/claude-tag/users/use-cases`,children:_jsxs(`span`,{className:`tm-qrow-text`,children:[_jsx(`span`,{className:`tm-qrow-q`,children:`What is Claude Tag good at?`}),_jsx(`span`,{className:`tm-qrow-sub`,children:`Use cases for coding, data, incidents, and go-to-market`})]})}),_jsx(_components.a,{className:`tm-qrow`,href:`/claude-tag/users/good-habits`,children:_jsxs(`span`,{className:`tm-qrow-text`,children:[_jsx(`span`,{className:`tm-qrow-q`,children:`How do I get good results?`}),_jsx(`span`,{className:`tm-qrow-sub`,children:`Good habits for scoping and reviewing work`})]})}),_jsx(_components.a,{className:`tm-qrow`,href:`/claude-tag/users/memory`,children:_jsxs(`span`,{className:`tm-qrow-text`,children:[_jsx(`span`,{className:`tm-qrow-q`,children:`What does Claude Tag remember?`}),_jsx(`span`,{className:`tm-qrow-sub`,children:`Channel memory, what’s shared across the workspace, and who can see what`})]})}),_jsx(_components.a,{className:`tm-qrow`,href:`/claude-tag/users/proactivity`,children:_jsxs(`span`,{className:`tm-qrow-text`,children:[_jsx(`span`,{className:`tm-qrow-q`,children:`Can Claude Tag run tasks on a schedule?`}),_jsx(`span`,{className:`tm-qrow-sub`,children:`Scheduled jobs, channel watching, and triggers`})]})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`billing-and-spend-limits`,children:`Billing and spend limits`}),`\n`,_jsxs(_components.p,{children:[`Adding Claude to Slack doesn’t add a per-seat charge. Channel, thread, and group DM work is billed by usage instead: it draws from a `,_jsx(_components.strong,{children:`usage balance`}),`, an amount in your organization’s billing currency that an Owner funds. A `,_jsx(_components.a,{href:`/claude-tag/admins/set-spend-limit`,children:`spend limit`}),` caps how much of that balance Claude Tag can use each billing period.`]}),`\n`,_jsxs(_components.p,{children:[`One-to-one direct messages from members who have connected a Claude account don’t draw from this balance. Such a DM runs on the sender’s own claude.ai account and follows that seat’s usual usage limits, so the organization spend limit doesn’t apply to it. A `,_jsx(_components.a,{href:`/claude-tag/admins/restrict-access#direct-messages-from-members-without-a-claude-account`,children:`DM from a member who hasn’t connected a Claude account`}),` can draw from this balance.`]}),`\n`,_jsxs(_components.p,{children:[`To learn what your team’s usage costs, run a pilot with a spend limit set and watch the per-channel breakdown on the `,_jsx(_components.a,{href:`https://claude.ai/admin-settings/usage/claude-tag`,children:`usage page in your admin settings`}),`. `,_jsx(_components.a,{href:`/claude-tag/admins/set-spend-limit`,children:`Set a spend limit`}),` covers how to fund the balance on each plan, set the limit, and what happens when usage reaches it.`]}),`\n`,_jsxs(`div`,{className:`tm-eyebrow`,children:[_jsx(`span`,{className:`tm-swatch tm-swatch-users`}),`For end users`]}),`\n`,_jsx(Heading,{level:`2`,id:`put-claude-tag-to-work`,children:`Put Claude Tag to work`}),`\n`,_jsxs(_components.p,{children:[`If Claude Tag is in your channel, you can use it now. (If it isn’t there yet, an Owner in your Claude organization runs setup: see `,_jsx(_components.a,{href:`/claude-tag/admins/setup-overview`,children:`Set up Claude Tag`}),`.) Anyone in the channel can hand it work, and channel work bills to the organization, not to you.`]}),`\n`,_jsxs(_components.p,{children:[`What it can reach starts with the channel you’re in. The fastest way to find out is to ask it: `,_jsx(_components.code,{children:`@Claude what can you access from this channel?`}),` Or, if you’re signed in to your Claude organization, click `,_jsx(_components.strong,{children:`Configure`}),` in the footer of a Claude reply in the channel to see its `,_jsx(_components.a,{href:`/claude-tag/concepts/glossary#connection`,children:`connections`}),`, the external services an admin has connected for that channel. Replies in org-shared channels have no Configure link.`]}),`\n`,_jsxs(_components.p,{children:[`For your own requests, Claude can also `,_jsx(_components.a,{href:`/claude-tag/concepts/personal-connectors`,children:`use the connectors on your claude.ai account`}),`, after you allow it.`]}),`\n`,_jsxs(_components.p,{children:[`In a one-to-one DM, Claude runs on your own claude.ai account instead of a channel’s setup. An Owner can turn off DMs for the whole organization; see `,_jsx(_components.a,{href:`/claude-tag/admins/restrict-access#allow-or-disable-direct-messages`,children:`Allow or disable direct messages`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`common-uses`,children:`Common uses`}),`\n`,_jsx(_components.p,{children:`Each link opens a guide with the prompts to paste and the connections the task needs.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/claude-tag/users/use-cases/watch-monitors`,children:`Watch monitors and alerts`}),`: scheduled dashboard checks, and alerts investigated as they arrive. Needs a monitoring connection like Datadog, Sentry, or PagerDuty.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/claude-tag/users/use-cases/triage-requests`,children:`Triage requests`}),`: an intake channel where Claude answers what it can, flags duplicates, and routes the rest. Works on Slack content alone.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/claude-tag/users/use-cases/find-answers`,children:`Find answers in your docs`}),`: policy and runbook questions answered with the source. Needs a docs connection like Google Drive, Notion, or Confluence.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/claude-tag/users/use-cases/answer-data-questions`,children:`Answer data questions`}),`: a plain-language question becomes a warehouse query and a chart. Needs a data warehouse connection.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/claude-tag/users/use-cases/track-projects`,children:`Track projects and chase approvals`}),`: standing status digests and follow-ups that run until an approval lands`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/claude-tag/users/use-cases/create-artifacts`,children:`Turn threads into docs and tickets`}),`: a settled discussion becomes the decision doc, the customer reply, or the filed tickets`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/claude-tag/users/use-cases/fix-bugs`,children:`Fix bugs`}),`: a bug reported in the channel comes back as a draft pull request. Needs GitHub.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/claude-tag/users/use-cases/your-own-channel`,children:`Work from your own channel`}),`: scratch questions, digests of channels you don’t follow, and follow-ups on what you said you’d do`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/claude-tag/users/getting-started`,children:`Get started`}),` covers your first message, what you see while Claude works, and how to shape Claude’s behavior in your channel.`]}),`\n`,_jsxs(`div`,{className:`tm-eyebrow`,children:[_jsx(`span`,{className:`tm-swatch tm-swatch-admins`}),`For administrators`]}),`\n`,_jsx(Heading,{level:`2`,id:`set-claude-tag-up-once-for-everyone`,children:`Set Claude Tag up once for everyone`}),`\n`,_jsxs(_components.p,{children:[`You set up Claude Tag once, at `,_jsx(_components.a,{href:`https://claude.ai/admin-settings/claude-tag`,children:_jsx(_components.code,{children:`claude.ai/admin-settings/claude-tag`})}),`, and you must be an Owner in your Claude organization to do it. The setup page at that URL walks you through it:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Pair your Slack workspace`}),`: send `,_jsx(_components.code,{children:`@Claude connect`}),` in Slack to get a pairing code, then enter it on the setup page.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Set a monthly spend limit, add Claude to channels, and launch`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Once you launch, everyone in a channel Claude is in can use Claude Tag immediately, with no per-user setup.`}),`\n`,_jsxs(_components.p,{children:[`Claude Tag starts with no access of its own to your external systems. After you launch, you connect the services Claude will work in, such as your issue tracker or data warehouse, and grant repositories to the Claude GitHub App. Members can also let Claude use their own `,_jsx(_components.a,{href:`/claude-tag/concepts/personal-connectors`,children:`personal connectors`}),` for their requests.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/claude-tag/admins/setup-overview`,children:`Set up Claude Tag`}),` walks through setup and connecting tools, with what to have ready, what each choice means, and how to verify Claude Tag works once you launch.`]}),`\n`,_jsxs(`div`,{className:`tm-strip`,children:[_jsxs(`div`,{className:`tm-strip-head`,children:[_jsx(`p`,{className:`tm-strip-title`,children:`Security review`}),_jsx(_components.a,{className:`tm-strip-all`,href:`/claude-tag/concepts/security-and-data`,children:`Security and data handling`})]}),_jsx(`p`,{children:`The security model, what admins can and can’t restrict, audit trails, and network requirements.`})]}),`\n`,_jsx(Heading,{level:`2`,id:`where-to-start-with-claude-tag`,children:`Where to start with Claude Tag`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Set up Claude Tag`,icon:`gear`,href:`/claude-tag/admins/setup-overview`,horizontal:true,arrow:true,children:_jsx(_components.p,{children:`Admins: pair your Slack workspace and launch`})}),_jsx(Card,{title:`Hand Claude Tag your first task`,icon:`paper-plane`,href:`/claude-tag/users/getting-started`,horizontal:true,arrow:true,children:_jsx(_components.p,{children:`It’s already in your channel: send your first message`})}),_jsx(Card,{title:`How Claude Tag works`,icon:`diagram-project`,href:`/claude-tag/concepts/how-it-works`,horizontal:true,arrow:true,children:_jsx(_components.p,{children:`The session model, what it can read, and how memory follows places`})}),_jsx(Card,{title:`Use case library`,icon:`list`,href:`/claude-tag/users/use-cases`,horizontal:true,arrow:true,children:_jsx(_components.p,{children:`Prompts to paste, by team and connection`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Work with Claude Tag","sidebarTitle":"Overview","description":"Claude Tag puts Claude in your Slack channels with admin-governed access. See what to hand it, how setup works, and where to start as an admin or end user.","keywords":["what is claude tag","claude in slack","claude slack app","slack bot","slack agent","@claude","tag claude","claude tag pricing","cost","how is claude tag billed","which plans include claude tag","team plan","enterprise plan","pro plan","max plan","ultra plan","personal account","claude tag vs cowork","use cases","public beta"],"mode":"wide","href":"/claude-tag/overview"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Plans that include Claude Tag","slug":"plans-that-include-claude-tag","depth":2,"children":[{"title":"Who needs a Claude seat","slug":"who-needs-a-claude-seat","depth":3,"children":[]}]},{"title":"Where Claude Tag runs","slug":"where-claude-tag-runs","depth":2,"children":[]},{"title":"Billing and spend limits","slug":"billing-and-spend-limits","depth":2,"children":[]},{"title":"Put Claude Tag to work","slug":"put-claude-tag-to-work","depth":2,"children":[{"title":"Common uses","slug":"common-uses","depth":3,"children":[]}]},{"title":"Set Claude Tag up once for everyone","slug":"set-claude-tag-up-once-for-everyone","depth":2,"children":[]},{"title":"Where to start with Claude Tag","slug":"where-to-start-with-claude-tag","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/claude-ai/b857db804a3a9481/desktop-app-nav.js"],"subdomain":"claude-ai","siteName":"Claude.ai Documentation","title":"Work with Claude Tag - Claude.ai Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T19:55:52.006Z","originalFileLocation":"claude-tag/overview.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Claude Tag puts Claude in your Slack channels with admin-governed access. See what to hand it, how setup works, and where to start as an admin or end user.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Claude.ai Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-ai/zHw4o4W7dZma2XXV/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-ai/zHw4o4W7dZma2XXV/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-ai/zHw4o4W7dZma2XXV/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-ai/zHw4o4W7dZma2XXV/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-ai/zHw4o4W7dZma2XXV/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-ai/zHw4o4W7dZma2XXV/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-ai/zHw4o4W7dZma2XXV/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-ai/zHw4o4W7dZma2XXV/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-ai/zHw4o4W7dZma2XXV/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Work with Claude Tag - Claude.ai Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Claude Tag puts Claude in your Slack channels with admin-governed access. See what to hand it, how setup works, and where to start as an admin or end user.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Claude.ai Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://claude.com/docs/claude-tag/overview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://claude-ai.mintlify.site/docs/_mintlify/api/og/v2?division=+\u0026amp;title=Work+with+Claude+Tag\u0026amp;description=Claude+Tag+puts+Claude+in+your+Slack+channels+with+admin-governed+access.+See+what+to+hand+it%2C+how+setup+works%2C+and+where+to+start+as+an+admin+or+end+user.\u0026amp;theme=9a76ca0aba14a40680086237\u0026amp;signature=31330571c25b0d3e677c84835974fc0a91843e1177a2a0283ccde3cf4c1be894\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Work with Claude Tag - Claude.ai Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Claude Tag puts Claude in your Slack channels with admin-governed access. See what to hand it, how setup works, and where to start as an admin or end user.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://claude-ai.mintlify.site/docs/_mintlify/api/og/v2?division=+\u0026amp;title=Work+with+Claude+Tag\u0026amp;description=Claude+Tag+puts+Claude+in+your+Slack+channels+with+admin-governed+access.+See+what+to+hand+it%2C+how+setup+works%2C+and+where+to+start+as+an+admin+or+end+user.\u0026amp;theme=9a76ca0aba14a40680086237\u0026amp;signature=31330571c25b0d3e677c84835974fc0a91843e1177a2a0283ccde3cf4c1be894\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/claude-ai/zHw4o4W7dZma2XXV/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Claude.ai Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0E0E0E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://claude.com/docs/claude-tag/overview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/claude-tag/overview.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://claude.com/#organization\",\"name\":\"Claude.ai Documentation\",\"url\":\"https://claude.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/claude-ai/1fyDNLAICe3KG6rB/logo/light.svg?fit=max\u0026auto=format\u0026n=1fyDNLAICe3KG6rB\u0026q=85\u0026s=e870c19cb781d8a7c7b7d19de53b0a10\"}},{\"@type\":\"WebSite\",\"@id\":\"https://claude.com/docs#website\",\"name\":\"Claude.ai Documentation\",\"url\":\"https://claude.com/docs\",\"publisher\":{\"@id\":\"https://claude.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://claude.com/docs/claude-tag/overview#webpage\",\"url\":\"https://claude.com/docs/claude-tag/overview\",\"name\":\"Work with Claude Tag\",\"description\":\"Claude Tag puts Claude in your Slack channels with admin-governed access. See what to hand it, how setup works, and where to start as an admin or end user.\",\"dateModified\":\"2026-11-04T19:55:52.006Z\",\"isPartOf\":{\"@id\":\"https://claude.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://claude.com/docs/claude-tag/overview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://claude.com/docs/claude-tag/overview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Claude.ai Documentation\",\"item\":\"https://claude.com/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Work with Claude Tag\",\"item\":\"https://claude.com/docs/claude-tag/overview\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://claude.com/docs/claude-tag/overview#article\",\"headline\":\"Work with Claude Tag\",\"name\":\"Work with Claude Tag\",\"description\":\"Claude Tag puts Claude in your Slack channels with admin-governed access. See what to hand it, how setup works, and where to start as an admin or end user.\",\"url\":\"https://claude.com/docs/claude-tag/overview\",\"mainEntityOfPage\":{\"@id\":\"https://claude.com/docs/claude-tag/overview#webpage\"},\"dateModified\":\"2026-11-04T19:55:52.006Z\",\"keywords\":\"what is claude tag, claude in slack, claude slack app, slack bot, slack agent, @claude, tag claude, claude tag pricing, cost, how is claude tag billed, which plans include claude tag, team plan, enterprise plan, pro plan, max plan, ultra plan, personal account, claude tag vs cowork, use cases, public beta\",\"publisher\":{\"@id\":\"https://claude.com/#organization\"},\"isPartOf\":{\"@id\":\"https://claude.com/docs#website\"}}]}\u003c/script>","agentPointerHref":"/docs/claude-tag/overview.md","siteName":"Claude.ai Documentation","nav":{"global":null,"tabs":[{"tab":"Welcome","pages":[{"title":"Welcome","href":""}]},{"tab":"Customize Claude","pages":[{"title":"Customize Claude","href":"/extend/overview"}]},{"tab":"Build for Claude","pages":[{"title":"Build for Claude","href":"/build/overview"}]},{"tab":"Cowork","pages":[{"title":"Cowork","href":"/cowork/overview"}]},{"tab":"Claude Tag","groups":[{"group":" ","pages":[{"title":"Work with Claude Tag","sidebarTitle":"Overview","mode":"wide","href":"/claude-tag/overview"}]},{"group":"How it works","pages":[{"title":"How Claude Tag works","description":"Each Claude Tag thread in Slack runs a working session in a sandbox. See how progress shows in the thread, how to steer mid-task, what survives between turns, and how memory is scoped.","href":"/claude-tag/concepts/how-it-works"},{"title":"Glossary","href":"/claude-tag/concepts/glossary"}]},{"group":"For administrators","pages":[{"group":"Before you install","pages":[{"title":"How agent identity works","href":"/claude-tag/concepts/agent-identity"},{"title":"Personal connectors in channels","href":"/claude-tag/concepts/personal-connectors"},{"title":"Security and data handling","href":"/claude-tag/concepts/security-and-data"},{"title":"Data lifecycle and deletion","sidebarTitle":"Data lifecycle","href":"/claude-tag/concepts/data-lifecycle"},{"title":"What the Claude Slack app can access","sidebarTitle":"For Slack admins","href":"/claude-tag/admins/for-slack-admins"}]},{"group":"Set up Claude Tag","root":{"title":"Set up Claude Tag","sidebarTitle":"Set up Claude Tag","href":"/claude-tag/admins/setup-overview"},"pages":[{"title":"Give Claude access to your tools","sidebarTitle":"Give Claude access","href":"/claude-tag/admins/add-connections"},{"title":"Configure GitHub access","sidebarTitle":"GitHub access","href":"/claude-tag/admins/configure-github"},{"title":"Configure GitLab access","sidebarTitle":"GitLab access","href":"/claude-tag/admins/configure-gitlab"},{"title":"Set a spend limit","sidebarTitle":"Set a spend limit","href":"/claude-tag/admins/set-spend-limit"},{"title":"Set up Claude Tag for on-call","sidebarTitle":"On-call setup","href":"/claude-tag/admins/setup-oncall"},{"group":"Connection guides","root":{"title":"Per-service connection guides","sidebarTitle":"Connection guides","href":"/claude-tag/admins/connections/overview"},"pages":[{"title":"Connect a service that isn't in the list","sidebarTitle":"Custom connector","href":"/claude-tag/admins/connections/custom"},{"title":"Connect Amplitude","sidebarTitle":"Amplitude","href":"/claude-tag/admins/connections/amplitude"},{"title":"Connect Asana","sidebarTitle":"Asana","href":"/claude-tag/admins/connections/asana"},{"title":"Connect Jira and Confluence","sidebarTitle":"Jira and Confluence","href":"/claude-tag/admins/connections/atlassian"},{"title":"Connect BigQuery","sidebarTitle":"BigQuery","href":"/claude-tag/admins/connections/bigquery"},{"title":"Connect Datadog","sidebarTitle":"Datadog","href":"/claude-tag/admins/connections/datadog"},{"title":"Connect GitLab","sidebarTitle":"GitLab","href":"/claude-tag/admins/connections/gitlab"},{"title":"Connect Gong","sidebarTitle":"Gong","href":"/claude-tag/admins/connections/gong"},{"title":"Connect Google Drive, Calendar, and Gmail","sidebarTitle":"Google Drive, Calendar, and Gmail","href":"/claude-tag/admins/connections/google"},{"title":"Connect HubSpot","sidebarTitle":"HubSpot","href":"/claude-tag/admins/connections/hubspot"},{"title":"Connect Linear","sidebarTitle":"Linear","href":"/claude-tag/admins/connections/linear"},{"title":"Connect Notion","sidebarTitle":"Notion","href":"/claude-tag/admins/connections/notion"},{"title":"Connect PagerDuty","sidebarTitle":"PagerDuty","href":"/claude-tag/admins/connections/pagerduty"},{"title":"Connect Salesforce","sidebarTitle":"Salesforce","href":"/claude-tag/admins/connections/salesforce"},{"title":"Connect Sentry","sidebarTitle":"Sentry","href":"/claude-tag/admins/connections/sentry"},{"title":"Connect Snowflake","sidebarTitle":"Snowflake","href":"/claude-tag/admins/connections/snowflake"},{"title":"Connect Stripe","sidebarTitle":"Stripe","href":"/claude-tag/admins/connections/stripe"},{"title":"Connect Vercel","sidebarTitle":"Vercel","href":"/claude-tag/admins/connections/vercel"}]},{"group":"Federated agent access","root":{"title":"Federated agent access","sidebarTitle":"Overview","href":"/claude-tag/admins/federated-access/overview"},"pages":[{"title":"Connect a gateway","sidebarTitle":"Connect a gateway","href":"/claude-tag/admins/federated-access/connect-a-gateway"},{"title":"Connect an AWS role","sidebarTitle":"AWS role","href":"/claude-tag/admins/federated-access/aws"},{"title":"Connect a Google Cloud identity","sidebarTitle":"Google Cloud identity","href":"/claude-tag/admins/federated-access/gcp"},{"title":"Connect an authorization server","sidebarTitle":"Authorization server","href":"/claude-tag/admins/federated-access/authorization-server"},{"title":"Identity token reference","sidebarTitle":"Token reference","href":"/claude-tag/admins/federated-access/token-reference"},{"title":"Limits for federated agent access","sidebarTitle":"Limits","href":"/claude-tag/admins/federated-access/limits"},{"title":"Troubleshoot federated agent access","sidebarTitle":"Troubleshooting","href":"/claude-tag/admins/federated-access/troubleshooting"}]}]},{"group":"Roll out","pages":[{"title":"Configure per-channel access","sidebarTitle":"Per-channel access","href":"/claude-tag/admins/attach-to-scope"},{"title":"Restrict where Claude Tag operates","href":"/claude-tag/admins/restrict-access"},{"title":"Manage workspaces and versions","sidebarTitle":"Workspaces and versions","href":"/claude-tag/admins/workspaces"},{"title":"Use Claude Tag at a healthcare organization","sidebarTitle":"Healthcare organizations","href":"/claude-tag/admins/healthcare"}]},{"group":"Customize","pages":[{"title":"Customize Claude Tag","sidebarTitle":"Customize Claude Tag","href":"/claude-tag/admins/customize"},{"title":"Claude Tag settings map","sidebarTitle":"Settings map","href":"/claude-tag/concepts/settings-map"},{"title":"Set up a skills repository Claude can update","sidebarTitle":"Add custom skills","href":"/claude-tag/admins/skills-repo"}]},{"group":"Operate","pages":[{"title":"Review what Claude Tag has done","sidebarTitle":"Audit and review","href":"/claude-tag/admins/audit"},{"title":"Attribute costs to users","sidebarTitle":"Attribute costs to users","href":"/claude-tag/admins/attribute-costs"},{"title":"Troubleshoot Claude Tag setup","sidebarTitle":"Troubleshooting","href":"/claude-tag/admins/troubleshooting"},{"title":"Network requirements","href":"/claude-tag/admins/network-requirements"},{"title":"Migrate from the earlier Claude in Slack","sidebarTitle":"Migrate from legacy Claude in Slack","href":"/claude-tag/admins/migrate-from-earlier"}]}]},{"group":"For end users","pages":[{"title":"Get started","href":"/claude-tag/users/getting-started"},{"title":"Claude Tag for Claude Code users","sidebarTitle":"For Claude Code users","href":"/claude-tag/concepts/for-claude-code-users"},{"title":"Commands Claude Tag understands","sidebarTitle":"Commands","href":"/claude-tag/users/commands"},{"title":"Control when Claude Tag responds","href":"/claude-tag/users/when-claude-responds"},{"title":"Use Claude Tag in a group DM","sidebarTitle":"Group DMs","href":"/claude-tag/users/group-dms"},{"title":"Good habits for working with Claude Tag","sidebarTitle":"Good habits","href":"/claude-tag/users/good-habits"},{"title":"Set up routines","href":"/claude-tag/users/proactivity"},{"title":"What Claude Tag remembers","href":"/claude-tag/users/memory"},{"title":"Choose the model Claude Tag uses","sidebarTitle":"Choose the model","href":"/claude-tag/users/models"},{"title":"Prompt library","href":"/claude-tag/users/prompt-library"},{"title":"Troubleshoot Claude Tag in channels and DMs","sidebarTitle":"Troubleshooting","href":"/claude-tag/users/troubleshooting"}]},{"group":"Use case library","pages":[{"title":"Use case library","sidebarTitle":"Browse the library","href":"/claude-tag/users/use-cases"},{"title":"Triage requests","href":"/claude-tag/users/use-cases/triage-requests"},{"title":"Catch up","href":"/claude-tag/users/use-cases/catch-up"},{"title":"Work from your own channel","href":"/claude-tag/users/use-cases/your-own-channel"},{"title":"Turn threads into docs and tickets","href":"/claude-tag/users/use-cases/create-artifacts"},{"title":"Track projects and chase approvals","href":"/claude-tag/users/use-cases/track-projects"},{"title":"Answer data questions","href":"/claude-tag/users/use-cases/answer-data-questions"},{"title":"Find answers in your docs","href":"/claude-tag/users/use-cases/find-answers"},{"title":"Review documents against a checklist","href":"/claude-tag/users/use-cases/review-documents"},{"title":"Pull deal and account state","href":"/claude-tag/users/use-cases/pull-deal-state"},{"title":"Claude Tag for marketing teams","sidebarTitle":"Marketing teams","href":"/claude-tag/users/use-cases/marketing-team"},{"title":"Watch monitors and alerts","href":"/claude-tag/users/use-cases/watch-monitors"},{"title":"Fix bugs","href":"/claude-tag/users/use-cases/fix-bugs"},{"title":"Work with your GitHub repositories","sidebarTitle":"Work with GitHub","href":"/claude-tag/users/use-cases/work-with-github"}]}]},{"tab":"Claude for M365","pages":[{"title":"Claude for M365","href":"/office-agents/overview"}]},{"tab":"Claude Science","pages":[{"title":"Claude Science","href":"/claude-science/overview"}]},{"tab":"Claude on third-party platforms","pages":[{"title":"Claude on third-party platforms","href":"/third-party/claude-desktop/overview"}]},{"tab":"Claude self-hosted","hidden":true,"pages":[{"title":"Claude self-hosted","href":"/third-party/claude-desktop/self-hosted/overview"}]},{"tab":"Claude for Government","pages":[{"title":"Claude for Government","href":"/government/overview"}]}]},"basePath":"","title":"Work with Claude Tag - Claude.ai Documentation","deploymentId":"dpl_2MqcLy8smQrrovUehgcZEsoo1tJX","buildId":"dpl_2MqcLy8smQrrovUehgcZEsoo1tJX","dynamics":[],"chunks":[]}</template>
466466 </body>
467467</html>
code-review-setup Changed · +2 / -2 lines
from line 43
4343
4444**4. Choose repositories**
4545
46Select the repositories you want reviewed, then click **Continue**. Adding a repository needs write access to it from the GitHub account you connected. You can [add more repositories](#add-more-repositories) later.
46Select the repositories you want reviewed, then click the button that adds them, which reads **Add 2 repositories** when you've selected two. Adding a repository needs write access to it from the GitHub account you connected. You can [add more repositories](#add-more-repositories) later.
4747
4848**5. Click Finish**
4949
from line 120
120120
121121### Add more repositories
122122
123To add repositories after setup, click **Add** above the **Repositories** table in the **Code review** section. The **Add a repository** dialog opens. Select repositories and click **Continue**.
123To add repositories after setup, click **Add** above the **Repositories** table in the **Code review** section. The **Add a repository** dialog opens. Select repositories and click the button that adds them, which reads **Add 2 repositories** when you've selected two.
124124
125125* **A repository isn't listed**: see [A repository isn't listed in Add a repository](https://code.claude.com/docs/en/code-review-troubleshooting.md#a-repository-isn’t-listed-in-add-a-repository).
126126* **You want every repository in a GitHub organization**: [cover the organization](#cover-a-whole-github-organization) instead of selecting repositories one at a time
common-workflows Changed · +1 / -1 lines
from line 393
393393| [Cloud scheduled tasks](https://code.claude.com/docs/en/routines.md) | Cloud, Anthropic-managed by default | Tasks that should run even when your computer is off. Can also trigger on API calls or GitHub events in addition to a schedule. Configure at [claude.ai/code/routines](https://claude.ai/code/routines). |
394394| [Desktop scheduled tasks](https://code.claude.com/docs/en/desktop-scheduled-tasks.md) | Your machine, via the desktop app | Tasks that need direct access to local files, tools, or uncommitted changes. |
395395| [GitHub Actions](https://code.claude.com/docs/en/github-actions.md) | Your CI pipeline | Tasks tied to repo events like opened PRs, or cron schedules that should live alongside your workflow config. |
396| [`/loop`](https://code.claude.com/docs/en/scheduled-tasks) | The current CLI session | Quick polling while a session is open. `--resume` and `--continue` restore unexpired fixed-interval loops. |
396| [`/loop`](https://code.claude.com/docs/en/scheduled-tasks) | The current CLI session | Quick polling while a session is open. |
397397
398398> [!TIP]
399399>
desktop Changed · +1 / -1 lines
from line 431
431431| :- | :- | :- |
432432| View only | See the app in screenshots | Browsers, trading platforms |
433433| Click only | Click and scroll, but not type or use keyboard shortcuts | Terminals, IDEs |
434| Full control | Click, type, drag, and use keyboard shortcuts | Everything else |
434| Full access | Click, type, drag, and use keyboard shortcuts | Most other apps |
435435
436436Apps with broad reach, like terminals, Finder or File Explorer, and System Settings or Settings, show an extra warning in the prompt so you know what approving them grants.
437437
devcontainer Changed · +1 / -1 lines
from line 108
108108
109109A dev container is a convenient place to apply organization policy, because the same image and configuration run on every engineer's machine.
110110
111Claude Code reads `/etc/claude-code/managed-settings.json` on Linux and applies it at the highest precedence in the [settings hierarchy](https://code.claude.com/docs/en/settings.md#settings-precedence), so values there override anything an engineer sets in `~/.claude` or the project's `.claude/` directory. Copy the file into place from your Dockerfile:
111Claude Code reads `/etc/claude-code/managed-settings.json` on Linux and applies it at the highest precedence in the [settings hierarchy](https://code.claude.com/docs/en/settings.md#settings-precedence). Copy the file into place from your Dockerfile:
112112
113113```dockerfile Dockerfile theme={null}
114114RUN mkdir -p /etc/claude-code
glossary Changed · +1 / -1 lines
from line 61
6161
6262### Bare mode
6363
64With `--bare`, Claude Code starts without loading hooks, skills, custom commands, subagents, installed plugins, MCP servers, auto memory, or CLAUDE.md, apart from skills in a directory you pass with `--add-dir`. Recommended for CI and scripted calls where you need the same result on every machine.
64With `--bare`, Claude Code starts without your hooks, skills, custom commands, subagents, installed plugins, MCP servers, auto memory, or CLAUDE.md, apart from skills in a directory you pass with `--add-dir`. Recommended for CI and scripted calls.
6565
6666Learn more: [Start faster with bare mode](https://code.claude.com/docs/en/headless.md#start-faster-with-bare-mode)
6767
goal Changed · +1 / -1 lines
from line 18
1818| Approach | Next turn starts when | Stops when |
1919| :- | :- | :- |
2020| `/goal` | The previous turn finishes, or, in an interactive session, an [idle check-in](#background-work-defers-evaluation) or an [automatic retry](#other-errors-retry-or-pause-the-goal) comes due | A model confirms the condition is met or judges it impossible, or a turn fails on [an error you have to fix](#errors-you-have-to-fix-clear-the-goal), or you run [`/goal clear`](#clear-a-goal) |
21| [`/loop`](https://code.claude.com/docs/en/scheduled-tasks#run-a-prompt-repeatedly-with-%2Floop) | A time interval elapses | You stop it, or Claude decides the work is done |
21| [`/loop`](https://code.claude.com/docs/en/scheduled-tasks#run-a-prompt-repeatedly-with-%2Floop) | A time interval elapses | You stop it, or [the loop ends on its own](https://code.claude.com/docs/en/scheduled-tasks.md#stop-a-loop) |
2222| [Stop hook](https://code.claude.com/docs/en/hooks-guide.md#prompt-based-hooks) | The previous turn finishes | Your own script or prompt decides |
2323
2424`/goal` and a Stop hook both fire after every turn. `/goal` is a session-scoped shortcut: you type a condition and it's active for the current session only. A Stop hook lives in your settings file, applies to every session in its scope, and can run a script for deterministic checks or a prompt for model-evaluated ones.