533 pages for pattern.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Champion kit
Claude Code CLI · in the page
champion-kit
…ne concrete outcome | | Team wiki or internal documentation | Durable patterns, custom skills, and `CLAUDE.md` examples | A short page, linked from the channel topic so it remains discoverable | ###…
Claude Code changelog
Claude Code CLI · in the page
changelog
…ersations and `/usage` * Improved Glob speed in large repositories: a pattern that names a folder, such as `src/**/*.ts`, now searches only that folder * Improved `/plugin` to stop offering Configure…
Channels reference
Claude Code CLI · in the page
channels-reference
…de-plugins-official/tree/main/external_plugins/fakechat) extends this pattern with a web UI, file attachments, and a reply tool for two-way chat. ## Test during the research preview During the resea…
Use Claude Code with Chrome
Claude Code CLI · in the page
chrome
…e can read console output to help diagnose problems. Tell Claude what patterns to look for rather than asking for all console output, since logs can be verbose: ```text wrap theme={null} Open the das…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…ructured-masking fields are dropped too, so a parent-supplied extract pattern can't displace a stricter mask another source sets for the same path. * **`envVars` entries with `mode: mask`**: not forwa…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…ateway refuses to start on some settings, including these: * **A `!` pattern**: a [`!` negation](https://code.claude.com/docs/en/permissions#special-characters-and-negation) in a `Read` or `Edit` rul…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…esh checkouts, so untracked files like `.env` are missing by default. Patterns here use `.gitignore` syntax. Only files that match a pattern and are also gitignored get copied. **`.claude/`** Projec…
CLI reference
Claude Code CLI · in the page
cli-reference
….claude.com/docs/en/settings-reference.md#permission-rule-syntax) for pattern matching. To restrict which tools are available, use `--tools` instead. If you name one of the [task-tracking tools](https…
Run tool calls from code with Code Mode
Claude Code CLI · in the page
code-mode
…(https://code.claude.com/docs/en/hooks.md#pretooluse-input), such as `pattern` and the optional `path` * **Rules for the whole tool**: add `Grep` and `Glob` to your `ask` rules to require approval, or…
Code Review
Claude Code CLI · in the page
code-review
…so anything you can express as a review instruction is in scope. The patterns below have the most impact in practice. **Severity**: redefine what 🔴 Important means for your repo. The default calibra…
Commands
Claude Code CLI · in the page
commands
…d sessions](/docs/en/claude-code-on-the-web). See [Analyze your usage patterns](/docs/en/costs#analyze-your-usage-patterns) for the report location, retention, and cost…
Common workflows
Claude Code CLI · in the page
common-workflows
…pts) for CI and batch processing ## Prompt recipes These are prompt patterns for everyday tasks like exploring unfamiliar code, debugging, refactoring, writing tests, and creating PRs. Each works in…
Communications kit
Claude Code CLI · in the page
communications-kit
…igned to drive feature activation after launch. Each follows the same pattern: a hook, the payoff, a "try it now" prompt, and a docs link. Drip them one or two a week in `#claude-code`, or pick the ha…
Explore the context window
Claude Code CLI · in the page
context-window
…'s notes to itself from previous sessions: build commands it learned, patterns it noticed, mistakes to avoid. The first 200 lines or 25KB, whichever comes first, are loaded into the conversation conte…
Manage costs effectively
Claude Code CLI · in the page
costs
…costs vary widely based on model selection, codebase size, and usage patterns such as running multiple instances or automation. Across enterprise deployments, the average cost is around \$13 per dev…
Data usage
Claude Code CLI · in the page
data-usage
…raw session log file from disk to Anthropic. Known API key and token patterns are redacted before upload. Source code, file contents, and other conversation content are uploaded as-is. Shared transcr…
Debug your configuration
Claude Code CLI · in the page
debug-your-config
…e-effective-instructions) covers the specificity, size, and structure patterns that keep adherence high. > [!NOTE] > > CLAUDE.md and permissions solve different problems. CLAUDE.md tells Claude how y…
Desktop application
Claude Code CLI · in the page
desktop
…ll need and not the machines' hostnames. You can do that only where a pattern tells the two apart. ##### Distribute commands to your team To give your team a connection, set `sshHostCommands` in Cla…
Claude Desktop on Linux (beta)
Claude Code CLI · in the page
desktop-linux
…E: Unsupported file ./claude-desktop_*.deb given on commandline`, the pattern didn't match a `.deb` file in the current directory. Confirm the download completed, then run the command again from the d…
Environment variables
Claude Code CLI · in the page
env-vars
…ol](/docs/en/tools-reference#glob-tool-behavior) respect `.gitignore` patterns. By default, Glob returns all matching files including gitignored ones. Does not affect `@` file autocomplete, which has…
Error reference
Claude Code CLI · in the page
errors
…m.input_schema: JSON schema is invalid` / `Property keys should match pattern` | [Request errors](#tool-input-schema-is-invalid) | | `N tools left out` beside a server in `/mcp` / `Claude wasn't given…
Extend Claude Code
Claude Code CLI · in the page
features-overview
…/deploy` runs your deployment checklist; API docs skill with endpoint patterns | | **Subagent** | Isolated execution context that returns summarized results | Context isolation, parallel tasks, specia…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…le guidelines, review criteria, project-specific rules, and preferred patterns. Claude follows these guidelines when creating PRs and responding to requests. See the [memory documentation](https://cod…
Claude Code with GitHub Enterprise Server
Claude Code CLI · in the page
github-enterprise-server
…s.md) to restrict which marketplaces developers can add, use the `hostPattern` source type to allow all marketplaces from your GHES instance without enumerating each repository. See [Delivery mechanis…
Claude Code GitLab CI/CD
Claude Code CLI · in the page
gitlab-ci-cd
…aware**: Claude follows your `CLAUDE.md` guidelines and existing code patterns * **Simple setup**: Add one job to `.gitlab-ci.yml` and a masked CI/CD variable * **Enterprise-ready**: Choose Claude API…
Glossary
Claude Code CLI · in the page
glossary
…bout, or denies a tool invocation based on the tool name and argument pattern. Rules are evaluated deny→ask→allow, first match wins. Permission rules are fine-grained controls layered on top of the br…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…ctory exists again. ## Examples These examples highlight common CLI patterns. Where a command names a file such as `auth.py` or `build-error.txt`, substitute a file from your own project. In CI or o…
Hooks reference
Claude Code CLI · in the page
hooks
…ond to, like `PreToolUse` or `Stop` 2. Add a [matcher group](#matcher-patterns) to filter when it fires, like "for the Bash tool" 3. Define one or more [hook handlers](#hook-handler-fields) to run whe…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…s. The script checks the target file path against a list of protected patterns and exits with code 2 to block the edit. **1. Create the hook script** Save this to `.claude/hooks/protect-files.sh`:…
How Claude Code works
Claude Code CLI · in the page
how-claude-code-works
…reate new files, rename and reorganize | | **Search** | Find files by pattern, search content with regex, explore codebases | | **Execution** | Run shell commands, start servers, run tests, use git |…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…. The `claudeMdExcludes` setting skips specific files by path or glob pattern so they never load. Use this for directories you never work in, such as other teams' packages, legacy code, or vendored s…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…t, in the gateway's own words rejecting a tool's input schema or its `pattern`, on Claude Code v2.1.265 through v2.1.267 | In a gradual rollout on those versions, the [Artifact tool](https://code.clau…
Control MCP server access for your organization
Claude Code CLI · in the page
managed-mcp
…ion, including cloud sessions. This page covers how to: * [Choose a pattern](#choose-a-pattern) that matches how much control you need * [Deploy a fixed server set with `managed-mcp.json`](#exclusiv…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…individual entry that is invalid or can't be enforced, such as a `hostPattern` regex that doesn't compile, is stripped and the valid subset is enforced. | | `availableModels` | Enforced as an empty al…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…es a fixed list of credential variables whose names don't follow that pattern, such as `ANTHROPIC_CUSTOM_HEADERS`. When this applies to your helper, have the script read its credential from a file or…
How Claude remembers your project
Claude Code CLI · in the page
memory
…ude | | **What it contains** | Instructions and rules | Learnings and patterns | | **Scope** | Project, user, or org | Per repository, shared across worktrees | | **Loaded into** | Every session | Ses…
Model configuration
Claude Code CLI · in the page
model-config
…ort ANTHROPIC_DEFAULT_OPUS_MODEL='claude-opus-4-8'` | Apply the same pattern for `ANTHROPIC_DEFAULT_FABLE_MODEL`, `ANTHROPIC_DEFAULT_SONNET_MODEL`, and `ANTHROPIC_DEFAULT_HAIKU_MODEL`. For current an…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…olations` is exported as a list of its path lists without the command patterns * A list keeps its length, with each entry redacted by the same rules * A `permissions.allow`, `permissions.deny`, or…
Overview
Claude Code CLI · in the page
overview
…[best practices](https://code.claude.com/docs/en/best-practices.md): patterns for getting the most out of Claude Code * [Claude Academy](https://academy.claude.com/): free self-paced courses, includi…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…ess you granted the approval as standing. To stop approving a routine pattern one action at a time, add it to [`autoMode.allow`](https://code.claude.com/docs/en/auto-mode-config#override-the-block-and…
Configure permissions
Claude Code CLI · in the page
permissions
…s behave differently depending on whether they name a tool or scope a pattern within one. A bare tool name like `Bash` removes the tool from Claude's context entirely, so Claude never sees it. If you…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…│ ├── criteria.md # frontmatter: type + options; body: rubric or pattern │ │ └── skill-fired.md │ └── case.yaml # optional: only for context.* fields ├── ignores-unrela…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…ins/mods/events#handle-a-hook-that-fails). Each item gives `module`, `pattern`, `hook`, and `hasCatch`. Requires Claude Code v2.1.290 or later * `modules`: one item per hooks module, with fields suc…
Marketplace reference
Claude Code CLI · in the page
plugins/marketplace-reference
…-policy-lists) | Stops skills-directory plugins from loading | | `hostPattern` | `hostPattern` | Not produced | Fails to load: `Unsupported marketplace source type` | Allows `github`, `git`, and `url`…
React to events with a mod
Claude Code CLI · in the page
plugins/mods/events
…{ tool: ['Edit', 'Write'] }, hook) // A regular expression matches by pattern: every tool of one MCP server on('tool.call', { tool: /^mcp__github__/ }, hook) ``` `hook` runs once for a Bash, Edit, or…
Mods reference
Claude Code CLI · in the page
plugins/mods/reference
…s start with `fe`, such as `<feOffset>` or `<feMergeNode>`, and 256 `<pattern>`, `<mask>`, `<clipPath>`, and `<marker>` elements combined. Past either limit, the `Svg` isn't drawn. | | Deepest level o…
Manage Claude Code plugins for your organization
Claude Code CLI · in the page
plugins/org
…t to a list of these source objects. Most entries match exactly, `hostPattern` and `pathPattern` entries match as regular expressions, and `github` owner wildcards match by owner: * **`github`**: `{…
Recommend plugins for your org
Claude Code CLI · in the page
plugins/relevance
…ject. The object names a topic and one or more signals. A signal is a pattern that Claude Code tests against the current session, such as the working directory or files Claude has read. Signal matchi…
Troubleshoot plugins
Claude Code CLI · in the page
plugins/troubleshooting
…ation restricted marketplace sources and an admin needs to add a `hostPattern` for the host * [A GitHub access error on claude.ai](https://code.claude.com/docs/en/github-enterprise-server.md#marketpla…
Prompt library
Claude Code CLI · in the page
prompt-library
…n/goal', src: 'best-practices' }, { id: 'follow-an-existing-pattern', sdlc: 'build', cat: 'Implement', roles: [], prompt: 'look at how {example} is implemented to understand…