Follow Discord
Sweep 03 Oct 2026 · 20:28Z Build v2.1.289 510 read Stable v2.1.285 Latest v2.1.289 Next v2.1.289 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

354 pages for repository.

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

Overview Claude Code CLI · in the page overview …ecture decisions, preferred libraries, and review checklists. If your repository already has an `AGENTS.md` for other coding agents, Claude Code [can read that](/docs/en/memory#agents-md) on its own o… Choose a permission mode Claude Code CLI · in the page permission-modes …ushing a change that would send secrets or sensitive data outside the repository when it runs, or widen what a deploy exposes. This covers a CI workflow or deploy configuration that passes a secret to… Configure permissions Claude Code CLI · in the page permissions …in set of [read-only commands](#read-only-commands) | Permanently per repository and command | | File modification | Edit/write files | Yes | Until session end | | Web fetch | WebFetch | Yes, except a… Test plugins with evals Claude Code CLI · in the page plugin-evals …s-directory plugin](/docs/en/plugins/loading#plugins-shared-through-a-repository). * The same authentication and model provider your normal Claude Code sessions use. Eval runs, judge-scored graders, a… Anthropic's marketplaces Claude Code CLI · in the page plugins/anthropic-marketplaces …thropics/claude-code). Each is a catalog of plugins in its own GitHub repository. When you install a plugin from one of them in a Claude Code session, you type the marketplace's name after `@`, as in… Plugin commands reference Claude Code CLI · in the page plugins/cli-reference …oading). ### plugin marketplace add Add a marketplace from a GitHub repository, a git URL, a hosted `marketplace.json`, or a local path, and declare it in a settings file. After you add it, Claude… Add components to a plugin Claude Code CLI · in the page plugins/components …```markdown theme={null} --- description: Summarize the repository --- Summarize what this repository does in three sentences. ``` </Piece> <Piece id="agents"> A [s… Create a Claude Code plugin Claude Code CLI · in the page plugins/create …r than from a marketplace. <h4 id="load-a-plugin-for-everyone-in-one-repository"> Share the plugin through a repository </h4> `claude plugin init` writes the plugin to your personal skills directo… Create a marketplace Claude Code CLI · in the page plugins/create-marketplace …t locally before you host it. A plugin marketplace is a directory or repository with a `.claude-plugin/marketplace.json` file that lists your plugins and where to fetch each one. You push the directo… Plugin dependencies Claude Code CLI · in the page plugins/dependencies …onstraints can resolve. A constraint resolves against git tags on the repository that hosts the plugin. Tag the repository that the plugin's [plugin source](/docs/en/plugins/marketplace-reference#plug… Host and maintain a marketplace Claude Code CLI · in the page plugins/host-marketplace …marketplace add your-org/your-marketplace` | `git`, and for a private repository the access described under [Grant access to a private marketplace](#grant-access-to-a-private-marketplace) | | GitLab,… Install and manage plugins Claude Code CLI · in the page plugins/install …ect on this machine * **Install for all collaborators on this repository (project scope)**: it's enabled for everyone who works in this repository * **Install for you, in this repo onl… Plugin loading reference Claude Code CLI · in the page plugins/loading …ame conflicts](#name-conflicts) compare ### Plugins shared through a repository To share a plugin through a repository, list it under `enabledPlugins` in `.claude/settings.json` or place it under `.… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …e.com" }, "homepage": "https://example.com/docs/deploy-tools", "repository": "https://github.com/example/deploy-tools", "license": "MIT", "keywords": ["deployment", "ci"], "defaultEnabled"… Marketplace reference Claude Code CLI · in the page plugins/marketplace-reference …r marketplace's directory. If you keep the file somewhere else in the repository, users have to declare the marketplace in [`extraKnownMarketplaces`](/docs/en/settings-reference#extraknownmarketplaces… Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …rce is public in the [`mods/sec-default` directory of the Claude Code repository](https://github.com/anthropics/claude-code/tree/main/mods/sec-default). ### Know which controls still apply Mods don'… Create a mod Claude Code CLI · in the page plugins/mods/create …claude-code/blob/main/mods/types/claude-code.d.ts) in the Claude Code repository, whose first line names the version that wrote it. The directory holds these files: | Path | What it declares | | :- |… React to events with a mod Claude Code CLI · in the page plugins/mods/events …d never runs return { deny: 'Force pushes are not allowed in this repository. Push to a new branch instead.' } } // Every other command goes on to the permission check and then to Bash retur… Mods overview Claude Code CLI · in the page plugins/mods/overview …in the [`claude-code/mods` directory of the `claude-code-playground` repository](https://github.com/anthropics/claude-code-playground/tree/main/claude-code/mods). Each one is a complete plugin, and i… Mods reference Claude Code CLI · in the page plugins/mods/reference …Its source is in the [`mods/sec-default` directory of the Claude Code repository](https://github.com/anthropics/claude-code/tree/main/mods/sec-default). ## Commands These commands and flags load, in… Manage Claude Code plugins for your organization Claude Code CLI · in the page plugins/org …equire plugins](#pre-install-and-require-plugins) for everyone or per repository, [seed containers and CI](#seed-containers-and-ci), [restrict](#restrict-what-users-can-install) what users can add on… Plugins overview Claude Code CLI · in the page plugins/overview …lled-plugins). ## Get plugins from a marketplace A marketplace is a repository or directory with a `.claude-plugin/marketplace.json` file that lists plugins and where to fetch each one. It's a catal… Publish and distribute a plugin Claude Code CLI · in the page plugins/publish …ce](#publish-through-your-own-marketplace) | Anyone who can reach the repository, which can be a private one your team can clone | A git repository or other host with a `.claude-plugin/marketplace.jso… Recommend plugins for your org Claude Code CLI · in the page plugins/relevance …rking directory as an absolute path. When the session is inside a git repository, it's also matched against the working directory's path relative to the repository root. * Matching is forward-slash no… Plugin security and trust Claude Code CLI · in the page plugins/security …to print the source each marketplace was added from, such as a GitHub repository or a directory. </Step> <Step title="Read the details pane"> In a Claude Code session, run `/plugin` and selec… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …etplace A marketplace is a catalog you add to Claude Code from a git repository, a URL, or a local path. These entries cover the messages you get when adding one fails or a later refresh fails. <h3… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …n until `/clear`, `/compact`, or a restart. * [Editing files in your repository](#editing-files-in-your-repository) * [Editing CLAUDE.md mid-session](#editing-claude-md-mid-session) * [Changing permi… Prompt library Claude Code CLI · in the page prompt-library …t text = { "get-oriented-in-a": { title: "Get oriented in a new repository", teaches: "Describe what you want to know, not which files to read. Claude explores the project on its own and ret… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …ssion gets its own [git worktree](/docs/en/worktrees). Requires a git repository.<br />• `session`: single-session mode. Serves exactly one session and rejects additional connections. Set at startup o… Automate work with routines Claude Code CLI · in the page routines …nt with a bearer token * **GitHub**: run automatically in response to repository events such as pull requests or releases A single routine can combine triggers. For example, a PR review routine can r… Choose a sandbox environment Claude Code CLI · in the page sandbox-environments …s Bash, without Docker | The sandbox runtime | | Work on an untrusted repository | A dedicated virtual machine, or a [cloud session](/docs/en/claude-code-on-the-web) if you have a Claude subscription;… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …ox becomes admin-required. Claude Code then ignores the settings in a repository's files that loosen the sandbox, `excludedCommands` entries included. [Repository settings under an admin-required sand… Security Claude Code CLI · in the page security …docs/en/permissions#what-runs-before-you-trust-a-folder) lists what a repository's files can run there * Note: When you start Claude Code directly in your home directory, trust acceptance is held fo… Catch security issues as Claude writes code Claude Code CLI · in the page security-guidance …hon3.10`, then falls back to `python3`, `python`, and `py -3` * A git repository for the directory you work in. The end-of-turn and commit reviews diff against git state and skip silently outside a re… Self-hosted environments Claude Code CLI · in the page self-hosted-environments …ion on your environment's queue, where a runner claims it, clones the repository the developer chose, and starts a Claude Code process on your host to run it. The runner authenticates to your git host… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …s you deploy. With no configuration, that runner clones the session's repository, spawns Claude Code, and cleans up. This page is for the platform engineer operating the runners: it covers the extensi… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …fuses the session, and `off` disables the scan. The runner scans each repository's committed settings for: * A grant that resolves outside that session's own workspace: an `additionalDirectories` e… Self-hosted environments quickstart Claude Code CLI · in the page self-hosted-environments-quickstart …clones with whatever git credentials the host already has, so pick a repository this host can already clone, or a public one; credential options for private repositories in production are on [Configu… Self-hosted environments reference Claude Code CLI · in the page self-hosted-environments-reference …STED_RUNNER_BASE_DIR` | `/workspace`; none on Windows | Directory for repository checkouts and per-session working directories. The runner needs write access to this path or its parent. The runner cre… Test self-hosted environments end to end Claude Code CLI · in the page self-hosted-environments-testing …-format json`, run from a git checkout so the CLI can auto-detect the repository from the `origin` remote. The optional `--ref <branch>` bases the session's checkout on a named ref instead of local HE… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …places) lists itself when a Cowork user adds a marketplace from a git repository on claude.ai or from **Customize** in the Cowork tab. [How restrictions work](/docs/en/plugins/org#restrict-what-users-… Manage sessions Claude Code CLI · in the page sessions …ectory with `/add-dir` Use `Ctrl+W` to widen to all worktrees of the repository or `Ctrl+A` to widen to every project on this machine. Sessions whose first prompt was a [`/loop`](/docs/en/scheduled-… Claude Code settings Claude Code CLI · in the page settings …| | **Project** | `.claude/` in repository | All collaborators on this repository… Example settings files Claude Code CLI · in the page settings-example …e/settings.json` * A team's `.claude/settings.json`, committed to the repository * An organization's `managed-settings.json` Each one is a plausible file for that reader, so you can see the shape and… All settings Claude Code CLI · in the page settings-reference …ketplaces) | Register [marketplaces](/docs/en/plugins/overview) for a repository or an organization | Plugins and skills | Any file | | [`fallbackModel`](#fallbackmodel) | Name [backup models](/docs/e… Advanced setup Claude Code CLI · in the page setup …ibgcc libstdc++ ripgrep ``` On Alpine, `ripgrep` is in the community repository. If `apk` reports that the package is missing, add the community repository to `/etc/apk/repositories`, using your Alpi… Extend Claude with skills Claude Code CLI · in the page skills …e creates a skill that summarizes the uncommitted changes in your git repository and flags anything risky. It pulls the live diff into the prompt before Claude reads it, so the response is grounded in… Claude Code in Slack Claude Code CLI · in the page slack …nnected at [claude.ai/code](https://claude.ai/code) with at least one repository authenticated | | Slack Authentication | Your Slack account linked to your Claude account via the Claude app | ## Sett… Customize your status line Claude Code CLI · in the page statusline …workspace.repo.host`, `workspace.repo.owner`, `workspace.repo.name` | Repository identity parsed from the `origin` remote, for example, `"github.com"`, `"anthropics"`, `"claude-code"`. Absent outside… Create custom subagents Claude Code CLI · in the page sub-agents …t working directory, so every `.claude/agents/` between there and the repository root is scanned. When more than one of these nested directories defines the same `name`, Claude Code uses the definitio…
Feedback