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,260 pages for port.

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

Create a mod Claude Code CLI · in the page plugins/mods/create …n the mod loads, Claude Code calls the `register` function the file exports and passes it a function named [`on`](/docs/en/plugins/mods/reference#the-hook-function). Each call to `on` registers an eve… React to events with a mod Claude Code CLI · in the page plugins/mods/events …= /\brm\s+-rf?\b|\bgit\s+reset\s+--hard\b|\bgit\s+push\b.*--force/ export function register(on) { on('tool.call', { tool: 'Bash' }, async ($, e, next) => { // Let every other command through wi… Interface gallery for mods Claude Code CLI · in the page plugins/mods/gallery …turn new Uint8Array(Uint32Array.from(numbers).buffer).toBase64() } export function register(on) { on('session.start', async ($, e, next) => { await $.command.register({ name: 'gallery', descrip… Draw in the interface with a mod Claude Code CLI · in the page plugins/mods/interface …tab is open, and the counter's value let tab = 'one' let count = 0 export function register(on) { // Runs before your first prompt, and again after a reload on('session.start', async ($, e, next)… Mods overview Claude Code CLI · in the page plugins/mods/overview …how it was built. The repository shares them as they are, without support. * [`token-weather`](https://github.com/anthropics/claude-code-playground/tree/main/claude-code/mods/token-weather): draws a… Mods reference Claude Code CLI · in the page plugins/mods/reference …ns/mods/create#write-a-mod-yourself) | Yes | The mod's entry point. Exports `register(on, options)`. Named `.js`, `.mjs`, `.cjs`, `.jsx`, `.ts`, `.mts`, `.cts`, or `.tsx`. An ES module. | | [`types/in… Test a mod Claude Code CLI · in the page plugins/mods/test …tests from your shell with `claude plugin test`, and each test file imports the test kit, a test library in the `claude-code/testing` module. Give each test file a name that ends in `.test.ts`, such… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …Start by checking what Claude Code read from your mod and where it reports a problem, then find the symptom or message you have. ## Find out why a mod does nothing When a mod does nothing, check wh… Manage Claude Code plugins for your organization Claude Code CLI · in the page plugins/org …re installing plugins from private repositories. On GitHub Actions, export a token with read access to the marketplace repository as `GH_TOKEN`, then run `gh auth setup-git`. The default workflow toke… Plugins overview Claude Code CLI · in the page plugins/overview …claude.com/docs/plugins/overview) on claude.com and its [component support table](https://claude.com/docs/plugins/platform-support#compare-component-support-by-app). ## Next steps Most people start… Publish and distribute a plugin Claude Code CLI · in the page plugins/publish …ose to omit `version` in the previous step. * **Paths**: validation reports component paths that don't start with `./`. Inside hook commands and MCP server configs, refer to files as `${CLAUDE_PLUGIN_… Recommend plugins for your org Claude Code CLI · in the page plugins/relevance …the user's machine and adds no network traffic. Claude Code doesn't report which signals matched or their values to Anthropic or to the marketplace operator. When a signal matches and the plugin isn'… Plugin security and trust Claude Code CLI · in the page plugins/security …doesn't cover. ## Find plugins in telemetry If your organization exports Claude Code's [OpenTelemetry events](/docs/en/monitoring-usage.md) to its own backend, the [marketplace tiers](#marketplace-… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …/plugin` You typed `/plugin ...` at a shell prompt, and the shell reported that no file named `/plugin` exists. Bash reports `bash: /plugin: No such file or directory`. `/plugin` is a command you t… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …turning it on deep into a long one. If your current model doesn't support fast mode, enabling fast mode also [switches your model](#switching-models), and that switch starts a fresh cache on its own… Prompt library Claude Code CLI · in the page prompt-library …ry > Copy-paste prompts for Claude Code, tagged by task and role. export const PromptLibrary = ({text = {}, labels = {}, tagLabels = {}, phaseLabels = {}, sourceLabels = {}, catLabels = {}}) => {… Quickstart Claude Code CLI · in the page quickstart …nsole](https://platform.claude.com/) account, or access through a [supported cloud provider](/docs/en/third-party-integrations.md) > [!NOTE] > > These cases are covered on other pages: > > * **Never… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …ons in other Claude products, see the [Claude Help Center](https://support.claude.com). ## Requirements Before using Remote Control, confirm that your environment meets these conditions: * **Subscr… Automate work with scheduled tasks Claude Code CLI · in the page routines …prise organization manages your access with [custom roles](https://support.claude.com/en/articles/13930452), you also need a role that includes the scheduled tasks permission. An Owner can add it in a… Choose a sandbox environment Claude Code CLI · in the page sandbox-environments …odes). ## Sandboxed Bash tool > [!NOTE] > > This option does not support native Windows. On Windows hosts, use WSL2 or one of the container or VM approaches below. The sandboxed Bash tool is built… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …x can't start because a dependency is missing or the platform is unsupported, Claude Code runs commands without sandboxing. To make Claude Code exit at startup instead, set [`sandbox.failIfUnavailable… Run prompts on a schedule Claude Code CLI · in the page scheduled-tasks …re token like `30m`, or trail it as a clause like `every 2 hours`. Supported units are `s` for seconds, `m` for minutes, `h` for hours, and `d` for days. Seconds are rounded up to the nearest minute… Security Claude Code CLI · in the page security …ive 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 architecture A… Catch security issues as Claude writes code Claude Code CLI · in the page security-guidance …this machine. If the install fails, match the message Claude Code reports: * `Marketplace "claude-plugins-official" not found`: add the marketplace with `/plugin marketplace add anthropics/claude-p… Self-hosted environments Claude Code CLI · in the page self-hosted-environments …set the environment up once, and it appears in the picker on every supported surface. ## Availability and limitations Check these before planning a rollout: * **Plans**: public beta for Team and En… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …provisioning short-lived credentials scoped to the session creator, exporting environment-specific secrets, preparing language toolchains, or applying resource limits around the child process. The run… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …> [!NOTE] > > If your organization has [IP allowlisting](https://support.claude.com/en/articles/13200993-restrict-access-to-claude-with-ip-allowlisting) enabled, add the public egress addresses of y… Verify session identity in self-hosted environments Claude Code CLI · in the page self-hosted-environments-identity …ilt-in JWKS client. **Node.js (jose)** ```typescript theme={null} import { createRemoteJWKSet, jwtVerify } from "jose"; const JWKS = createRemoteJWKSet( new URL("https://api.anthropic.com/v1/code… Self-hosted environments quickstart Claude Code CLI · in the page self-hosted-environments-quickstart …s-deploy.md#network-requirements) has the full list. Windows isn't supported as a runner host; run the runner in a Linux container instead. Developer workstations aren't affected, since sessions start… Self-hosted environments reference Claude Code CLI · in the page self-hosted-environments-reference …ath failed sessions rather than startup. On Windows, which isn't a supported runner host, there is no default: the runner exits at startup unless you pass the flag or set the variable. Use the same va… Test self-hosted environments end to end Claude Code CLI · in the page self-hosted-environments-testing …-d "$E2E_REPLY_DIR" ] || exit 0 # CLAUDE_CODE_REMOTE_SESSION_ID is exported in cse_... form; the session # id the dispatch CLI prints is in session_... form. Same id, different # prefix. sid=$(printf… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …eligible credential on a platform where server-managed delivery is supported. See [Platform availability](#platform-availability) for the credentials and platforms that qualify. > [!NOTE] > > Server-… Manage sessions Claude Code CLI · in the page sessions …ue`, `--resume`, `--from-pr`, the `/resume` picker, session naming, exporting transcripts, and where transcripts are stored. A [session](/docs/en/glossary.md#session) is a saved conversation tied to… Claude Code settings Claude Code CLI · in the page settings …gs**: For organizations that need centralized control, Claude Code supports multiple delivery mechanisms for managed settings. All use the same JSON format and cannot be overridden by user or project… Example settings files Claude Code CLI · in the page settings-example …aged or personal settings.** Claude Code ignores the [OpenTelemetry exporter variables](/docs/en/settings-reference.md#variables-claude-code-ignores-in-env) in a repository's settings files, apart fro… All settings Claude Code CLI · in the page settings-reference …ommand | Authentication and providers | Any file | | [`awsCredentialExport`](#awscredentialexport) | Supply [Bedrock credentials](/docs/en/amazon-bedrock.md#advanced-credential-configuration) as JSON… Advanced setup Claude Code CLI · in the page setup …Shell**: Bash, Zsh, PowerShell, or CMD. * **Location**: [Anthropic supported countries](https://www.anthropic.com/supported-countries) ### Additional dependencies * **ripgrep**: usually included wit… Extend Claude with skills Claude Code CLI · in the page skills …files keep working. Skills add optional features: a directory for supporting files, frontmatter to [control whether you or Claude invokes them](#control-who-invokes-a-skill), and the ability for Clau… Claude Code in Slack Claude Code CLI · in the page slack …fixes**: Ask Claude to investigate and fix bugs as soon as they're reported in Slack channels. * **Quick code reviews and modifications**: Have Claude implement small features or refactor code based… Customize your status line Claude Code CLI · in the page statusline …/ANSI_escape_code#Colors) like `\033[32m` for green (terminal must support them). See the [git status example](#git-status-with-colors). * **Links**: use [OSC 8 escape sequences](https://en.wikipedia.… Create custom subagents Claude Code CLI · in the page sub-agents …(#configure-subagents) load both, unless you set [`omitClaudeMd`](#supported-frontmatter-fields) in a custom subagent's definition to start it without the user, project, and local CLAUDE.md files. For… Configure your terminal for Claude Code Claude Code CLI · in the page terminal-config …h no setup. In most terminals you can also press Shift+Enter, but support varies by terminal emulator: | Terminal | Shift+Enter for newline | | :- | :- | | Ghostty, Kitty, iTerm2, WezTerm, Warp, App… Enterprise deployment overview Claude Code CLI · in the page third-party-integrations …nd compliance requirements. Learn more about [Team plans](https://support.claude.com/en/articles/9266767-what-is-the-team-plan) and [Enterprise plans](https://support.claude.com/en/articles/9797531-w… Tools reference Claude Code CLI · in the page tools-reference …s/en/hooks.md), or a [subagent's tool list](/docs/en/sub-agents.md#supported-frontmatter-fields). See [Configure tools with permission rules and hooks](#configure-tools-with-permission-rules-and-hooks… Troubleshoot installation and login Claude Code CLI · in the page troubleshoot-install …stallation-was-killed-before-it-could-finish) | | `Raw mode is not supported` during install | [Rerun the installer](#raw-mode-is-not-supported-during-install) | | `EACCES: permission denied` during i… Troubleshooting Claude Code CLI · in the page troubleshooting …hich the snapshot captures, or in native memory, which it doesn't. Report the output or investigate it yourself: * **Report it**: open a [GitHub issue](https://github.com/anthropics/claude-code/issu… Find bugs with ultrareview Claude Code CLI · in the page ultrareview …cal `/code-review`, ultrareview offers: * **Higher signal**: every reported finding is independently reproduced and verified, so the results focus on real bugs rather than style suggestions * **Broad… Voice dictation Claude Code CLI · in the page voice-dictation …er. The Claude Code [VS Code extension](/docs/en/vs-code.md) also supports voice dictation with the same claude.ai account requirement. It is not available in VS Code Remote sessions, including SSH,… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …guided tour of the basics. ## Use the prompt box The prompt box supports several features: * **Permission modes**: click the mode indicator at the bottom of the prompt box to switch permission mod… Get started with Claude Code in the cloud Claude Code CLI · in the page web-quickstart …ars when your organization allows auto mode and the selected model supports it * **Accept edits**: Claude makes changes and pushes a branch without stopping for approval * **Plan**: Claude proposes an…
Feedback