282 pages for trigger.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Error reference
Claude Code CLI · in the page
errors
…ot a decision about your action. Content already in your conversation triggered a safety filter on the API when auto mode sent the conversation to the classifier * Retrying will not help; the same con…
Extend Claude Code
Claude Code CLI · in the page
features-overview
…y.md) for project conventions, then add other extensions [as specific triggers come up](#build-your-setup-over-time). ## Overview Extensions plug into different parts of the agentic loop: * **[CLAU…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…*: when the workflow provides no `prompt` input, Claude waits for the trigger phrase, `@claude` by default, in an issue or pull request comment, in a pull request review, or in the body or title of a…
Use Claude Code GitHub Actions with cloud providers
Claude Code CLI · in the page
github-actions-cloud-providers
…tic `GITHUB_TOKEN`**: no app to create or install, but GitHub doesn't trigger your CI workflows on commits made with it The workflow examples in the fourth step authenticate with a custom app. That s…
Claude Code GitLab CI/CD
Claude Code CLI · in the page
gitlab-ci-cd
…s: 1. **Event-driven orchestration**: GitLab listens for your chosen triggers (for example, a comment that mentions `@claude` in an issue, MR, or review thread). The job collects context from the thr…
Glossary
Claude Code CLI · in the page
glossary
…ut instructions given only in conversation may not. Run `/compact` to trigger manually, optionally with a focus like `/compact focus on the API changes`. Learn more: [What survives compaction](https:…
Hooks reference
Claude Code CLI · in the page
hooks
…p`, `resume`, `clear`, `compact`, `fork` | | `Setup` | which CLI flag triggered setup | `init`, `maintenance` | | `SessionEnd` | why the session ended | `clear`, `resume`, `logout`, `prompt_input_exit…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…te handlers are treated. The table below shows each event and when it triggers: | Event | When it fires | | :- | :- | | `SessionStart` | When a session begins or resumes | | `Setup` | When you start…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…session, and have Claude respond to it | | `@` | File path mention | Trigger file path autocomplete. In sessions with [cross-session messaging](https://code.claude.com/docs/en/cross-session-messaging…
Customize keyboard shortcuts
Claude Code CLI · in the page
keybindings
…essing Ctrl+S in agent view switches the session grouping rather than triggering the default `chat:stash`. The dispatch input's external-editor shortcut isn't an `Agents` action. Agent view follows t…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…cords every invocation in its `skill.name` attribute, and `invocation_trigger` records whether a command, Claude, or a nested skill invoked it, which tells you what to consolidate or retire. ## Centr…
Claude Code gateway compatibility guide
Claude Code CLI · in the page
llm-gateway-protocol
…n/prompt-caching.md#compacting-the-conversation). The value says what triggered it: `auto` when the context window approached capacity, `manual` for `/compact`, or `reactive` when the API rejected a r…
Control MCP server access for your organization
Claude Code CLI · in the page
managed-mcp
…w a server is evaluated](#how-a-server-is-evaluated) for which fields trigger the `${VAR}` check and the full order of checks. If you used `allowedMcpServers` to keep some of your `managed-mcp.json`…
Model configuration
Claude Code CLI · in the page
model-config
…ty classifiers flag, most often in cybersecurity and biology domains, trigger [automatic model fallback](#automatic-model-fallback). To get the most from Fable: * **Describe the outcome, not the ste…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…that link each user prompt to the API requests and tool executions it triggers, so you can view a full request as a single trace in your tracing backend. Tracing is off by default. To enable it, set…
Overview
Claude Code CLI · in the page
overview
…d, so they keep running even when your computer is off. They can also trigger on API calls or GitHub events. Create them from the web, the Desktop app, or by running `/schedule` in the CLI. > * [Deskt…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…the change is committed or pushed, whether or not that commit or push triggers the pipeline; clearing it requires naming the execution effect, not only the commit or push * `git reset --hard`, `git ch…
Configure permissions
Claude Code CLI · in the page
permissions
…rget resolves to the current working directory is a no-op and doesn't trigger the prompt. * **`cd` with a redirect**: prompts when Claude Code can't determine which directory the redirect target resol…
Platforms and integrations
Claude Code CLI · in the page
platforms
…al ways to work when you're not at your terminal. They differ in what triggers the work, where Claude runs, and how much you need to set up. | | Trigger | Claude runs on | Setup | Best for | | :- | :…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…plugin you want to test, and a request a user would type that should trigger it **1. Create the cases** From the plugin root, run: ```bash theme={null} claude plugin eval init ``` If Claude Code…
Add components to a plugin
Claude Code CLI · in the page
plugins/components
…ile, and is read instead of `monitors/monitors.json`. For the `when` trigger and the other fields, see [`monitors`](https://code.claude.com/docs/en/plugins/manifest-reference#monitors). ## Ask the u…
Create a Claude Code plugin
Claude Code CLI · in the page
plugins/create
…server-config-for-and-mcp-servers-that-dont-start). To check a hook, trigger the event it matches. For example, ask Claude to edit a file to trigger a `PostToolUse` hook. Then read the [debug log](ht…
Measure plugin cost and usage
Claude Code CLI · in the page
plugins/measure
…Claude matches a request against, so a shorter one can stop the skill triggering. After you trim descriptions, check triggering with a [`tool_used: Skill` grader](https://code.claude.com/docs/en/plugi…
Use the mods API
Claude Code CLI · in the page
plugins/mods/api
…age` for another session or agent, `task-notification`, or `scheduled-trigger`. Return `{ consumed: reason }` to keep it from Claude. | | `session.send` | A message is about to leave, from the SendMes…
Test a mod
Claude Code CLI · in the page
plugins/mods/test
…ents). A test can't fire a mods API call such as `ui.close` directly. Trigger it through your mod, for example by pressing the button that closes the pane. * **`on`**: call it to register stubs, which…
Troubleshoot plugins
Claude Code CLI · in the page
plugins/troubleshooting
…stalled**. A plugin installed only at project or local scope doesn't trigger this message. Claude Code lets you install it at user scope as well, so it's available in other projects. `claude plugin…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…ude Code manages prompt caching automatically. See why a model switch triggers a slow uncached turn, what `/compact` costs, why CLAUDE.md edits don't apply mid-session, and how to check your cache hit…
Prompt library
Claude Code CLI · in the page
prompt-library
…ic instead of something you have to remember to ask for. Describe the trigger and action and Claude writes the [hook](/docs/en/hooks) configuration.", prompt: "write a hook that {action} after eve…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…al ways to work when you're not at your terminal. They differ in what triggers the work, where Claude runs, and how much you need to set up. | | Trigger | Claude runs on | Setup | Best for | | :- | :…
Automate work with scheduled tasks
Claude Code CLI · in the page
routines
…when your laptop is closed. Each scheduled task can have one or more triggers attached to it: * **Schedule**: run on a recurring cadence like hourly, nightly, or weekly, or once at a specific future…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…aude names the hosts a command needs on the command itself instead of triggering a network approval for each connection. Each Bash, PowerShell, or [Monitor](https://code.claude.com/docs/en/tools-refer…
Run prompts on a schedule
Claude Code CLI · in the page
scheduled-tasks
…(https://code.claude.com/docs/en/github-actions.md): use a `schedule` trigger in CI * [Desktop scheduled tasks](https://code.claude.com/docs/en/desktop-scheduled-tasks.md): run locally on your machine…
Security
Claude Code CLI · in the page
security
…ated) due to security risks. Enabling WebDAV may allow Claude Code to trigger network requests to remote hosts, bypassing the permission system. **Best practices for working with untrusted content**:…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…eb_claude_ai`, `desktop_app`, `ios`, `claude_code_cli`, or `scheduled_trigger`. Anthropic records the value once at session creation, so the wrapper and every lifecycle hook see the same value. Use it…
Deploy self-hosted environments to production
Claude Code CLI · in the page
self-hosted-environments-deploy
…attempts and waited for the next scheduled one. A failed turn didn't trigger a fetch, so every turn failed with a 401 until the next scheduled fetch. * **A session shows `The server has refused to re…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…r to restart Claude Code. If the configuration includes settings that trigger the [security approval dialog](#security-approval-dialogs), the user sees a prompt describing the managed settings the nex…
Manage sessions
Claude Code CLI · in the page
sessions
…a session's transcript file, or a live stream of events. Pick by what triggers the script: * **Run Claude once and capture the result**: invoke `claude -p` with [`--output-format json` or `stream-jso…
Claude Code settings
Claude Code CLI · in the page
settings
…| | `workflowKeywordTriggerEnabled` | **Default**: `true`. Whether the keyword `ultracode` in a prompt you type triggers a [dynamic workflow](/docs…
All settings
Claude Code CLI · in the page
settings-reference
…en rendering | Interface and terminal | Any file | | [`workflowKeywordTriggerEnabled`](#workflowkeywordtriggerenabled) | Let the word `ultracode` in a prompt start a [workflow](https://code.claude.com…
Extend Claude with skills
Claude Code CLI · in the page
skills
…run them. Add `disable-model-invocation: true` to prevent Claude from triggering it automatically. The example below adds `context: fork`, which runs the skill in its own subagent context; see [Run sk…
Customize your status line
Claude Code CLI · in the page
statusline
…ebounce: Claude Code runs the new command right away. If a new update triggers while your script is still running, Claude Code cancels the in-flight script. If you edit your script, the changes appear…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…# Auto-compaction Subagents support automatic compaction. Compaction triggers as the subagent's own context window fills, and `CLAUDE_AUTOCOMPACT_PCT_OVERRIDE` applies to subagents as well. See [envi…
Tools reference
Claude Code CLI · in the page
tools-reference
…pResourceTool` | Reads a specific MCP resource by URI | No | | `RemoteTrigger` | Creates, updates, runs, and lists [cloud scheduled tasks](https://code.claude.com/docs/en/routines.md), formerly routin…
Troubleshoot installation and login
Claude Code CLI · in the page
troubleshoot-install
…Windows PowerShell (x86)`. The x86 entry runs as a 32-bit process and triggers this error even on a 64-bit machine. To check which case you're in, run this in the same window that produced the error:…
Voice dictation
Claude Code CLI · in the page
voice-dictation
…en you enable it, Claude Code runs a microphone check. On macOS, this triggers the system microphone permission prompt for your terminal if it has never been granted. ``` /voice Voice mode enabled (h…
Orchestrate subagents at scale with dynamic workflows
Claude Code CLI · in the page
workflows
…rsor is right after the highlighted keyword. To stop the keyword from triggering at all, turn off Ultracode keyword trigger in `/config`. #### Where the keyword works The keyword is an opt-in only i…
Run parallel sessions with worktrees
Claude Code CLI · in the page
worktrees
…cludeIf`, and retry. An `includeIf` in your global git config doesn't trigger this. * **`Git was not run: the repository's own git config sets <key>`**: the message names a key that points Git LFS at…
The reviewer
Claude Documentation · in the page
claude-science/the-reviewer
…ically after responses and periodically during long work, and you can trigger it any time with **Request review**. Automatic review is on by default on Max, Ultra, Team, and Enterprise plans; on the P…
Review what Claude Tag has done
Claude Documentation · in the page
claude-tag/admins/audit
…ing work. Ask in the channel: ```text wrap theme={null} @Claude what triggers do you have set up in this channel? ``` Claude lists the channel's scheduled jobs and watches, and anyone there can ask…
Configure GitHub access
Claude Documentation · in the page
claude-tag/admins/configure-github
…* Delete runs, logs, or artifacts, and enable or disable a workflow * Trigger `push` and `pull_request` workflows by pushing a branch or opening a pull request, the same way any other author does * Ed…