Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,296 pages for type.

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

Host and maintain a marketplace Claude Code CLI · in the page plugins/host-marketplace …nal * **Plugin sources**: organization sync accepts only some [source types](/docs/en/plugins/marketplace-reference.md#plugin-sources) * **Top-level `bin/` directory**: claude.ai rejects a plugin that… Install and manage plugins Claude Code CLI · in the page plugins/install …er** tab, which lists the plugins from your marketplaces, and you can type to search, then press **Enter** on a plugin to open its details. **2. Review what the plugin adds** The details pane shows… Plugin loading reference Claude Code CLI · in the page plugins/loading …place you added by source, Claude Code picks the rule by the `source` type of the plugin's marketplace entry. The [marketplace reference](/docs/en/plugins/marketplace-reference.md#plugin-sources) list… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …reference > Complete reference for plugin.json: every field with its type and default, accepted path forms, and the userConfig and environment variable schemas. A plugin manifest is the `plugin.json… Marketplace reference Claude Code CLI · in the page plugins/marketplace-reference …ery JavaScript object has**: `constructor`, `hasOwnProperty`, `isPrototypeOf`, `propertyIsEnumerable`, `toLocaleString`, `toString`, and `valueOf`. `claude plugin marketplace add` refuses a marketplac… Measure plugin cost and usage Claude Code CLI · in the page plugins/measure …e-your-first-eval-suite) in your eval suite. For what each component type contributes, see [plugin components](/docs/en/plugins/components.md). ### Cost shown to users before install Plugins in the… Use the mods API Claude Code CLI · in the page plugins/mods/api …ds](/docs/en/plugins/mods/reference.md#mods-api-methods) or read [the types for your build](/docs/en/plugins/mods/create.md#get-the-types-for-your-build). ## Add a command or a tool A mod can add a… Create a mod Claude Code CLI · in the page plugins/mods/create …view.md) with an entry file, called the hooks module: a JavaScript or TypeScript file whose functions Claude Code calls when events happen. To make one: * **Ask Claude to write it**: [describe what y… React to events with a mod Claude Code CLI · in the page plugins/mods/events …e [reference](/docs/en/plugins/mods/reference.md#events) or read [the types for your build](/docs/en/plugins/mods/create.md#get-the-types-for-your-build). ## How a hook handles an event A hook sits… Interface gallery for mods Claude Code CLI · in the page plugins/mods/gallery …lements reference](/docs/en/plugins/mods/reference.md#elements). The [type declarations](/docs/en/plugins/mods/create.md#get-the-types-for-your-build) list every prop. ## Try a sample The samples on… Draw in the interface with a mod Claude Code CLI · in the page plugins/mods/interface …520094d87b5b44bfe50fa49677f06" aria-label="The /hello-tabs command is typed at the Claude Code prompt and a framed pane opens above it, with '1: One' and '2: Two' across the top and the text 'This is… Mods overview Claude Code CLI · in the page plugins/mods/overview …changes how Claude Code looks and behaves. It's made of JavaScript or TypeScript event handlers: Claude Code calls one when an event happens, such as a tool call, a submitted prompt, or a part of the… Mods reference Claude Code CLI · in the page plugins/mods/reference …there is one. > [!NOTE] > > The complete reference is Claude Code's [TypeScript declarations for mods](https://github.com/anthropics/claude-code/blob/main/mods/types/claude-code.d.ts), which describe… Test a mod Claude Code CLI · in the page plugins/mods/test …ude Code's place. Save it as `first-mod/tests/first-mod.test.ts`: ```typescript first-mod/tests/first-mod.test.ts theme={null} import { expect, test } from 'claude-code/testing' test('/tally reports… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …in-guard). ## A toast appears after a turn is stopped ### `Stopped: type a message to continue; a mod cannot resume work after Stop` This toast means that after you stopped the turn, for example wi… Manage Claude Code plugins for your organization Claude Code CLI · in the page plugins/org …lace entry carries a `source` object with a `source` field naming the type, such as `github`. This managed settings example registers an organization marketplace and force-enables two plugins from it:… Plugins overview Claude Code CLI · in the page plugins/overview …qaBem\&q=85\&s=f623b64e82713b830e48174f0a922888) For every component type a plugin can hold, with an example of each, see [Plugin components](/docs/en/plugins/components.md). To see where each piece… Recommend plugins for your org Claude Code CLI · in the page plugins/relevance …plugin validate` reports the same limits. ### `relevance` | Field | Type | Description | | :- | :- | :- | | `topic` | string | Optional. The phrase that fills "Working with *topic*?" in the spinner… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …rketplace). ## Find where `/plugin` runs `/plugin` is a command you type inside a running Claude Code terminal session, and it opens an interactive panel. The entries in this section cover the place… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …lugins/overview.md), what the change costs depends on which component types the plugin provides. The cases below cover each component type, when Claude Code applies the change, and what happens when y… Prompt library Claude Code CLI · in the page prompt-library …we {behavior}?', slots: { behavior: 'validate uploaded file types' }, src: 'workflows' }, { id: 'see-what-depends-on', sdlc: 'discover', cat: 'Understand', roles: [… Quickstart Claude Code CLI · in the page quickstart …de skips the login prompt. You can log in using any of these account types: * [Claude Pro, Max, Team, or Enterprise](https://claude.com/pricing?utm_source=claude_code\&utm_medium=docs\&utm_content=q… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …he current directory when the server starts, so you have somewhere to type immediately. In `worktree` mode this session stays in the current directory while on-demand sessions get isolated worktrees.… Automate work with scheduled tasks Claude Code CLI · in the page routines …-settings/roles). ## Example use cases Each example pairs a trigger type with the kind of work scheduled tasks are suited to: unattended, repeatable, and tied to a clear outcome. * **Backlog mainte… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …un outside the sandbox, depending on your settings: * **Commands you type yourself**: a command you enter at the [`!` shell-mode prompt](/docs/en/interactive-mode#shell-mode-with-prefix) runs unsandb… Security Claude Code CLI · in the page security …omprehensive security program. Learn more and access resources (SOC 2 Type 2 report, ISO 27001 certificate, etc.) at [Anthropic Trust Center](https://trust.anthropic.com). ### Permission-based archit… Catch security issues as Claude writes code Claude Code CLI · in the page security-guidance …reminder: "Multi-tenant code must filter by org_id." ``` | Field | Type | Description | | :- | :- | :- | | `rule_name` | string | Identifier shown in the warning | | `reminder` | string | Warning t… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …the runner also logs a startup warning for any captured entry whose `type` it doesn't recognize and drops the entry, so you can see why that server is missing from sessions. When `SELF_HOSTED_RUNNER_… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …onfig`. * **The environment secret**: if you revoked the secret or mistyped it, the runner prints a line that contains `RegisterRunner auth failed`. * **The environment's Activity tab**: open the envi… Verify session identity in self-hosted environments Claude Code CLI · in the page self-hosted-environments-identity …eadthedocs.io/) and its built-in JWKS client. **Node.js (jose)** ```typescript theme={null} import { createRemoteJWKSet, jwtVerify } from "jose"; const JWKS = createRemoteJWKSet( new URL("https:/… Test self-hosted environments end to end Claude Code CLI · in the page self-hosted-environments-testing …: { "Stop": [ { "hooks": [ { "type": "command", "timeout": 10, "command": "\"$CLAUDE_CONFIG_DIR/hooks/e2e-stop-hook-capture.sh\""… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …{ "matcher": "Edit|Write", "hooks": [ { "type": "command", "command": "/usr/local/bin/audit-edit.sh" } ] } ] } } ``` Because hooks execute shell comma… Manage sessions Claude Code CLI · in the page sessions …pening it…` before attaching. `claude -p --resume <session> "prompt"` typed at a terminal does the same, so `-p` doesn't keep that run non-interactive. Claude Code doesn't open the session when the… Claude Code settings Claude Code CLI · in the page settings …n the desktop app. A `--mcp-config` whose servers are all in-process `type: "sdk"` entries is still accepted, so the Agent SDK and VS Code extension keep working. Doesn't block `claude mcp add`, `.mcp… Example settings files Claude Code CLI · in the page settings-example …e [settings reference](/docs/en/settings-reference.md), which has its type, default, and where it can be set. Each example has two tabs. **Copyable settings file** is the file as you'd save it. **Wha… All settings Claude Code CLI · in the page settings-reference …nce for every Claude Code settings.json key: where each one goes, its type and default, and a paste-ready example, with an index of every key. [Back to index](#all-settings) This reference page list… Advanced setup Claude Code CLI · in the page setup …mpt. See [Authentication](/docs/en/authentication.md) for all account types and team setup options. ## Update Claude Code Native installations automatically update in the background. You can [config… Extend Claude with skills Claude Code CLI · in the page skills …m a code change does what it should, without falling back to tests or type checks | | `/run-skill-generator` | Teach `/run` and `/verify` how to build and launch your project | `/run` and `/verify` w… Claude Code in Slack Claude Code CLI · in the page slack …stions). Best for teams who want a single @Claude entry point for all types of work. | > [!NOTE] > > In Code + Chat mode, if Claude routes a message to Chat but you wanted a coding session, you can c… Customize your status line Claude Code CLI · in the page statusline …or [project settings](/docs/en/settings.md#where-settings-live). Set `type` to `"command"` and point `command` to a script path or an inline shell command. For a full walkthrough of creating a script,… Create custom subagents Claude Code CLI · in the page sub-agents …gement. Subagents are specialized AI assistants that handle specific types of tasks. Use one when a side task would flood your main conversation with search results, logs, or file contents you won't… Configure your terminal for Claude Code Claude Code CLI · in the page terminal-config …our message. To add a line break without submitting, press Ctrl+J, or type `\` and then press Enter. Both work in every terminal with no setup. In most terminals you can also press Shift+Enter, but s… Tools reference Claude Code CLI · in the page tools-reference …ce via language servers: jump to definitions, find references, report type errors and warnings. See [LSP tool behavior](#lsp-tool-behavior) | No | | `Monitor` | Runs a command in the background and fe… Troubleshoot installation and login Claude Code CLI · in the page troubleshoot-install …h: line 1: syntax error near unexpected token `<' bash: line 1: `<!DOCTYPE html>' ``` **PowerShell, parse errors**: the errors point into the returned page, with `iex` trying to run HTML and CSS as P… Troubleshooting Claude Code CLI · in the page troubleshooting …mand menu](/docs/en/commands.md#how-the-command-menu-matches-what-you-type); type it in full. On Linux without a Desktop folder, the files are written to your home directory. > [!WARNING] > > The `.h… Find bugs with ultrareview Claude Code CLI · in the page ultrareview …nce. It reads a single word as a branch name or PR reference, so a mistyped branch name gets the closest-branch error from [Review against a different base](#review-against-a-different-base) instead o… Voice dictation Claude Code CLI · in the page voice-dictation …sreducedmotion) turned on. The first couple of key-repeat characters type into the input during warmup and are removed automatically when recording activates. A single `Space` tap still types a space… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …and Palette**: `Cmd+Shift+P` (Mac) or `Ctrl+Shift+P` (Windows/Linux), type "Claude Code", and select an option like "Open in New Tab" * **Status Bar**: click **✻ Claude Code** in the bottom-right corn… Get started with Claude Code in the cloud Claude Code CLI · in the page web-quickstart …odes) for what each one allows. **3. Describe the task and submit** Type a description of what you want and press Enter. Be specific: * Name the file or function: "Add a README with setup instructi… Week 13 · March 23–27, 2026 Claude Code CLI · in the page whats-new/2026-w13 …e": [{ "hooks": [{ "if": "Bash(git commit *)", "type": "command", "command": ".claude/hooks/lint-staged.sh" }] }] } } ``` [Hooks reference](/docs/en/hooks.md…
Feedback