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

59 pages for modules.

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

memory-tool Claude Developer Platform · in the page agents-and-tools/tool-use/memory-tool …ies up to 2 levels deep in /memories, excluding hidden items and node_modules:\n4.0K\t/memories\n1.5K\t/memories/customer_service_guidelines.xml\n2.0K\t/memories/refund_policies.xml" } ``` **4. Claud… For Amazon Bedrock support Claude Developer Platform · in the page cli-sdks-libraries/sdks/python …s documented otherwise, all other `_` prefix properties, methods, and modules are private. </Note> ## Retries Certain errors are automatically retried 2 times by default, with a short exponential ba… cloud-sandboxes-reference Claude Developer Platform · in the page managed-agents/cloud-sandboxes-reference …npm, yarn, pnpm, bun | | Go | 1.24 (default) and 1.25 | Go modules | | Rust | Stable toolchain (rustup) | cargo | | Java | OpenJDK 21 | m… environments Claude Developer Platform · in the page managed-agents/environments …| `"rails:7.1.0"` | | `go` | Go modules | `"golang.org/x/tools/cmd/goimports@latest"` | | `npm` | Node.js (npm) | `"[email protected]"`… Quickstart Claude Code CLI · in the page agent-sdk/quickstart …o top-level `await` works without converting your whole project to ES modules. Use `agent.mts` in place of `agent.ts` in the create and run steps later in this quickstart. **Python (uv)** [Install u… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …where your app runs; for a glibc runtime on x64, that's `rm -rf node_modules/@anthropic-ai/claude-agent-sdk-linux-x64-musl`. On a development machine the deletion is temporary, since Yarn reinstalls… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …imultaneously, then share and challenge each other's findings * **New modules or features**: teammates can each own a separate piece without stepping on each other * **Debugging with competing hypothe… Track team usage with analytics Claude Code CLI · in the page analytics …d artifacts, minified files * Build directories: dist/, build/, node\_modules/, target/ * Test fixtures: snapshots, cassettes, mock data * Lines over 1,000 characters, which are likely minified or gen… Best practices for Claude Code Claude Code CLI · in the page best-practices …or example: ```markdown CLAUDE.md theme={null} # Code style - Use ES modules (import/export) syntax, not CommonJS (require) - Destructure imports when possible (eg. import { foo } from 'bar') # Work… Claude Code changelog Claude Code CLI · in the page changelog …address * Fixed plugin marketplaces whose repository has large git submodules failing to add or refresh: only the submodules that hold plugin files are now fetched * Fixed the `/advisor` dialog showin… Channels reference Claude Code CLI · in the page channels-reference …nce, so it runs in the same process. You could split it into separate modules for a larger project. **3. Register your server with Claude Code** Add the server to your MCP config so Claude Code know… Use Claude Code with Chrome Claude Code CLI · in the page chrome …hard links, which is common inside package-manager stores like `node_modules`. Copy the file and upload the copy. * **Credential names**: Claude refuses a file whose name or folder is one that creden… Explore the .claude directory Claude Code CLI · in the page claude-directory …xpected] when [condition]" - Mock external dependencies, not internal modules - Clean up side effects in afterEach` }, { id: 'rule-api', label: 'api-design.md',… Let Claude coordinate ongoing work with Projects Claude Code CLI · in the page claude-projects …es up to 200 MB, without any files over 30 MB, hidden files, or `node_modules`. A project holds up to 10 folders and Google Drive folders combined, and single files don't count toward that limit. * **… Configure cloud environments Claude Code CLI · in the page cloud-environments …" ]; then exit 0 fi cd "$CLAUDE_PROJECT_DIR" || exit 1 hashes=node_modules/.install_pkgs.sha256 if ! sha256sum --check --status "$hashes" 2>/dev/null; then # Delete the old hashes first, so a fa… Communications kit Claude Code CLI · in the page communications-kit …n your organization's voice, swap the example tasks for real bugs and modules from your own codebase, and replace the `[bracketed placeholders]` before sending. The announcements that drive adoption a… Claude Desktop on Linux (beta) Claude Code CLI · in the page desktop-linux …s missing and your running kernel has no module directory under `/lib/modules`, Cowork reports that the kernel doesn't include the virtualization support Cowork needs and that it can't be added manual… Keep Claude working toward a goal Claude Code CLI · in the page goal …il all acceptance criteria hold * Splitting a large file into focused modules until each is under a size budget * Working through a labeled issue backlog until the queue is empty ## Compare ways to k… Hooks reference Claude Code CLI · in the page hooks …`.bat` shims that npm, npx, eslint, and other tools install in `node_modules/.bin` are not executables and can't be spawned without a shell. To run them in exec form, invoke the underlying script wit… Set up Claude Code in a monorepo or large codebase Claude Code CLI · in the page large-codebases …`.gitignore` by default, so paths already listed there, such as `node_modules/`, `dist/`, and `build/`, stay out of search results without additional configuration. For paths that are checked in, suc… Choose a permission mode Claude Code CLI · in the page permission-modes …eate.md#ask-claude-for-a-mod) Protected files: * `.gitconfig`, `.gitmodules` * `.bashrc`, `.bash_profile`, `.bash_login`, `.bash_aliases`, `.bash_logout`, `.zshrc`, `.zprofile`, `.zshenv`, `.zlogin`… Configure permissions Claude Code CLI · in the page permissions …any directory under it | directories outside `~/code` | | `Cd(**/node_modules)` | any `node_modules` directory at any depth under the current directory | `node_modules/pkg` | ## Extend permissions wi… Add components to a plugin Claude Code CLI · in the page plugins/components …laude Code and can draw in its interface, list a module file under a `modules` key in the same `hooks/hooks.json`. A plugin with one is a mod. See [Create a mod](/docs/en/plugins/mods/create.md). ###… Plugin loading reference Claude Code CLI · in the page plugins/loading …ml`. When the install succeeds, Claude Code moves the resulting `node_modules` into the plugin. * **Frozen resolution**: the install uses exactly the versions the lockfile pins, and Claude Code skips… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …t, `_`, or `-` replaced by `-` | Installed dependencies such as `node_modules`, generated code, and caches | | `${CLAUDE_PROJECT_DIR}` | The project root | Project-local scripts and config files | `$… Marketplace reference Claude Code CLI · in the page plugins/marketplace-reference …symlink that points outside the printed directory. * **Include `node_modules`**: Claude Code skips the [Node.js package dependency install](/docs/en/plugins/loading.md#node-js-package-dependencies) f… Create a mod Claude Code CLI · in the page plugins/mods/create …e Code loads a plugin, it reads the plugin's `hooks/hooks.json`. The `modules` key in that file gives the path to your code, and having it is what makes the plugin a mod. List one path, relative to `h… Interface gallery for mods Claude Code CLI · in the page plugins/mods/gallery …ooks/hooks.json`: ```json gallery/hooks/hooks.json theme={null} { "modules": ["./register.js"] } ``` Save the code as `gallery/hooks/register.js`. It adds a `/gallery` command that opens a pane, a… Draw in the interface with a mod Claude Code CLI · in the page plugins/mods/interface …s/hooks.json`: ```json hello-tabs/hooks/hooks.json theme={null} { "modules": ["./register.js"] } ``` **2. Write the code** This list says what each hook does, in the order they appear in the code… Mods reference Claude Code CLI · in the page plugins/mods/reference …nce.md). Mods add no required fields. | | `hooks/hooks.json` | Yes | `modules`: an array with one path, relative to this file, to the hooks module, as in `"modules": ["./register.js"]`. Can also hold… Test a mod Claude Code CLI · in the page plugins/mods/test …ll that runs it, it prints a line starting `claude plugin test: hooks modules are turned off` with the reason, and exits with status 1. ### Stub what Claude Code would answer No model, store, or too… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …load. The command found no mod to test in this directory. | | `hooks modules are turned off here` | A setting is blocking your mods: `disableAllHooks` in your own settings, or your organization's pol… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …one of these notes on a plugin whose dependency install left no `node_modules` directory. The plugin loads, but the parts that need the missing packages may not work. * **`are not installed`**: the i… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …e model needs to push. s=$(git -C "$d" status --porcelain --ignore-submodules=dirty -- . ':(exclude).claude/' 2>/dev/null) if [ -n "$s" ]; then printf '{"decision":"block","reason":"There are uncomm… Claude Code settings Claude Code CLI · in the page settings …| `["node_modules", ".cache"]` | | `worktree.sparsePaths` | Directories to check out in each worktree via git sparse-checkou… Extend Claude with skills Claude Code CLI · in the page skills …import Path from collections import Counter IGNORE = {'.git', 'node_modules', '__pycache__', '.venv', 'venv', 'dist', 'build'} def scan(path: Path, stats: dict) -> dict: result = {"name": path.… Create custom subagents Claude Code CLI · in the page sub-agents …text wrap theme={null} Research the authentication, database, and API modules in parallel using separate subagents ``` Each subagent explores its area independently, then Claude synthesizes the findi… Troubleshoot installation and login Claude Code CLI · in the page troubleshoot-install …launched Claude Code from, or below it in a path that contains `node_modules` or a virtual-environment folder such as `.venv` or `env`, for example `C:\dev\env\myproject\Git` when you launched from `… Run parallel sessions with worktrees Claude Code CLI · in the page worktrees …e: changed or untracked files, uncommitted work inside checked-out submodules, and new commits. These rules apply to worktrees Claude created with git. For a worktree your [WorktreeCreate hook](/docs/… Remote compute clusters Claude Documentation · in the page claude-science/remote-compute-clusters …probe that records CPUs, memory, GPUs, CUDA driver, presence of conda/modules/Apptainer, scratch directories, and whether `sbatch` exists. On Slurm clusters it reads partitions. Results are saved as e… Build your first MCP server for Claude Claude Documentation · in the page connectors/building/quickstart …`"type": "module"` in it so Node.js treats the project's files as ES modules: ```bash theme={null} npm init -y npm pkg set type=module ``` **3. Install the SDK** Install the SDK and `zod`. You don… Changelog Claude Documentation · in the page cowork/changelog …to half a minute on macOS when the repository has a very large `node_modules` folder. * Fixed resuming a session failing with "this session's branch is checked out somewhere else" when only the sessi… Plugin feature support across platforms Claude Documentation · in the page plugins/platform-support …m/docs/en/plugins/mods/overview), which is code a plugin names under `modules` in `hooks/hooks.json`, for Claude Code. ## Compare installation, sync, and admin controls Chat and Cowork read plugins… Plugin pre-submission checklist Claude Documentation · in the page plugins/pre-submission-checklist …d folders for everything the plugin loads, not symbolic links, Git submodules, or Git LFS pointer files | Blocks where the plugin loads the entry. Warning elsewhere. | | | Remove `.DS_Store`, `Thumbs.… MCP, plugins, skills, and hooks Claude Documentation · in the page third-party/claude-desktop/extensions …ear in the [**Organization** tab](#plugin-marketplaces-admin). Git submodules aren't fetched either, so a plugin folder added as a submodule is empty on users' devices. The marketplace `name` must ma… Build an MCP client Model Context Protocol · in the page docs/2024-11-05/develop/build-client …nFileNames": true }, "include": ["index.ts"], "exclude": ["node_modules"] } ``` ## Setting Up Your API Key You'll need an Anthropic API key from the [Anthropic Console](https://console.anthrop… Build an MCP server Model Context Protocol · in the page docs/2024-11-05/develop/build-server …nFileNames": true }, "include": ["src/**/*"], "exclude": ["node_modules"] } ``` Now let's dive into building your server. ## Building your server ### Importing packages and setting up the ins… Build an MCP client Model Context Protocol · in the page docs/2025-03-26/develop/build-client …nFileNames": true }, "include": ["index.ts"], "exclude": ["node_modules"] } ``` ## Setting Up Your API Key You'll need an Anthropic API key from the [Anthropic Console](https://console.anthrop… Build an MCP server Model Context Protocol · in the page docs/2025-03-26/develop/build-server …nFileNames": true }, "include": ["src/**/*"], "exclude": ["node_modules"] } ``` Now let's dive into building your server. ## Building your server ### Importing packages and setting up the ins… Build an MCP client Model Context Protocol · in the page docs/2025-06-18/develop/build-client …nFileNames": true }, "include": ["index.ts"], "exclude": ["node_modules"] } ``` ## Setting Up Your API Key You'll need an Anthropic API key from the [Anthropic Console](https://console.anthrop…
Feedback