264 pages for fold.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Configure auto mode
Claude Code CLI · in the page
auto-mode-config
…*Conversation**: find the tool call. If the call appears shortened or folded into a summary line such as `Ran 3 shell commands`, press `Ctrl+O` to open the [transcript viewer](https://code.claude.com/…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…`Always run the formatter after editing`, `Don't touch the migrations folder`. Claude will follow these almost every time. For the few where "almost" isn't good enough, move them out of `CLAUDE.md` an…
Champion kit
Claude Code CLI · in the page
champion-kit
…rk they tend to avoid: legacy files, unfamiliar services, or test scaffolding, where it helps the most. | Time one tedious task both ways and compare. | | "I do not trust AI to touch production code."…
Claude Code changelog
Claude Code CLI · in the page
changelog
…from the VS Code row * Changed nested skill loading: `.claude/skills` folders inside `~/.claude/plugins` no longer load when Claude works on files there * Self-hosted runner: Changed an on-demand runn…
Channels reference
Claude Code CLI · in the page
channels-reference
…ble characters, and quote and angle-bracket lookalikes. * Claude Code folds each run of whitespace to a single space. * Claude Code relays text whole up to 3,500 code points. For a longer value, you r…
Use Claude Code with Chrome
Claude Code CLI · in the page
chrome
…the copy. * **Credential names**: Claude refuses a file whose name or folder is one that credentials are kept under, such as `.env`, a `.pem` or `.key` file, or anything under `.ssh`. Requires Claude…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…and the gateway doesn't also serve Claude Desktop's [`allowedWorkspaceFolders`](https://claude.com/docs/third-party/claude-desktop/code#applied-as-managed-policy), Claude Desktop doesn't turn on the […
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…{ id: 'dot-claude', label: '.claude/', type: 'folder', icon: 'folder', color: 'var(--ce-accent)', oneLiner: 'Project-level configuration, rules, and ext…
Let Claude coordinate ongoing work with Projects
Claude Code CLI · in the page
claude-projects
…he build go into the same conversation. * **Work that isn't code**: a folder of contracts or a support-ticket export you keep coming back to with new questions, such as "find the ten most common integ…
Scan your codebase for vulnerabilities
Claude Code CLI · in the page
claude-security
…s to address. Reviewed patches are written to the report's `patches/` folder; [Fix findings](#fix-findings) covers how each patch is built and reviewed. **6. Apply the patches you accept** Apply eac…
CLI reference
Claude Code CLI · in the page
cli-reference
…Load a plugin from a directory or `.zip` archive, or several from a [folder of plugins](https://code.claude.com/docs/en/plugins/create.md#load-a-directory-or-archive-for-one-session), for this sessio…
Customize Code Review
Claude Code CLI · in the page
code-review-customize
…ls. Add `@` and the path to `SKILL.md`, in the form `.claude/skills/<folder>/SKILL.md`, on a line of its own: ```markdown theme={null} # Review instructions Report at most five Nits per review. @.…
Troubleshoot Code Review
Claude Code CLI · in the page
code-review-troubleshooting
…ove the link. * **A link to a changed file**: it links to a file or folder this pull request changes, and the review couldn't leave out only the lines with that link. Write the rule in `REVIEW.md` i…
Commands
Claude Code CLI · in the page
commands
…own to `~/Desktop`, or your home directory on Linux without a Desktop folder, for diagnosing high memory usage. Attach only the `-diagnostics.json` file when reporting a memory issue; the `.heapsnapsh…
Common workflows
Claude Code CLI · in the page
common-workflows
…rvice.swift that are not covered by tests ``` **2. Generate test scaffolding** ```text wrap theme={null} add tests for the notification service ``` **3. Add meaningful test cases** ```text wrap th…
Manage costs effectively
Claude Code CLI · in the page
costs
…tab] filter-test-output.sh > > The hook calls this script. Create the folder with `mkdir -p ~/.claude/hooks`, save the script below as `~/.claude/hooks/filter-test-output.sh`, and make it executable w…
Debug your configuration
Claude Code CLI · in the page
debug-your-config
…he option to open each in your editor, plus access to the auto memory folder and the auto memory toggle | | `/skills` | Available skills from project, user, and plugin sources | | `/hooks` | Active ho…
Launch sessions from links
Claude Code CLI · in the page
deep-links
…claude.com/docs/en/agent-view.md), such as with `claude agents`, in a folder you've [trusted](https://code.claude.com/docs/en/permissions.md#project-allow-rules-and-workspace-trust) You don't run a s…
Desktop application
Claude Code CLI · in the page
desktop
…onversation is a **session**: it has its own chat history and project folder, independent of any other session. The sidebar lists your sessions and lets you run several in parallel. Within a session y…
Test iOS apps in the simulator
Claude Code CLI · in the page
desktop-ios-simulator
…ed, run `xcode-select -p`. It prints the selected install's Developer folder, such as `/Applications/Xcode-26.4.app/Contents/Developer`. ## Run your app in the simulator You don't need a command or…
Get started with the desktop app
Claude Code CLI · in the page
desktop-quickstart
…n the Code tab, and start your first Claude Code session on a project folder on your computer. The desktop app gives you Claude Code with a graphical interface. You can ask Claude to work on the code…
Schedule recurring tasks in Claude Code Desktop
Claude Code CLI · in the page
desktop-scheduled-tasks
…tasks) after you create it. The checkbox is available when the task's folder is a Git repository. ## Create a scheduled task Local scheduled tasks require Claude Desktop 1.1.5368 or later. **1. Ope…
Claude Code Desktop in WSL
Claude Code CLI · in the page
desktop-wsl
…ed WSL 2 distributions appear under **WSL**. Pick one. **2. Choose a folder** The session starts in the distribution's home directory. Use the folder picker to choose a project folder. Browsing happ…
Error reference
Claude Code CLI · in the page
errors
…turned-off-by-your-organizations-policy) | | `Session failed: working folder not found:` | [Troubleshoot Remote Control](https://code.claude.com/docs/en/remote-control.md#working-folder-not-found) | |…
Glossary
Claude Code CLI · in the page
glossary
…ketplaces from `.claude/settings.json`. [What runs before you trust a folder](https://code.claude.com/docs/en/permissions.md#what-runs-before-you-trust-a-folder) lists each kind of content, including…
Keep Claude working toward a goal
Claude Code CLI · in the page
goal
…//code.claude.com/docs/en/permissions.md#what-runs-before-you-trust-a-folder), because the evaluator is part of the hooks system. `/goal` is also unavailable when [`disableAllHooks`](https://code.clau…
Claude Code on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…//code.claude.com/docs/en/permissions.md#what-runs-before-you-trust-a-folder), which includes `-p` sessions in folders you've never trusted. ### 4. Configure Claude Code Set the following environmen…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…partial exception: bare mode loads skills from its `.claude/skills/` folder, but still skips its `.claude/commands/` and `.claude/agents/` folders. [Skills from additional directories](https://code.c…
Set up Claude Code (local mode) for a HIPAA-ready organization
Claude Code CLI · in the page
hipaa-setup
…es when the retention sweep deletes them. * **The Claude Desktop data folder**: `~/Library/Application Support/Claude` on macOS. On Windows, `%APPDATA%\Claude`, or `%LOCALAPPDATA%\Packages\Claude_pzs8…
Hooks reference
Claude Code CLI · in the page
hooks
…hem when you or Claude invoke the skill, including in a `-p` run in a folder you haven't trusted. Frontmatter hooks in a project subagent run only after you accept the [workspace trust dialog](https:…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…t input: ```text theme={null} ✦ Heads up · There was a change to how folder sharing starts in June, which may have bumped usage metrics artificially. 1: Learn more 2: Knew this already 0: Dismi…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…//code.claude.com/docs/en/permissions.md#what-runs-before-you-trust-a-folder) | Set `ANTHROPIC_AUTH_TOKEN` somewhere Claude Code reads before first-run setup: a shell export, the `env` block in `~/.cl…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…source sets. Requires Claude Code v2.1.282 or later #### Keep Cowork folder access when only managed rules apply [Cowork](https://claude.com/docs/cowork/overview) in the Claude Desktop app runs its…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…ion, testing, and Directory submission. You can also have Claude scaffold a server for you with the official [`mcp-server-dev` plugin](https://github.com/anthropics/claude-plugins-official/tree/main/…
How Claude remembers your project
Claude Code CLI · in the page
memory
…all, with or without the backslashes. This import loads a file from a folder named `Design Docs`: ```text theme={null} - API conventions @Design\ Docs/api-conventions.md ``` Import parsing skips Mar…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…mission error or a file held open. The count also includes each stale folder the sweep finds under `skills/synced/` or `plugins/synced/`, whether or not it moves the folder to the trash. Apart from th…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…de you pick in the mode selector in a local session is remembered per folder and outranks a `defaultMode` in the project's `.claude/` settings. A new local session can still start in a `defaultMode` f…
Configure permissions
Claude Code CLI · in the page
permissions
…n a path, so `Edit(./Finance (2024)/**)` matches the `Finance (2024)` folder as spelled. A deny or ask rule whose path isn't usable as a gitignore pattern still guards that exact path. An allow rule…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…write a Bash script in the case directory and name it in `context.scaffold_script`. The script runs as you, outside the agent's sandbox, and only when you pass `--scaffold`, so pass that flag only for…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…mmand writes to. `update` also takes `managed`. ### plugin init Scaffold a new plugin at `~/.claude/skills/<name>/`. Unless your administrator has [blocked skills-directory plugins](https://code.cla…
Add components to a plugin
Claude Code CLI · in the page
plugins/components
…skills, agents, hooks, and MCP servers. Each component has a default folder in the plugin, an optional manifest key in `.claude-plugin/plugin.json` that replaces or adds to that folder, and a name th…
Create a Claude Code plugin
Claude Code CLI · in the page
plugins/create
…w > * **Your plugin's users are on claude.ai or in Cowork**: the same folder installs there with a different subset of components. See [Plugin structure and testing](https://claude.com/docs/plugins/bu…
Create a marketplace
Claude Code CLI · in the page
plugins/create-marketplace
…it lists. Create the marketplace directory and its `.claude-plugin/` folder, then copy your plugin in under `plugins/`: ```bash theme={null} mkdir -p my-marketplace/.claude-plugin my-marketplace/plu…
Plugin dependencies
Claude Code CLI · in the page
plugins/dependencies
…dependency from its marketplace. When both plugins are in one parent folder, you can pass that folder to `--plugin-dir` once. If the folder isn't itself a plugin, Claude Code loads each child folder…
Host and maintain a marketplace
Claude Code CLI · in the page
plugins/host-marketplace
…Code then registers the marketplace for each teammate who [trusts the folder](https://code.claude.com/docs/en/plugins/org.md#require-plugins-per-repository). ### Avoid relative-path entries in a URL-…
Plugin loading reference
Claude Code CLI · in the page
plugins/loading
…to project allow rules in `.claude/settings.json`. Trusting a parent folder or running with `-p` isn't enough. Components that run code are restricted further: * MCP servers it declares go through t…
Plugin manifest reference
Claude Code CLI · in the page
plugins/manifest-reference
…Directories to scan for skills, each a directory of `<name>/SKILL.md` folders or one folder holding `SKILL.md` directly. `"."` names the plugin root. Adds to the default `skills/` scan | | [`commands`…
Marketplace reference
Claude Code CLI · in the page
plugins/marketplace-reference
…are reserved for marketplaces hosted on claude.ai`. * **The download folder of a registered GitHub marketplace, `<owner>-<repo>`**: Claude Code downloads a marketplace added from a `github` source su…
Create a mod
Claude Code CLI · in the page
plugins/mods/create
…Claude writes the mod in a directory of its own in the session's mods folder, which is `~/.claude/dev-mods/` followed by the session's ID. A mod's full path looks like `~/.claude/dev-mods/3f2a9c1e-5b7…
Troubleshoot a mod
Claude Code CLI · in the page
plugins/mods/troubleshoot
…oward the three. To run the mod, [copy its directory out of the mods folder](https://code.claude.com/docs/en/plugins/mods/create.md#use-the-mod-in-other-sessions), then in your shell start a new sess…