1,167 pages for source.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Create a marketplace
Claude Code CLI · in the page
plugins/create-marketplace
…Each object in `plugins` is a plugin entry and needs a `name` and a `source`. Write the entry's `source` as a path from the marketplace root. The root is `my-marketplace/`, the directory that contain…
Plugin dependencies
Claude Code CLI · in the page
plugins/dependencies
…With a constraint such as `~2.1.0` on a dependency from a git-backed source, users who have your plugin installed keep receiving `2.1.x` patches of the dependency and never move to `2.2`. To upgrade…
Host and maintain a marketplace
Claude Code CLI · in the page
plugins/host-marketplace
…ode downloads only that file. An entry in your `plugins` array whose `source` is a relative path such as `./plugins/formatter` then fails at install with [`its marketplace entry path does not stay ins…
Install and manage plugins
Claude Code CLI · in the page
plugins/install
…ins from your claude.ai account Your claude.ai account is a separate source of plugins, alongside the marketplaces you install from: * **What arrives**: every plugin you turn on for your claude.ai a…
Plugin loading reference
Claude Code CLI · in the page
plugins/loading
…you expected, or didn't pick up an update, and you want to see which source, settings scope, or file on disk decided that. It gives the rules Claude Code applies when a session starts and each time y…
Plugin manifest reference
Claude Code CLI · in the page
plugins/manifest-reference
…"skills": ["./extra-skills/"], "commands": { "status": { "source": "./commands/status.md", "description": "Show the current deployment status" }, "about": { "content":…
Marketplace reference
Claude Code CLI · in the page
plugins/marketplace-reference
…rketplace.json fields, plugin entries, and the plugin and marketplace source objects, with where each is valid. `marketplace.json` is the file that defines a plugin marketplace. It contains the marke…
Measure plugin cost and usage
Claude Code CLI · in the page
plugins/measure
…null} formatter 1.0.0 Description: Formats and lints code on save Source: formatter@my-marketplace Component inventory Skills (3) format-all, format-code, lint-fix Agents (1) style-reviewer…
Manage mods for your organization
Claude Code CLI · in the page
plugins/mods/admin
…n/permissions.md#precedence-among-rules-hooks-and-mods). The guard's source is public in the [`mods/sec-default` directory of the Claude Code repository](https://github.com/anthropics/claude-code/tre…
Use the mods API
Claude Code CLI · in the page
plugins/mods/api
…| `read()` resolves to all settings, merged into one object. With `{ source }` or `{ key }`, it resolves to [one source's settings or one key's value](#read-one-source-or-one-key) instead. | | `$.ses…
Create a mod
Claude Code CLI · in the page
plugins/mods/create
…the manifest and runs the same static analysis on the hooks module's source that Claude Code runs when it loads a mod. In your shell, run it on the mod's directory: ```bash theme={null} claude plugi…
React to events with a mod
Claude Code CLI · in the page
plugins/mods/events
…ings.read`](https://code.claude.com/docs/en/plugins/mods/api#read-one-source-or-one-key). * **Claude Code's own read**: your hook first runs when Claude Code merges the session's settings, after the s…
Interface gallery for mods
Claude Code CLI · in the page
plugins/mods/gallery
…pends on the user's terminal. ## Show code and changes `Code` draws source text with Claude Code's own syntax colors, or a diff. In the VS Code extension, `Code` shows its `source` as plain text, wi…
Draw in the interface with a mod
Claude Code CLI · in the page
plugins/mods/interface
…module: './glow.ts', values: { warm }, children: [Svg({ source: STILL, alt: 'A dark blue background' })], }) }) on('ui.pointer', async ($, e, next) => { warm = 1 - warm…
Mods overview
Claude Code CLI · in the page
plugins/mods/overview
…26 or later. * **Platform**: macOS or Linux outside WSL ### Read the source of built-in mods The source of some of these mods is public in the [`mods` directory of the Claude Code repository](https:…
Mods reference
Claude Code CLI · in the page
plugins/mods/reference
…256 rows | | One `Image` | 255 columns and 255 rows | | One `Svg`'s `source` | 131,072 characters | | The rows above the prompt, stacked | Elements, `Raster` cells, and `Image` bytes add up across th…
Test a mod
Claude Code CLI · in the page
plugins/mods/test
…od does next, skip `session.start`, fire `classic.SessionStart` with `source: 'clear'`, and check what your mod draws. This test checks the module from [Load a saved value again after `/clear`](https…
Troubleshoot a mod
Claude Code CLI · in the page
plugins/mods/troubleshoot
…never settles for <key>` | The keys the line names keep the settings sources' values. Set them in a settings file. | | `answered settings.read without next()`, after a mod's name | Your hook is affec…
Manage Claude Code plugins for your organization
Claude Code CLI · in the page
plugins/org
…en-server-managed-and-endpoint-managed-settings). #### Which managed source applies on a machine By default, only one of these three sources applies on a machine. Claude Code uses the first that del…
Plugins overview
Claude Code CLI · in the page
plugins/overview
…Claude Code accepts the official and community names for marketplaces sourced from `github.com/anthropics/` repositories: * **Official**: marketplaces with one of Anthropic's [official marketplace na…
Publish and distribute a plugin
Claude Code CLI · in the page
plugins/publish
…ugins/create-marketplace.md). * To know whether an install loads your source directory or a cached copy, see [In-place and copied plugins](https://code.claude.com/docs/en/plugins/loading.md#in-place-a…
Recommend plugins for your org
Claude Code CLI · in the page
plugins/relevance
…rg" }, "plugins": [ { "name": "terraform-helpers", "source": "./plugins/terraform-helpers", "description": "Your organization's Terraform conventions and helpers", "relev…
Plugin security and trust
Claude Code CLI · in the page
plugins/security
…Claude Code accepts the official and community names for marketplaces sourced from `github.com/anthropics/` repositories. A marketplace that a coworker or your organization publishes is third-party.…
Troubleshoot plugins
Claude Code CLI · in the page
plugins/troubleshooting
…aude Code says | Use instead | | :- | :- | :- | | `claude plugin add <source>` | `error: unknown command 'add'` | `claude plugin marketplace add <source>` to add a marketplace, or `claude plugin insta…
Work with PR Steward on a pull request
Claude Code CLI · in the page
pr-steward-pull-requests
…the label | Any person GitHub allows to remove labels | ## Related resources * [PR Steward](https://code.claude.com/docs/en/pr-steward.md) * [Troubleshoot PR Steward](https://code.claude.com/docs/en…
What PR Steward can access
Claude Code CLI · in the page
pr-steward-security
…ecified actors to bypass required pull requests** list. ## Related resources * [Set up PR Steward](https://code.claude.com/docs/en/pr-steward-setup.md) * [PR Steward](https://code.claude.com/docs/en…
Set up PR Steward
Claude Code CLI · in the page
pr-steward-setup
…com/docs/claude-tag/admins/add-connections#limit-access-to-specific-resources) to the hosts and permissions that building and testing your code needs. When you turn on a bundle for PR Steward, the sw…
Troubleshoot PR Steward
Claude Code CLI · in the page
pr-steward-troubleshooting
…nization settings > Git providers**](https://claude.ai/admin-settings/source-control), install the [Claude GitHub App](https://github.com/apps/claude) on your GitHub organization, and include the repo…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…can also apply a change on its own: * For a plugin with a `command` source, Claude Code [can reload the plugin itself](https://code.claude.com/docs/en/plugins/loading.md#when-a-command-source-re-run…
Prompt library
Claude Code CLI · in the page
prompt-library
…Library = ({text = {}, labels = {}, tagLabels = {}, phaseLabels = {}, sourceLabels = {}, catLabels = {}}) => { const RAW = useMemo(() => [{ id: 'get-oriented-in-a', sdlc: 'discover', cat…
Quickstart
Claude Code CLI · in the page
quickstart
…to work with * A [Claude subscription](https://claude.com/pricing?utm_source=claude_code\&utm_medium=docs\&utm_content=quickstart_prereq) (Pro, Max, Ultra, Team, or Enterprise), [Claude Console](https…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…p prompts you. See [Trusted Devices](#trusted-devices). ## Related resources * [Use Claude Code in the cloud](https://code.claude.com/docs/en/claude-code-on-the-web.md): run sessions in the cloud in…
Automate work with scheduled tasks
Claude Code CLI · in the page
routines
…r the next run. The failed run has no session to open | ## Related resources * [`/loop` and in-session scheduling](https://code.claude.com/docs/en/scheduled-tasks): schedule local tasks within an op…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…e.com/docs/en/env-vars) | Claude Code builds the sandbox on the open source [`@anthropic-ai/sandbox-runtime`](https://github.com/anthropics/sandbox-runtime) package. ### What runs outside the sandbo…
Security
Claude Code CLI · in the page
security
…o Anthropic's comprehensive security program. Learn more and access resources (SOC 2 Type 2 report, ISO 27001 certificate, etc.) at [Anthropic Trust Center](https://trust.anthropic.com). ### Permissi…
Catch security issues as Claude writes code
Claude Code CLI · in the page
security-guidance
…, run in the background | If you build your own hooks, the [plugin's source](https://github.com/anthropics/claude-plugins-official/tree/main/plugins/security-guidance) is a working example of running…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…ronment-specific secrets * Preparing language toolchains * Applying resource limits around the child process The runner starts your wrapper in place of the Claude Code binary each time it starts a se…
Deploy self-hosted environments to production
Claude Code CLI · in the page
self-hosted-environments-deploy
….org` | 443 | When a session installs a plugin, both for fetching npm-source plugin packages and for installing a plugin's Node.js dependencies, or when an `npx`-launched MCP server runs | | An intern…
Verify session identity in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-identity
…each: * **Limit capabilities**: grant read and write access to the resources the session needs for coding tasks, not administrative capabilities the creator holds elsewhere. * **Limit lifetime**: bou…
Self-hosted environments reference
Claude Code CLI · in the page
self-hosted-environments-reference
…st-rewrite <from>=<to>` | none | unset | Rewrite `https://<from>/...` source URLs to `https://<to>/...` before cloning, for split-horizon DNS. Repeatable; flag only. | | `--git-ssh-rewrite <host>` | n…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…s are available for [Claude for Teams](https://claude.com/pricing?utm_source=claude_code\&utm_medium=docs\&utm_content=server_settings_teams#team-&-enterprise) and [Claude for Enterprise](https://anth…
Claude Code settings
Claude Code CLI · in the page
settings
…ctory: * `.claude/settings.json` for settings that are checked into source control and shared with your team * `.claude/settings.local.json` for settings that are not checked in, useful for person…
Example settings files
Claude Code CLI · in the page
settings-example
…> }, > "extraKnownMarketplaces": { > "acme-tools": { > "source": { > "source": "github", > "repo": "acme-corp/claude-plugins" > } > } > }, > "enabledPlugins…
All settings
Claude Code CLI · in the page
settings-reference
…ttps://code.claude.com/docs/en/managed-settings.md) the only settings source of [permission rules](https://code.claude.com/docs/en/permissions.md#managed-settings) | Permission settings | Managed | |…
Advanced setup
Claude Code CLI · in the page
setup
…cOS](https://claude.ai/claude-code/desktop-download?platform=mac\&utm_source=claude_code\&utm_medium=docs), [Windows](https://claude.ai/claude-code/desktop-download?platform=win\&utm_source=claude_cod…
Share a cloud or Remote Control session
Claude Code CLI · in the page
share-sessions
…in fails with "Couldn't share this session. Try again." ## Related resources * [Use Claude Code in the cloud](https://code.claude.com/docs/en/claude-code-on-the-web.md): archive, delete, and move cl…
Get a pull request ready with /ship and /steward
Claude Code CLI · in the page
ship-command
…### Code that a watch runs on your computer Code from each of these sources can run on your computer during a watch, with your credentials: | Source | What happens | | :- | :- | | The base branch |…
Troubleshoot /ship and /steward
Claude Code CLI · in the page
ship-command-troubleshooting
…de) to show. 3. Run `/status` at the Claude Code prompt. Its `Setting sources` line lists the settings that loaded. In each one that's your own [settings file](https://code.claude.com/docs/en/settings…
Extend Claude with skills
Claude Code CLI · in the page
skills
…changing a file there. These loads depend on the `project` [setting source](https://code.claude.com/docs/en/agent-sdk/claude-code-features.md#control-filesystem-settings-with-settingsources), which…
Customize your status line
Claude Code CLI · in the page
statusline
…nator waits on background subagents. To keep time-based or externally-sourced segments current during idle periods, set [`refreshInterval`](#manually-configure-a-status-line) to also re-run the comman…