What Anthropic changed
Every change that matters, every morning.
The app reads Anthropic's news, the list of models it is shutting off, its release notes, and eight of its Claude Code pages each morning, and keeps what matters. Newest first, the last thirty days. There is a feed if you would rather be told.
Last looked Friday, December 4 at 5:17 AM EST — Read 8 of 8 pages. The changelog changed: 41 lines that matter. The newest Claude Code version changed: was 2.1.335 (date not given); now 2.1.336 (date not given). The release list changed: was 60 releases, newest 2.1.335 (date not given); now 60 releases, newest 2.1.336 (date not given).
But even if we did, then Anthropic changes everything and, psh, what we had just right is all wrong now.
Models Anthropic is shutting off
- claude-mythos-preview — stops working To be announced
- claude-opus-4-5-20251101 — stops working January 22, 2027
Anthropic news and release notes
- December 3, 2026 · API release notesAnthropic's page
- We’ve launched the Terraform provider in beta, so you can manage Claude Platform resources as code. It manages organization resources, such as workspaces, service accounts, Workload Identity Federation issuers, and federation rules. It…
- December 2, 2026 · Anthropic newsAnthropic's page
- Joint statement on transition to post-quantum cryptography
- December 1, 2026 · Claude app release notesAnthropic's page
- Claude for Apple Watch
- December 1, 2026 · Claude app release notesAnthropic's page
- Time spent in your monthly recap
- December 1, 2026 · API release notesAnthropic's page
- We’ve launched Claude Managed Agents in beta on Amazon Bedrock. AWS operates it and bills your usage, and AWS IAM controls access. See Claude Managed Agents for Amazon Bedrock.
- November 30, 2026 · Claude app release notesAnthropic's page
- Projects (beta) for Team and Enterprise plans
- November 30, 2026 · API release notesAnthropic's page
- If your fast mode requests can fall back to Claude Opus 4.8, check that model’s fallback entry. Fallback for fast mode requests says what to set for speed with server-side fallback and with the SDK middleware.
- November 30, 2026 · API release notesAnthropic's page
- In Claude Managed Agents, update each agent that sets speed: "fast" on Claude Opus 4.8 (see Update semantics). To stay on that model, send a model object that leaves out speed and repeats the settings that you want to keep. The update…
- November 30, 2026 · API release notesAnthropic's page
- We’ve removed fast mode for Claude Opus 4.8. Requests to claude-opus-4-8 with speed: "fast" now return an error. Claude Opus 4.8 itself remains available. To stay on it, remove speed from your requests to that model. To continue using fast…
- November 30, 2026 · API release notesAnthropic's page
- The Compliance API now covers the new projects experience, in beta for Claude Enterprise organizations. The project endpoints return these projects with is_coordinated set to true and IDs that start with chan_, and the remote session…
- November 30, 2026 · API release notesAnthropic's page
- We’ve retired the Claude Sonnet 4.5 model (claude-sonnet-4-5-20250929 and claude-sonnet-4-5) on the Claude API. All requests to this model on the Claude API will now return an error. We recommend upgrading to Claude Sonnet 5.5. See…
- November 30, 2026 · API release notesAnthropic's page
- The Claude Enterprise Analytics API now reports daily usage of the new projects experience, in beta for Claude Enterprise organizations, at GET /v1/organizations/analytics/projects. The classic project usage endpoint reports classic…
- November 30, 2026 · Models being shut offAnthropic's page
- claude-sonnet-4-5-20250929 has been shut off (November 30, 2026)
- November 24, 2026 · Claude app release notesAnthropic's page
- Send files to connected apps and save files from them (beta)
- November 24, 2026 · Claude app release notesAnthropic's page
- Install artifacts as apps (beta)
- November 24, 2026 · Claude app release notesAnthropic's page
- Monthly recap is out of beta
- November 23, 2026 · API release notesAnthropic's page
- The project fix will apply to data for November 20, 2026 (UTC), and later, so counts that you already pulled for those days can change. It does not recount earlier days.
- November 23, 2026 · API release notesAnthropic's page
- The List User Activity endpoint will change in the same way when you filter by project_id. message_count and distinct_conversation_count can be higher, last_activity_date can be later, and more users can appear. Without the filter, some of…
- November 23, 2026 · API release notesAnthropic's page
- On November 24, 2026, a fix for an undercount of project activity in the Claude Enterprise Analytics API will go live. The Get Chat Project Usage endpoint leaves out some messages in project chats. One example is messages sent after a chat…
- November 23, 2026 · API release notesAnthropic's page
- The connector fix applies to data for November 19, 2026 (UTC), and later, so counts that you already pulled for those days can change. It does not recount earlier days.
- November 23, 2026 · Models being shut offAnthropic's page
- claude-opus-4-5-20251101 shuts off January 22, 2027
- November 20, 2026 · Claude app release notesAnthropic's page
- A refreshed look for Claude Mobile
- November 20, 2026 · Claude app release notesAnthropic's page
- Computer use (beta) for Team and Enterprise plans
- November 20, 2026 · Anthropic newsAnthropic's page
- Anthropic announces closing of initial public offering, including full exercise of underwriters’ option to purchase additional shares, and closing of concurrent private placement
- November 18, 2026 · Anthropic newsAnthropic's page
- Anthropic prices initial public offering
- November 17, 2026 · Claude app release notesAnthropic's page
- Choose a release channel in Claude Desktop
- November 12, 2026 · Claude app release notesAnthropic's page
- Add Claude to your meetings
- November 10, 2026 · Anthropic newsAnthropic's page
- Anthropic launches roadshow for proposed initial public offering
- November 9, 2026 · Anthropic newsAnthropic's page
- Introducing Claude Fable 5.2 and Claude Mythos 5.2
- November 6, 2026 · Claude app release notesAnthropic's page
- Track spend by cost code with project tags (beta)
- November 5, 2026 · Claude app release notesAnthropic's page
- Personal Finance in Claude
News last looked Friday, December 4 at 5:17 AM EST — Read 3 of 4 news sources. Could not read: Claude app release notes moved to another site. API release notes: 1 new.
Claude Code pages
Friday · December 4, 2026
- December 4, 2026 · ChangelogAnthropic's page
- New release 2.1.336, date not given
- Claude Code changelog — Added hooks and a status line to the settings that Claude Code applies from an organization managed in Anthropic's Enterprise Admin Console, including hooks already saved in the console
- Claude Code changelog — Added a line that says when automatic compaction gives up
- Claude Code changelog — Added the allowedAdminConsoleOrgUUIDs managed setting: it applies an Enterprise Admin Console organization's settings after sign-in and, unlike forceLoginOrgUUID, still allows API keys and tokens
- Claude Code changelog — Updated the bundled dataviz skill to mark charts drawn from made-up values as simulated on the chart itself, and to keep a bar's end label to one number
- Claude Code changelog — Changed managed hooks, managed MCP servers and credential helpers to no longer get an ANTHROPIC_BASE_URL that an Enterprise Admin Console organization sets
- Claude Code changelog — [VSCode] Changed open chats to restart after a sign-in to an Enterprise Admin Console organization without waiting for background tasks; a notice names the tasks that stopped
- Claude Code changelog — Improved memory use in resumed terminal sessions, sessions with many MCP servers or Remote Control on, longer claude -p and Agent SDK sessions, compacted conversations and /usage
- Claude Code changelog — Improved /plugin to stop offering Configure options for plugin options whose one choice is already the default, unless the plugin has command hooks
- Claude Code changelog — [VSCode] Improved dialogs in the new look: Rewind's list wraps, Memory says what its switch does, and Add server, Add hook and the hook form's buttons stay in view
- Claude Code changelog — [VSCode] Improved the Learn Claude Code checklist: no outdated pictures and shorter rows in narrow panels in the new look, and the right message after an edit of a CLAUDE.md
- Claude Code changelog — [VSCode] Improved several notices and error banners in the new look: they lead with the cause, a refused start offers Try again where it can help, and pressing Stop during a start is a plain warning
- Claude Code changelog — [VSCode] Improved the Slash commands dialog in the new look: each command says what it does, /skills lists skills first, and /help opens it
- Claude Code changelog — [VSCode] Improved screen reader support: "Ready for your input." no longer cuts off Claude's last reply in VoiceOver, and the new look stops saying an agent's state twice
- Claude Code changelog — [VSCode] Improved permission prompts to warn before a worktree removal discards work
- Claude Code changelog — [Claude Code on the web] Improved editing a scheduled task's GitHub trigger: its repository menu now lists the task's own repositories first, replacing a second menu that could appear below it
- Claude Code changelog — Fixed a background session repeating work after a restart: a turn you stopped with Esc, a prompt you took back with Esc, or a turn that ended on purpose, such as a /goal at its Stop-hook limit
- Claude Code changelog — Windows: Fixed a script and the programs it ran, such as a running rm, going on after a Bash command was stopped
- Claude Code changelog — Fixed a message stopped right after sending sometimes being lost from cloud and SDK sessions
- Claude Code changelog — Remote Control: Fixed SessionStart hook titles not showing on claude.ai and mobile for new claude remote-control sessions
- Claude Code changelog — Fixed old tool results staying in memory after /clear, and after compaction outside fullscreen
- Claude Code changelog — Fixed managed settings' OpenTelemetry metric temporality being ignored when Anthropic's Enterprise Admin Console sets the telemetry collector
- Claude Code changelog — Fixed a permission prompt from an in-process teammate staying open after the teammate was stopped
- Claude Code changelog — Windows: Fixed an endless loop in Claude Desktop's Code sessions that filled up memory within hours when %LOCALAPPDATA%\Temp\claude is a junction or symlink (anthropics/claude-code#95489)
- Claude Code changelog — Fixed claude plugin eval scoring a plugin that managed settings require without loading it; the plugin now loads, or the case fails with an error
- Claude Code changelog — Fixed a forked subagent being unable to read web pages after it loaded the claude-api skill
- Claude Code changelog — Fixed new cloud scheduled tasks made with /schedule moving an hour when daylight saving starts or ends
- Claude Code changelog — Fixed a rare case where a session stopped answering prompts without showing an error (regression in 2.1.335)
- Claude Code changelog — Fixed the status line's used_percentage and remaining_percentage to count against the auto-compact window, like /context; for the full window, use total_input_tokens / context_window_size
- Claude Code changelog — Fixed Stop not ending a turn while Claude was still loading some built-in skills
- Claude Code changelog — Fixed Claude Code freezing while it removes a large worktree on Windows, or one with a very large folder on macOS
- Claude Code changelog — Fixed most cases of cloud sessions being stopped mid-turn while a mod's tool made many short tool calls in a row
- Claude Code changelog — Fixed claude plugin update saying a plugin was at the latest version when its marketplace couldn't be refreshed
- Claude Code changelog — Fixed the one-time auto-compact prompt coming back at each launch when ~/.claude.json is read-only or reset between runs, and needing an answer in every terminal when several start together
- Claude Code changelog — Fixed /status listing a computer's managed settings as skipped when they partly apply beside an organization's settings from Anthropic's Enterprise Admin Console
- Claude Code changelog — Fixed CLAUDE.md edits being missed by the next message after a /btw asked right after resuming in VS Code or Desktop
- Claude Code changelog — Fixed the /claude-api skill to say that a request failing the history-editing check might or might not return a 400, instead of tying it to the account's creation date
- Claude Code changelog — Fixed a command continuing to run in the background after being reported as stopped when Stop or Esc came right after Send now
- Claude Code changelog — Fixed claude -p from the sandboxed Bash tool being refused or delayed for an organization managed in Anthropic's Enterprise Admin Console whose settings run commands
- Claude Code changelog — Fixed skills with disable-model-invocation: true being refused in the terminal when you ask for them in a message sent while Claude is working
- and 2 more
Thursday · December 3, 2026
- December 3, 2026 · ChangelogAnthropic's page
- New release 2.1.335, date not given
- Claude Code changelog — Added support for cloud sessions loading the plugins and mods in a repository's .claude/skills; a hook that reaches out of its plugin's folder with ../ fails there and can block shell commands
- Claude Code changelog — Added support for mods calling on() inside their session.start hook, so hooks can be registered based on a fetch or MCP call
- Claude Code changelog — Added source and via to the session.stop mod event, saying who sent the Stop and how it arrived
- Claude Code changelog — Added an Interrupt hook event that fires when a turn is interrupted and says whether a person, another session or the system stopped it
- Claude Code changelog — Updated the /claude-api skill with the SDKs' error codes and stream errors, simplified its retry guidance, and fixed its rate limit header names and C# exception classes
- Claude Code changelog — Changed Claude Code in an organization managed in Anthropic's Enterprise Admin Console to stop local MCP servers when "Allow local MCP servers" is off, unless an admin's allowlist names them
- Claude Code changelog — Changed the managed settings approval dialog to stop showing when an organization only enables a plugin
- Claude Code changelog — Changed Read's PDF page images: hooks and scripts should read them while the call and the PostToolUse hooks it waits for run, not later
- Claude Code changelog — [VSCode] Changed the "Remote Control is active" message to stop showing each time a session connects at startup, and the "Browser connected" banner in every session with Claude in Chrome on by default
- Claude Code changelog — [VSCode] Changed the prompt cache clock in the new look to show only once the cache has likely expired or after a compaction, without a countdown
- Claude Code changelog — Improved /claude-api prompt-audit: it now flags broad ask-first rules, always-delegate instructions and "treat earlier answers as done" lines, and keeps stop-early guidance the model needs
- Claude Code changelog — Improved the "Autocompact is thrashing" error to name instruction files such as CLAUDE.md when they take up more of the context than anything else
- Claude Code changelog — Fixed self-hosted runners reporting a session as failed after the service had archived it or taken it from them; post-session hooks now usually get completed or interrupted there
- Claude Code changelog — Fixed the result of a running command missing from the session transcript when claude -p is stopped with SIGTERM
- Claude Code changelog — Fixed forceLoginOrgUUID in managed settings refusing its own organization when the ID is written in capital letters
- Claude Code changelog — Fixed a reply stopped at a permission prompt running again after a cloud, self-hosted runner or Remote Control session restarted
- Claude Code changelog — Fixed claude stop and claude rm sometimes exiting with no output and no effect right after the background service died
- Claude Code changelog — Fixed /terminal-setup refusing to update a VS Code settings.json that has trailing commas
- Claude Code changelog — Fixed /import destroying an existing CLAUDE.md that isn't saved as UTF-8
- Claude Code changelog — Fixed ~/.claude.json being replaced with default settings at startup when the drive returned an I/O error or timed out
- Claude Code changelog — Fixed claude plugin list and VS Code's Manage plugins showing the wrong on or off state for a plugin that managed settings decide
- Claude Code changelog — Fixed added and removed line counts in cloud and Remote Control sessions leaving out changed lines that begin with ++ or --
- Claude Code changelog — Fixed /rewind leaving out the row of a stopped context: fork skill when a message was queued as you pressed Esc, so its edits counted under the prompt before
- Claude Code changelog — Fixed a Haiku, Sonnet or Opus subagent model set in a project's settings not applying in Claude Desktop's Code tab
- Claude Code changelog — Fixed Remote Control showing a session as waiting for input after Stop left an MCP form open, or after an MCP link was accepted
- Claude Code changelog — Fixed /design-sync and artifact updates overwriting a teammate's newer edit after a compacted session was resumed
- Claude Code changelog — Fixed Remove at the worktree exit question deleting files or commits made while it was open, when it had shown none
- Claude Code changelog — Fixed /design-sync stopping with "no design system" on a large design system that someone outside your organization can edit
- Claude Code changelog — Fixed the one-time auto-compact prompt opening over a history search or menu
- Claude Code changelog — [VSCode] Fixed ~/.claude/settings.json being left empty on macOS and Windows when a save was interrupted in a folder that refuses renames
- Claude Code changelog — [VSCode] Fixed the context usage indicator showing full after a session went back from the 400K auto-compact window to 1M
- Claude Code changelog — [VSCode] Fixed voice dictation dropping the last words spoken just before you stopped it or pressed Send
- Claude Code changelog — [VSCode] Fixed the warning about a broken settings file being replaced by usage and error banners, and added an Open file link to it
- Claude Code changelog — [VSCode] Fixed /memory not leading to CLAUDE.md files: the Memory dialog now has an Instructions row, and Context usage no longer points to the removed /agents
- December 3, 2026 · Scheduled tasksAnthropic's page
- Manage scheduled tasks — Ask Claude: list, create, edit, and pause tasks by asking Claude in a local Desktop session. For example, "pause my dependency-audit task" or "show me my scheduled tasks."
- Manage scheduled tasks — Ask Claude: list, create, edit, and pause tasks by asking Claude in any Desktop session. For example, "pause my dependency-audit task" or "show me my scheduled tasks." To delete a task, use the Delete button on its detail page.
- December 3, 2026 · ToolsAnthropic's page
- Glob tool behavior — You use Code Mode, where the code that Claude writes can call both tools by default. If you check searches with Bash rules or hooks, add checks for both tools.
- December 3, 2026 · SettingsAnthropic's page
- Settings index — disableWindowsBashCommandSplit · On Windows, stop Claude Code from splitting a long Bash command into multiple arguments · Enterprise and managed settings · Managed
- Settings index — sandbox.filesystem.allowManagedReadPathsOnly · Honor allowRead entries only from managed settings · Sandbox settings · Managed
- availableModelsMatch — "exact": a model ID entry permits only the version it names, so "claude-opus-5" permits Opus 5 but not claude-opus-5-5. An entry such as "claude-opus-4-5" also permits its dated Anthropic model ID claude-opus-4-5-20251101. A family alias s…
- effortLevel — To set a default effort level for every model, add the effortLevel key to project, local, or managed settings, or to the settings you pass with the --settings flag. In your user settings file, ~/.claude/settings.json, Claude Code ignores t…
- sandbox.filesystem.allowManagedReadPathsOnly — Honor only the allowRead entries that come from managed settings. Claude Code still merges denyRead entries from every settings scope the session loads.
- sandbox.filesystem.allowManagedReadPathsOnly — This example blocks sandboxed commands from reading the home directory, re-opens ~/work, and ignores allowRead entries from other settings files:
- autoCompactWindow — To change the current model's window from a terminal session, you can also run /config and pick a size in the Auto-compact window row. Claude Code saves your choice for that model under modelSettings. The row requires Claude Code v2.1.334…
- attribution — Type: object with commit and pr strings and a sessionUrl Boolean, or false to turn off all three. The false value requires Claude Code v2.1.281 or later; earlier versions reject it and skip the whole user, project, or local settings file t…
- attribution — To turn off the commit trailer, pull request text, and session link that Claude Code adds, set attribution to false. In a settings file that earlier versions also read, set commit and pr to empty strings and sessionUrl to false instead.
- attribution — For the text Claude Code adds, this example replaces the commit attribution, removes the pull request attribution, and drops the session link:
- includeCoAuthoredBy — Claude Code still honors includeCoAuthoredBy: false from settings files that predate attribution, but ignores it once you set attribution.commit or attribution.pr.
- disableSkillShellExecution — Turn off inline shell execution for !... and ! blocks in skills and custom commands from user, project, plugin, synced, or additional-directory sources. Claude Code replaces each command with [shell command execution disabled by policy] in…
- disableClaudeAiConnectors — Turn off the claude.ai MCP connectors Claude Code fetches itself. A true in any settings file applies, so a project-level false can't override a user- or managed-level true.
- worktree.sparsePaths — Include .claude in the list so that each worktree also has the repository's .claude/settings.json and .claude/rules/.
- disableSideloadFlags — In cloud sessions, Claude Code also ignores server-delivered mid-session MCP updates, the path behind cloud session configuration and SDK setMcpServers() calls that reach those sessions. The entries that stay at startup stay exempt there t…
- disableWindowsBashCommandSplit — On Windows, stop Claude Code from splitting a long Bash command into multiple arguments on the Git Bash command line. Set this key to true if your endpoint security tools match text in process command lines. A security tool can miss text i…
- disableWindowsBashCommandSplit — false: the key doesn't stop the split. When Claude Code splits a long command, Git Bash reassembles it before running it.
- wslInheritsWindowsSettings — json managed-settings.json theme={null}
- Settings index — sandbox.filesystem.allowManagedReadPathsOnly · Stop developers from re-opening read paths your organization blocked · Sandbox settings · Managed
- availableModelsMatch — "exact": a model ID entry permits only the version it names, so "claude-opus-5" permits Opus 5 but not claude-opus-5-5. An entry such as "claude-opus-4-5" also permits its dated Anthropic model ID claude-opus-4-5-20251101. A family alias s…
- effortLevel — In your user settings file, ~/.claude/settings.json, this key is the older form /effort wrote before it saved levels per model, and it keeps applying where it applied before, on Opus 5, Fable 5.1, and earlier models. Opus 5.5 and models re…
- sandbox.filesystem.allowManagedReadPathsOnly — Honor only the allowRead entries that come from managed settings, so developers can't re-open read access to paths your organization blocked. Claude Code still merges denyRead entries from every settings scope the session loads.
- sandbox.filesystem.allowManagedReadPathsOnly — This blocks reads of the home directory, re-opens ~/work, and stops developers from re-opening anything else:
- attribution — Type: object with commit and pr strings and a sessionUrl Boolean, or false to hide all attribution. The false value requires Claude Code v2.1.281 or later; earlier versions reject it and skip the whole user, project, or local settings file…
- attribution — To hide all attribution, set attribution to false. In a settings file that earlier versions also read, set commit and pr to empty strings and sessionUrl to false instead.
- attribution — This example replaces the commit attribution, removes pull request attribution, and drops the session link:
- includeCoAuthoredBy — Use attribution instead, which replaces this key and lets you change or hide the commit trailer, the pull request text, and the session link separately. Claude Code still honors includeCoAuthoredBy: false from settings files that predate a…
- disableSkillShellExecution — Turn off inline shell execution for !... and ! blocks in skills and custom commands from user, project, plugin, or additional-directory sources. Claude Code replaces each command with [shell command execution disabled by policy] instead of…
- disableClaudeAiConnectors — Turn off the claude.ai MCP connectors Claude Code fetches itself, so it neither fetches nor connects them. A true in any settings file applies: a checked-in project .claude/settings.json can opt a repository out of those connectors, but a…
- worktree.sparsePaths — Include .claude in the list so that each worktree also has the repository's .claude/settings.json and .claude/rules/. This example checks out only .claude, packages/my-app, and shared/utils, plus root-level files, in each worktree:
- disableSideloadFlags — In cloud sessions, Claude Code also ignores server-delivered mid-session MCP updates, the path behind cloud session configuration and SDK setMcpServers() calls that reach those sessions. In-process type: "sdk" entries and a Claude Tag sess…
- December 3, 2026 · SkillsAnthropic's page
- Load skills in monorepos and subdirectories — > While the sandbox is on, and until you restart after turning it off, nested skills don't load when Claude works on files in their subdirectory. To use them, start Claude Code in the subdirectory or run /cd with its path.
- Use skills in Cowork and cloud sessions — If a skill exists only in ~/.claude/skills/ on your machine, Claude Code reports that the skill was not found when a cloud scheduled task invokes it. This happens because each run starts as a fresh cloud session. You can make a personal sk…
- Names reserved for synced skills — Claude Code reserves the name anthropic-skills, and every name inside that namespace such as anthropic-skills:pdf, for skills synced from claude.ai. The name is reserved in every session.
- How Claude Code handles the frontmatter of a synced skill — The skill's allowed-tools field applies in terminal, VS Code, and Agent SDK sessions on your machine. If your organization turns on the allowManagedPermissionRulesOnly setting, the field doesn't apply.
- How Claude Code handles the body of a synced skill — In a terminal or VS Code session, ! commands can run under the usual permission checks. To stop them, turn on the disableSkillShellExecution setting, which also stops ! commands in your own skills and in plugins.
- How Claude Code handles the body of a synced skill — In a terminal or VS Code session, a synced skill's ! lines, @ file references, and ${CLAUDE_PROJECT_DIR} and ${CLAUDE_SESSION_ID} placeholders can also reach Claude as literal text.
- Frontmatter reference — hooks · No · Hook definitions as a YAML map keyed by event name, such as PreToolUse. See Hooks in skills and agents for the configuration format, the once option, and the limits on skill hooks.
- Frontmatter reference — paths · No · Glob patterns for the files that activate this skill, as a comma-separated string or a YAML list. Write them in the same format as path-specific rules, relative to your primary working directory. Some cases use Claude's curren…
- Frontmatter reference — shell · No · Shell to use for !command and ! blocks in this skill. Accepts bash or powershell. Defaults to bash, or to powershell on Windows without Git Bash. Setting powershell runs these commands via PowerShell when the PowerShell tool i…
- Control who invokes a skill — If Claude tries when your message doesn't include /deploy as a separate word with no punctuation attached, Claude Code blocks the call. To deploy, run /deploy yourself.
- When only managed permission rules apply — When your organization sets allowManagedPermissionRulesOnly in managed settings, Claude Code ignores allowed-tools in project and personal skills and in the other sources the setting's entry lists. For project and personal skills, this req…
- Environment — To disable this behavior for skills and custom commands from user, project, plugin, synced, or additional-directory sources, set "disableSkillShellExecution": true in settings. Each command is replaced with [shell command execution disable…
- Deny specific skills — Skill(anthropic-skills *) approves every synced skill in that namespace
- Skill not triggering — If the skill sets the paths field, see Skill paths don't match
- Skill not triggering — ### Skill paths don't match
- Skill paths don't match — If a skill that sets the paths field doesn't activate, check that its patterns are relative to your primary working directory. Also check that the files Claude reads, edits, or writes are inside that directory. Check against Claude's curre…
- Skill paths don't match — To have the skill activate for files in a sibling git worktree, start Claude Code in that worktree or move the session there with /cd. If you add the worktree with /add-dir, also ask Claude to cd there.
- Claude stops following a skill — When Claude follows a skill in its first response and stops following it later, the fix depends on what it skipped or whether the conversation was compacted:
- Use skills in Cowork and cloud sessions — If a skill exists only in ~/.claude/skills/ on your machine, Claude Code reports that the skill was not found when a cloud scheduled task invokes it. This happens because each run starts as a fresh cloud session. To make a personal skill a…
- Names reserved for synced skills — Claude Code reserves the name anthropic-skills, and every name inside that namespace such as anthropic-skills:pdf, for skills synced from claude.ai, so a synced skill's full name never runs anything else. The name is reserved in every sess…
- How Claude Code handles the frontmatter of a synced skill — The frontmatter applies in every kind of session, so an allowed-tools grant goes through the normal permission flow. If your organization sets allowManagedPermissionRulesOnly, the grant doesn't apply.
- How Claude Code handles the body of a synced skill — In a cloud session, the body keeps the behavior a local skill has, because the session runs in an isolated container.
- How Claude Code handles the body of a synced skill — In a terminal or VS Code session, Claude Code doesn't run ! commands, doesn't attach the files that @ references name, and doesn't substitute the ${CLAUDE_PROJECT_DIR} and ${CLAUDE_SESSION_ID} placeholders. The @ references and both placeh…
- Frontmatter reference — hooks · No · Hooks that Claude Code registers when the skill is invoked and keeps running for the rest of the session. See Hooks in skills and agents for the configuration format, the once option, and the limits on skill hooks.
- Frontmatter reference — paths · No · Glob patterns for the files that activate this skill. Accepts a comma-separated string or a YAML list. Patterns are relative to Claude's current working directory. In the main conversation, they stay relative to the primary wo…
- Frontmatter reference — shell · No · Shell to use for !command and ! blocks in this skill. Accepts bash (default) or powershell. Setting powershell runs inline shell commands via PowerShell when the PowerShell tool is enabled: it's on by default on Windows withou…
- Control who invokes a skill — If Claude tries when your message doesn't include /deploy as a separate word with no punctuation attached, Claude Code blocks the call. Expect Claude to suggest running /deploy yourself.
- When only managed permission rules apply — When your organization sets allowManagedPermissionRulesOnly in managed settings, Claude Code ignores allowed-tools in project and personal skills and in the other sources the setting's entry lists. This requires Claude Code v2.1.282 or lat…
- Environment — To disable this behavior for skills and custom commands from user, project, plugin, or additional-directory sources, set "disableSkillShellExecution": true in settings. Each command is replaced with [shell command execution disabled by pol…
- Environment — In a terminal or VS Code session, Claude Code doesn't run these commands in skills synced from your claude.ai account, regardless of this setting. This restriction requires Claude Code v2.1.228 or later.
- Deny specific skills — Skill(anthropic-skills *) approves every synced skill
- Skill not triggering — If the skill sets paths, check that the files Claude reads, edits, or writes are inside the directory the patterns are relative to. The skill doesn't activate for files outside it, such as those in a sibling git worktree, even one you adde…
- Claude stops following a skill — If Claude follows a skill in its first response and stops following it later, start with whichever of these cases matches:
- December 3, 2026 · HooksAnthropic's page
- Matcher patterns — For most events, Claude Code evaluates the matcher against a field from the JSON input it sends to your hook on stdin. On tool events, that field is tool_name. For PreModelSwitch and PostModelSwitch, Claude Code evaluates the matcher again…
- Hook handler fields — MCP tool hooks (type: "mcp_tool"): call a tool on a configured MCP server.
- Exit code output — Non-blocking error: your hook exits with any other code, or fails in some other way, such as failing to start or printing invalid JSON. The action proceeds unless the hook is one whose failure blocks the action, such as a hook with its onF…
- Exit code output — What your hook prints to stdout can change the outcome. For example, when a PreToolUse hook exits 1 but prints JSON that passes validation, that JSON can still decide what happens.
- Exit code output — The following table shows the outcome on an event such as PreToolUse for each combination of stdout and exit code:
- Exit code 0 — If you see a parse or validation message under a <hook name> hook failed notice, use it to fix your output. For a hook that isn't async, your stdout counts as JSON output only when you print one JSON object, on one line or several, with no…
- Other exit codes — If you see a PreToolUse:<tool> hook failed notice with your hook's stderr under it, your hook didn't stop the call.
- Other exit codes — For example, a PreToolUse hook on Bash that prints something broke to stderr and exits with code 1 leaves this line under the PreToolUse:Bash hook failed notice:
- Other exit codes — To read the rest of a cut-off stderr message, turn on debug logging and rerun the hook.
- Other exit codes — The shell's No such file or directory message for your script's path means the hook didn't run:
- Other exit codes — /bin/sh: /path/to/hook.sh: No such file or directory
- Other exit codes — Check the script path in the hook's configuration.
- Other exit codes — The first time a hook that enforces a policy runs, watch for the hook failed notice. To block the action when the hook can't start, set onFailure: "block".
- Other exit codes — > Exit code 1 without valid JSON output is a non-blocking error unless the hook is one whose failure blocks the action. To enforce a policy, use exit 2.
- Exit code 2 behavior per event — If a SessionStart, SubagentStart, or PostModelSwitch hook exits with code 2, the session or subagent proceeds. You see the stderr under a <hook name> hook failed notice in the terminal transcript. For a SubagentStart hook, look in the suba…
- JSON output — Over the limit: except for PreCompact stdout, Claude Code saves the output to a file in the session directory. It replaces the output with the file path and a preview of up to the first 2,000 characters. The 10,000-character cap has no set…
- Decision control — Not every event supports blocking or controlling behavior through JSON. The events that do each use a different set of fields to express that decision.
- Decision control — This table shows the decision pattern and key fields for each group of events:
- SessionStart — Only type: "command" and type: "mcp_tool" hooks are supported. See MCP tool hook fields for when mcp_tool hooks run.
- SessionStart — After you start a terminal session or run /clear in one, Claude Code sends your prompt once the synchronous SessionStart hooks finish, so Claude has their context. To take the prompt back into the input while it waits, press Esc.
- SessionStart — If a plugin finishes loading after the session starts, your prompt can reach Claude without the context from that plugin's hooks.
- PostToolUse decision control — additionalContext · String added to Claude's context alongside the tool result. See Add context for Claude
- PostToolUse decision control — > If your replacement value doesn't match a built-in tool's output shape, Claude can get what the tool returned instead of your replacement. Built-in tools return structured objects rather than plain strings. For example, the Bash tool ret…
- Notification — > * permission_prompt fires once you haven't typed for about six seconds. The timer starts when the permission prompt appears, and each keystroke defers it. To run a hook immediately when Claude asks for permission to use a tool, use Permi…
- SubagentStop input — To keep the subagent running, return decision: "block" with a reason field, or return a hookSpecificOutput.additionalContext field, as for Stop hooks. The subagent receives that text. In the hookSpecificOutput object, also set the hookEven…
- SubagentStop input — To add context to the parent session after a foreground subagent returns, use a PostToolUse hook on the Agent tool.
- Stop decision control — hookSpecificOutput.additionalContext · Non-error feedback for Claude. The conversation continues so Claude can act on it
- Stop decision control — To give Claude one more instruction before it stops, such as running the tests, return the instruction in the additionalContext field. Claude keeps working and receives your text.
- Stop decision control — When your Stop hook returns the following JSON, you see Stop hook says: Please run the test suite before finishing in the terminal transcript:
- DirectoryAdded input — slash_command: if a hook returns a systemMessage value or fails, Claude reads that value and the failure count, then replies without waiting for your next prompt. You see only the reply. Full failure output goes to the debug log
- Response schema — Stop and SubagentStop: the reason is fed back to Claude and the turn continues. If the response also sets impossible: true, Claude Code allows the stop and the turn ends instead
- Check multiple conditions before stopping — This Stop hook uses a detailed prompt to check three conditions before allowing Claude to stop. SubagentStop hooks use the same format to evaluate whether a subagent should stop. If the model returns "ok": false because Claude shouldn't st…
- Matcher patterns — For most events, Claude Code evaluates the matcher against a field from the JSON input it sends to your hook on stdin. For tool events, that field is tool_name. For PreModelSwitch and PostModelSwitch, Claude Code evaluates the matcher agai…
- Hook handler fields — MCP tool hooks (type: "mcp_tool"): call a tool on a configured MCP server. The tool's text output is treated like command-hook stdout.
- Exit code output — Non-blocking error: your hook exits with any other code, or fails in some other way, such as not starting or printing invalid JSON. The action goes ahead, except for hooks whose failure blocks the action, for example a hook with onFailure…
- Exit code output — What your hook prints to stdout can change the outcome. For example, when a PreToolUse hook exits 1 but prints JSON that passes validation, that JSON can still decide what happens. To find your hook's outcome on an event such as PreToolUse…
- Exit code 0 — If a <hook name> hook error notice carries a parse or validation message, use it to fix your output. For a hook that isn't async, your stdout counts as JSON output only when you print one JSON object, on one line or several, with nothing a…
- Other exit codes — A <hook name> hook error notice with Failed with non-blocking status code: means your hook didn't exit 0 or 2 and its stdout was plain text or empty. The run is a non-blocking error, so your hook didn't stop the action. If the notice cuts…
- Other exit codes — For example, when a PreToolUse hook on Bash prints something broke to stderr and exits 1, the PreToolUse:Bash hook error notice carries this line:
- Other exit codes — If the notice carries the shell's No such file or directory message, as in the following line, the hook never ran, for example because its script path doesn't exist:
- and 1 more
Wednesday · December 2, 2026
- December 2, 2026 · ChangelogAnthropic's page
- New release 2.1.334, date not given
- Claude Code changelog — Added an Auto-compact window row to /config to see and change the size that /autocompact sets
- Claude Code changelog — [VSCode] Added Remove, Edit and Send now for queued messages in the new look
- Claude Code changelog — [VSCode] Added a box at the start of each scheduled task round in the new look, with its time and prompt
- Claude Code changelog — [Claude Code on the web] Added One-time and Custom to the frequency menu in the New scheduled task dialog, so a cloud Claude Code task can run once or on a cron schedule
- Claude Code changelog — [Claude Code on the web] Added a confirmation before regenerating or deleting a scheduled task's API token
- Claude Code changelog — [Claude Code on the web] Added a warning in a self-hosted environment's admin details when some runners are too old for a model; it names the model and the minimum Claude Code version
- Claude Code changelog — [Claude Tag] Added a Connected apps section at the top of Claude Tag admin settings that shows your Slack connection, with a button to manage it
- Claude Code changelog — [Claude Tag] Added "Copy settings to…" to the menu on Slack workspace and channel pages in Claude Tag admin settings, to share access bundles attached there with other workspaces and channels
- Claude Code changelog — Changed auto-compact's per-model auto setting to near 400K on most current 1M models, -p and SDK runs too (rolling out; on now with third-party providers or telemetry off); see /autocompact
- Claude Code changelog — Changed managed PostToolUse hooks so that when a tool can't use a rewrite, Claude gets an error that says so; return the tool's own output shape to keep the rewrite
- Claude Code changelog — [Claude Code on the web] Changed unlinking a GitHub account to no longer turn off members' own scheduled tasks on its repositories; those run under Claude's agent identity are still turned off
- Claude Code changelog — [Claude Code on the web] Changed renaming a cloud run of a scheduled task to rename only that run; before, it could rename the scheduled task too
- Claude Code changelog — [Claude Code on the web] Changed cloud scheduled tasks you set up manually on claude.ai/code without a repository: most new ones are now Claude Code tasks that open there, not Chat tasks
- Claude Code changelog — [Claude Tag] Changed Personal connectors in Claude Tag admin settings from a row with an Edit dialog to a tab of their own under Claude's access
- Claude Code changelog — [Claude Tag] Removed the earlier Claude in Slack app's remaining answers in workspaces not connected to Claude Tag, Pro and Max accounts included; most people now get a notice instead
- Claude Code changelog — Improved the account email check: it now also refuses your git email as a client's identity, and runs with an API key, Bedrock or Google Cloud's Agent Platform; disable the Privacy plugin to stop it
- Claude Code changelog — Improved adding a GitHub event to a cloud scheduled task: Claude now knows the request's fields and events, so fewer attempts fail
- Claude Code changelog — [VSCode] Improved the working line in the new look: it shows the elapsed time and says when Claude is thinking, Claude Code is starting, a slow Stop hook runs or the server is overloaded or silent
- Claude Code changelog — [VSCode] Improved your messages in the new look: deeply nested @-mentioned files show by name, and prompts from plugins, /loop or a scheduled task name their sender
- Claude Code changelog — [VSCode] Improved command answers in the new look: /code-review findings get a row each with a file link, plain confirmations read as notes, and /skill-doctor columns stay lined up
- Claude Code changelog — [VSCode] Improved background work in the new look: a Show output link opens live output and Stop, rows name the command, and monitor events show the line caught
- Claude Code changelog — [Claude Code on the web] Improved scheduled task status: the list can say a cloud task's last run failed, didn't run or needs input, and History can say why a run failed
- Claude Code changelog — [Claude Code on the web] Improved the Allowed domains box in cloud environment settings: it grows to show more of your list instead of scrolling after a few lines
- Claude Code changelog — [Claude Code on the web] Improved revoking a self-hosted session's or runner's token in admin settings: a message now says that the token was revoked
- Claude Code changelog — [Claude Code on the web] Improved the Default environment list in admin settings: environments are grouped under Anthropic-hosted and Self-hosted headings
- Claude Code changelog — [Claude Code on the web] Improved the scheduled task dialog: templates on the Scheduled tasks page usually open it filled in, and the repository usually sits below Trigger, not in Advanced settings
- Claude Code changelog — [Claude Code on the web] Improved scheduled tasks: most cloud runs link back to their task, and a task's page labels a connector that needs connecting or was removed
- Claude Code changelog — [Claude Tag] Improved adding plugins and skills to a Slack channel or workspace in admin settings: Owners and some admins can now search the rest of the organization's library there
- Claude Code changelog — [Code Review] Improved the Repositories table in Code Review settings: it shows the review level for repositories reviewed through their GitHub organization, and opens to repositories you add
- Claude Code changelog — Fixed a plugin's SessionStart hook being skipped in terminal and background sessions when the plugin finished loading after the session started; a mod on that event can now hear it twice
- Claude Code changelog — Fixed plugins enabled through --settings or user settings not loading on the second start of a new machine, including resumed and background sessions
- Claude Code changelog — Fixed needless auto-compaction, or a false "Prompt is too long" error, after a response hit the output token limit before it wrote any text
- Claude Code changelog — Fixed /context drawing the compact buffer as used space when auto-compact is off
- Claude Code changelog — Fixed /compact and auto-compact sometimes keeping the model's draft notes in front of the conversation summary
- Claude Code changelog — Self-hosted runner: Fixed a runner or orchestrator hanging forever on a call that never finishes, and a stopped runner staying alive: each call now ends after 60 seconds by default
- Claude Code changelog — Fixed prompt.attachment hooks not being asked again on resume after their plugin was updated
- Claude Code changelog — Fixed /design-sync refusing to run in a signed-in session after a Claude Code process of this version or later ran on the same machine with an API key
- Claude Code changelog — Fixed /cd not loading the new folder's CLAUDE.md after entering and leaving a worktree
- Claude Code changelog — Fixed claude purge reporting success when the history file is a symlink: it now reports that item as not deleted and says where to remove the prompts
- and 2 more
- December 2, 2026 · ToolsAnthropic's page
- Tools reference — RemoteTrigger · Creates, updates, runs, and lists cloud scheduled tasks, formerly routines, on claude.ai. Backs the /schedule command. Creating, changing, or running a task needs permission on Claude Code v2.1.317 or later. The RemoteTrigg…
- Tools reference — RemoteTrigger · Creates, updates, runs, and lists cloud scheduled tasks, formerly routines, on claude.ai. Backs the /schedule command. The RemoteTrigger input reference documents every action and the organization policies that remove the t…
- Non-UTF-8 files — Claude can still replace such a file with Write, unless the new content contains U+FFFD, the character Read shows Claude in place of bytes it can't decode. That guard stops Claude from writing back the garbled text it read. When Write does…
- December 2, 2026 · SettingsAnthropic's page
- autoCompactEnabled — Have Claude Code compact the conversation automatically when context approaches the auto-compact window. Appears in /config as Auto-compact, and toggling it there writes this key to your user settings.
- autoCompactEnabled — true: Claude Code compacts the conversation automatically when context approaches the auto-compact window
- autoCompactWindow — Default: unset, so Claude Code picks a window tuned for your model
- Variables Claude Code ignores in env — CLAUDE_CODE_ATTRIBUTION_PROJECT, which Claude Code reads from the launch environment only, is ignored from every file; requires Claude Code v2.1.305 or later. To name a Project in a settings file, use attributionProject.
- attributionProject — For a project on the new version, use the ID that starts with chan_ after /project/, stopping at any question mark. Requires Claude Code v2.1.318 or later.
- attributionProject — For a Project at https://claude.ai/project/4b1d7e2a-9c3f-4e8a-b6d1-2f5a7c9e0b13, add this to ~/.claude/settings.json to use it for your own sessions by default:
- attributionProject — json ~/.claude/settings.json theme={null}
- attributionProject — This session names claude.ai Project 4b1d7e2a-9c3f-4e8a-b6d1-2f5a7c9e0b13 for usage reports (~/.claude/settings.json)
- attributionProject — To use the key from a repository's own settings files, trust the repository's folder, or a folder above it whose trust covers it. claude -p and SDK runs read this key from a repository's files only if that trust is already in place, direct…
- Usage through a Claude apps gateway — The gateway gets the value even when CLAUDE_CODE_ATTRIBUTION_HEADER is 0, and removes it before forwarding the request. In a gateway session, Claude Code skips the Project ID check.
- Which source sets the Project — The highest-precedence settings file that sets attributionProject. If that value isn't a valid Project ID, Claude Code skips the lower files and goes to the organization default.
- Fix startup line problems in an interactive session — The line starts with No claude.ai Project for usage reports: the value it names isn't a Project UUID or Project ID. Copy the ID from the Project's address again, the part after /project/ and before any question mark. If the line says to as…
- Fix startup line problems in an interactive session — No line appears: the session can't send a Project, or nothing names one. Check your Claude Code version and the requirements for sending the Project, then check that one of the sources holds a value that isn't empty.
- attributionProjectPolicy — Scope: Managed. Claude Code ignores the key in user, project, and local settings and in --settings, with a warning. On Windows it also ignores the key, with a warning, in the user-writable HKCU registry.
- wslInheritsWindowsSettings — json managed-settings.json theme={null}
- autoCompactEnabled — Have Claude Code compact the conversation automatically when context approaches the limit. Appears in /config as Auto-compact, and toggling it there writes this key to your user settings.
- autoCompactEnabled — true: Claude Code compacts the conversation automatically when context approaches the limit
- December 2, 2026 · SkillsAnthropic's page
- Run your checks before each commit — Location: the skill, or a .claude/commands/ file with the same name, loads from the enterprise, personal, or project location. Bundled skills, plugin skills, and skills from your claude.ai account don't count.
- Frontmatter reference — disallowed-tools · No · Tools removed from Claude's available pool while this skill is active, such as the AskUserQuestion tool for a background loop. Accepts a space- or comma-separated string, or a YAML list. In the main conversation, th…
- Pre-approve tools for a skill — To remove tools from Claude's available pool while a skill is active, list them in the skill's disallowed-tools field. In the main conversation, the restriction clears when you send a message after the turn that invokes the skill ends. Lik…
- Example: Research skill using Explore agent — This skill runs research in a forked Explore agent. The skill content becomes the task, and the agent provides tools optimized for codebase exploration:
- Run your checks before each commit — Location: the skill loads from the enterprise, personal, project, or additional-directory location, or from a .claude/commands/ file with that name. The recipe that /verify records at your repo root is a project skill, so it counts. The bu…
- Frontmatter reference — disallowed-tools · No · Tools removed from Claude's available pool while this skill is active. Use for autonomous skills that should never call certain tools, such as AskUserQuestion for a background loop. Accepts a space- or comma-separat…
- Pre-approve tools for a skill — To remove tools from Claude's available pool while a skill is active, list them in disallowed-tools in the skill's frontmatter. The restriction clears when you send your next message. Like deny rules, the field can't remove EndConversation…
- Example: Research skill using Explore agent — This skill runs research in a forked Explore agent. The skill content becomes the task, and the agent provides read-only tools optimized for codebase exploration:
- December 2, 2026 · HooksAnthropic's page
- Common fields — timeout · no · Seconds before canceling. Claude Code doesn't enforce it on a command hook you run with async: true. Defaults: 600 for command, http, and mcp_tool; 30 for prompt; 60 for agent. Claude Code lowers the default to 30 on UserPro…
- UserPromptSubmit — UserPromptSubmit hooks have a default timeout of 30 seconds. Because this hook runs before every prompt and blocks model processing until it completes, a stuck hook stalls the session. If your hook needs more time, set the timeout field in…
- Response schema — ok · For true, Claude Code handles the action as it would without this hook, so permission prompts still apply. For false, see the per-event behavior below
- Agent hook configuration — Set type to "agent" and provide a prompt string, using $ARGUMENTS as a placeholder for the hook input JSON. The configuration fields are the same as prompt hooks, except that agent hooks have their own default timeout and no continueOnBloc…
- Agent hook configuration — The response schema is { "ok": false, "reason": "..." } to block the action and { "ok": true } otherwise. On ok: false, Claude Code handles an agent hook the way it handles a prompt hook with continueOnBlock: true on the same event.
- Common fields — timeout · no · Seconds before canceling. Claude Code doesn't enforce it on a command hook you run with async: true. Defaults: 600 for command, http, and mcp_tool; 30 for prompt; 60 for agent. Claude Code lowers the command, http, and mcp_t…
- UserPromptSubmit — UserPromptSubmit hooks have a default timeout of 30 seconds for command, http, and mcp_tool types, shorter than the 600-second default for those types on most other events. Because this hook runs before every prompt and blocks model proces…
- Response schema — ok · For true, the action passes this hook and permission prompts still apply. For false, see the per-event behavior below
- Agent hook configuration — Set type to "agent" and provide a prompt string, using $ARGUMENTS as a placeholder for the hook input JSON. The configuration fields are the same as prompt hooks, except that agent hooks have a longer default timeout of 60 seconds and no c…
- Agent hook configuration — The response schema is { "ok": true } to pass the action or { "ok": false, "reason": "..." } to block it. On ok: false, Claude Code handles an agent hook the way it handles a prompt hook with continueOnBlock: true on the same event.
Tuesday · December 1, 2026
- December 1, 2026 · ChangelogAnthropic's page
- New release 2.1.333, date not given
- Claude Code changelog — Added the ability for Claude to stop one running agent of a workflow while the others continue
- Claude Code changelog — Added CLAUDE_CODE_DISABLE_POWERSHELL_PARSER_OVERLAP=1 to stop a slow PowerShell parser before its retry starts, so the two don't run together
- Claude Code changelog — Added a Built-in tab to /plugin that lists built-in plugins by group with plain names, and shows the ones your organization's settings lock on or off
- Claude Code changelog — Added lasts: "transcript" to $.state.set, so a mod's value comes back on resume and fork, follows a rewind and survives compaction
- Claude Code changelog — Added $.session.messages({ id }) for mods to read the running session's rows since its last compaction, each with a handle
- Claude Code changelog — Added a session.load event for /resume, /clear, /branch and /rewind that a mod can veto; hooks on * or session.* now hear it
- Claude Code changelog — Added a session.state event for mods (busy, waiting, idle), with state on $.session.info(); existing * and session.* hooks start hearing it
- Claude Code changelog — Added the ui.key mod event: in the terminal, a hook that names it can pass on or take a key pressed at the prompt, in a pane or above the prompt, or swap it for an editing or moving action
- Claude Code changelog — Added compare-and-set for files in mods: $.fs.stat returns a version, and $.fs.write and $.fs.remove accept ifVersion
- Claude Code changelog — Added $.fs.remove, $.fs.rename, $.fs.copy and byte writes on $.fs.write for mods
- Claude Code changelog — Added compare-and-set to a mod's $.store: read a key with its version, then set or delete with ifVersion to act only while the key stands at that version
- Claude Code changelog — Added place, key and priority options to $.ui.toast, so a mod can keep, replace and remove one line on the notification bar
- Claude Code changelog — Added agentId and tool_use_id to next.origin on a mod noun's events, so a hook can tell which subagent or tool call asked
- Claude Code changelog — Changed --allowedTools and --tools to stop the launch on some lists given as several values; put the list in one value, such as --allowedTools "Read,Edit,Write"
- Claude Code changelog — Changed compaction so that uploaded files, downloads and saved tool results are no longer re-attached afterwards; Claude can read them again when it needs them
- Claude Code changelog — Self-hosted runner: Changed a SessionEnd hook that passes its time limit on some Linux hosts to also end background programs it started; finish in time, or use the post-session hook
- Claude Code changelog — Changed what /compact prints to reach session.append by door compaction; this breaks mods that match /compact's output on door command
- Claude Code changelog — Changed prompt.attachment hooks so a resume reuses a hook's rewrite or leave-out of an attachment without asking again, unless a new mod hooks it or $.ui.invalidate('prompt.attachment') is called
- Claude Code changelog — Improved how long Bash commands wait for the Bash edit diff in very large git repositories; after 8 failed tries with no quick success it stops trying there for the session
- Claude Code changelog — Improved memory use in terminal sessions, in sessions that load a mod, and in /usage on machines with many recent sessions
- Claude Code changelog — Improved showing very long diffs in screen reader mode and with syntax highlighting off, which could freeze for seconds and use a lot of memory
- Claude Code changelog — Windows: Improved the wait before a PowerShell command runs on slow machines, and how fast most command hooks start under Git Bash
- Claude Code changelog — Improved input responsiveness during tool calls in long sessions with many hooks configured
- Claude Code changelog — Improved recovery when the API refuses images for their size and lists them: only those images are removed, and they stay removed on later turns
- Claude Code changelog — Improved speed with mods loaded: a hook whose matcher doesn't match no longer slows down the calls, rows and requests it doesn't apply to
- Claude Code changelog — Improved typing speed with mods loaded: a prompt.edit or prompt.autocomplete hook whose matcher doesn't match no longer slows down the keys it doesn't apply to
- Claude Code changelog — Improved type-check speed for mods with many tool.call matchers, in claude plugin validate and in editors
- Claude Code changelog — Improved claude plugin validate: it now lists mods whose ui.key hook may take Enter in the prompt box
- Claude Code changelog — [VSCode] Improved typing speed in the Slash commands filter when many skills and commands are installed
- Claude Code changelog — [VSCode] Improved speed and memory use: a session reopened in a git repository answers sooner, typing and selecting stay smooth with several chats open, and closed diffs are freed
- Claude Code changelog — [VSCode] Improved memory use when restoring very long sessions with many compactions, which could run the extension host out of memory
- Claude Code changelog — Fixed memory growing by gigabytes and CPU staying at 100% on Linux while a build or other command creates and removes many files in the repository
- Claude Code changelog — Fixed an asyncRewake hook that keeps exiting quickly with code 2 waking Claude in an endless loop; wakes now stop after 8 in a row (CLAUDE_CODE_STOP_HOOK_BLOCK_CAP changes it)
- Claude Code changelog — Fixed a stopped reply sometimes running again when a remote session restarted with a background notice queued after the Stop, and Claude not seeing a message you stopped during a restart
- Claude Code changelog — Fixed subagents reporting the main conversation's effort level to hooks and shell commands after a model fallback
- Claude Code changelog — Fixed an awsAuthRefresh or gcpAuthRefresh login that was stopped at its time limit, on cancel or at exit sometimes being treated as a completed sign-in
- Claude Code changelog — Fixed SessionEnd hooks of plugins loaded from a zip file failing at exit with "Plugin directory does not exist"
- Claude Code changelog — Fixed plugin marketplace adds and updates failing, removing the marketplace or leaving it incomplete when two sessions download it at once
- Claude Code changelog — Remote Control: Fixed high CPU use when the event stream kept rejecting fresh credentials, and a Stop from another device applying a second time after a running session reconnected
- and 2 more
- December 1, 2026 · ToolsAnthropic's page
- Configure tools with permission rules and hooks — To match all uses of another tool, such as ExitPlanMode or ShareOnboardingGuide, write its name without parentheses. For narrower deny and ask rules, see Match by input parameter. For a hook's if condition, see which tools accept a pattern.
- Configure tools with permission rules and hooks — in a hook's if condition
- December 1, 2026 · SkillsAnthropic's page
- Resolve skills that share a name — Any of those locations and a bundled skill · Your skill, unless Claude Code reserves the name. A project doctor skill replaces /doctor, and the alias /checkup still runs the bundled skill. To confirm yours loaded in a local terminal sessio…
- Available string substitutions — allowed-tools: Bash("${CLAUDE_SKILL_DIR}/scripts/render.sh" *)
- Available string substitutions — Run "${CLAUDE_SKILL_DIR}/scripts/render.sh" <csv-file> to render the chart.
- Resolve skills that share a name — Any of those locations and a bundled skill with a name other than ship, ship-local, or steward · Your skill replaces the bundled command, but not its aliases. A project code-review skill replaces /code-review, and the bundled alias /review…
- Available string substitutions — allowed-tools: Bash(${CLAUDE_SKILL_DIR}/scripts/render.sh *)
- Available string substitutions — Run ${CLAUDE_SKILL_DIR}/scripts/render.sh <csv-file> to render the chart.
- Generate visual output — Skills can bundle and run scripts in any language, giving Claude capabilities beyond what's possible in a single prompt. One pattern is generating visual output: interactive HTML files that open in your browser for exploring data, debuggin…
- Generate visual output — Create the Skill directory:
- Generate visual output — mkdir -p ~/.claude/skills/codebase-visualizer/scripts
- Generate visual output — Save this to ~/.claude/skills/codebase-visualizer/SKILL.md. The description tells Claude when to activate this Skill, and the instructions tell Claude to run the bundled script. The script path uses ${CLAUDE_SKILL_DIR} so it resolves corre…
- Usage — python3 ${CLAUDE_SKILL_DIR}/scripts/visualize.py .
- What the visualization shows — Save this to ~/.claude/skills/codebase-visualizer/scripts/visualize.py. This script scans a directory tree and generates a self-contained HTML file with:
- December 1, 2026 · MemoryAnthropic's page
- Share one file with other coding tools — When Claude isn't reading your AGENTS.md directly, you can still keep it as the one file every tool shares by putting an @AGENTS.md import in a CLAUDE.md next to it. Do this when your project also has a CLAUDE.md, when you've set Project i…
- Share one file with other coding tools — When Claude isn't reading your AGENTS.md directly, you can still keep it as the one file every tool shares by putting an @AGENTS.md import in a CLAUDE.md next to it. Do this when your project also has a CLAUDE.md, when you've set Project i…
- December 1, 2026 · HooksAnthropic's page
- Common fields — if · no · Permission rule syntax to filter when this hook runs, such as "Bash(git *)" or "Edit(*.ts)". See which tools accept a pattern. See the Bash matching table for how Bash patterns evaluate against subcommands, $(), and backticks. On…
- Response schema — ok · For true, the action passes this hook and permission prompts still apply. For false, see the per-event behavior below
- How agent hooks work — If ok is false, Claude Code handles the block as it does for a prompt hook with continueOnBlock: true on that event, as listed under Response schema
- Agent hook configuration — The response schema is { "ok": true } to pass the action or { "ok": false, "reason": "..." } to block it. On ok: false, Claude Code handles an agent hook the way it handles a prompt hook with continueOnBlock: true on the same event.
- Common fields — if · no · Permission rule syntax to filter when this hook runs, such as "Bash(git *)" or "Edit(*.ts)". The hook command only runs if the tool call matches the pattern. See the Bash matching table for how Bash patterns evaluate against subc…
- How agent hooks work — Claude Code allows the action if ok is true. If ok is false, Claude Code handles the block the same way as a prompt hook with continueOnBlock: true on that event, as listed under Response schema
- Agent hook configuration — The response schema is { "ok": true } to allow or { "ok": false, "reason": "..." } to block. On ok: false, Claude Code handles an agent hook the way it handles a prompt hook with continueOnBlock: true on the same event; agent hooks have no…
- December 1, 2026 · Docs indexAnthropic's page
- Mods — Mods reference: Complete reference for Claude Code mods: hooks module layout, events, mods API methods, render sites, elements by surface, limits, and settings.
Monday · November 30, 2026
- November 30, 2026 · Scheduled tasksAnthropic's page
- Create a scheduled task — Model: when Only on this computer is on and your account can use a model your organization set in managed settings, the menu button shows Default and that model's name. For example, if your organization set Sonnet 4.6, you see Default · So…
- Create a scheduled task — If you then keep Default, Desktop starts runs with your organization's model. A catch-up run that starts as the app opens can use the runtime default for your account instead.
- Create a scheduled task — Model: if the model menu reads Default · Set by admin and you don't pick another model, runs use the model your organization set in managed settings. A catch-up run that starts as the app opens can use the runtime default for your account…
- November 30, 2026 · SettingsAnthropic's page
- disableRemotePreviewScripts — The desktop app reads this key; the terminal CLI ignores it. Requires Claude Desktop v5.1231.0 or later for the Browser pane, and v7.37095.0 or later for the file pane. To stop scripts in the Browser pane's HTML previews on versions before…
- disableRemotePreviewScripts — The desktop app reads this key; the terminal CLI ignores it. Requires Claude Desktop v5.1231.0 or later. Earlier versions ignore the key: to stop the scripts there, also set disableBrowserExternalNavigation, which turns off external browsi…
Sunday · November 29, 2026
- November 29, 2026 · Scheduled tasksAnthropic's page
- How scheduled tasks run — If a task's model requires usage credits on your plan, Desktop can skip its runs, including Run now. To run the task again, open its detail page, then switch the model or choose to continue with usage credits.
- Manage scheduled tasks — Status: toggle between Active and Paused to pause or resume scheduled runs
- Manage scheduled tasks — Status: toggle between Active and Paused to pause or resume scheduled runs without deleting the task
- November 29, 2026 · SettingsAnthropic's page
- maxEffortLevel — Scope: Any file. Deploy it in managed settings to enforce it for an organization. When several scopes set a cap, the lowest applies
- fileCheckpointingEnabled — Have Claude Code snapshot the files Claude edits so /rewind can restore them. Appears in /config as Rewind code (checkpoints), and toggling it there writes this key to your user settings.
- terminalTitleFromRename — Claude Code sets your terminal tab's title. By default it uses a title it generates from the conversation, and once you give the session a name with /rename or --name, the tab shows that name instead. Set this key to false to keep the gene…
- forceRemoteSettingsRefresh — When the key is unset, Claude Code doesn't block startup on the fetch, though when the developer signs in at startup it waits up to five seconds for the fetch. On a saved Team or Enterprise claude.ai login, Anthropic usually requires the s…
- maxEffortLevel — Scope: Any file. Deploy it in managed settings to enforce it for an organization. When several scopes set a cap, the lowest applies, so a cap set in one scope can't be raised from another
- fileCheckpointingEnabled — Have Claude Code snapshot files before each edit so /rewind can restore them. Appears in /config as Rewind code (checkpoints), and toggling it there writes this key to your user settings.
- terminalTitleFromRename — Claude Code sets your terminal tab's title. By default it uses a title it generates from the conversation, and once you give the session a name with /rename or --name, the tab shows that name instead. Set this key to false to keep the gene…
- forceRemoteSettingsRefresh — When the key is unset, Claude Code doesn't block startup on the fetch, though when the developer signs in at startup it waits up to five seconds for the fetch. Anthropic can require the settings, which does block a start without them. A Cl…
- November 29, 2026 · SkillsAnthropic's page
- Where synced skills load — To sync without CLAUDE_CODE_SYNC_SKILLS, a terminal session must fetch feature flags and have a claude.ai /login. That automatic sync is off when a profile or federation credential ranks above your login or you set ANTHROPIC_AUTH_TOKEN, CL…
- Frontmatter reference — model · No · Model for the turn when you run this skill with /name. Accepts /model values, or inherit for the active model. When Claude runs the skill, the session keeps its model. The same can happen in plan mode, in auto mode, or under m…
- Characters a skill name can't hold — Folder in a plugin's skills/ directory or its manifest's skills paths: these characters become hyphens in the skill's command name, so type the command with the hyphens.
- Frontmatter reference — model · No · Model for the turn when you run this skill with /name. Accepts /model values, or inherit for the active model. When Claude runs the skill, the session keeps its model. The same happens when your organization blocks the value,…
- Characters a skill name can't hold — Folder in a plugin's skills/ directory or its manifest's skills paths: you don't need to rename the folder. These characters become hyphens in the skill's command name, so type the command with the hyphens.
- November 29, 2026 · HooksAnthropic's page
- HTTP hook fields — "url": "https://hooks.example.com/pre-tool-use",
- Exit code output — Stop, SubagentStop, TaskCompleted, TeammateIdle, and a plugin's UserPromptSubmit hook: when stdout is blank and stderr contains No such file or can't open in any letter case, Claude Code assumes a missing script, so exit 2 is a non-blockin…
- Reload skills that a hook installs — This example syncs a repository that has one SKILL.md at its root, then requests the re-scan:
- Reload skills that a hook installs — The repository URL is a placeholder. Replace it with your skill repository's HTTPS or SSH URL. With protocol.file.allow=never in the command, you can't clone from a folder path.
- HTTP hook fields — "url": "http://localhost:8080/hooks/pre-tool-use",
- Exit code output — Stop, SubagentStop, TaskCompleted, and a plugin's UserPromptSubmit hook: when your hook exits 2 with nothing on stdout and its stderr says a file is missing, such as No such file or directory, Claude Code treats the run as a non-blocking e…
- Reload skills that a hook installs — This example syncs a shared skills repository and requests the re-scan:
- Reload skills that a hook installs — The repository URL is a placeholder. Replace it with your skills repository's HTTPS or SSH URL. With protocol.file.allow=never in the command, you can't clone from a folder path.
Saturday · November 28, 2026
- November 28, 2026 · SettingsAnthropic's page
- disableDesktopLocalSessions — Scope: Managed. If you deliver server-managed settings, set it there and on each computer. Otherwise, the desktop app reads the key from one managed source by default.
- sshHostAllowlist — Scope: Managed. If you deliver server-managed settings, set the same list there and on each computer: see Which SSH host allowlists apply. Without server-managed settings, Desktop reads the key from one managed source by default. Desktop d…
- sshHostAllowlist — If you set managedSourcesBehavior to "merge" in your highest-ranked source, Desktop combines the lists from every admin source and can allow a host that matches only one of them. If you set an empty array in one source, SSH sessions can st…
- Keys that only Claude Desktop uses — Claude Desktop reads the keys that only it uses, such as sshHostAllowlist and disableDesktopLocalSessions, without running the helper, so it treats a key that only the helper emits as unset. Set those keys in the MDM policy or managed sett…
- disableDesktopLocalSessions — Scope: Managed. By default, the desktop app reads the key from one managed source.
- sshHostAllowlist — Scope: Managed. By default, Desktop reads the key from one managed source.
- sshHostAllowlist — If you set managedSourcesBehavior to "merge" in your highest-ranked source, Desktop combines the lists from every admin source and allows a host that matches any of them. If you set an empty array in one source, SSH sessions stay on for th…
Wednesday · November 25, 2026
- November 25, 2026 · ChangelogAnthropic's page
- New release 2.1.332, date not given
- Claude Code changelog — Added skills from MCP servers (beta). They show as server:skill in the / menu; other skills keep their names
- Claude Code changelog — Added a PreSkillShellCommand hook event that can refuse a skill or command's inline shell commands as it loads; on 2.1.331 and older, a settings file naming it opens a dialog at start
- Claude Code changelog — Added a warning in VS Code and Desktop's Code tab when part of a session couldn't be saved, saying how to save it with /compact
- Claude Code changelog — [VSCode] Added a notification in more cases when closing a proposed diff leaves the edit unapplied, and stopped the diff notifications on a split copy of an answered diff
- Claude Code changelog — [VSCode] Added a warning when restoring a conversation with /rewind in the side bar stops a self-paced /loop
- Claude Code changelog — [VSCode] Added the installed version to the rows of Manage plugins
- Claude Code changelog — Changed terminal and VS Code sessions moved to Sonnet 5 or 5.5 on Bedrock Mantle, Agent Platform and Foundry to start in auto mode if no mode is set; set disableAutoMode to "disable" to stop it
- Claude Code changelog — Changed --model default and a Default pick to move to an older model when that model isn't available, instead of stopping with an error; in auto mode, only to a model auto mode accepts
- Claude Code changelog — Changed Microsoft Foundry: Claude Sonnet 4, Opus 4 and Opus 4.1 now count as retired, so step-downs stop above them and a pin to one warns that it was retired
- Claude Code changelog — Changed computer-use to a reserved skill name on Macs with computer use on: your own skill or command of that name stops loading, and a start-up notice says to rename it
- Claude Code changelog — Changed Claude Desktop's Code tab on Anthropic's API to ignore default, side-request, alias and subagent model ids not starting with claude in your own settings beside a gateway address
- Claude Code changelog — Changed Claude Desktop's Code tab on Anthropic's API to ignore a CLAUDE_CODE_AUTO_COMPACT_WINDOW under 200K in your own settings beside a gateway address; use /autocompact instead
- Claude Code changelog — Changed tap-mode voice dictation to stop when you send the prompt, and to stop and say why when you edit it, a panel covers it, or the connection or a separate recorder program is lost
- Claude Code changelog — Changed /schedule, permission prompts and /loop's cloud offer to say "cloud scheduled task" instead of "routine" or "cloud schedule"; /routines still works
- Claude Code changelog — Changed the hint a mod's PromptHint hook receives to leave out the hint for selected text when the fullscreen footer has a label on its right
- Claude Code changelog — [VSCode] Changed voice dictation to stop by itself after 60 seconds without recognized speech or 10 minutes, up from 15 seconds and 2 minutes, so the microphone can stay on longer
- Claude Code changelog — [VSCode] Changed voice dictation to stop, and say why, when the microphone stops sending audio or the panel stays hidden
- Claude Code changelog — Improved peak memory use and speed of /usage on machines with many recent sessions
- Claude Code changelog — Improved recovery for long conversations behind a proxy or gateway with a request size limit, where every message and /compact failed with a 413
- Claude Code changelog — Improved Glob speed in large local folders on Windows machines with 6 or more CPUs: folders are walked in parallel, and a search stopped at its time limit now lists what it found
- Claude Code changelog — Improved memory use when resuming a long conversation
- Claude Code changelog — Improved memory use at startup with MCP servers that list many tools
- Claude Code changelog — Improved memory use of claude -p and SDK-hosted sessions at the start of a conversation
- Claude Code changelog — Fixed Read, @-mentions and compaction hanging on a named pipe that nothing writes to, such as a .env mounted by a locked secrets manager; the read now fails after 20 seconds
- Claude Code changelog — Fixed turns ending in "Prompt is too long" after repeated auto-compaction failures when one more compaction at the context limit could have kept them going
- Claude Code changelog — Fixed compaction failing when a summary kept running past the output limit: after three cut-off replies, the last try now asks for a shorter summary
- Claude Code changelog — Fixed a freeze when a permission rule or hook condition with several wildcards was checked against a long command
- Claude Code changelog — Fixed freezes and runaway memory use in most cases while a hook prints output without end
- Claude Code changelog — Fixed a freeze and context overflow when a hook blocks or fails during a turn, or after /compact, with a very large log; text over about 50,000 characters is now shortened
- Claude Code changelog — Fixed CLAUDE.md and rules files being sent to the model a second time, in most cases, after a session moves into a worktree under .claude/worktrees with EnterWorktree or is resumed there
- Claude Code changelog — Fixed a family name such as sonnet in --fallback-model being dropped when availableModels allows only an older version of it
- Claude Code changelog — Fixed Foundry sessions leaving a model family when an admin's list blocks the version sonnet, opus or haiku points to: they now use its newest allowed version under a built-in or mapped name
- Claude Code changelog — Fixed Ctrl+C at the prompt starting a new turn, and a double Ctrl+C not exiting, when a background agent it stopped had an unread subagent report
- Claude Code changelog — Fixed Esc not stopping computer use between actions on macOS when Claude Code's window or an app you allowed is in front; an Esc meant for that app's popup now stops computer use instead
- Claude Code changelog — Fixed a PreToolUse hook's reason for asking not showing on terminal Read, Grep, Glob, Edit and Write prompts (anthropics/claude-code#102892, anthropics/claude-code#105343)
- Claude Code changelog — Fixed idle compaction being skipped for subscribers still well under their weekly limit
- Claude Code changelog — Self-hosted runner: Fixed --configure-git sometimes reporting a hung git --version as a git that isn't on PATH
- Claude Code changelog — Fixed Code Mode leaving a message unanswered when it was typed during a command and Esc was pressed before Claude replied; the message now starts a new turn, which a second Esc stops
- Claude Code changelog — Fixed Code Mode sometimes waiting for minutes on a command that had already been stopped
- and 2 more
- November 25, 2026 · SettingsAnthropic's page
- fileCheckpointingEnabled — In a -p run or an Agent SDK session, Claude Code ignores this key unless your organization's managed settings set it to false, and then checkpointing stays off. That exception requires Claude Code v2.1.331 or later. Without that false, tur…
- November 25, 2026 · SkillsAnthropic's page
- Permission checks on injected commands — PreToolUse hooks don't fire for injected commands that run as the skill loads. To log or block the ones that pass the permission check, use a PreSkillShellCommand hook.
- November 25, 2026 · HooksAnthropic's page
- Hook lifecycle — !Hook lifecycle diagram showing optional Setup feeding into SessionStart, then a per-turn loop containing UserPromptSubmit, UserPromptExpansion for slash commands, the nested agentic loop (PreToolUse, PermissionRequest, PostToolUse, PostTo…
- Hook lifecycle — PreSkillShellCommand · Before a skill's injected shell command runs. Can block the command
- Matcher patterns — PreSkillShellCommand · tool that runs the command · Bash, PowerShell
- Common fields — if · no · Permission rule syntax to filter when this hook runs, such as "Bash(git *)" or "Edit(*.ts)". The hook command only runs if the tool call matches the pattern. See the Bash matching table for how Bash patterns evaluate against subc…
- Block the action when a hook fails — > On Windows without Git Bash, a shell-form PreToolUse, PermissionRequest, or PreSkillShellCommand command hook that fails with onFailure unset can instead block the action.
- Block the action when a hook fails — This PreToolUse hook in .claude/settings.json runs a project script before each Bash tool call, and blocks the command if the script fails:
- Failed hooks on Windows without Git Bash — If the error for a blocked tool call or injected command includes this text, a command hook on PreToolUse, PermissionRequest, or PreSkillShellCommand failed or timed out and blocked it:
- Exit code 2 behavior per event — PreSkillShellCommand · Yes · Blocks the command, and the skill loads without its output
- Decision control — PreSkillShellCommand · hookSpecificOutput or top-level decision · permissionDecision, permissionDecisionReason. The hook can only block
- UserPromptExpansion decision control — ### PreSkillShellCommand
- PreSkillShellCommand — Runs before an injected command, a shell command that runs while a skill or a command such as /security-review loads. PreToolUse hooks don't fire for injected commands. To log or block them with a script you already run on PreToolUse, add…
- PreSkillShellCommand — Requires Claude Code v2.1.332 or later, including in the desktop app and VS Code extension. Update before you add the hook, because earlier versions run injected commands without calling it. If you add it to a settings file first, an earli…
- PreSkillShellCommand — For a hook that has to block commands, set the matcher, type, location, and failure handling this way:
- PreSkillShellCommand — Matcher: use Bash|PowerShell to cover both tools that run injected commands.
- PreSkillShellCommand — Type: use a command, http, or mcp_tool hook that isn't async, because an async hook can't block. If you configure a prompt or agent hook on this event, Claude Code can't run it and blocks each command the hook matches.
- PreSkillShellCommand — Location: define the hook in a settings file, such as managed settings, or in a plugin. A skill's injected commands run without the hooks in its own frontmatter on its first load in a session and on loads inside a subagent. A forked skill'…
- PreSkillShellCommand — Failures: set onFailure: "block" so the command doesn't run when the hook fails or times out.
- PreSkillShellCommand — You can reuse the blocking script from How a hook resolves.
- PreSkillShellCommand — On macOS and Linux, this entry in .claude/settings.json runs the script in exec form:
- PreSkillShellCommand — "PreSkillShellCommand": [
- PreSkillShellCommand — "matcher": "Bash|PowerShell",
- PreSkillShellCommand — { "type": "command", "command": "${CLAUDE_PROJECT_DIR}/.claude/hooks/block-rm.sh", "args": [], "onFailure": "block" }
- PreSkillShellCommand — On Windows, replace command and args in this entry with the ones in the Windows tab of How a hook resolves.
- PreSkillShellCommand — To test this example on macOS or Linux, create .claude/skills/hook-test/SKILL.md with the single line !echo 'rm -rf' . This read-only command needs no approval and deletes nothing. Start a session in your terminal and type /hook-test. You…
- PreSkillShellCommand — #### Commands that reach a PreSkillShellCommand hook
- Commands that reach a PreSkillShellCommand hook — Your script runs after the permission check on injected commands, so it gets the commands that passed. It also runs in bypassPermissions mode.
- Commands that reach a PreSkillShellCommand hook — In auto mode, a command that would otherwise need approval doesn't run while the skill loads. Claude can run it afterward as a tool call, which fires PreToolUse and not this event, so keep your script on both events.
- Commands that reach a PreSkillShellCommand hook — #### PreSkillShellCommand input
- PreSkillShellCommand input — In addition to the common input fields, which include permission_mode, PreSkillShellCommand hooks receive the fields in this table:
- PreSkillShellCommand input — command_name · Name of the skill or command that is loading, such as pr-summary, or my-plugin:deploy for a plugin's skill
- PreSkillShellCommand input — command_source · Where the skill or command comes from, such as userSettings, projectSettings, policySettings, plugin, or builtin
- PreSkillShellCommand input — invoked_by · "user" when you typed the skill's name or an Agent SDK app sent it, or "claude" when Claude or a session-scoped scheduled task invoked the skill. "other" for anything else, such as a subagent that preloads the skill.
- PreSkillShellCommand input — #### PreSkillShellCommand decision control
- PreSkillShellCommand decision control — To block an injected command, have your script exit 2 or return permissionDecision: "deny", and the skill loads without running that command. You can block a command from this hook, but you can't approve or change one.
- PreSkillShellCommand decision control — For a JSON response, use the PreToolUse format. To use one script on both events, leave hookEventName as PreToolUse. For a script you run only on this event, you can set hookEventName to PreSkillShellCommand.
- PreSkillShellCommand decision control — Hook outcome · What happens
- PreSkillShellCommand decision control — Exit 0 with no decision, or permissionDecision: "allow" · The command runs unless another hook blocks it
- PreSkillShellCommand decision control — Exit 2, permissionDecision: "deny", or top-level decision: "block" · The command doesn't run. The skill still loads, and Claude reads [not run: blocked by hook: <reason>] in place of the command's output.
- PreSkillShellCommand decision control — permissionDecision: "ask" or "defer", or any updatedInput · Claude Code blocks the command the same way as "deny"
- PreSkillShellCommand decision control — continue: false · Invoking the skill fails with Operation stopped by hook: <stopReason>. None of its injected commands runs, because Claude Code collects your hooks' answers before it runs the first one.
- and 1 more
Tuesday · November 24, 2026
- November 24, 2026 · ToolsAnthropic's page
- Tools reference — Skill · Executes a skill within the main conversation. Can prompt for skills that set allowed-tools, disallowed-tools, or hooks, and for skills from MCP servers · Some skills
- What persists between commands — In the main session, Claude's cd carries over to later Bash commands only from a foreground command that exits 0. The command must also end inside the project directory or an additional working directory, such as one you added with --add-d…
- Working directory and variables in PowerShell commands — PowerShell commands receive the variables hooks persist through CLAUDE_ENV_FILE, under the conditions in Persisted variables in PowerShell commands. Requires Claude Code v2.1.296 or later.
- Block a site or turn WebFetch off — To apply a WebFetch rule to your organization, put it in managed settings.
- Find out why WebFetch is unavailable — If /status shows neither, look for WebFetch under deny in a settings file, or for CLAUDE_CODE_DISABLE_WEB_FETCH set to 1. To turn WebFetch back on, remove the rule, or unset the variable and start a new session. Ask your administrator to r…
- Tools reference — Skill · Executes a skill within the main conversation. Can prompt for skills that set allowed-tools, disallowed-tools, or hooks · Some skills
- What persists between commands — When Claude runs cd in the main session, the new working directory carries over to later Bash commands as long as it stays inside the project directory or an additional working directory you added with --add-dir, /add-dir, or additionalDir…
- Shell selection in settings, hooks, and skills — PowerShell commands also receive the variables hooks persist through CLAUDE_ENV_FILE, under the conditions in Persisted variables in PowerShell commands. Requires Claude Code v2.1.296 or later.
- Block a site or turn WebFetch off — Do any of these for your organization · Put the rule in managed settings
- November 24, 2026 · SettingsAnthropic's page
- Settings index — disableDirectMcpSkills · Turn skills from MCP servers other than connectors on or off for your organization · MCP · Managed
- strictPluginOnlyCustomization.skills — With the lock on, skills from MCP servers that users, projects, and --mcp-config add don't load. Skills from claude.ai connectors still load.
- deniedMcpServers — ### disableDirectMcpSkills
- disableDirectMcpSkills — Turn skills from MCP servers on or off for your organization. This key covers every server except claude.ai connectors. For connectors, an Owner uses the Skills over MCP switch in Organization settings > Connectors instead. Skills from MCP…
- disableDirectMcpSkills — Scope: Managed. If you use several managed sources, set false in the highest-ranked one. Claude Code ignores a false in the Windows HKCU registry
- disableDirectMcpSkills — true: Claude Code doesn't list or load skills from these servers. The servers keep their tools, and claude.ai connectors keep their skills
- disableDirectMcpSkills — false: on Team and Enterprise plans, allows these skills. They stay off for servers you lock out with strictPluginOnlyCustomization, and if your organization isn't eligible. On other plans, false is the same as unset
- disableDirectMcpSkills — Default: unset. These skills are off for Team and Enterprise members who sign in to claude.ai with /login. For other sign-ins, see MCP skill availability
- disableDirectMcpSkills — This example allows these skills for Team and Enterprise members:
- disableDirectMcpSkills — "disableDirectMcpSkills": false
- disableDirectMcpSkills — If any admin source sets true, the skills stay off.
- disableDirectMcpSkills — Anthropic doesn't scan these skills. They can contain instructions or code that cause Claude to take unintended actions, including through prompt injection. Set this to false only if you trust the servers your members add.
- wslInheritsWindowsSettings — json managed-settings.json theme={null}
- November 24, 2026 · SkillsAnthropic's page
- Where synced skills load — A session where managed settings lock skills to plugin sources, or one you start with a --setting-sources list that omits user
- How Claude Code handles the body of a synced skill — ### Skills from MCP servers
- Skills from MCP servers — MCP servers can provide skills. Using them requires Claude Code v2.1.331 or later. Claude reads a skill's supporting files from the server as MCP resources. For prompts and rules, see Approvals for MCP skills.
- Skills from MCP servers — #### Skill features that don't apply
- Skill features that don't apply — Because the server supplies the content, you can't use these features of local skills in an MCP skill:
- Skill features that don't apply — Frontmatter fields: Claude Code ignores allowed-tools, disallowed-tools, hooks, model, effort, context, agent, background, shell, paths, and metadata
- Frontmatter reference — model · No · Model for the turn when you run this skill with /name. Accepts /model values, or inherit for the active model. When Claude runs the skill, the session keeps its model. The same happens when your organization blocks the value,…
- Pass arguments to skills — If you invoke a skill with arguments but no placeholder in the skill's content receives one, Claude Code appends ARGUMENTS: <your input> to the end of the skill content so Claude still sees what you typed. A placeholder is $ARGUMENTS, an i…
- Restrict Claude's skill access — By default, Claude can invoke any skill that doesn't have disable-model-invocation: true set. Skills that define allowed-tools grant Claude access to those tools without per-use approval during the turn that invokes the skill; the grant cl…
- Restrict Claude's skill access — A few built-in commands are also available through the Skill tool, including /init and /security-review. Other built-in commands such as /compact aren't.
- Restrict Claude's skill access — You can control which skills Claude invokes in these ways:
- Deny specific skills — For a skill from an MCP server, set a rule for its server instead. You can't skip its prompt with an allow rule for the skill's name.
- Where synced skills load — A session where your organization's managed settings lock skills to plugin sources, or one you start with a --setting-sources list that leaves out user
- Frontmatter reference — model · No · Model to use when this skill is active. The override applies for the rest of the current turn and isn't saved to settings. The session model resumes when you send your next prompt. Accepts the same values as /model, or inherit…
- Pass arguments to skills — If you invoke a skill with arguments but no placeholder in the skill's content receives one, Claude Code appends ARGUMENTS: <your input> to the end of the skill content so Claude still sees what you typed. A placeholder is $ARGUMENTS, an i…
- Restrict Claude's skill access — By default, Claude can invoke any skill that doesn't have disable-model-invocation: true set. Skills that define allowed-tools grant Claude access to those tools without per-use approval during the turn that invokes the skill; the grant cl…
- Restrict Claude's skill access — Three ways to control which skills Claude can invoke:
- November 24, 2026 · MemoryAnthropic's page
- Set up a project CLAUDE.md — A project CLAUDE.md can be stored in either ./CLAUDE.md or ./.claude/CLAUDE.md. Create this file and add instructions that apply to anyone working on the project: build and test commands, coding standards, architectural decisions, naming c…
- Choose which instruction files load — managed-only · Only the managed CLAUDE.md and auto memory at launch. Your project, local, and user CLAUDE.md files, your .claude/rules/ files, and every AGENTS.md are excluded. A subdirectory's CLAUDE.md and .claude/rules/ files, and path-…
- Set up a project CLAUDE.md — A project CLAUDE.md can be stored in either ./CLAUDE.md or ./.claude/CLAUDE.md. Create this file and add instructions that apply to anyone working on the project: build and test commands, coding standards, architectural decisions, naming c…
- Choose which instruction files load — managed-only · Only your organization's managed CLAUDE.md and auto memory at launch. Your project, local, and user CLAUDE.md files, your .claude/rules/ files, and every AGENTS.md are left out. A subdirectory's CLAUDE.md and .claude/rules/…
- November 24, 2026 · HooksAnthropic's page
- Limits on skill hooks — Plugin-only lock: if you're in an organization, your administrator can lock hooks to plugins and managed settings with the strictPluginOnlyCustomization managed setting. A skill keeps its frontmatter hooks under that lock only if it's a pl…
- Reload skills that a hook installs — git -c protocol.file.allow=never clone --quiet https://git.example.com/your-org/team-skills.git ~/.claude/skills/team-skills
- Reload skills that a hook installs — The repository URL is a placeholder. Replace it with your skills repository's HTTPS or SSH URL. With protocol.file.allow=never in the command, you can't clone from a folder path.
- Limits on skill hooks — Plugin-only lock: your organization's administrator can lock hooks to plugins and managed settings with the strictPluginOnlyCustomization managed setting. A skill keeps its frontmatter hooks under that lock only if it's a plugin skill, a b…
- Reload skills that a hook installs — git clone --quiet https://git.example.com/your-org/team-skills.git ~/.claude/skills/team-skills
- Reload skills that a hook installs — The repository URL is a placeholder. Replace it with your own skills repository.
- November 24, 2026 · Docs indexAnthropic's page
- Platforms and integrations — Claude Code in Slack: Delegate coding tasks from Slack. This earlier version answers mentions only from Pro, Max, and Ultra accounts in workspaces not connected to Claude Tag.
- November 24, 2026 · ChangelogAnthropic's page
- New release 2.1.331, date not given
- Claude Code changelog — Added a notice when tap-mode voice dictation stops by itself, after 15 seconds without recognized speech or at its 2-minute limit
- Claude Code changelog — Changed the questions for stopping auto-connect in /ide and for /clear, /compact or /rewind in a subagent's view to list Yes first; they still start on No, so Down then Enter now answers No
- Claude Code changelog — Changed what a PermissionDenied hook's retry: true tells Claude: make the refused call again only if you asked for that call
- Claude Code changelog — Windows: Changed start-up with managed settings in the registry: check them before upgrading, as an HKLM policy outranks managed-settings.json and a broken value can stop the start
- Claude Code changelog — Improved start-up time: a session started soon after another no longer waits for the model list, and one outside a git repository without .claude/settings.local.json no longer waits on git
- Claude Code changelog — [VSCode] Improved startup and memory use: the panel and new chat tabs open faster, a first message in a new tab is answered sooner, and on Pro and Max plans the folder trust dialog comes up sooner
- Claude Code changelog — [VSCode] Improved the time to a response for the first message after a chat has been idle for a few minutes on a machine that is low on memory
- Claude Code changelog — [VSCode] Improved how fast diffs appear in reopened conversations, and removed diff menu entries that did not work
- Claude Code changelog — Fixed PushNotification telling a headless run, such as a scheduled one, that the terminal was active in its first minute, instead of saying whether a mobile push was requested
- Claude Code changelog — Fixed one-line tool results cut with no ellipsis in narrow windows, Markdown stars in the Auto mode tab of /permissions, and a hook's reason to stop a forked skill showing twice
- Claude Code changelog — Fixed /compact and auto-compact sometimes losing part of the conversation summary when the summary quoted certain XML tags
- Claude Code changelog — Fixed Stop hooks that read the transcript missing the last reply in Claude Desktop; SubagentStop hooks now wait for it too
- Claude Code changelog — Fixed Esc and Stop waiting about a minute or more when the contents of a cloud or network file that Claude is reading stall
- Claude Code changelog — Fixed an interrupted or failed plugin update leaving a partial plugin folder that later loaded with skills or other components missing (anthropics/claude-code#102186)
- Claude Code changelog — Fixed auto mode sometimes refusing Claude's call to stop a /loop, which left the next wake-up to fire
- Claude Code changelog — Fixed claude plugin install, marketplace add and similar commands hanging with no output when managed settings needed an approval that could not be asked for
- Claude Code changelog — Fixed a permission rule on a subagent's model, such as Agent(model:*), blocking Claude's follow-up message to a subagent started on this version with no model named
- Claude Code changelog — Fixed PermissionRequest hooks not saving Skill(name:*) allow rules outside local settings
- Claude Code changelog — Fixed hold-to-talk dictation stopping early and losing words when Claude Code was busy
- Claude Code changelog — Windows: Fixed a possible crash when the machine is almost out of memory
- Claude Code changelog — Windows: Fixed Claude Code refusing to start when managed settings in the registry contain non-ASCII characters such as Japanese (anthropics/claude-code#93280)
- Claude Code changelog — [VSCode] Fixed Escape stopping Claude after renaming a session, and typing going nowhere after closing the session history with Escape
- Claude Code changelog — [VSCode] Fixed Rename, Mark as Unread and Add to Group saying "still connecting" on a tab that resumed a session from its history
- Claude Code changelog — [VSCode] Fixed Escape stopping Claude at a Remove or Delete confirmation in MCP, Hooks and Memory dialogs, on a side question panel's button or link, and on the Bookmarks button with its panel open
- Claude Code changelog — [VSCode] Fixed a chat left in bypass permissions mode reopening in Auto mode instead of your initial permission mode when settings disable bypass
- Claude Code changelog — [VSCode] Fixed Electron apps and extension tests failing to start from Claude, a hook or an MCP server; a wrapper, hook or server that runs VS Code as Node must now set ELECTRON_RUN_AS_NODE=1
- Claude Code changelog — [VSCode] Fixed a quick double click in the panel pressing a button or row that appeared after the first click, or starting a second compaction from the context usage circle
- Claude Code changelog — [VSCode] Fixed switching models failing with "Settings file is not valid JSON" when settings.json is empty or starts with a byte order mark
- Claude Code changelog — [VSCode] Fixed memory growing with each fork or rewind of a long conversation until the window was reloaded
- November 24, 2026 · SettingsAnthropic's page
- All settings — > Reference for Claude Code settings.json keys: where each one goes, its type and default, and a paste-ready example, with an index of keys.
- allowedMcpServers — Some servers skip the allowlist, such as managedMcpServers entries. A Claude Tag session's Slack tools skip it on v2.1.268 or later. Denylist entries in managed or user settings still apply to these servers. In-process type: "sdk" servers…
- All settings — > Complete reference for every Claude Code settings.json key: where each one goes, its type and default, and a paste-ready example, with an index of every key.
- November 24, 2026 · SkillsAnthropic's page
- Resolve skills that share a name — Any of those locations and a bundled skill with a name other than ship, ship-local, or steward · Your skill replaces the bundled command, but not its aliases. A project code-review skill replaces /code-review, and the bundled alias /review…
- Resolve skills that share a name — A skill or command of yours named ship, ship-local, or steward · Where /ship is available, the bundled /ship or /steward. Claude Code doesn't load yours
- Where synced skills load — > If your organization turns Skills off on claude.ai, Claude Code removes the downloaded skills and they stop loading. The removed skills move to ~/.claude/skills/.trash/, where you can recover the files until Claude Code deletes them. Onc…
- Edit a skill during a session — Claude Code watches skill directories for file changes, except in bare mode. When you add, edit, or remove a skill under ~/.claude/skills/, the project .claude/skills/, or a .claude/skills/ inside an --add-dir directory, Claude Code picks…
- Personal skills disappeared — > To restore a skill, move its folder from the timestamped folder back into ~/.claude/skills/. Do this before Claude Code deletes it.
- Resolve skills that share a name — Any of those locations and a bundled skill · Your skill replaces the bundled command, but not its aliases. A project code-review skill replaces /code-review, and the bundled alias /review never runs your skill
- Where synced skills load — If your organization turns Skills off on claude.ai, Claude Code removes the downloaded skills and they stop loading. The removed skills move to ~/.claude/skills/.trash/, where you can recover the files until the retention sweep deletes the…
- Edit a skill during a session — Claude Code watches skill directories for file changes, except in bare mode. When you add, edit, or remove a skill under ~/.claude/skills/, the project .claude/skills/, or a .claude/skills/ inside an --add-dir directory, Claude Code picks…
- Personal skills disappeared — To restore a skill, move its folder from the timestamped folder back into ~/.claude/skills/. Do this before the retention sweep deletes trash entries, by default 30 days after they were moved to the trash.
- November 24, 2026 · MemoryAnthropic's page
- How it works — While auto memory is on, the first 200 lines or 25KB of MEMORY.md, whichever comes first, load at session start. Claude keeps MEMORY.md concise by moving detailed notes into separate topic files.
- How it works — While auto memory is on, the first 200 lines or 25KB of MEMORY.md, whichever comes first, load at session start. Content beyond that threshold is not loaded at session start. Claude keeps MEMORY.md concise by moving detailed notes into sep…
- November 24, 2026 · HooksAnthropic's page
- Exit code 2 behavior per event — PermissionRequest · No · Not read as a decision. Deny through the decision object instead
- Decision control — PostToolUse: updatedToolOutput replaces the tool's result. See PostToolUse decision control, including limits in a Cowork cloud session
- Setup — Fires only when you launch Claude Code with --init-only, or with --init or --maintenance in non-interactive mode with the -p flag. Use it for one-time dependency installation or scheduled cleanup that you trigger explicitly from CI or scri…
- PermissionRequest decision control — Claude Code doesn't read exit code 2 as a decision on this event. To grant or deny the request, return the decision object.
- Response schema — PermissionRequest: ok: false doesn't deny the request. To deny an approval from a hook, use a command hook returning hookSpecificOutput.decision.behavior: "deny"
- Exit code 2 behavior per event — PermissionRequest · No · Exit code 2 isn't honored for this event and the permission flow proceeds unchanged. Deny through the decision object instead
- Decision control — PostToolUse: updatedToolOutput replaces the tool's result. In a Cowork cloud session, Claude Code ignores updatedToolOutput when the tool is AskUserQuestion or ExitPlanMode, and Claude reads the original answer or plan. See PostToolUse dec…
- Setup — Fires only when you launch Claude Code with --init-only, or with --init or --maintenance in non-interactive mode with the -p flag. It doesn't fire on normal startup. Use it for one-time dependency installation or scheduled cleanup that you…
- PermissionRequest decision control — A hook that exits 2 without a decision object leaves the permission flow unchanged, and its stderr is discarded. To grant or deny the request, return the decision object.
- Response schema — PermissionRequest: ok: false has no effect. To deny an approval from a hook, use a command hook returning hookSpecificOutput.decision.behavior: "deny"
- November 24, 2026 · Docs indexAnthropic's page
- Claude Code in the cloud — Share a cloud or Remote Control session: Check what recipients of a shared Claude Code session can read, choose who can open the link, and stop sharing.
- PR Steward — Work with PR Steward on a pull request: See what PR Steward adds to your GitHub pull request, give it instructions, start or stop it with a comment or a label, and limit what it does for you
- PR Steward — Troubleshoot PR Steward: Fix a PR Steward that didn't start, stopped, or paused on a GitHub pull request, and resolve the messages that an Owner sees while setting it up
- /ship and /steward — Troubleshoot /ship and /steward: Look up a message or a symptom from /ship or /steward: a missing command, nothing committed or pushed, a watch that didn't start, or one that stopped.
- Settings — All settings: Reference for Claude Code settings.json keys: where each one goes, its type and default, and a paste-ready example, with an index of keys.
- Reference — Commands: Reference for commands available in Claude Code, including built-in commands and bundled skills.
- Settings — All settings: Complete reference for every Claude Code settings.json key: where each one goes, its type and default, and a paste-ready example, with an index of every key.
- Reference — Commands: Complete reference for commands available in Claude Code, including built-in commands and bundled skills.
Monday · November 23, 2026
- November 23, 2026 · ToolsAnthropic's page
- Tools reference — ExitWorktree · Exits a worktree session and returns to the original directory. Not available to subagents that already run in their own working directory, such as with isolation: worktree. Removed or refused once permissions.blockWritesOut…
- Tools reference — ExitWorktree · Exits a worktree session and returns to the original directory. Not available to subagents that already run in their own working directory, such as with isolation: worktree. Removed or refused once permissions.blockWritesOut…
- November 23, 2026 · SkillsAnthropic's page
- Use skills in Cowork and cloud sessions — For cloud sessions, you can instead commit the skill to the repository's .claude/skills/. For a project, check which threads load it. Plugins enabled only in your user settings don't load in cloud sessions.
- Use skills in Cowork and cloud sessions — For cloud sessions, you can instead commit the skill to the repository's .claude/skills/. For a project, check which threads load it. Plugins declared in the repository's .claude/settings.json and plugins enabled only in your user settings…
- November 23, 2026 · HooksAnthropic's page
- PermissionRequest — Runs when Claude Code is about to ask you for permission to use a tool. For a call that reaches a --permission-prompt-tool or the Agent SDK's canUseTool callback, the hooks run alongside your host, and whichever decides first applies.
- PermissionRequest — In a -p run outside dontAsk mode with neither a --permission-prompt-tool nor a canUseTool callback, nobody can answer a prompt. A call that would prompt you is denied there unless something approves it, such as a PermissionRequest hook.
- PermissionDenied — Runs when the auto mode classifier denies a tool call. That includes a denial with no verdict because a safety check separate from auto mode refused the classifier's own request or the classifier's response didn't parse. Use PermissionDeni…
- PermissionDenied — The hook doesn't run when you deny a permission dialog, when a PreToolUse hook blocks a call, or when a deny rule matches.
- WorktreeRemove — Hook exits 0: if the worktree's directory is still there, remove it yourself, because Claude Code doesn't fall back to git.
- WorktreeRemove input — When a hook exits non-zero and the directory at worktree_path still exists afterward, the removal fails:
- PermissionRequest — Runs when Claude Code is about to ask you for permission to use a tool. In sessions that can't show a prompt, such as background subagents in non-interactive mode, Claude Code still runs these hooks, and if no hook returns a decision, it d…
- PermissionDenied — Runs when auto mode denies a tool call, including when it denies without a classifier verdict because a safety check separate from auto mode refused the classifier's own request or its response didn't parse. This hook only fires in auto mo…
- WorktreeRemove — Hook exits 0: the worktree counts as removed. Claude Code reads nothing else from the hook, so make sure your hook deleted the directory.
- WorktreeRemove input — A WorktreeRemove hook's exit code decides the outcome. When a hook exits non-zero and the directory at worktree_path still exists afterward, the removal fails:
Sunday · November 22, 2026
- November 22, 2026 · ToolsAnthropic's page
- Agent tool behavior — To cap how many turns a subagent runs, set maxTurns in the subagent definition.
- Foreground commands that move to the background — When a foreground command reaches its timeout without finishing, Claude Code moves it to the background instead of stopping it, unless the command starts with sleep.
- Allow a domain — To approve a domain ahead of time, add an allow rule to a settings file, or select Yes, and don't ask again for <domain> when a prompt offers it. This example allows example.com:
- Allow a domain — To confirm, run /permissions in a session. The dialog lists the rule. Select it to see which settings it comes from.
- Block a site or turn WebFetch off — Do any of these for your organization · Put the rule in managed settings
- When a fetch prompts, fails, or WebFetch is missing — Claude reports a redirect and stops there · Ask Claude to fetch the new URL. When a redirect changes the host by more than adding or dropping www., WebFetch returns the new URL and no page content.
- When a fetch prompts, fails, or WebFetch is missing — A fetch fails for a domain you allowed · The URL also has to pass the WebFetch domain safety check, unless you turn the check off with skipWebFetchPreflight. See WebFetch domain safety check failed.
- When a fetch prompts, fails, or WebFetch is missing — A rule in your own settings file has no effect · If your organization sets allowManagedPermissionRulesOnly, Claude Code ignores the rule. Ask your administrator to add it to managed settings.
- When a fetch prompts, fails, or WebFetch is missing — Prompts continue after you add the domain to the sandbox's allowedDomains · WebFetch doesn't read that list, so add a WebFetch allow rule
- Which model the web-fetch subagent runs on — #### Rules, hooks, and CLAUDE.md with the web-fetch subagent
- Rules, hooks, and CLAUDE.md with the web-fetch subagent — Your WebFetch permission rules apply to the pages the web-fetch subagent fetches, and so do the PreToolUse and PostToolUse hooks that match WebFetch.
- Rules, hooks, and CLAUDE.md with the web-fetch subagent — CLAUDE.md instructions about which pages to fetch · The subagent starts without your CLAUDE.md files, including your organization's managed one · Restrict fetches with WebFetch permission rules
- Rules, hooks, and CLAUDE.md with the web-fetch subagent — SubagentStart or SubagentStop hooks · Only the hooks defined in managed settings run for this subagent · In any other settings file, use a PreToolUse or PostToolUse hook that matches WebFetch
- Rules, hooks, and CLAUDE.md with the web-fetch subagent — A PostToolUse hook that parses the WebFetch result · The result is the page text. When Claude calls WebFetch itself, the result is an answer to Claude's question. · Handle both page text and answers in the hook
- Rules, hooks, and CLAUDE.md with the web-fetch subagent — A PreToolUse hook that blocks Agent calls · Claude starts the subagent with the Agent tool, so the page isn't fetched · Turn the subagent off
- Turn off the web-fetch subagent — Turn the web-fetch subagent off when your setup depends on Claude calling WebFetch itself, for example when a PreToolUse hook blocks every Agent call. Add this deny rule to a settings file, or to managed settings to cover your organization:
- Turn off the web-fetch subagent — If your organization sets allowManagedPermissionRulesOnly, Claude Code ignores the deny rule in your own settings files, so ask your administrator to add it to managed settings.
- Agent tool behavior — To cap how many turns a subagent runs, set maxTurns in the subagent definition. When the subagent reaches the limit, Claude Code marks the returned result as partial output, and Claude can resume the subagent to continue.
- Foreground commands that move to the background — When a foreground command reaches its timeout without finishing, Claude Code moves it to the background instead of stopping it, unless the command starts with sleep. A moved command's time limit counts from the move, and a foreground subag…
- WebFetch tool behavior — WebFetch takes a URL and a prompt describing what to extract. It fetches the page and converts the response to Markdown when the server returns HTML. For most fetches, it then runs the prompt against the content in a separate model call, a…
- WebFetch tool behavior — A page that hasn't finished downloading within five minutes, including any redirects WebFetch follows, fails with a deadline error. On Claude Code v2.1.268 or later, set CLAUDE_CODE_WEBFETCH_DEADLINE_MS to change the limit, or to 0 to remo…
- WebFetch tool behavior — Yes, and don't ask again for <domain>: approves the fetch and saves a WebFetch(domain:...) allow rule for that domain to .claude/settings.local.json for that repository. See how saved approvals persist. When your organization sets allowMan…
- WebFetch tool behavior — Sandboxed commands don't inherit WebFetch's built-in set of preapproved documentation domains. To let a sandboxed command reach a domain without a prompt, add the domain to allowedDomains or allow it with a WebFetch(domain:...) rule, which…
- November 22, 2026 · HooksAnthropic's page
- Notification input — Notification hooks can't block or modify notifications. Claude Code discards their systemMessage and continue fields but still emits terminalSequence.
- SubagentStart — > For the built-in web-fetch subagent, Claude Code runs SubagentStart hooks from managed settings only. For a hook set anywhere else, match WebFetch in a PreToolUse hook instead.
- SubagentStart input — When the hook runs again for the same subagent, Claude Code injects the returned context only when the subagent's context doesn't already hold the copy from an earlier run. After auto-compaction discards that copy, Claude Code injects the…
- SubagentStop — > For the built-in web-fetch subagent, Claude Code runs SubagentStop hooks from managed settings only. For a hook set anywhere else, match WebFetch in a PostToolUse hook instead.
- SubagentStop input — In addition to the common input fields, SubagentStop hooks receive stop_hook_active, agent_id, agent_type, agent_transcript_path, and last_assistant_message. The transcript_path is the main session's transcript, while agent_transcript_path…
- SubagentStop input — Claude Code runs internal agents for some of its own features, such as prompt suggestions and /btw side questions, and SubagentStop fires when one of those finishes too. For those events, agent_type is the agent name the session itself run…
- SubagentStop input — SubagentStop hooks use the same decision control format as Stop hooks, including hookSpecificOutput.additionalContext with hookEventName set to "SubagentStop", for non-error feedback that keeps the subagent running. Returning decision: "bl…
- StopFailure — Runs instead of Stop when the turn ends due to an API error. Claude Code ignores the hook's output and exit code, apart from terminalSequence. Use this to log failures, send alerts, or take recovery actions.
- StopFailure input — StopFailure hooks have no decision control.
- PostCompact input — PostCompact hooks have no decision control.
- Notification input — Notification hooks can't block or modify notifications. Claude Code discards their systemMessage and continue fields but still emits terminalSequence, which is what the desktop notification example relies on. Notification hooks are intende…
- SubagentStart input — When the hook runs again for the same subagent, Claude Code injects the returned context only when the subagent's context doesn't already hold the copy from an earlier run. The copy injected at launch stays in place, leaving the subagent's…
- SubagentStop input — In addition to the common input fields, SubagentStop hooks receive stop_hook_active, agent_id, agent_type, agent_transcript_path, and last_assistant_message. The agent_type field is the value used for matcher filtering. The transcript_path…
- SubagentStop input — Not every SubagentStop event comes from a subagent Claude spawned. Claude Code also runs internal agents for some of its own features, such as prompt suggestions and /btw side questions, and SubagentStop fires when one of those finishes to…
- SubagentStop input — SubagentStop hooks use the same decision control format as Stop hooks, including hookSpecificOutput.additionalContext with hookEventName set to "SubagentStop", for non-error feedback that keeps the subagent running. Returning decision: "bl…
- StopFailure — Runs instead of Stop when the turn ends due to an API error. Claude Code ignores the hook's output and exit code, apart from terminalSequence. Use this to log failures, send alerts, or take recovery actions when Claude can't complete a res…
- StopFailure input — StopFailure hooks have no decision control. They run for notification and logging purposes only.
- PostCompact input — PostCompact hooks have no decision control. They can't affect the compaction result but can perform follow-up tasks.
Saturday · November 21, 2026
- November 21, 2026 · ChangelogAnthropic's page
- New release 2.1.330, date not given
- Claude Code changelog — Added sign-in to organizations managed in Anthropic's Enterprise Admin Console: after claude auth login, Claude Code applies the organization's settings and uses its cloud provider or gateway
- Claude Code changelog — Self-hosted runner: Added --start-dir / SELF_HOSTED_RUNNER_START_DIR to have Claude start its work in a folder of a repository, while settings and hooks load as without it
- Claude Code changelog — [VSCode] Added the claudeCode.escapeStopsClaude setting; turn it off so Escape does not stop Claude (anthropics/claude-code#91536)
- Claude Code changelog — Reverted 2.1.329's removal of the automatic retry when max_tokens exceeds a model's or gateway's limit
- Claude Code changelog — Changed recurring scheduled tasks and /loop to run up to 30 days instead of 7 while their session keeps running, and say when they end; tasks made before this release still end at 7 days
- Claude Code changelog — Changed skills that Claude runs with a model setting, other than context: fork skills, to leave subagents, forks, compaction and /recap on the session's model
- Claude Code changelog — Self-hosted runner: Changed spawn-runner hooks to start while earlier ones still run, up to --hook-concurrency per orchestrator (4 by default); set it to 1 if yours can't run beside another
- Claude Code changelog — Self-hosted runner: Changed Bash commands to skip the file diff when nothing needs it, so transcripts can lack it; set bashEditDiffEnabled to true in managed settings to get every diff
- Claude Code changelog — Changed self-hosted runners to stop a session's start at once, without trying other runners, when a checkout hook exits with status 108
- Claude Code changelog — Changed prompt hooks to accept model aliases such as haiku or sonnet in their model field
- Claude Code changelog — Improved /config search: most settings whose name starts with what you type come first, "effort" finds Model, and "dark" or "light" finds Theme
- Claude Code changelog — Improved Code Mode: after Esc, "Interrupted" now shows under the stopped command in place of a red error
- Claude Code changelog — Fixed Claude Code freezing for up to several minutes right after compacting a very long conversation
- Claude Code changelog — Fixed changes to user settings being lost when several Claude Code processes saved them at the same time
- Claude Code changelog — Fixed /rewind sometimes restoring an older version of a file when two queued prompts, or stacked skills, ran together right after a turn that changed it
- Claude Code changelog — Fixed Code Mode in auto mode dropping earlier thinking and rewriting the prompt cache when a mod added a note after a script loaded a skill
- Claude Code changelog — Fixed Code Mode not restoring a file that a script had read after Esc and /compact
- Claude Code changelog — Fixed a stopped background subagent sometimes not staying stopped
- Claude Code changelog — Fixed Claude still waiting for a background agent that was stopped just as it finished, in sessions run by an app or the SDK
- Claude Code changelog — Remote Control: Fixed the note about background agents ended by a Stop from a phone or the web showing in the terminal as if you had typed it
- Claude Code changelog — Remote Control: Fixed the mobile apps hiding the Diff and pull request buttons, or showing a stopped session as working, after turning it on mid-conversation
- Claude Code changelog — Fixed environment variables written by a SessionStart hook being lost with claude -p --continue
- Claude Code changelog — Fixed Claude sometimes replying to its commit attribution reminder and ending the turn early after the model changed mid-turn; it can still happen where managed settings set the PR attribution line
- Claude Code changelog — Fixed /ultrareview failing or reviewing the wrong code after the shell moved into another repository: it now stops and names both folders
- Claude Code changelog — Fixed link reference definitions being dropped from CLAUDE.md and memory files that contain an HTML comment
- Claude Code changelog — Fixed running Monitors keeping the earlier conversation in memory until they end
- Claude Code changelog — Fixed some Claude Desktop sessions on third-party providers, other than scheduled tasks, ending a turn with "Prompt is too long" when a PDF larger than the context window followed a long conversation
- Claude Code changelog — Fixed Edit refusing some valid hook commands in Claude settings files
- Claude Code changelog — Fixed claude -p on Google Cloud's Agent Platform ignoring --settings '{"fastMode":true}' when the model comes from ANTHROPIC_MODEL or a settings file; such runs now bill at the fast mode price
- Claude Code changelog — Fixed claude mcp remove giving no way forward for a claude.ai connector: it now says to turn it off in /mcp or remove it on claude.ai
- Claude Code changelog — Fixed a running MCP task being reported as stopped when you move a session to the background; the background session can now follow the task, but not if its server uses stdio or sets headers
- Claude Code changelog — Fixed scheduled tasks on self-hosted runners having no tool to notify their owner when telemetry is off or a third-party provider is used
- Claude Code changelog — Self-hosted runner: Fixed one slow spawn-runner hook keeping the orchestrator from claiming sessions for its free slots; it now polls every 4 to 6 seconds while a slot is free
- Claude Code changelog — Fixed self-hosted runners' warn mode for repository settings stopping at the first finding of most kinds: it now goes on, up to 50 for a session, and says if it stops early
- Claude Code changelog — Fixed the notice about a skipped scheduled task that names no organization: it now says to start Claude Code with --resume, because /resume inside a running session doesn't run the task
- Claude Code changelog — Fixed claude plugin validate wrongly warning that a mod's AbovePrompt or AbovePromptList hook never runs in VS Code
- Claude Code changelog — [VSCode] Fixed holding Enter on /rewind restoring files, and a double click on Remove or Delete removing a memory, MCP server or plugin marketplace, without confirmation
- Claude Code changelog — [VSCode] Fixed Cmd+A, C, V, X and Z not working in the rename box and dialogs on macOS
- Claude Code changelog — [VSCode] Fixed /clear giving no sign that the session still runs without a newly trusted folder's CLAUDE.md and settings
- November 21, 2026 · SettingsAnthropic's page
- enforceAnthropicSignIn — The key also stops Claude Desktop sessions that run on a cloud provider or gateway, so read Require the sign-in with managed settings first.
- enforceAnthropicSignIn — Scope: Managed. Set it in a managed settings file, where it applies even beneath server-managed settings. If the machine also has an MDM policy, set it there. Claude Code ignores the key in server-managed settings, HKCU, and policy helper…
- forceLoginOrgUUID — From a managed source, require claude.ai account logins to belong to one Anthropic organization, given as a single UUID, or to any of several organizations, given as an array. From any settings file, Claude Code also uses a single UUID to…
- forceLoginOrgUUID — If you set the key in any settings file, Claude Code stops offering the keyless Console sign-in in the sessions that file applies to.
- Write the helper output — When the helper emits managedSettings, that object becomes the managed settings source for the run. Claude Code reads the cross-source keys from it and doesn't merge parent settings. It ignores the MDM, file, and HKCU sources, apart from k…
- Write the helper output — forceRemoteSettingsRefresh: the startup check runs before the helper and reads any admin source
- Write the helper output — enforceAnthropicSignIn: Claude Code reads it from the MDM policy or managed settings file
- Write the helper output — A helper that exits 0 with an envelope that omits managedSettings contributes no managed settings, and the other sources apply as usual.
- wslInheritsWindowsSettings — json managed-settings.json theme={null}
- forceLoginOrgUUID — From a managed source, require claude.ai account logins to belong to one Anthropic organization, given as a single UUID, or to any of several organizations, given as an array. From any settings file, Claude Code also uses a single UUID to…
- Write the helper output — When the helper emits managedSettings, that object becomes the only managed settings source for the run: Claude Code ignores the MDM, file, and HKCU sources, reads the cross-source keys from the helper's output alone, and never merges pare…
- Write the helper output — The startup forceRemoteSettingsRefresh check runs before the helper and reads any admin source. A helper that exits 0 with an envelope that omits managedSettings contributes no managed settings, and the other sources apply as usual.
- November 21, 2026 · SkillsAnthropic's page
- Choose where skills load — Project · .claude/skills/<skill-name>/SKILL.md · Sessions in this repository. For a project's cloud threads, check which threads load it. Commit it so your team gets it too
- Choose where skills load — Nested · <subdir>/.claude/skills/<skill-name>/SKILL.md · Sessions started in or below <subdir>. A session started above it can load the skill once Claude works on files there. See monorepos and subdirectories. For a project's cloud threads…
- Use skills in Cowork and cloud sessions — For Cowork sessions, cloud sessions, and cloud threads in a project, enable the skill for your claude.ai account. Some sessions in a self-hosted environment don't load your account's skills.
- Use skills in Cowork and cloud sessions — For cloud sessions, you can instead commit the skill to the repository's .claude/skills/. For a project, check which threads load it. Plugins declared in the repository's .claude/settings.json and plugins enabled only in your user settings…
- Claude stops following a skill — Claude skipped a rule that must hold every time: move the rule into a hook in a settings file or a plugin's hooks/hooks.json. Claude Code runs that hook when its event occurs, such as before a file edit, whether or not Claude is following…
- Choose where skills load — Project · .claude/skills/<skill-name>/SKILL.md · Sessions in this repository, but not cloud threads in a project. Commit it so your team gets it too
- Choose where skills load — Nested · <subdir>/.claude/skills/<skill-name>/SKILL.md · Sessions started in or below <subdir>, but not cloud threads in a project. Outside those threads, a session started above it loads the skill once Claude works on files there. See mon…
- Use skills in Cowork and cloud sessions — For Cowork sessions, cloud sessions, and cloud threads in a project, enable the skill for your claude.ai account. In a project's cloud thread, skills committed to a repository's .claude/skills/ aren't available. Some sessions in a self-hos…
- Use skills in Cowork and cloud sessions — For cloud sessions other than project threads, you can instead commit the skill to the repository's .claude/skills/. Plugins declared in the repository's .claude/settings.json and plugins enabled only in your user settings don't load in cl…
- Claude stops following a skill — Claude skipped a rule that must hold every time: move the rule into a hook. Claude Code runs a hook every time its event occurs, such as before each file edit, whether or not Claude is following the skill. To keep the rule with the skill,…
- November 21, 2026 · MemoryAnthropic's page
- How Claude remembers your project — Each Claude Code session begins with a fresh context window. CLAUDE.md files and auto memory carry knowledge across sessions:
- CLAUDE.md vs auto memory — Loaded into · Every session · Sessions with auto memory on, up to the first 200 lines or 25KB of MEMORY.md
- CLAUDE.md vs auto memory — Claude treats CLAUDE.md files and auto memory as context. They aren't enforced configuration. To block an action regardless of what Claude decides, use a PreToolUse hook instead. The more specific and concise your instructions, the more co…
- Storage location — ├── MEMORY.md # Index, one line per memory, loaded at session start
- How it works — While auto memory is on, the first 200 lines or 25KB of MEMORY.md, whichever comes first, load at session start. Content beyond that threshold is not loaded at session start. Claude keeps MEMORY.md concise by moving detailed notes into sep…
- CLAUDE.md vs auto memory — Claude Code has two complementary memory systems. Both are loaded at the start of every conversation. Claude treats them as context, not enforced configuration. To block an action regardless of what Claude decides, use a PreToolUse hook in…
- Storage location — ├── MEMORY.md # Index, one line per memory, loaded into every session
- How it works — The first 200 lines of MEMORY.md, or the first 25KB, whichever comes first, are loaded at the start of every conversation. Content beyond that threshold is not loaded at session start. Claude keeps MEMORY.md concise by moving detailed note…
- November 21, 2026 · HooksAnthropic's page
- How a hook resolves — > The matcher narrows to Bash tool calls and Monitor commands, and the if condition narrows further to Bash subcommands matching rm *:
- Hook locations — Skill frontmatter · See Hooks in skills and agents · Yes, defined in the skill file
- Hooks in skills and agents — Skill hooks: these don't run before you or Claude invoke the skill. They're removed when you exit or leave the conversation with a command such as /clear or /resume. To remove one sooner, see once.
- Hooks in skills and agents — This skill defines a PreToolUse hook that matches Bash and runs a security validation script:
- Hooks in skills and agents — Frontmatter hooks in a project skill follow the same workspace trust rule as hooks in settings files, so they can run under -p in a folder you haven't trusted.
- Block the action when a hook fails — > If you use Code Mode, timeouts on PreToolUse work differently. See Tool call refused by a hook.
- Decision control — For redaction or transformation use cases, intercept at PreToolUse for outbound tool inputs and PostToolUse for the results of successful calls. PostToolUseFailure can't rewrite a result, so it can't redact a failing command's output.
- PostToolUse — Runs immediately after a tool completes successfully. In the main conversation, PostToolUse hooks from managed settings also run after some failed calls, so write them to handle both.
- How a hook resolves — > The matcher narrows to Bash tool calls and Monitor commands, and the if condition narrows further to Bash subcommands matching rm *, so block-rm.sh only spawns when both filters match:
- Hook locations — Skill frontmatter · The rest of the session once the skill is invoked. See Hooks in skills and agents · Yes, defined in the skill file
- Hooks in skills and agents — Skill hooks: Claude Code registers them when you or Claude invoke the skill and keeps running them for the rest of the session, on turns after the skill's own turn as well. To have Claude Code remove a hook after its first successful run i…
- Hooks in skills and agents — This skill defines a PreToolUse hook that runs a security validation script before each Bash command:
- Hooks in skills and agents — Frontmatter hooks in a project skill follow the same workspace trust rule as hooks in settings files. Claude Code registers them when you or Claude invoke the skill, including in a -p run in a folder you haven't trusted.
- Block the action when a hook fails — > If you use Code Mode, failures on PreToolUse work differently. See Tool call refused by a hook.
- Decision control — For redaction or transformation use cases, intercept at PreToolUse for outbound tool inputs and PostToolUse for the results of successful calls. PostToolUseFailure can't rewrite a result, so a failing command's output reaches Claude unchan…
- PostToolUse input — PostToolUse hooks fire after a tool has already executed successfully. The input includes both tool_input, the arguments sent to the tool, and tool_response, the result it returned. The exact schema for both depends on the tool. File-tool…
Friday · November 20, 2026
- November 20, 2026 · ChangelogAnthropic's page
- New release 2.1.329, date not given
- Claude Code changelog — Added a trust dialog warning that says where a folder's hooks are declared
- Claude Code changelog — Added a warning in the conversation, in Claude Desktop and other non-interactive hosts, when hooks in managed settings fail to load
- Claude Code changelog — Added this session's scheduled tasks, /loop wakeups, the goal and this conversation's forks to /tasks; x stops one after asking
- Claude Code changelog — Changed saved scheduled tasks: in new signed-in sessions, most saved by earlier versions need scheduling again, though --resume of their own session still runs them
- Claude Code changelog — Changed /code-review <pr number> --fix, and /code-review given a pull request URL, to stop without reviewing when gh pr diff is refused or fails
- Claude Code changelog — Changed 'Exit and stop tasks' to end this session's scheduled tasks so they don't run again on resume, unless you exit while Claude is responding
- Claude Code changelog — Self-hosted runner: Changed repositories with unusual characters in their address path to clone anew in a new folder; rules and volumes naming the old one stop applying, and the old clone stays put
- Claude Code changelog — Self-hosted runner: Changed --repository-folder to take most folders in the base folder at --capacity 1 (above 1, one there stops start-up); another repository's session overlapping one is refused
- Claude Code changelog — Changed Code Mode so a PreToolUse hook that errors no longer refuses a script's tool call, as outside Code Mode; set "onFailure": "block" on a command, HTTP or MCP tool hook that must refuse
- Claude Code changelog — Changed Code Mode to refuse a script's read of a line range over 256 MiB, which could use gigabytes of memory, and fixed reads of very long lines timing out
- Claude Code changelog — Changed Code Mode to also start when telemetry, nonessential traffic or feature flags are turned off; an administrator can keep it off in managed settings
- Claude Code changelog — Changed the /tasks header and the footer's background count to one number covering shells, monitors, MCP calls, agents, workflows and scheduled tasks
- Claude Code changelog — Changed Stop and SubagentStop hooks to list a Monitor's script as monitor, not shell, in background_tasks
- Claude Code changelog — Removed 2.1.326's automatic retry at the limit named in a max_tokens error; behind a gateway whose model takes fewer output tokens, set CLAUDE_CODE_MAX_OUTPUT_TOKENS to that limit
- Claude Code changelog — [VSCode] Changed Down to stop at the last item of a permission prompt instead of wrapping to Yes
- Claude Code changelog — Improved the automatic clean-up of old sessions on computers with managed settings
- Claude Code changelog — Improved memory use in long sessions that edit many files, and in long Claude Desktop sessions on macOS and Linux with many large MCP tool results
- Claude Code changelog — Improved memory use of idle Claude Desktop and SDK sessions after a long turn, and after --resume or --continue of a session that holds screenshots or large tool results
- Claude Code changelog — Fixed repeated sign-outs on macOS when Claude Code could read the Keychain but not save to it. That session now stops at expiry and says why, and other sessions stay signed in
- Claude Code changelog — Fixed /terminal-setup corrupting VS Code settings or keybindings files around block comments, and reporting success while losing the Shift+Enter binding where keybindings.json has an unclosed string
- Claude Code changelog — Fixed /usage-credits asking Pro and Max users to log in again after opening the browser, and the link disappearing after 8 seconds if the browser doesn't open and a task stops for usage credits
- Claude Code changelog — Fixed a status line script that prints without end freezing the prompt and using gigabytes of memory
- Claude Code changelog — Fixed an empty, frozen screen after approving managed settings while the --resume picker, the trust dialog or another set-up screen was waiting
- Claude Code changelog — Fixed background MCP tasks that stalled after a slow reconnect: Claude Code now reconnects most HTTP MCP servers by itself when one is left on an older protocol version
- Claude Code changelog — Fixed /code-review stopping at a permission prompt, on most models, to look for a ~/.claude/CLAUDE.md that doesn't exist
- Claude Code changelog — Fixed Code Mode hiding a script's finished edits and the stopped command after Esc, and losing them on exit
- Claude Code changelog — Fixed a runaway loop in Code Mode filling the machine's memory; it is now stopped at a limit
- Claude Code changelog — Fixed a background agent running on when it was stopped while it was being resumed
- Claude Code changelog — Fixed background shell commands using memory for the earlier conversation until they exit
- Claude Code changelog — Fixed Remote Control using memory for the earlier conversation after a compaction or /clear in sessions run by Claude Desktop, IDEs or the SDK
- Claude Code changelog — Fixed Stop not ending a request in Claude Desktop sessions on Bedrock while it waits on a hung AWS credential_process or sign-in call
- Claude Code changelog — Fixed another case of claude.ai-synced plugin hooks failing with "Plugin directory does not exist" while a session was still running on macOS
- Claude Code changelog — Fixed a removed plugin's MCP server staying connected in headless sessions after reload_plugins or when the account's plugin list drops it
- Claude Code changelog — Fixed a new skills, commands or agents folder being missed when --add-dir names the working directory or Claude Code starts in the home folder
- Claude Code changelog — Fixed sessions started from a pre-warmed process ignoring the autoCompactWindow setting in the project's .claude/settings.json
- Claude Code changelog — Fixed CLAUDE_AUTOCOMPACT_PCT_OVERRIDE staying in effect in a running session after it is removed from settings.json
- Claude Code changelog — Fixed a false "Couldn't save this change" warning after adding a permission rule or directory in a subfolder or worktree whose own .claude/settings.local.json is unreadable or malformed
- Claude Code changelog — Fixed Claude not being told when a background task was stopped while a cloud session was restarting
- Claude Code changelog — Fixed self-hosted runner sessions being shown as having stopped responding while Claude Code was still starting
- and 2 more
- November 20, 2026 · ToolsAnthropic's page
- Tools reference — CronCreate · Schedules a recurring or one-shot prompt within the current session. See session-scoped scheduled tasks · No
- Tools reference — ListSkills · Lists the skills enabled for your claude.ai account. Available in the same sessions as ListPlugins · No
- Tools reference — propose_skills · Shows a card of proposed skills for you to review and save to your claude.ai account. Available in some cloud sessions, such as cloud Cowork sessions · No
- Tools reference — SearchSkills · Searches claude.ai skills. Available in the same sessions as ListPlugins · No
- Tools reference — SuggestSkills · Shows a card of claude.ai skills you can add. Available in the same sessions as ListPlugins · No
- Agent tool behavior — tools only: the subagent gets the listed tools. With memory enabled, it also gets Read, Write, and Edit.
- Tools reference — CronCreate · Schedules a recurring or one-shot prompt within the current session. Tasks are session-scoped and restored on --resume or --continue if unexpired. See session-scoped scheduled tasks · No
- November 20, 2026 · SettingsAnthropic's page
- allowedMcpServers — Scope: Any file. For servers users add, entries from every file merge into one allowlist unless allowManagedMcpServersOnly is set. To keep users from adding entries, deploy both keys in managed settings.
- disableRemoteControl — Turn off Remote Control: Claude Code then refuses claude remote-control, the --remote-control flag, auto-start, and the in-session toggle. Place it in managed settings for per-device MDM enforcement.
- parentSettingsBehavior — Choose whether Claude Code applies managed settings supplied by an embedding host process, such as the Agent SDK or an IDE extension, when an admin-deployed managed tier is also present. Set "merge" when a host needs to pass its own restri…
- parentSettingsBehavior — "merge": Claude Code applies the host-supplied settings under the admin tier through a filter that keeps restrictive keys. Unless you set the allowManaged*Only locks, permission allow rules and sandbox allowlists pass too
- parentSettingsBehavior — This key has no effect when no admin-deployed managed tier exists: the host's settings then apply as the only managed tier, still filtered. For the filter's limits and how the managed sources interact, see Parent settings from embedding ho…
- allowedMcpServers — Scope: Any file. Entries from every file merge into one allowlist unless allowManagedMcpServersOnly is set. Deploy it in managed settings to enforce it.
- disableRemoteControl — Turn off Remote Control: Claude Code then refuses claude remote-control, the --remote-control flag, auto-start, and the in-session toggle, and reports that your organization's policy disabled it. Place it in managed settings for per-device…
- parentSettingsBehavior — Choose whether Claude Code applies managed settings supplied by an embedding host process, such as the Agent SDK or an IDE extension, when an admin-deployed managed tier is also present. With "first-wins", Claude Code drops the host-suppli…
- parentSettingsBehavior — "merge": Claude Code applies the host-supplied settings under the admin tier through a restrictive-only filter
- parentSettingsBehavior — This key has no effect when no admin-deployed managed tier exists: the host's settings then apply as the only managed tier, still filtered to restrictive values. For the filter's limits and how the managed sources interact, see Parent sett…
- November 20, 2026 · SkillsAnthropic's page
- Edit a skill during a session — If a new skill doesn't appear, run /reload-skills.
- Frontmatter reference — paths · No · Glob patterns for the files that activate this skill. Accepts a comma-separated string or a YAML list. Patterns are relative to Claude's current working directory. In the main conversation, they stay relative to the primary wo…
- Skill not triggering — If the skill sets paths, check that the files Claude reads, edits, or writes are inside the directory the patterns are relative to. The skill doesn't activate for files outside it, such as those in a sibling git worktree, even one you adde…
- Edit a skill during a session — If you create a top-level skills directory that didn't exist when the session started, run /reload-skills to pick up the skills you put there. Claude Code isn't watching that directory yet, so run /reload-skills again after each later chan…
- Frontmatter reference — paths · No · Glob patterns that limit when this skill is activated. Accepts a comma-separated string or a YAML list. When set, Claude loads the skill automatically only when working with files matching the patterns. Patterns are relative t…
- Skill not triggering — If the skill sets paths, check that the files Claude reads, edits, or writes are inside Claude's current working directory. The skill doesn't activate for files outside it, such as those in a sibling git worktree, even one you added with /…
- November 20, 2026 · HooksAnthropic's page
- MCP tool hook fields — onFailure · no · "continue" or "block". See Block the action when a hook fails
- How the tool's result is read — Claude Code reads the tool's text content the same way it reads command-hook stdout, following the parsing rule under exit code 0. If the tool returns isError: true, the hook produces a non-blocking error and execution continues. To block…
- How the tool's result is read — On PreToolUse, Claude Code refuses the tool call the hook was checking. On other events such as UserPromptSubmit, PostToolUse, and Stop, the error is non-blocking.
- When the server is still connecting — A server showing the cached status connects when the hook calls its tool. If the server isn't connected at that point, the hook fails. The hook doesn't start an OAuth flow, so authenticate the server from /mcp first.
- Timeouts — On PreToolUse, a timed-out command, http, or mcp_tool hook doesn't block the tool call, except for hooks whose failure blocks the action. The call continues through the normal permission flow, so don't count on a stalled hook to act as a g…
- Block the action when a hook fails — On most events, when a hook fails or times out, Claude Code still carries out the action. A policy hook with a wrong path or a crashing script then lets everything through. To block the action instead, set "onFailure": "block" on a command…
- Block the action when a hook fails — For Agent SDK callback hooks, see Block the action when a callback fails.
- Block the action when a hook fails — MCP failure: an mcp_tool hook's server isn't connected, or its tool returns an error. With "block" set on an event such as PreToolUse or UserPromptSubmit, a non-empty answer also counts unless it's {} or JSON that sets a hook output field…
- Exit code 2 behavior per event — UserPromptSubmit · Yes · Blocks the prompt. See What a blocked prompt leaves behind
- UserPromptSubmit — Before v2.1.328, the output of code that Claude runs in a Code Mode session, for command, http, and mcp_tool hooks, when code can run in the background
- UserPromptSubmit — Apart from a command hook you run with async: true, a UserPromptSubmit command, HTTP, or MCP tool hook that reaches its timeout is canceled and its output, including any additionalContext, is discarded. The prompt still reaches Claude with…
- UserPromptSubmit decision control — decision · "block" rejects the prompt. Omit to allow the prompt to proceed
- UserPromptSubmit decision control — reason · Shown to the user when decision is "block". Not added to context, except when the hook blocks Code Mode output before v2.1.328
- What a blocked prompt leaves behind — By default the block message shown to the user ends with Original prompt: and the submitted prompt. To leave the prompt out of the message, print JSON with "suppressOriginalPrompt": true inside hookSpecificOutput, whether the hook blocks w…
- What a blocked prompt leaves behind — Either way, the prompt can still appear in local files such as the session transcript and your prompt history. A blocking hook isn't a way to keep a secret off disk. To limit or remove those files, see Plaintext storage and Clear local dat…
- WorktreeRemove — When claude remote-control cleans up a worktree, expect your hook to run without a prompt. If you ask Claude to remove a hook-created worktree, expect ExitWorktree to refuse unless Claude passes discard_changes: true.
- How the tool's result is read — Claude Code reads the tool's text content the same way it reads command-hook stdout, following the parsing rule under exit code 0. If the tool returns isError: true, the hook produces a non-blocking error and execution continues.
- How the tool's result is read — On PreToolUse, Claude Code refuses the tool call the hook was checking. On other events such as UserPromptSubmit, PostToolUse, and Stop, the error is non-blocking.
- When the server is still connecting — A server showing the cached status connects when the hook calls its tool. If the server isn't connected at that point, the hook produces a non-blocking error and execution continues. The hook never starts an OAuth flow, so authenticate the…
- Timeouts — On PreToolUse, a timed-out command, http, or mcp_tool hook doesn't block the tool call, except for hooks whose failure blocks the action. The call continues through the normal permission flow, so don't count on a stalled hook to act as a g…
- Block the action when a hook fails — On most events, when a hook fails or times out, Claude Code still carries out the action. A policy hook with a wrong path or a crashing script then lets everything through. To block the action instead, set "onFailure": "block" on a command…
- Exit code 2 behavior per event — UserPromptSubmit · Yes · Blocks the prompt, so it never reaches Claude. See What a blocked prompt leaves behind
- UserPromptSubmit — The output of code that Claude runs in a Code Mode session, for command, http, and mcp_tool hooks, when code can run in the background
- UserPromptSubmit — Apart from a command hook you run with async: true, a UserPromptSubmit command, HTTP, or MCP tool hook that reaches its timeout is canceled and its output, including any additionalContext, is discarded. The prompt still reaches Claude with…
- UserPromptSubmit decision control — decision · "block" stops the prompt before it reaches Claude. Omit to allow the prompt to proceed
- UserPromptSubmit decision control — reason · Shown to the user when decision is "block". Not added to context, except when the hook blocks Code Mode output
- What a blocked prompt leaves behind — A blocked prompt never reaches Claude, but its text isn't removed everywhere. By default the block message shown to the user ends with Original prompt: followed by the submitted text, and Claude Code writes that message to the session's tr…
- What a blocked prompt leaves behind — suppressOriginalPrompt changes only the block message. The submitted text can still appear in local files such as the session transcript and your prompt history, so a blocking hook isn't a way to keep a secret off disk. To limit or remove…
- WorktreeRemove — For a claude remote-control cleanup, Claude Code runs your hook without prompting you. ExitWorktree refuses to remove a hook-created worktree unless the call passes discard_changes: true.
Thursday · November 19, 2026
- November 19, 2026 · ChangelogAnthropic's page
- New release 2.1.328, date not given
- Claude Code changelog — Added "onFailure": "block" for mcp_tool hooks, as for command and HTTP hooks: a hook whose call fails blocks the action
- Claude Code changelog — Added CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUME, which lets a host stop claude -p --resume and --continue from running a tool call that a hook deferred
- Claude Code changelog — Added support for apps that embed Claude Code to switch on the policy plugin's allowManagedModsOnly option; an admin's managed settings still win
- Claude Code changelog — Self-hosted runner: Added a start-up warning when the host's settings.json sets a default permission mode that sessions ignore
- Claude Code changelog — Self-hosted runner: Added --hook-label to claude self-hosted-runner orchestrator, to hand chosen session labels to the spawn-runner hook
- Claude Code changelog — Self-hosted runner: Added --metadata key=value to claude --environment, to label a session for the spawn-runner hook
- Claude Code changelog — [VSCode] Added a notice when a message from another session is held, with a link to the settings file that can allow it
- Claude Code changelog — Changed Code Mode to no longer run UserPromptSubmit hooks, managed ones included, on scripts' output; to redact that output, use a PostToolUse hook with updatedToolOutput
- Claude Code changelog — Changed /code-review on most models to report only bugs and CLAUDE.md violations; run /simplify for reuse, simplification and efficiency cleanups
- Claude Code changelog — Changed managed PostToolUse hooks to no longer fire for calls refused before they ran: no log entry, rewrite, block or stop there; PostToolBatch gets most, not marked as refused
- Claude Code changelog — Changed a shell command rewritten by a PermissionRequest hook to a sandbox-excluded command to run outside the sandbox
- Claude Code changelog — Self-hosted runner: Changed the built-in gh api to be off by default where settings guard Claude's GitHub tools by name; --use-anthropic-gh true turns it on
- Claude Code changelog — Self-hosted runner: Changed CLAUDE_RUNNER_SESSION_UUID and CLAUDE_CODE_REMOTE_SESSION_UUID to both be set for the session and its checkout, post-session and spawn-runner hooks
- Claude Code changelog — Improved claude -p and SDK sessions to fetch managed-settings plugins that have their own git repository, in the background, for a later session
- Claude Code changelog — Improved how soon managed-settings plugins from a git marketplace load on a fresh machine in claude -p, SDK and Claude Desktop sessions; a short run may exit up to 30 seconds later
- Claude Code changelog — Improved memory use when resuming a session with many images
- Claude Code changelog — Improved memory use and response time in long SDK and desktop sessions that run slow commands or tools
- Claude Code changelog — Improved Code Mode's speed in auto and bypass-permissions modes by removing a 0.75 second pause after most scripts
- Claude Code changelog — Improved Code Mode edits: an edit that changes nothing no longer stops a script, and Claude is told where a failed edit matches or comes closest
- Claude Code changelog — Fixed Bash commands in zsh stopping with a "not found" error at a word that starts with =, such as echo ==== or [ a == b ]; =cmd no longer expands to a command's path
- Claude Code changelog — Fixed automatic compaction reusing the session's earlier system prompt instead of rebuilding it the way /compact does
- Claude Code changelog — Fixed saving a scheduled task erasing the project's other saved tasks when the scheduled tasks file can't be read, on third-party providers or with telemetry or feature flags turned off
- Claude Code changelog — Fixed a scheduled task with a typo in the project's scheduled tasks file being deleted the next time that file was saved
- Claude Code changelog — Fixed a case where a resumed cloud session could lose its compaction summary or recent messages when a message was saved late
- Claude Code changelog — Fixed some Claude Desktop sessions on third-party providers, other than scheduled tasks, ending for good with "Prompt is too long" after large tool results; the largest are now left out
- Claude Code changelog — Fixed Code Mode stopping a script when a permission prompt outside auto or bypass mode, a plan approval or a question stayed open for ten minutes
- Claude Code changelog — Fixed Code Mode losing a loaded skill, hook context or a note typed with a permission approval when resuming a session in which one reply ran several scripts
- Claude Code changelog — Fixed the model saying background agents were still running after an SDK interrupt had stopped them
- Claude Code changelog — Fixed Send now in the desktop app and SDK hosts telling Claude that a stopped web search found no results
- Claude Code changelog — Fixed /goal removing a skill's Stop hook, or ending early on another hook's result, when both had the same wording
- Claude Code changelog — Fixed /hooks losing your place when going back
- Claude Code changelog — Fixed /plugin reopening a skill, or closing the open page, when a slow save or removal finished after you went back
- Claude Code changelog — Fixed the /usage plugin total stopping at 2,000 tokens on 1M context models, and low token estimates in /usage and /plugin when no model is picked
- Claude Code changelog — Fixed /exit and Ctrl+D describing running work differently, and /exit warning about a workflow that had stopped
- Claude Code changelog — Fixed agent hooks running past their timeout while compacting after a request was refused as too large
- Claude Code changelog — Fixed a crash in secret masking when the machine is almost out of memory
- Claude Code changelog — Fixed the Bash sandbox on Linux renaming .git/HEAD after each command when the branch name is not valid UTF-8
- Claude Code changelog — Self-hosted runner: Fixed all running sessions being stopped when a proxy or web filter answered a poll with HTTP 200 and a body such as {}; the runner now retries such a poll
- Claude Code changelog — Fixed self-hosted runners stopping when their token ran out on a host whose clock is slow or was set back
- and 2 more
- November 19, 2026 · SettingsAnthropic's page
- Settings index — permissions.ask · Prompt before listed tool uses · Permission settings · Any file
- modelSettings — autoCompactWindow: a token count of 100000 or more, or "auto" for the window tuned for the model. /autocompact saves here. For that model, the value takes precedence over a top-level autoCompactWindow in the same settings file. Requires Cl…
- permissions.ask — A matching tool use can still run without your approval if a PermissionRequest hook or a mod allows it. With sandbox auto-allow, sandboxed commands can skip a bare Bash ask rule.
- Settings index — permissions.ask · Always prompt before listed tool uses · Permission settings · Any file
- modelSettings — autoCompactWindow: a number of tokens from 100000 to 1000000, or "auto" for the window tuned for the model. /autocompact saves here. For that model, the value takes precedence over a top-level autoCompactWindow in the same settings file. R…
- November 19, 2026 · HooksAnthropic's page
- PermissionRequest decision control — behavior · "allow" grants the permission, "deny" denies it. The hook can't approve what a deny rule refuses, unless a mod overrides the rule: see Precedence among rules, hooks, and mods
- WorktreeRemove — For a claude remote-control cleanup, Claude Code runs your hook without prompting you. ExitWorktree refuses to remove a hook-created worktree unless the call passes discard_changes: true.
- PermissionRequest decision control — behavior · "allow" grants the permission, "deny" denies it. Deny and ask rules are still evaluated, so a hook returning "allow" doesn't override a matching deny rule
- WorktreeRemove — Claude Code doesn't prompt you before your hook runs for an ExitWorktree call or a claude remote-control cleanup. ExitWorktree refuses to remove a hook-created worktree unless the call passes discard_changes: true, which makes your hook th…
Wednesday · November 18, 2026
- November 18, 2026 · ChangelogAnthropic's page
- New release 2.1.327, date not given
- Claude Code changelog — Added a list in /status of broken agent, skill, command and output style files, keybinding errors, an unavailable sandbox, ignored permission settings and hook matchers that never match
- Claude Code changelog — Added a note in /config when other settings override a row
- Claude Code changelog — Added x-claude-code-managed-settings-checksum to the gateway hint headers; sent where managed settings set CLAUDE_CODE_GATEWAY_HINT_HEADERS=1, including where they already do
- Claude Code changelog — Changed ExitWorktree to ask before removing a worktree that may hold unsaved work; refused in don't-ask mode or with nobody to answer, unless an allow rule, auto or bypass permissions mode allows it
- Claude Code changelog — Changed claude mcp add --scope project to stop, instead of overwriting the file, when .mcp.json lists its servers at the top level with no mcpServers key
- Claude Code changelog — Changed the arrow keys on most permission prompts to stop at No instead of wrapping around; a number past the last answer moves to No
- Claude Code changelog — Changed auto mode's notice about falling back to billed classifier requests to say that an upcoming release removes the fallback; each action it would have checked will be asked about or denied
- Claude Code changelog — Changed auto mode to ignore more allow rules that run any package, like Bash(pnpm dlx *), and path or version forms of ones it already ignored (/usr/bin/npm run:*); the safety check decides those
- Claude Code changelog — Changed a subagent resumed by a sibling's message to follow the session's permission settings; it may now ask, or be refused where nobody can answer
- Claude Code changelog — Changed the Artifact tool to refuse calls once settings turn Artifacts off, in sessions already running too
- Claude Code changelog — Changed the Artifact publish prompt to stop offering "don't ask again" in subagents and after a background task result, someone else's message or a compaction
- Claude Code changelog — Changed claude plugin eval to keep its deny rules over a plugin's permission hook, and to flag calls the hook let through
- Claude Code changelog — Changed MCP server logs to record the mode, action, and field names of elicitation requests and hook answers, not their full contents
- Claude Code changelog — Changed Code Mode to no longer refuse to start when an installed mod hooks tool calls; an administrator can still keep Code Mode off in managed settings
- Claude Code changelog — Changed the first subagent on a model to wait up to 1.5 seconds (10 in claude -p) for that model's settings from Anthropic, instead of starting without them
- Claude Code changelog — Changed first-run setup to skip terminal setup in remote VS Code, Cursor and Devin Desktop sessions, where it cannot change settings
- Claude Code changelog — Changed Anthropic-hosted cloud sessions to ignore more of a repository's flag and plugin delivery settings; its CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC now acts at most as DISABLE_TELEMETRY
- Claude Code changelog — [VSCode] Removed unused tools from the IDE connection (openFile, saveDocument, getOpenEditors and related)
- Claude Code changelog — Improved the reminder about a completed subagent after compaction: if Claude can't read the agent's output file, it is now told to ask the agent with SendMessage
- Claude Code changelog — Improved /plugin: the question before removing a marketplace now says that its plugins' settings and saved data are deleted, and a marketplace's page no longer shows another marketplace's error
- Claude Code changelog — Remote Control: Fixed stopping the server in worktree mode deleting a running session's git-ignored files, such as .env
- Claude Code changelog — Fixed claude mcp add and claude mcp remove with project scope deleting other top-level keys from .mcp.json, such as $schema or another tool's servers
- Claude Code changelog — Fixed a command you had allowed still running after you pressed Stop, when the approval arrived after a restart, in cloud and self-hosted runner sessions with no feature flags loaded
- Claude Code changelog — Fixed a remote session forgetting messages sent after Stop was pressed during a restart, if Claude Code then crashed
- Claude Code changelog — Fixed a compaction right after a reply cut at the output token limit losing that reply's tool call and its result
- Claude Code changelog — Fixed a settings change from /config and similar commands failing to save with no warning; a line under the prompt now says so
- Claude Code changelog — Fixed claude -p hanging before its first request when the fetch of a model's settings stalled, such as at a proxy; it now goes on without them after 10 seconds
- Claude Code changelog — Fixed the screen staying blank or frozen after a brief out-of-memory error
- Claude Code changelog — Fixed stalls on a compaction reply with thousands of unclosed tags and on some very long WebFetch URLs; WebFetch now refuses a URL over 2,000 characters before any permission prompt
- Claude Code changelog — Fixed Edit refusing with "File has not been read yet" after a compaction on unchanged files outside the project that Claude had already read in full
- Claude Code changelog — Fixed NotebookEdit removing the notebook file's final newline
- Claude Code changelog — Fixed a new artifact that you approved being refused in a cloud scheduled task's session, in organizations that require approval of each new artifact
- Claude Code changelog — Fixed in-process agent teammates on a different model from the lead compacting at the lead's context limit and on the wrong model; they now use their own limit and model, at that model's rate
- Claude Code changelog — Fixed cloud sessions giving no error when a UserPromptSubmit hook blocks a message sent while Claude works
- Claude Code changelog — Fixed failing hooks showing nothing: SubagentStop in background agents, SessionEnd at /clear and /resume, and CwdChanged and FileChanged in fullscreen
- Claude Code changelog — Fixed a Stop hook that failed to run being shown as having reported a problem
- Claude Code changelog — Fixed focus view keeping a finished reply hidden while a Stop hook was running
- Claude Code changelog — Fixed Claude getting a long managed PostToolUse hook output twice when a mod added context to the tool call
- Claude Code changelog — Fixed /model listing the wrong models in some terminal sessions when a project's .claude/settings.json sets ANTHROPIC_BASE_URL to an LLM gateway
- and 2 more
- November 18, 2026 · Scheduled tasksAnthropic's page
- Manage scheduled tasks — If a local one-time task that has already run isn't on the Scheduled tasks page, click the sort icon above the list and select Include completed.
- November 18, 2026 · SettingsAnthropic's page
- autoMode — Add your own rules to what the auto mode classifier blocks and allows. Use it to tell the classifier which repos, buckets, and domains your organization trusts, so it stops blocking routine internal operations. The classifier has built-in…
- allowedHttpHookUrls — Limit which URLs HTTP hooks can target. Set this key in managed settings to cover hooks your organization deploys, or in any settings file to cover other hooks. Claude Code runs a covered hook only if its URL matches a pattern in the list…
- allowedHttpHookUrls — Hostname matching is case-insensitive and treats hooks.example.com., with the trailing dot that marks a fully qualified domain name, the same as hooks.example.com, which is how DNS treats them.
- httpHookAllowedEnvVars — An HTTP hook can put the value of an environment variable into a request header, for example an Authorization: Bearer $HOOK_TOKEN header, but only for variables the hook lists in its own allowedEnvVars.
- httpHookAllowedEnvVars — Set this key in managed settings to cover hooks your organization deploys, or in any settings file to cover other hooks. A covered hook can use a variable only if both its own allowedEnvVars and this key's list, merged across settings file…
- requiredMaximumVersion — On native and npm installs, background auto-updates and claude update skip versions above the ceiling. claude update, claude install, and claude doctor keep working above the ceiling so users can recover. Pair it with requiredMinimumVersio…
- requiredMaximumVersion — When the desktop app updates, its own copy of Claude Code can be newer than the ceiling, and local sessions in the Code tab then don't start. To keep that copy from changing on macOS and Windows, turn off the desktop app's auto-updates. Th…
- autoMode — Add your own rules to what the auto mode classifier blocks and allows. Use it to tell the classifier which repos, buckets, and domains your organization trusts, so it stops blocking routine internal operations. The classifier ships with bu…
- allowedHttpHookUrls — Limit which URLs HTTP hooks can target. When you define this key, Claude Code runs an HTTP hook only if its URL matches one of the patterns and blocks the rest without running them; an empty array blocks every HTTP hook.
- allowedHttpHookUrls — Hostname matching is case-insensitive and treats hooks.example.com., with the trailing dot that marks a fully qualified domain name, the same as hooks.example.com, which is how DNS treats them. The allowlist applies to hooks from every sou…
- httpHookAllowedEnvVars — An HTTP hook can put the value of an environment variable into a request header, for example an Authorization: Bearer $HOOK_TOKEN header, but only for variables the hook lists in its own allowedEnvVars. This key sets an outer limit on that…
- httpHookAllowedEnvVars — The allowlist applies to hooks from every source, including managed settings.
- requiredMaximumVersion — Background auto-updates and claude update skip versions above the ceiling, so an installation inside the range stays inside it. claude update, claude install, and claude doctor keep working above the ceiling so users can recover. Pair it w…
- November 18, 2026 · HooksAnthropic's page
- Hook locations — #### Limit HTTP hooks
- Limit HTTP hooks — Set these HTTP hook allowlists in managed settings to cover hooks your organization deploys, or in any settings file to cover other hooks:
- Limit HTTP hooks — allowedHttpHookUrls: when defined, Claude Code runs an HTTP hook handler only if its URL matches the merged allowlist
- PermissionDenied input — No verdict from the classifier: starts with Auto mode could not evaluate this action and is blocking it for safety
- Hook locations — The HTTP hook allowlists apply to hooks from every source, including managed policy settings:
- Hook locations — allowedHttpHookUrls: when defined at any settings level, Claude Code runs an HTTP hook handler only if its URL matches the merged allowlist
- PermissionDenied input — reason · The denial reason. For a classifier verdict, in most sessions it names the matched rule in square brackets, such as [Data Exfiltration]; see Review denials for the other forms. For a no-verdict denial, it starts with Auto mode cou…
- November 18, 2026 · Docs indexAnthropic's page
- Use Claude Code — How Claude remembers your project: Give Claude persistent instructions with CLAUDE.md or AGENTS.md files, and let Claude accumulate learnings automatically with auto memory.
- MCP — ### Skills
- Skills — Extend Claude with skills: Create, manage, and share skills to extend Claude's capabilities in Claude Code. Includes custom commands and bundled skills.
- Automation — Automate actions with hooks: Run shell commands automatically when Claude Code edits files, finishes tasks, or needs input. Format code, send notifications, validate commands, and enforce project rules.
- Guides — Set up Claude Code in a monorepo or large codebase: Configure Claude Code for monorepos and large single-tree codebases with nested CLAUDE.md files, sparse worktrees, code intelligence, and per-package skills so Claude stays focused on the…
- Use plugins — Install and manage plugins: Install Claude Code plugins from a marketplace on any surface you use, choose an install scope, and update or remove them later.
- Manage plugins for your organization — Manage Claude Code plugins for your organization: Control which plugins Claude Code installs and allows across your organization through managed settings.
- Model and responses — Model configuration: Configure which model Claude Code uses, effort levels, extended context, and the auto-compact window
- Glossary — Glossary: Definitions for Claude Code terminology. Learn what agentic loop, compaction, CLAUDE.md, hooks, subagents, MCP, and other core concepts mean.
- Customize behavior — Modifying system prompts: Choose between the claude_code preset and a custom system prompt, and customize behavior with CLAUDE.md, output styles, append, or a fully custom prompt.
- Control and observability — Configure permissions: Control how your agent uses tools with permission modes, hooks, and declarative allow/deny rules.
Tuesday · November 17, 2026
- November 17, 2026 · ChangelogAnthropic's page
- New release 2.1.326, date not given
- Claude Code changelog — Added a message explaining why MCP servers stop loading when an administrator adds managed-mcp.json during a session
- Claude Code changelog — Added an esc to stop footer hint in a subagent's view where Esc would stop it
- Claude Code changelog — Changed edits in a session's mods folder to ask more often, and sandboxed commands to write to fewer folders; if every edit asks, remove any link there to an unreadable or network path
- Claude Code changelog — Changed auto mode to stop some shell commands that ran before
- Claude Code changelog — Changed a hook's "decision": "block" to hold in more cases, so a hook that always prints one may start blocking calls
- Claude Code changelog — Changed sessions that start in auto by default to take a server-managed defaultMode once settings load, or Manual if settings fail with no stored copy and policy fails or requires it
- Claude Code changelog — Changed sandboxed commands on macOS, Linux and WSL to no longer write to some sensitive home folders by default; some can be allowed with sandbox.filesystem.allowWrite in user or managed settings
- Claude Code changelog — Changed commands that a permission hook or SDK host rewrites while approving to stay in the sandbox if the original was checked as sandboxed; the approver can add dangerouslyDisableSandbox: true
- Claude Code changelog — Changed ExitWorktree to refuse removing a worktree while a background subagent or shell command may still be running in it, unless Claude passes discard_changes
- Claude Code changelog — Changed some PowerShell tool commands that define a function named like a built-in command to be refused, so Claude can rename it
- Claude Code changelog — Changed self-hosted runners under --trust-workspace false to ignore more repository settings; set such values in user or managed settings
- Claude Code changelog — Changed enabled plugins that were refused for a malformed plugin.json display field: they now load, with their hooks and MCP servers; administrators should check the plugins they deploy
- Claude Code changelog — Changed how allowedHttpHookUrls and httpHookAllowedEnvVars apply to hooks from managed settings
- Claude Code changelog — Changed HTTP hooks to ignore Content-Length and Transfer-Encoding in their headers setting; the request's length comes from its body
- Claude Code changelog — Changed some worktree sessions to skip some plugin settings; a notice names what was skipped
- Claude Code changelog — Changed /plugin uninstall, remove and switch questions to lists answered with the arrow keys and Enter, or Esc to cancel; y, n and u no longer answer them
- Claude Code changelog — Changed automatic compaction in plan mode to use the model answering you, such as Opus with opusplan, so it can cost more
- Claude Code changelog — Changed "Continue automatically at usage limit" to stop with a notice, sending nothing, when your login changes or ends during the wait
- Claude Code changelog — Remote Control: Changed how it connects through a proxy: requests now use a CONNECT tunnel, so a proxy that refuses CONNECT stops Remote Control with an error
- Claude Code changelog — Changed the /claude-api skill to build agents on Managed Agents by default, unless you want to host the agent loop yourself
- Claude Code changelog — Removed the tmux notice that said the mouse wheel needs set -g mouse on in fullscreen; the wheel scrolls without it
- Claude Code changelog — Removed the spinner tip that suggested /clear 30 minutes into a running turn
- Claude Code changelog — Improved response time of the first message after /compact in git repositories
- Claude Code changelog — Improved how a PreToolUse hook's updatedInput is kept when more than one hook answers a tool call; the rewrite now runs in more cases
- Claude Code changelog — Improved the error when a PreToolUse hook exits 127, saying its check may not have run
- Claude Code changelog — Improved hook failures, blocks and timeouts in the transcript: failures are now red instead of grey, a hook that stops Claude is yellow, and the reason is shown under them
- Claude Code changelog — Improved the folder trust prompt, at launch and in /cd, to name the project settings files Claude Code will load; at launch it also marks files that run commands
- Claude Code changelog — Improved /update-config in the terminal to use about 13,000 tokens of context instead of 93,000, and a rejected settings edit to quote only the changed settings
- Claude Code changelog — Improved the error for a settings or .mcp.json file with broken JSON: it now gives the line and column
- Claude Code changelog — Improved /plugin Marketplaces and Add marketplace: a compact list, a clearer remove confirmation, a clear text field and shorter errors when adding fails
- Claude Code changelog — Improved /plugin Errors and Stats tabs: long errors no longer fill the screen, uninstalling from an error asks first, and long skill names no longer break the table
- Claude Code changelog — Improved wording across the terminal: /plugin, /mcp, sign-in, setup, settings, the agent view, /teleport, Remote Control, update messages, spinner tips, /powerup and claude --help
- Claude Code changelog — Improved key hints in many dialogs and the ? lists: they show the keys that work, in one order and wording, and fit narrow windows; deeper screens in /hooks and /permissions say Esc goes back
- Claude Code changelog — Improved the footer after Ctrl+C stops background agents: it now offers ↓ to resume subagent while a stopped subagent is listed
- Claude Code changelog — Improved /autocompact and /scroll-speed with a slider that shows every value, takes Home, End and (in fullscreen) clicks, and fits narrow terminals
- Claude Code changelog — Improved on/off settings to read on / off in /config, /memory and auto mode setup
- Claude Code changelog — Improved alignment and spacing in /btw, /help, /scroll-speed, the settings error dialog and dialogs that suggest a plugin or setting
- Claude Code changelog — Fixed background sessions losing the LLM gateway your shell exported after a crash, after a reopen from another folder, or when the background service lacks it: they now stop before any model request
- Claude Code changelog — Fixed rules added in /permissions or at a main-conversation tool prompt, and /add-dir folders, looking saved when the settings file couldn't be written; the terminal now warns and names it
- and 2 more
- November 17, 2026 · Scheduled tasksAnthropic's page
- Find a run's session — Current layout: open the Group and sort menu, select Show, then select Scheduled. The group starts collapsed, so click its heading to expand it.
- Find a run's session — Current layout: open the Group and sort menu, select Show, then select Scheduled. The group starts collapsed, so click its heading to expand it. Show lists Scheduled when at least one of your tasks is Active, the Status a task's detail pag…
- November 17, 2026 · SettingsAnthropic's page
- syncClaudeAiSkills — Scope: User, local, or managed, and files passed with --settings.
- syncClaudeAiPlugins — Scope: User, local, or managed, and files passed with --settings.
- syncClaudeAiSkills — Scope: User, local, or managed, and files passed with --settings. A repository can't turn it off for you.
- syncClaudeAiPlugins — Scope: User, local, or managed, and files passed with --settings. A repository can't turn it off for you.
- November 17, 2026 · SkillsAnthropic's page
- Use skills in Cowork and cloud sessions — Cowork sessions and cloud sessions, including cloud scheduled tasks, don't read ~/.claude/skills/ on your machine. Both interactive and scheduled Cowork sessions load the skills enabled for your claude.ai account, synced at session start.…
- Use skills in Cowork and cloud sessions — Cowork sessions and cloud sessions, including cloud scheduled tasks, don't read ~/.claude/skills/ on your machine. Both interactive and scheduled Cowork sessions load the skills enabled for your claude.ai account, synced at session start.…
- November 17, 2026 · HooksAnthropic's page
- Matcher patterns — StopFailure · error type · rate_limit, authentication_failed, oauth_org_not_allowed, account_on_hold, billing_error, invalid_request, model_not_found, server_error, max_output_tokens, cloud_credential_error, unknown
- Exit code output — JSON object that passes schema validation · Success. The fields apply · Blocking error. Claude Code still reads the fields, but a PreToolUse call stays blocked even if you return "allow" or continue: false. For other events, see Exit code…
- Exit code 2 — Exit code 2 still blocks with most JSON your hook prints:
- Exit code 2 — JSON that sets continue: false: on events such as Stop and SubagentStop, the field takes precedence over exit code 2, so Claude or the subagent ends its turn. To keep Claude or the subagent working, leave the field out. On PreToolUse, the…
- Exit code 2 — Other JSON that passes schema validation: Claude Code still reads the JSON output fields. Even a permissionDecision of "allow" doesn't let the action through. On Elicitation and ElicitationResult, an exit-2 hook's hookSpecificOutput is ign…
- Exit code 2 behavior per event — If your hook exits 2 and also sets continue: false, check Exit code 2 first, because the result can differ from your event's row.
- JSON output — > Choose one approach per hook: either use exit codes alone for signaling, or exit 0 and print JSON for structured control. For what happens when you mix them, see Exit code output.
- Decision control — TeammateIdle, TaskCompleted · Exit code or top-level decision · Exit code 2 or decision: "block" keeps the teammate working or the task open. With continue: false, the teammate goes idle. Claude Code ignores continue: false on a TaskUpdate…
- UserPromptSubmit — The output of code that Claude runs in a Code Mode session, for command, http, and mcp_tool hooks, when code can run in the background
- UserPromptExpansion input — In addition to the common input fields, UserPromptExpansion hooks receive expansion_type, command_name, command_args, command_source, and the prompt string. The expansion_type field is slash_command for skill and custom commands, or mcp_pr…
- UserPromptExpansion input — "command_name": "my-plugin:example-skill",
- UserPromptExpansion input — "prompt": "/my-plugin:example-skill arg1 arg2"
- TaskCompleted decision control — With a TaskCompleted hook, you can keep the task open or let a teammate go idle:
- TaskCompleted decision control — JSON {"decision": "block", "reason": "..."}: the task stays open. Claude receives reason and keeps working.
- TaskCompleted decision control — JSON {"continue": false, "stopReason": "..."}: at the end of a teammate's turn, the teammate goes idle with the task still in progress, even if another of your TaskCompleted hooks blocks. The stopReason appears in the teammate's transcript…
- TeammateIdle decision control — With a TeammateIdle hook, you can keep the teammate working or let it go idle:
- TeammateIdle decision control — JSON {"decision": "block", "reason": "..."}: the teammate receives reason and continues working.
- TeammateIdle decision control — JSON {"continue": false, "stopReason": "..."}: the teammate goes idle even if another of your TeammateIdle hooks blocks. The stopReason appears in the teammate's transcript.
- Answer a form request from a script — To confirm the hook works, start Claude Code with claude --debug and give Claude a task that makes the server ask for the project key. No dialog appears, and the debug log has a line that contains Elicitation resolved by hook: and accept.
- Prompt-based hooks — Setup supports only command hooks. SessionStart supports only command and mcp_tool hooks, and MCP tool hook fields describes when its mcp_tool hooks run.
- Matcher patterns — StopFailure · error type · rate_limit, overloaded, authentication_failed, oauth_org_not_allowed, account_on_hold, billing_error, invalid_request, model_not_found, server_error, max_output_tokens, cloud_credential_error, unknown
- Exit code output — JSON object that passes schema validation · Success. The fields apply · Blocking error. Claude Code still reads the fields, but they can't override the block · Success. Claude Code ignores the exit code, and the fields alone decide. For ho…
- Exit code 2 — Exit 2 blocks even when your hook prints JSON:
- Exit code 2 — JSON that passes schema validation: Claude Code still reads the JSON output fields, but they can't override the block. Even a permissionDecision of "allow" doesn't let the action through. On Elicitation and ElicitationResult, an exit-2 hoo…
- JSON output — > Choose one approach per hook: either use exit codes alone for signaling, or exit 0 and print JSON for structured control. If you mix them, exit 2 keeps its blocking effect, and Claude Code still reads the JSON fields, with the one elicit…
- Decision control — TeammateIdle, TaskCompleted · Exit code or continue: false · Exit code 2 blocks the action with stderr feedback. JSON {"continue": false, "stopReason": "..."} also stops the teammate entirely, matching Stop hook behavior; TaskCompleted ign…
- UserPromptSubmit — The output of Claude's code in a Code Mode session, for command, http, and mcp_tool hooks, when code can run in the background
- UserPromptExpansion input — In addition to the common input fields, UserPromptExpansion hooks receive expansion_type, command_name, command_args, command_source, and the original prompt string. The expansion_type field is slash_command for skill and custom commands,…
- UserPromptExpansion input — "command_name": "example-skill",
- UserPromptExpansion input — "prompt": "/example-skill arg1 arg2"
- TaskCompleted decision control — TaskCompleted hooks support two ways to control task completion:
- TaskCompleted decision control — JSON {"continue": false, "stopReason": "..."}: when a teammate finishing its turn triggered the event, stops the teammate entirely, matching Stop hook behavior. The stopReason is shown to the user. When the TaskUpdate tool triggered the ev…
- TeammateIdle decision control — TeammateIdle hooks support two ways to control teammate behavior:
- TeammateIdle decision control — JSON {"continue": false, "stopReason": "..."}: stops the teammate entirely, matching Stop hook behavior. The stopReason is shown to the user.
- Answer a form request from a script — To confirm the hook works, start Claude Code with claude --debug and give Claude a task that makes the server ask for the project key. No dialog appears, and the debug log has a line that ends with Elicitation resolved by hook: {"action":"…
- Prompt-based hooks — SessionStart and Setup support command and mcp_tool hooks, and MCP tool hook fields describes when their mcp_tool hooks run. They don't support http, prompt, or agent hooks.
- Response schema — TaskCompleted: when it fires because a task is marked completed during a turn, the reason is returned to Claude as a tool error and the turn continues, regardless of continueOnBlock. When it fires because a teammate stops, it behaves like…
- Response schema — TeammateIdle: by default the teammate stops and the reason appears as a warning line. Set continueOnBlock: true to feed the reason back to the teammate and keep it working instead
- November 17, 2026 · Docs indexAnthropic's page
- Core concepts — How Claude Code uses prompt caching: See why a model switch triggers a slow uncached turn in Claude Code, what /compact costs, and how to check your prompt cache hit rate.
- Core concepts — How Claude Code uses prompt caching: Claude 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…
Sunday · November 15, 2026
- November 15, 2026 · ToolsAnthropic's page
- Tools reference — Skill · Executes a skill within the main conversation. Can prompt for skills that set allowed-tools, disallowed-tools, or hooks · Some skills
- Tools reference — Skill · Executes a skill within the main conversation · Yes
- November 15, 2026 · SettingsAnthropic's page
- Settings index — sandbox.failIfUnavailable · Refuse to start when the sandbox can't, instead of running unsandboxed, except in an Anthropic-hosted environment · Sandbox settings · Any file
- How env values interact with your shell — When the Claude Desktop app or a self-hosted environment runner starts the session, the launch environment it builds takes precedence instead. Claude Code ignores an env value from a settings file for a variable that environment already se…
- Settings index — sandbox.failIfUnavailable · Refuse to start when the sandbox can't, instead of running unsandboxed · Sandbox settings · Any file
- How env values interact with your shell — When the Claude Desktop app or a self-hosted environment runner starts the session, the launch environment it builds takes precedence instead: Claude Code ignores an env value from any settings file for a variable the launch environment al…
- November 15, 2026 · SkillsAnthropic's page
- Extend Claude with skills — > Custom commands have been merged into skills. Your existing .claude/commands/ files keep working. Claude can invoke them without you typing the command. Edit a command to stop Claude from invoking it on its own, or convert a command that…
- Extend Claude with skills — > * Stop Claude from invoking a command on its own: add disable-model-invocation: true to the command file's frontmatter
- Extend Claude with skills — > * Add supporting files such as scripts: convert the command to a skill. For example, move .claude/commands/deploy.md to .claude/skills/deploy/SKILL.md. The folder name becomes the command, so you still type /deploy.
- How Claude Code handles the body of a synced skill — In a terminal or VS Code session, Claude Code doesn't run ! commands, doesn't attach the files that @ references name, and doesn't substitute the ${CLAUDE_PROJECT_DIR} and ${CLAUDE_SESSION_ID} placeholders. The @ references and both placeh…
- Control who invokes a skill — If Claude tries when your message doesn't include /deploy as a separate word with no punctuation attached, Claude Code blocks the call. Expect Claude to suggest running /deploy yourself.
- Control who invokes a skill — (default) · Yes · Yes · Description in context, full skill loads when invoked
- Control who invokes a skill — user-invocable: false · No · Yes · Description in context, full skill loads when invoked
- Pre-approve tools for a skill — Claude Code applies a project skill's allowed-tools even in a -p run in a folder you've never trusted. A skill can grant itself broad tool access, so review the allowed-tools of skills checked into a repository before you run Claude Code t…
- Inject dynamic context — The !<command> syntax runs shell commands before the skill content is sent to Claude. The command output replaces the placeholder, so Claude receives actual data, not the command itself. For a skill synced from your claude.ai account, see…
- Environment — In a terminal or VS Code session, Claude Code doesn't run these commands in skills synced from your claude.ai account, regardless of this setting. This restriction requires Claude Code v2.1.228 or later.
- Add to deny rules: — Allow or deny specific skills using permission rules. When you add allow rules, Claude isn't limited to the skills they name.
- Extend Claude with skills — > Custom commands have been merged into skills. A file at .claude/commands/deploy.md and a skill at .claude/skills/deploy/SKILL.md both create /deploy and work the same way. Your existing .claude/commands/ files keep working. Skills add op…
- How Claude Code handles the body of a synced skill — In any other session on your machine, Claude Code doesn't run ! commands, doesn't attach the files that @ references name the way it does for a local skill, and doesn't substitute the ${CLAUDE_PROJECT_DIR} and ${CLAUDE_SESSION_ID} placehol…
- Control who invokes a skill — (default) · Yes · Yes · Description always in context, full skill loads when invoked
- Control who invokes a skill — user-invocable: false · No · Yes · Description always in context, full skill loads when invoked
- Pre-approve tools for a skill — Workspace trust doesn't gate this field. Claude Code applies a project skill's allowed-tools even in a -p run in a folder you've never trusted. A skill can grant itself broad tool access, so review the allowed-tools of skills checked into…
- Inject dynamic context — The !<command> syntax runs shell commands before the skill content is sent to Claude. The command output replaces the placeholder, so Claude receives actual data, not the command itself. Claude Code doesn't run these commands on your machi…
- Environment — Claude Code never runs these commands on your machine when they appear in skills synced from your claude.ai account, regardless of this setting. This restriction requires Claude Code v2.1.228 or later. How Claude Code handles the body of a…
- Add to deny rules: — Allow or deny specific skills using permission rules:
- Add to deny rules: — # Allow only specific skills
- November 15, 2026 · HooksAnthropic's page
- How a hook resolves — To see how the event, the matcher, and the handler fit together, consider this PreToolUse hook that blocks rm -rf commands.
- How if patterns match Bash commands — When Claude Code can't split the Bash input into subcommands, it runs your hook regardless of the pattern. Because the if filter is best-effort, use the permission system rather than a hook to enforce a hard allow or deny.
- Exit code 0 — If a <hook name> hook error notice carries a parse or validation message, use it to fix your output. For a hook that isn't async, your stdout counts as JSON output only when you print one JSON object, on one line or several, with nothing a…
- Exit code 0 — On these events, your plain-text stdout reaches Claude or the compaction summary:
- Other exit codes — A <hook name> hook error notice with Failed with non-blocking status code: means your hook didn't exit 0 or 2 and its stdout was plain text or empty. The run is a non-blocking error, so your hook didn't stop the action. If the notice cuts…
- JSON output — continue · true · If false, Claude stops processing entirely after the hook runs. It doesn't block a PreToolUse tool call, so to do that, also return permissionDecision: "deny"
- JSON output — For PreToolUse and PostToolUse hooks, the stop applies even when the tool call fails or completes while Claude is still streaming a response. It doesn't apply when the permission check refuses a PreToolUse call.
- Decision control — For redaction or transformation use cases, intercept at PreToolUse for outbound tool inputs and PostToolUse for the results of successful calls. PostToolUseFailure can't rewrite a result, so a failing command's output reaches Claude unchan…
- How a hook resolves — To see how the event, the matcher, and the handler fit together, consider this PreToolUse hook that blocks destructive shell commands.
- How if patterns match Bash commands — When Claude Code can't determine which commands the Bash input runs, it runs your hook regardless of the pattern. Because the if filter is best-effort, use the permission system rather than a hook to enforce a hard allow or deny.
- Exit code 0 — To fix your output, use the parse or validation message that the <hook name> hook error notice carries. For a hook that isn't async, your stdout counts as JSON output only when you print one JSON object, on one line or several, with nothin…
- Exit code 0 — For most events, Claude Code writes stdout to the debug log and doesn't show it in the transcript. On these events, your stdout reaches Claude or the compaction summary:
- Other exit codes — A <hook name> hook error notice with Failed with non-blocking status code: means your hook's exit code wasn't 0 or 2 and its stdout was plain text or empty. Unless the hook is one whose failure blocks the action, this is a non-blocking err…
- JSON output — continue · true · If false, Claude stops processing entirely after the hook runs. Takes precedence over any event-specific decision fields
- JSON output — suppressOutput · false · Has no effect: Claude Code accepts the field but doesn't act on it. A successful hook's stdout is never shown in the transcript and is recorded in the debug log
- JSON output — For PreToolUse and PostToolUse hooks, the stop applies even when the tool call fails or completes while Claude is still streaming a response.
- Decision control — For redaction or transformation use cases, intercept at PreToolUse for outbound tool inputs and PostToolUse for inbound tool results.
- WorktreeRemove input — The worktree stays on disk, and the hook's command and stderr go to the debug log.
Saturday · November 14, 2026
- November 14, 2026 · ChangelogAnthropic's page
- New release 2.1.325, date not given
- Claude Code changelog — [VSCode] Added prompt suggestions wherever the terminal shows them: Tab accepts the suggested next prompt; promptSuggestionEnabled: false in Claude Code's settings.json turns them off
- Claude Code changelog — Changed managed settings that turn the sandbox on: to keep commands running without prompts, set sandbox.autoAllowBashIfSandboxed: true in your highest-ranking managed source
- Claude Code changelog — Changed scheduled tasks and /loop to ask before running a skill that declares allowed-tools or hooks; add Skill(name) to permissions.allow to run it unattended
- Claude Code changelog — Changed "Always allow" in Desktop, IDE and SDK hosts: a rule alone is offered only when saving it would allow that command again, so a scheduled task that relied on one can now wait for you
- Claude Code changelog — Changed the sandbox to refuse sandboxed writes to .claude settings, skills, agents, commands and hooks in added directories, as it does in the launch folder
- Claude Code changelog — Changed plugins of a remote marketplace that managed settings declare, enable and list in prependPlugins or appendPlugins to count as the organization's; pluginDigests is deprecated and ignored
- Claude Code changelog — Changed nested skill loading: .claude/skills folders in --plugin-dir plugins no longer load from a session started above them; start Claude Code in the plugin folder instead
- Claude Code changelog — Changed EnterWorktree to refuse a WorktreeCreate hook path that goes through a symlink inside the project; have the hook print the real path
- Claude Code changelog — Changed prompt suggestions in the terminal to refresh less often after 8 turns in a row started by background or scheduled tasks, saving usage until you press a key or return to the terminal
- Claude Code changelog — Changed /login to ask for permission to change your privacy settings
- Claude Code changelog — Changed Claude Code on the web, cloud scheduled tasks and Cowork cloud sessions to start despite sandbox.failIfUnavailable: the hosted container has no command sandbox
- Claude Code changelog — Changed requests for settings, permission rules, hooks or status over a cloud or self-hosted session's connection to return less or be refused; what applies in the session is unchanged
- Claude Code changelog — Changed marketplace ref to accept the full ID of any commit on a branch or tag; clients before this version can't clone such a pin, so a marketplace pinned this way stops loading there
- Claude Code changelog — Changed -p and SDK runs in a worktree or submodule mounted into a container to apply .claude/settings.local.json allow rules only once the folder is trusted
- Claude Code changelog — Changed self-hosted runners to refuse a session whose session folder or repository path is a symbolic link, other than a checkout hook's checkout
- Claude Code changelog — Removed "ask your admin to raise it" from spend limit and shared budget errors in cloud sessions and under Remote Control
- Claude Code changelog — Improved the HTTPS authentication failed message for private plugin marketplaces: it now says git's terminal prompts and askpass programs are disabled, and it also appears with newer git versions
- Claude Code changelog — Improved the claude --desktop sign-in error to name the API key, provider or setting that stops a Claude account sign-in from working
- Claude Code changelog — Improved claude remote-control: it now exits with status 4 when it stops by itself (single-session runs still exit 0) and 69 when it can't register, so a service manager can start it again
- Claude Code changelog — Improved the messages shown when a background session can't use its session's API key or token: they no longer suggest adding the key to settings
- Claude Code changelog — Improved the bundled dataviz skill's part-to-whole advice for static images and for parts with a natural order, such as age bands
- Claude Code changelog — Fixed /security-review and skills' inline git commands stopping with an error in worktrees of bare repositories, --separate-git-dir checkouts and Android repo checkouts
- Claude Code changelog — Fixed sessions on many third-party gateways and Foundry stopping with a context length error on every turn instead of compacting
- Claude Code changelog — Fixed recent turns sometimes going missing from a resumed session after Claude Code stopped without a clean exit
- Claude Code changelog — Fixed focus view hiding the reply to your prompt when a scheduled task replied after it
- Claude Code changelog — Fixed /voice saying voice mode changed when managed settings, --settings, or the project's .claude/settings.json or .claude/settings.local.json kept it as it was; it now says what holds it
- Claude Code changelog — Fixed a second Enter in the exit dialog stopping background work after the move to the background was refused
- Claude Code changelog — Fixed one invalid value in an Agent SDK applyFlagSettings() call silently discarding all settings from earlier calls; a call that would do this is now refused with an error
- Claude Code changelog — Fixed an unrecognized teammateMode settings value being ignored without a warning: claude -p, the startup warning and claude doctor now list it as a skipped entry (still not applied)
- Claude Code changelog — Fixed --worktree skipping a WorktreeCreate hook from a plugin in CLAUDE_CODE_PLUGIN_SEED_DIR on the first run in a new home directory
- Claude Code changelog — Fixed /mcp still listing a plugin's MCP server after a plugin reload removed it while it was connecting
- Claude Code changelog — Fixed an MCP server staying "needs authentication", and its mcp_tool hooks being skipped, after a token refresh that was refused only for a moment
- Claude Code changelog — Fixed background MCP tasks that stopped updating after another call to the same server lost the connection, when a later call reconnects
- Claude Code changelog — Fixed worktree.sparsePaths and sparse plugin and marketplace clones leaving out the repository's root files on older git versions, such as 2.34
- Claude Code changelog — Fixed deny and ask permission rules and hooks for the Artifact tool not applying in some cloud sessions
- Claude Code changelog — Fixed a case where a committed .claude/settings.local.json could be treated as the user's own when Claude Code was started in certain subfolders of a repository
- Claude Code changelog — Fixed a managed strictPluginOnlyCustomization lock on agents and skills not taking effect in sessions that were already running
- Claude Code changelog — Fixed a case where the Bash sandbox did not fully protect a worktree's settings and hooks
- Claude Code changelog — Fixed /teleport's stash choice in some unusual git states: it now stops and says what to do
- and 2 more
- November 14, 2026 · Scheduled tasksAnthropic's page
- Manage scheduled tasks — Ask Claude: list, create, edit, and pause tasks by asking Claude in any Desktop session. For example, "pause my dependency-audit task" or "show me my scheduled tasks." To delete a task, use the Delete button on its detail page.
- Manage scheduled tasks — Let a task update itself: for a task to change its own schedule or prompt with the update_scheduled_task MCP tool, click Run now and approve the call each time
- Manage scheduled tasks — Edit the prompt on disk: open ~/.claude/scheduled-tasks/<task-name>/SKILL.md, or scheduled-tasks/<task-name>/SKILL.md under CLAUDE_CONFIG_DIR if you set that variable. The file uses YAML frontmatter for name and description, with the promp…
- Manage scheduled tasks — You can also list, create, edit, and pause tasks by asking Claude in any Desktop session. For example, "pause my dependency-audit task" or "show me my scheduled tasks." To delete a task, use the Delete button on its detail page.
- Manage scheduled tasks — To let a task change its own schedule or prompt with the update_scheduled_task MCP tool, click Run now and approve the call each time.
- Manage scheduled tasks — To edit a task's prompt on disk, open ~/.claude/scheduled-tasks/<task-name>/SKILL.md (or under CLAUDE_CONFIG_DIR if set). The file uses YAML frontmatter for name and description, with the prompt as the body. Changes take effect on the next…
- November 14, 2026 · SettingsAnthropic's page
- sandbox.autoAllowBashIfSandboxed — Let Claude Code run sandboxed Bash commands without a permission prompt. Commands that can't run in the sandbox still go through the regular permission flow. deny rules and content-scoped ask rules such as Bash(git push *) still apply, but…
- How env values interact with your shell — A value here overwrites the same variable exported in your shell, and when more than one settings file sets a variable, the highest-precedence one applies. Variables Claude Code ignores in env lists the exceptions.
- Variables Claude Code ignores in env — You can turn on Code Mode with CLAUDE_CODE_EXPERIMENTAL_CODE_MODE from your shell, user settings, or a --settings file, and not from managed, project, or local settings. With a 0 in any of the first three or in managed settings, Code Mode…
- allowedProviders — "anthropic": the Anthropic API on Anthropic's own host, through a claude.ai or Console sign-in or an API key. Pair it with forceLoginMethod or forceLoginOrgUUID to also restrict the sign-in. Desktop's Cowork on the user's machine counts as…
- minimumVersion — Keep background auto-updates and claude update from installing any version below the one you set. Claude Code writes this key for you when you choose to stay on your current version while switching channels in /config. Claude Code clears t…
- minimumVersion — Scope: Any file. Set this key in managed settings to pin an organization-wide minimum that user and project settings can't override.
- minimumVersion — Type: string, a version number such as "2.1.323"; a value that isn't a valid version is ignored
- minimumVersion — This example follows the stable channel and refuses to install any version below 2.1.323:
- minimumVersion — "minimumVersion": "2.1.323"
- How env values interact with your shell — A value here overwrites the same variable exported in your shell, and when more than one settings file sets a variable, the highest-precedence one applies. Variables Claude Code ignores in env lists the exceptions for project and local set…
- minimumVersion — Keep background auto-updates and claude update from installing any version below this one, so moving to the "stable" channel doesn't downgrade you from a newer "latest" build. Claude Code writes this key for you when you choose to stay on…
- minimumVersion — Scope: Any file. Set it in managed settings to pin an organization-wide minimum that user and project settings can't lower.
- minimumVersion — Type: string, a version number such as "2.1.100"; a value that isn't a valid version is ignored
- minimumVersion — This example follows the stable channel and refuses to install any version below 2.1.100:
- minimumVersion — "minimumVersion": "2.1.100"
- November 14, 2026 · SkillsAnthropic's page
- Bundled skills — You invoke a bundled skill by typing / followed by the skill name. Claude invokes some bundled skills automatically when relevant.
- Edit a skill during a session — > Live change detection covers SKILL.md text. For a skill folder that is also a plugin, changes to .mcp.json, agents/, and output-styles/ need /reload-plugins to take effect. Changes to hooks/ need it too, except a mod's module file when i…
- Permission checks on injected commands — Outside auto mode, when a command's permission check returns anything other than allow, Claude Code aborts the invocation. To keep an unmatched command from aborting, pre-approve it with allowed-tools, within these limits:
- Permission checks on injected commands — Managed-only rules: if /status in the session lists the skill under allowed-tools ignored this session, see When only managed permission rules apply.
- Bundled skills — You invoke a bundled skill by typing / followed by the skill name. Claude invokes some bundled skills automatically when relevant; others, including /verify, run only when you invoke them.
- Edit a skill during a session — Live change detection covers SKILL.md text only. For a skill folder that is also a plugin, changes to hooks/, .mcp.json, agents/, and output-styles/ need /reload-plugins to take effect.
- Permission checks on injected commands — Outside auto mode, when a command's permission check returns anything other than allow, Claude Code aborts the invocation with the same error. This includes a rule that would normally ask you. To keep an unmatched command from aborting her…
- November 14, 2026 · HooksAnthropic's page
- HTTP hook fields — onFailure · no · Whether the action that triggered the hook goes ahead when the hook fails: "continue" or "block". See Block the action when a hook fails for "block" and for leaving the field unset. Requires Claude Code v2.1.295 or later
- Timeouts — > If you use Code Mode, timeouts on PreToolUse work differently. See Tool call refused by a hook.
- Block the action when a hook fails — > If you use Code Mode, failures on PreToolUse work differently. See Tool call refused by a hook.
- UserPromptSubmit — The output of Claude's code in a Code Mode session, for command, http, and mcp_tool hooks, when code can run in the background
- UserPromptSubmit decision control — reason · Shown to the user when decision is "block". Not added to context, except when the hook blocks Code Mode output
- UserPromptSubmit decision control — If your hook blocks by exiting 2, its stderr text is treated the same way as reason.
- HTTP hook fields — onFailure · no · What happens to the action when the hook fails: "continue", the default, or "block". See Block the action when a hook fails. Requires Claude Code v2.1.295 or later
- UserPromptSubmit decision control — reason · Shown to the user when decision is "block". Not added to context
- UserPromptSubmit decision control — A hook that blocks by exiting 2 routes the same way as reason: the block message shows the stderr text to the user, and it isn't added to context.
Friday · November 13, 2026
- November 13, 2026 · ChangelogAnthropic's page
- New release 2.1.323, date not given
- Claude Code changelog — Added engines["claude-code"] to plugin.json: plugins outside their stated Claude Code version range are not installed, updated or loaded, and install and update pick the newest version that fits
- Claude Code changelog — Added type checking of a plugin's TypeScript hooks module to claude plugin validate; each finding is a warning, and --strict fails on it
- Claude Code changelog — Added to claude plugin validate the $ nouns a mod's engine.create hook adds, withholds or replaces
- Claude Code changelog — Added support for CLAUDE_CODE_AUTO_MODE_MODEL in managed settings for Claude Desktop sessions on third-party providers (takes effect once Claude Desktop includes this version)
- Claude Code changelog — Added an options menu (stop, switch to usage credits, upgrade) when a model needs usage credits that are turned off or used up
- Claude Code changelog — Added a progress heartbeat every 30 seconds while hooks run long in claude -p and SDK sessions, so a host such as Claude Desktop won't end the turn as hung (once it includes this version)
- Claude Code changelog — Added a one-time startup notice naming CLAUDE_CODE_PERFORCE_MODE when Perforce settings are found and the mode is off
- Claude Code changelog — [VSCode] Added a Claude Code trust prompt before the first session in a folder you haven't trusted; declining leaves the folder's settings and MCP servers unused
- Claude Code changelog — [Claude Code on the web] Added a failure notification when a scheduled task's run can't start because its settings require a sandbox that isn't available where it runs
- Claude Code changelog — [Claude Code on the web] Added a warning to a cloud session's Delete dialog when deleting it will pause scheduled tasks that run in that session
- Claude Code changelog — [Claude Tag] Added a confirmation step when an admin turns off Claude Tag for the organization, with a dialog that says what stops
- Claude Code changelog — [Claude Tag] Added a Retry button to a Slack channel's Configure page for when its settings fail to load
- Claude Code changelog — [Code Review] Added a Download CSV button to Code Review admin settings: export review costs per repository by month, week or day, for one repository, one GitHub organization or all
- Claude Code changelog — Changed /security-review to ask before Claude runs it, and skills' inline git commands to stop in bare-repository worktrees and similar folders until you allow them, outside auto mode and bypass
- Claude Code changelog — Changed organization settings and policy requests to no longer use a proxy set only by ALL_PROXY; set HTTPS_PROXY if your network needs a proxy for them
- Claude Code changelog — Changed the context window assumed for a model ID that Claude Code doesn't recognize from 200K to 1M; use /autocompact to compact earlier, or CLAUDE_CODE_DISABLE_1M_CONTEXT=1 to keep 200K
- Claude Code changelog — Changed Claude Code's own ripgrep and most internal git commands to run without most of its sign-in tokens and API keys, so a credential helper or hook under such a git command no longer finds them
- Claude Code changelog — Changed MCP_SDK_GENERATION=v1 to run the v2 MCP client in a compatibility mode (earlier handshake, relaxed OAuth sign-in checks), because the v1 MCP client is removed
- Claude Code changelog — Changed "don't ask again" so an allow rule that looks like it holds a secret, or would be saved to a settings.local.json that git tracks, lasts for the session only and isn't saved
- Claude Code changelog — Changed the sandbox on macOS and Linux: git worktree add, move and remove now fail read-only, as do commits in a worktree the session wasn't started in or given, even one inside the project
- Claude Code changelog — Changed start-up to stop when a --settings file isn't valid JSON and has a sandbox key, even one that turns the sandbox off
- Claude Code changelog — Changed what happens when a tool's permission check fails with an error after a PreToolUse hook returned "allow": Claude Code now decides the call as if no hook had answered
- Claude Code changelog — Changed what happens when a tool's permission check fails on input that a PermissionRequest hook rewrote: Claude Code now asks again, or refuses the call where nobody can answer
- Claude Code changelog — Changed mods: a *, namespace or negated hook on engine.create now only observes. To add or withhold a $ noun, hook engine.create by name
- Claude Code changelog — Changed claude plugin validate to fail a mod whose engine.create hook isn't written in the one accepted form; installed mods keep loading
- Claude Code changelog — Changed self-hosted runners under --trust-workspace false and VS Code sessions in an untrusted folder: the repository's settings can no longer disable your hooks or turn plugins on or off
- Claude Code changelog — Changed tool.list plugin hooks so the tools they add or remove apply to the model and every agent
- Claude Code changelog — Changed claude rm and the agents view to say a session is removed from the list, not deleted; claude rm help says the conversation is kept and claude --resume lists it
- Claude Code changelog — Changed a managed settings policyHelper to no longer take environment variables from user or --settings files; set what it needs in managed env or the launching shell
- Claude Code changelog — Changed a /skill or @file typed between two files picked in claude.ai or the desktop app, or after a picked file and a link, to no longer take effect
- Claude Code changelog — Changed what Claude is told after safeguards stop a forked skill or a workflow agent: retry with a narrower prompt or tell you, instead of doing the work itself
- Claude Code changelog — Changed first-run setup in Terminal.app to name the "Use Option as Meta key" setting, what Option stops typing, and how to undo it before you agree
- Claude Code changelog — Changed cloud scheduled tasks: a PostToolUse hook from your own settings can no longer replace the plan in ExitPlanMode's result
- Claude Code changelog — Changed CLAUDE_AUTOCOMPACT_PCT_OVERRIDE in Anthropic-hosted cloud sessions to stop applying to auto-memory extraction and, in some sessions, to /btw; the main conversation still follows it
- Claude Code changelog — Removed the subagentStatusLine setting: subagent rows always use the default look, and settings files that still hold the key load as before
- Claude Code changelog — Deprecated a plugin's agent setting: it still applies, and now warns at startup, in claude plugin list and in claude plugin validate
- Claude Code changelog — Improved memory use with many subagents: a finished subagent's transcript is freed sooner instead of staying in memory while later subagents run
- Claude Code changelog — Improved installing with the install script: the latest version is no longer downloaded twice
- Claude Code changelog — Improved WebFetch speed and memory use on deeply nested pages
- and 2 more
- November 13, 2026 · Scheduled tasksAnthropic's page
- Create a scheduled task — In the instructions box's toolbar, select a permission mode and model.
- Create a scheduled task — Permission mode: if you leave it unchanged, runs use your Claude Code settings.
- Create a scheduled task — Model: if the model menu reads Default · Set by admin and you don't pick another model, runs use the model your organization set in managed settings. A catch-up run that starts as the app opens can use the runtime default for your account…
- Manage scheduled tasks — To edit a task's prompt on disk, open ~/.claude/scheduled-tasks/<task-name>/SKILL.md (or under CLAUDE_CONFIG_DIR if set). The file uses YAML frontmatter for name and description, with the prompt as the body. Changes take effect on the next…
- Create a scheduled task — In the instructions box's toolbar, select a permission mode and model. If you leave them unchanged, runs use your Claude Code settings and the default model.
- Manage scheduled tasks — To edit a task's prompt on disk, open ~/.claude/scheduled-tasks/<task-name>/SKILL.md (or under CLAUDE_CONFIG_DIR if set). The file uses YAML frontmatter for name and description, with the prompt as the body. Changes take effect on the next…
- November 13, 2026 · SettingsAnthropic's page
- What runs under allowManagedHooksOnly — Status line and file suggestion narrow to managed settings: Claude Code reads statusLine and fileSuggestion from managed settings only, following the status line and file suggestion gates
- Status line and file suggestion gates — Claude Code makes two decisions for statusLine and fileSuggestion, in this order:
- subagentStatusLine — Scope: Any file. When allowManagedHooksOnly is on, or disableAllHooks is set outside managed settings, only the managed settings value runs.
- What runs under allowManagedHooksOnly — Status line and file suggestion narrow to managed settings: Claude Code reads statusLine, fileSuggestion, and subagentStatusLine from managed settings only, following the status line and file suggestion gates
- Status line and file suggestion gates — Claude Code makes two decisions for statusLine, fileSuggestion, and subagentStatusLine, in this order:
- agent — A plugin's own settings.json can also supply this key; see Ship default settings with your plugin.
- skipWebFetchPreflight — json settings.json theme={null}
- November 13, 2026 · HooksAnthropic's page
- Hook locations — Claude Code also narrows your statusLine and fileSuggestion settings to managed settings
- ConfigChange — Claude Code runs ConfigChange hooks when a settings file, a managed policy file, or a skill file changes. For managed policy, it runs them only when managed-settings.json or a file in managed-settings.d/ changes.
- ConfigChange — Changes such as these take effect without running the hooks:
- ConfigChange — Rules and settings you save with Yes, and don't ask again, /permissions, or /model, in the session you saved them from. If another open session loads the same file, the hooks run there.
- ConfigChange — Updates to server-managed settings, macOS managed preferences, or Windows registry policy
- ConfigChange — On WSL with wslInheritsWindowsSettings, a changed Windows-side managed settings file, which Claude Code picks up on its policy poll
- Hook locations — Claude Code also narrows your statusLine, fileSuggestion, and subagentStatusLine settings to managed settings
- ConfigChange — Claude Code runs ConfigChange hooks when a settings file, a managed policy file, or a skill file changes. For managed policy, it runs them only when managed-settings.json or a file in managed-settings.d/ changes. It applies server-managed…
- November 13, 2026 · Docs indexAnthropic's page
- Create plugins — Add components to a plugin: Add skills, hooks, MCP servers, and other component types to a Claude Code plugin, with an example that validates for each.
- Create plugins — Add components to a plugin: Add skills, hooks, MCP servers, and every other component type to a Claude Code plugin, with an example that validates for each.
Thursday · November 12, 2026
- November 12, 2026 · SettingsAnthropic's page
- disableRemotePreviewScripts — The desktop app reads this key; the terminal CLI ignores it. Requires Claude Desktop v5.1231.0 or later. Earlier versions ignore the key: to stop the scripts there, also set disableBrowserExternalNavigation, which turns off external browsi…
- disableRemotePreviewScripts — If the computer that runs the desktop app receives no other Claude Code managed settings, also set parentSettingsBehavior to "merge" in the managed settings that you create. On Windows, if you create a managed settings file, users also los…
- disableRemotePreviewScripts — This example shows the key alone, as you'd add it to managed settings that a computer already receives:
- wslInheritsWindowsSettings — json managed-settings.json theme={null}
Wednesday · November 11, 2026
- November 11, 2026 · SettingsAnthropic's page
- Settings index — strictPluginOnlyCustomization.agents · Block agents from user and project sources · Plugins and skills · Managed
- Settings index — strictPluginOnlyCustomization.hooks · Block hooks from user and project sources · Plugins and skills · Managed
- Settings index — strictPluginOnlyCustomization.mcp · Block MCP servers from user and project sources · Plugins and skills · Managed
- Settings index — strictPluginOnlyCustomization.skills · Block skills from user and project sources · Plugins and skills · Managed
- skipDangerousModePermissionPrompt — Scope: User, local, or managed, and files passed with --settings. Background sessions count only user and managed settings. An untrusted repository can't skip the dialog for you.
- strictPluginOnlyCustomization — Block skills, agents, hooks, and MCP servers from user and project sources. Combine it with strictKnownMarketplaces to choose which marketplaces users can install plugins from. Add disableSideloadFlags to reject the CLI flags that sideload…
- strictPluginOnlyCustomization — Type: true to lock all of them, or an array naming the ones to lock, from "skills", "agents", "hooks", and "mcp"
- forceLoginMethod — Restrict which kind of account people can log in with: "claudeai" for claude.ai sign-in or "console" for Claude Console sign-in. Set "gateway" to send people to a cloud gateway instead of a first-party login. Administrators set it in manag…
- Settings index — strictPluginOnlyCustomization.agents · Lock agents to plugin and managed sources · Plugins and skills · Managed
- Settings index — strictPluginOnlyCustomization.hooks · Lock hooks to plugin and managed sources · Plugins and skills · Managed
- Settings index — strictPluginOnlyCustomization.mcp · Lock MCP servers to plugin and managed sources · Plugins and skills · Managed
- Settings index — strictPluginOnlyCustomization.skills · Lock skills to plugin and managed sources · Plugins and skills · Managed
- strictPluginOnlyCustomization — Block skills, agents, hooks, and MCP servers from user and project sources, so they can come only from plugins or managed settings. Combine it with strictKnownMarketplaces to control the full customization supply chain: the marketplace all…
- strictPluginOnlyCustomization — Type: true to lock all four kinds of customization, or an array naming the kinds to lock, from "skills", "agents", "hooks", and "mcp"
- forceLoginMethod — Restrict which kind of account people can log in with. Set "claudeai" to allow only claude.ai accounts, "console" to allow only Claude Console accounts, or "gateway" to send people to a cloud gateway instead of a first-party login. Adminis…
- November 11, 2026 · MemoryAnthropic's page
- Load from additional directories — With the variable set, Claude Code loads the additional directory's CLAUDE.md, .claude/CLAUDE.md, CLAUDE.local.md, and .claude/rules/*.md files except rules that set a paths field. CLAUDE.local.md is skipped if you exclude local from --set…
- Load from additional directories — This loads CLAUDE.md, .claude/CLAUDE.md, .claude/rules/*.md, and CLAUDE.local.md from the additional directory. CLAUDE.local.md is skipped if you exclude local from --setting-sources.
- November 11, 2026 · HooksAnthropic's page
- Hooks that start a background process — A hook can start a long-running program, such as a dev server, and leave it running while the session continues. In the hook's script or shell form command:
- Hooks that start a background process — Redirect its stdout and stderr. For example, the Bash command npm run dev > dev-server.log 2>&1 & sends both to a file. If you don't redirect them, a hook that isn't async takes up to 10 seconds to finish after its own process exits.
- Hooks that start a background process — Print the decision before you start a background process, and redirect that process's stdout and stderr. If your script prints an allow, then starts a background process without redirecting that process's stdout and stderr, Claude Code blo…
- Hooks that start a background process — Print the decision before you start a background process, and redirect that process's stdout and stderr. If your script prints an allow, then starts a background process without redirecting that process's stdout and stderr, Claude Code blo…
- November 11, 2026 · Docs indexAnthropic's page
- What's New — Week 34 · August 17–21, 2026: Draft editable UI artboards with the /design skill, set the Concise output style, and start a Claude Code session on your machine from your phone.
- What's New — Week 23 · June 1–5, 2026: Run auto mode on Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry, prompt before writing files that can run code in acceptEdits mode, list installed plugins with /plugin list, and require an ap…
- What's New — Week 21 · May 18–22, 2026: Use auto mode on the Pro plan and with Sonnet 4.6, see which skills, subagents, and MCP servers drive your plan limits in /usage, and review diffs with the new /code-review command.
Tuesday · November 10, 2026
- November 10, 2026 · ChangelogAnthropic's page
- New release 2.1.322, date not given
- Claude Code changelog — Added --settings <file> to claude remote-control, which applies a settings file to every session it starts; if the file changes, no new session starts until you restart claude remote-control
- Claude Code changelog — Updated the bundled dataviz skill to suggest a list of meters, one row per item, for several ratios that each have their own limit
- Claude Code changelog — Changed the fast mode labels in /fast, /config and /model to name your current model when it supports fast mode, and removed "(Opus only)" from the VS Code row
- Claude Code changelog — Changed nested skill loading: .claude/skills folders inside ~/.claude/plugins no longer load when Claude works on files there
- Claude Code changelog — Windows: Changed how Claude Code finds programs it starts itself, such as git, to skip relative and UNC PATH entries and links onto a network share, and to pick up PATH changes from settings
- Claude Code changelog — Changed OpenTelemetry hook events in non-interactive sessions to leave two built-in hooks out of num_hooks and num_success after Bash and PowerShell calls
- Claude Code changelog — Changed headless sessions to reload mods in .claude/skills when their files change; set CLAUDE_CODE_PLUGIN_DIR_WATCH=0 to turn this off
- Claude Code changelog — Changed Cowork cloud sessions: a PostToolUse hook can no longer replace the answer to AskUserQuestion or the plan in ExitPlanMode's result; Claude reads the originals
- Claude Code changelog — Changed background command notifications and TaskStop results to show Claude only the start and end of a command over 1,000 characters, which saves context
- Claude Code changelog — Changed the account email check to refuse only a shell command that holds your email and names a User-Agent, without asking, so other commands and scheduled runs no longer stop at its prompt
- Claude Code changelog — Improved the Claude apps gateway's sign-in limit messages in Claude Code and on the /device page: they no longer name gateway settings, which the gateway's own log still names
- Claude Code changelog — Fixed the fallback model sometimes declining a request or mentioning a stopped response when the first model was blocked before replying
- Claude Code changelog — Windows: Fixed FileChanged hooks stopping for paths set through watchPaths after the first shell command, when the session's working directory had a lowercase drive letter
- Claude Code changelog — Fixed /compact showing twice in Remote Control on web and mobile
- Claude Code changelog — Fixed auto mode losing a background subagent's report that had started a turn when the conversation was compacted before Claude answered it
- Claude Code changelog — Fixed project skills, commands and agents staying missing after their folder was removed and came back mid-session, such as with git stash, including after entering a worktree
- Claude Code changelog — Fixed claude -p sometimes telling Claude that background commands get 30 minutes when they are stopped after 10
- Claude Code changelog — Fixed a large hook output pointing Claude to a file that held another hook's output from the same tool call
- Claude Code changelog — Fixed apps that embed Claude Code getting their own PreToolUse hook's ask reason instead of another hook's when both asked
- Claude Code changelog — Fixed a PreToolUse hook's ask being lost when another hook's defer finished first and could not be honored
- Claude Code changelog — Fixed project skills, commands and agents disappearing from the menu in SDK and desktop sessions after Claude entered a worktree
- Claude Code changelog — Fixed high memory use in long sessions that repeatedly read single lines from large files
- Claude Code changelog — Fixed one request carrying far more background agent reports than intended after Claude was stopped while several were waiting
- Claude Code changelog — Fixed a hang or out-of-memory crash when a connector in a cloud session lists resources with very long names
- Claude Code changelog — Fixed new messages not being saved, and claude -p, SDK and VS Code sessions hanging, when memory ran out while the transcript was being read
- Claude Code changelog — macOS: Fixed "Unable to read managed policy settings" at startup when a valid MDM profile was slow to read: the read is retried once, and a timeout is now reported as a timeout
- Claude Code changelog — Fixed remote sessions giving no reply after a restart when a UserPromptSubmit hook blocked a replayed permission answer; these hooks no longer run on that replay
- Claude Code changelog — Fixed PreToolUse mcp_tool hooks on stdio and HTTP MCP servers being skipped when their answer was over 16 MiB; the tool call is now refused
- Claude Code changelog — Fixed skill and command names holding a Bamum letter that some fonts draw as blank: they are now refused
- Claude Code changelog — Fixed background agents being reported as stopped by the user, and refused a resume, when a service interrupted a cloud session and nobody pressed Stop
- Claude Code changelog — Fixed NotebookEdit reporting success to hooks and telemetry when the edit failed, for example when the notebook changed while the permission prompt was open
- Claude Code changelog — Fixed Claude not being told when you stop or pause a running workflow, so it no longer says the workflow is still running
- November 10, 2026 · ToolsAnthropic's page
- Addresses and hosts denied to WebSocket watches — Claude Code denies URLs that point at a private, link-local, or cloud-metadata address, including hostnames that your machine resolves to one. Behind a proxy, a watch can reach a private, link-local, or cloud-metadata address unless the pr…
- Bash rules that deny or prompt for WebSocket watches — Ask rule: you're asked to approve the watch. You can't have an allow rule, a PreToolUse hook, bypassPermissions mode, or the auto mode classifier approve it for you. You can approve it from a PermissionRequest hook. Where nobody can answer…
- Sessions without Claude-drafted feedback — Sessions where Claude Code has stopped offering feedback after a refused report
- WebSocket source — Claude Code denies URLs that point at a private, link-local, or cloud-metadata address, including hostnames that resolve to one. It also denies hosts in sandbox.network.deniedDomains, and when allowManagedDomainsOnly is set in managed sett…
- November 10, 2026 · SettingsAnthropic's page
- Settings index — permissions.denyInsteadOfPrompting · Deny tool calls that would wait on a permission prompt, so a session nobody is watching keeps working · Permission settings · User or managed
- fastModePerSessionOptIn — Normally, running /fast saves fastMode to a person's user settings, so new sessions on a supported model start with fast mode on. On Fable 5.2, that happens only if they turned it on while using Fable 5.2. To make each person run /fast in…
- permissions.denyInsteadOfPrompting — A call goes ahead if an allow rule, your permission mode, or auto mode's classifier approves it. To allow most calls that would otherwise prompt, answer from a PermissionRequest hook.
- permissions.denyInsteadOfPrompting — Scope: User or managed, and --settings. A repository can't set it for you.
- permissions.denyInsteadOfPrompting — In ~/.claude/settings.json, this example starts sessions in auto mode and denies whatever would still fall back to a prompt:
- permissions.denyInsteadOfPrompting — #### What else denyInsteadOfPrompting stops
- What else denyInsteadOfPrompting stops — With the setting on, Claude Code also stops these requests for an answer:
- What else denyInsteadOfPrompting stops — MCP elicitation: Claude Code cancels an elicitation request unless an Elicitation hook answers it
- What else denyInsteadOfPrompting stops — Permission hosts: Claude Code doesn't ask your canUseTool callback or --permission-prompt-tool. To approve calls from code, answer from a PermissionRequest hook. Some calls are denied before any hook is asked, such as a critical-path remov…
- Messages from denyInsteadOfPrompting — In stream-json output, the runs that emit a permission_denied message report this decision_reason:
- Messages from denyInsteadOfPrompting — 20 actions were refused and no work went ahead in between, so Claude stopped.
- enabledPlugins — Project settings: plugins turned on for everyone in the repository. This doesn't install them, so each user installs them.
- extraKnownMarketplaces — Register additional plugin marketplaces by name, so that people who open the repository, or everyone your managed settings reach, get the marketplace without adding it themselves. Claude Code registers each marketplace it doesn't already k…
- prependPlugins — Scope: User or managed. Claude Code reads the key from managed settings. It reads the key from user settings only on a machine with no managed settings or managed-mcp.json file, in a session whose credential isn't a Team or Enterprise /log…
- appendPlugins — Scope: User or managed. Claude Code reads the key from managed settings. It reads the key from user settings only on a machine with no managed settings or managed-mcp.json file, in a session whose credential isn't a Team or Enterprise /log…
- skipWebFetchPreflight — json settings.json theme={null}
- fastModePerSessionOptIn — Normally, running /fast saves fastMode to a person's user settings, so new sessions on a supported model start with fast mode on. Set this key to true to stop that: a saved fastMode: true no longer turns fast mode on at session start, and…
- enabledPlugins — Project settings: plugins shared with everyone in the repository
- enabledPlugins — Enabling a plugin from an external source such as a GitHub repository or npm package in a project's .claude/settings.json doesn't install it for other people. On every path that loads plugins, Claude Code reports the plugin as not installe…
- extraKnownMarketplaces — Register additional plugin marketplaces by name, so that people who open the repository, or everyone your managed settings reach, get the marketplace without adding it themselves. Claude Code registers each marketplace it doesn't already k…
- prependPlugins — Scope: User or managed. Claude Code reads the key from managed settings. It reads the key from user settings only on a machine with no managed settings, in a session whose credential isn't a Team or Enterprise /login. It ignores the key in…
- appendPlugins — Scope: User or managed. Claude Code reads the key from managed settings. It reads the key from user settings only on a machine with no managed settings, in a session whose credential isn't a Team or Enterprise /login. It ignores the key in…
- November 10, 2026 · SkillsAnthropic's page
- Bundled skills — You invoke a bundled skill by typing / followed by the skill name. Claude invokes some bundled skills automatically when relevant; others, including /verify, run only when you invoke them.
- Bundled skills — You invoke a bundled skill the same way as any other skill, by typing / followed by the skill name. Claude invokes some bundled skills automatically when relevant; others, including /verify, run only when you invoke them, which keeps you i…
- November 10, 2026 · HooksAnthropic's page
- How the tool's result is read — If a hook error contains one of these messages, Claude Code couldn't read the tool's answer, so the hook gave no verdict:
- How the tool's result is read — MCP tool "security_scan" on server "my_server" gave no answer that could be read, because a message from the server was too large, so this hook gave no verdict. If this keeps happening, the tool must send a smaller answer.
- How the tool's result is read — MCP tool "security_scan" on server "my_server" answered without its text, which happens when a result is too large, so this hook gave no verdict. If this keeps happening, the tool must send a smaller answer.
- How the tool's result is read — On PreToolUse, Claude Code refuses the tool call the hook was checking. On other events such as UserPromptSubmit, PostToolUse, and Stop, the error is non-blocking.
- How the tool's result is read — If the error keeps appearing, return less data from the tool, or change the hook's tool or input so the answer is smaller.
- Emit terminal notifications — Hooks run without a controlling terminal, so writing escape sequences directly to /dev/tty fails. Instead, return the escape sequence in the terminalSequence field and Claude Code emits it for you through its own terminal write path. This…
- Emit terminal notifications — Claude Code writes the sequence itself when it processes your hook's output, so the field works on events that discard systemMessage and continue, such as Notification and StopFailure. It has some limits:
- Emit terminal notifications — The field works only from a hook that doesn't run in the background, so leave async and asyncRewake off.
- Emit terminal notifications — If you use tmux or GNU screen, complete the setup for them first. The example below fires a desktop notification from a Notification hook in a terminal that reads OSC 777, such as Ghostty or Warp. The script's jq -nc --arg call builds the…
- Decision control — PostToolUse: updatedToolOutput replaces the tool's result. In a Cowork cloud session, Claude Code ignores updatedToolOutput when the tool is AskUserQuestion or ExitPlanMode, and Claude reads the original answer or plan. See PostToolUse dec…
- Emit terminal notifications — Hooks run without a controlling terminal, so writing escape sequences directly to /dev/tty fails. Instead, return the escape sequence in the terminalSequence field and Claude Code emits it for you through its own terminal write path. This…
- Emit terminal notifications — Claude Code writes the sequence itself when it processes your hook's output, so the field works on events that discard systemMessage and continue, such as Notification and StopFailure. It has two limits:
- Emit terminal notifications — The example below fires a desktop notification from a Notification hook. The escape sequence is built with printf octal escapes so the control bytes never appear on the shell command line, and jq -n --arg builds the JSON output so quotes,…
- Decision control — PostToolUse: updatedToolOutput replaces the tool's result. See PostToolUse decision control
Monday · November 9, 2026
- November 9, 2026 · SettingsAnthropic's page
- disableBrowserExternalNavigation — If the computer that runs the desktop app receives no other Claude Code managed settings, also set parentSettingsBehavior to "merge" in the managed settings that you create. On Windows, if you create a managed settings file, users also los…
Saturday · November 7, 2026
- November 7, 2026 · ChangelogAnthropic's page
- New release 2.1.319, date not given
- Claude Code changelog — Added /claude-api latency-optimize to find where your Claude API code makes people wait and try faster settings against your eval
- Claude Code changelog — Added the CLAUDE_CODE_DISABLE_FEATURE_FLAGS environment variable, which stops feature-flag fetching without turning off telemetry; every flag then uses its built-in default
- Claude Code changelog — Added spend for today, this week and this month to /usage for developers behind a Claude apps gateway who have no spend limit, when the gateway runs this version or later
- Claude Code changelog — Added a note to /loop confirmations in cloud sessions that a timer stops with its container, with an offer of a loop that survives
- Claude Code changelog — Gateway: Added a start-up log warning when managed settings name an Amazon Bedrock guardrail in a header, which the gateway doesn't forward, and no bedrock upstream sets a guardrail
- Claude Code changelog — Changed auto mode behind an LLM gateway: CLAUDE_CODE_AUTO_MODE_SERVER=1 turns on the server-side check even with CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS set; if managed settings set the latter, they must set the 1 too
- Claude Code changelog — Changed auto mode so that a project's settings files or a plugin can no longer switch its server-side check back on once you have switched it off outside the project
- Claude Code changelog — Changed CLAUDE_CODE_PROXY_RESOLVES_HOSTS so that settings files can no longer set it where the host manages the network; set it in the process environment
- Claude Code changelog — Changed nested skill loading: with the Bash sandbox on, skills in .claude/skills folders below the starting folder load only if you start Claude Code there or /cd there
- Claude Code changelog — Changed PostToolUse hooks to run, with up to 10 seconds to finish, on tool calls that finish after a new message interrupts the turn
- Claude Code changelog — Changed what Claude is told after safeguards stop a subagent: retry with a narrower prompt or tell you, instead of doing the work itself
- Claude Code changelog — Changed artifact database saves of rows others may have written: each file gets a hidden marker file, and existing files without one, earlier versions' exports among them, are left alone and reported
- Claude Code changelog — Updated /claude-api managed-agents-onboard templates to match the Claude Console: removed Performance tuner, renamed two, and turned off web search and fetch in five whose prompts don't use them
- Claude Code changelog — Removed shortcuts_list and shortcuts_execute, which listed and started shortcuts saved in the extension, from Claude Code's built-in Claude in Chrome tools
- Claude Code changelog — Self-hosted runner: Removed the end-of-session upload of a session's debug log; a failed session's log stays on the runner host unless --remove-session-state is set
- Claude Code changelog — Improved /usage in cloud sessions: it now links to Settings → Usage on claude.ai in a case where plan limits can't be shown
- Claude Code changelog — [VSCode] Improved the confirmation for removing a plugin marketplace: it now checks which of its plugins are installed at that moment
- Claude Code changelog — [VSCode] Improved the chat panel's diagnostics tool for large workspaces: it leaves out files with no problems, returns compact JSON, and accepts an optional minimum severity
- Claude Code changelog — Fixed auto mode refusing actions without saying why when permission rules or autoMode settings are very large: it now explains and, unless autoMode deny rules are set, asks you in the terminal
- Claude Code changelog — Fixed edits to a settings file being ignored when made within a few seconds of Claude Code writing that file
- Claude Code changelog — Fixed ~/.claude.json, settings and edited files ending up empty or cut off when the disk fills during a save in a read-only folder or to a bind-mounted file (one session saving at a time)
- Claude Code changelog — Fixed background plugin auto-update not installing a dependency added by the updated plugin version
- Claude Code changelog — Fixed a mod's hot reload in .claude/skills missing a file that was deleted just after it appeared, and missing its return
- Claude Code changelog — Fixed the /claude-api skill saying Console web settings don't apply to Managed Agents sessions, and tightened its credential and permission examples
- Claude Code changelog — Fixed a terminal whose Claude apps gateway sign-in had expired sending telemetry and managed-settings requests that the gateway refused and logged as invalid_token
- Claude Code changelog — Fixed agent view removing a draft saved by another agent view in the same directory when exiting
- Claude Code changelog — Fixed cloud sessions losing session-scoped deny and ask permission rules, such as those a PermissionRequest hook adds, when the session moves to a new worker
- Claude Code changelog — Fixed a case where CLAUDE_CODE_AUTO_MODE_SERVER=1 in managed settings was ignored behind an LLM gateway when the gateway's URL is set only there and server-managed settings can't be fetched
- Claude Code changelog — Fixed a case where deny and ask rules, hook matchers and disallowedTools entries written with a claude.ai connector's terminal name (mcp__claude_ai_Slack) were ignored in Claude Desktop (takes effect once Claude Desktop includes this versi…
- Claude Code changelog — Fixed self-hosted runners: --trust-workspace false now also stops hooks in the repository's settings files and skills from running
- Claude Code changelog — Fixed /rename reporting plain success when the new name could not be saved to the session transcript; it now warns that the new name may not last
- Claude Code changelog — Fixed claude plugin update and /plugin "Update now" not installing dependencies added by the new plugin version
- Claude Code changelog — Fixed subagents being told after compaction to expect a completion notice for background agents they neither started nor took over
- Claude Code changelog — [VSCode] Fixed cloud sessions opened from the extension's Web tab bringing back turns that /clear, or Retry or Edit of a typed prompt, had removed
- Claude Code changelog — [VSCode] Fixed a deleted session's file coming back when that session was renamed in the extension
- Claude Code changelog — [VSCode] Fixed Claude carrying out an unapproved plan after a window reload: a step interrupted in plan mode now stops with a notice when the session comes back in another permission mode
- Claude Code changelog — [VSCode] Fixed the claude-vscode.toggleDictation command starting dictation in every open Claude view at once; it now acts only in the view you are using, and a second press stops it
- Claude Code changelog — [Cloud sessions] Fixed scheduled tasks silently dropping a connector named memory: runs now keep it, mounted under that name plus a short suffix
- Claude Code changelog — [Claude Tag] Fixed saving auto mode allow rules in Claude Tag admin settings overwriting another admin's changes; the save is now refused with a message
- November 7, 2026 · ToolsAnthropic's page
- Tools reference — PushNotification · Sends a desktop notification, and a phone push when Remote Control is connected, so a long-running task or session-scoped scheduled task can reach you when you step away. Push delivery runs through Anthropic-hosted infra…
- November 7, 2026 · SettingsAnthropic's page
- Settings index — forceLoginOrgUUID · Pin claude.ai logins to your organization; only managed settings enforce it · Authentication and providers · Any file
- forceLoginOrgUUID — Scope: Any file. In a settings file that isn't a managed source, Claude Code doesn't check which organization a login belongs to, and a single UUID pre-selects the organization during login.
- forceLoginOrgUUID — Scope: Any file. Only a managed source enforces the restriction; a single UUID in any other settings file pre-selects the organization during login without restricting it.
- November 7, 2026 · HooksAnthropic's page
- Defer a tool call for later — In interactive sessions: it logs a warning and ignores the hook result
- Defer a tool call for later — There is no timeout or retry limit. The session stays on disk until the cleanupPeriodDays retention sweep deletes it, after 30 days by default.
- Defer a tool call for later — If the answer isn't ready when you resume, the hook can return "defer" again. If you sent a prompt with that resume, Claude answers it without the tool's result and doesn't run the call. Resume without a prompt until the hook returns "allo…
- Resume when a deferred tool is unavailable — A result with stop_reason: "tool_deferred_unavailable" means a deferred call's tool isn't available in the resumed session, for example because its MCP server isn't connected. Your PreToolUse hook doesn't fire, and the result's deferred_to…
- Resume when a deferred tool is unavailable — Before v2.1.319, Claude Code answered a prompt without the tool's result and dropped the call. On those versions, send a new prompt once the tool is available.
- PostToolUse — #### PostToolUse after an interrupt
- PostToolUse after an interrupt — If a PostToolUse hook stops early after you send a message or interrupt during a tool call, check whether you pressed Ctrl+Enter, Enter, or Esc:
- PostToolUse after an interrupt — Ctrl+Enter: if pressing it ends the turn while a tool is running and the tool finishes, your PostToolUse hooks run on its result and have 10 seconds to finish. The key acts as Esc if you queued a ! command ahead of your messages or backgro…
- PostToolUse after an interrupt — Enter: a message you queue with Enter doesn't interrupt the turn, so the hooks keep their usual timeout.
- PostToolUse after an interrupt — Esc: you cancel the hooks at once, so send the message with Enter or Ctrl+Enter when the hooks have to run.
- PostToolUse after an interrupt — When the 10 seconds are up, Claude Code kills a command hook that is still running, whatever its timeout. To let a longer command hook finish, run it with async: true, which means the hook can't block or rewrite the result.
- PostToolUse after an interrupt — Before v2.1.319, the hooks didn't start after you interrupted the turn with a message, and a running hook was stopped.
- Defer a tool call for later — "defer" is for integrations that run claude -p as a subprocess and read its JSON output, such as an Agent SDK app or a custom UI built on top of Claude Code. It lets that calling process pause Claude at a tool call, collect input through i…
- Defer a tool call for later — There is no timeout or retry limit. The session remains on disk until you resume it, subject to the cleanupPeriodDays retention sweep, which deletes session files after 30 days by default, following the retention sweep rules.
- Defer a tool call for later — If the deferred tool is no longer available when you resume, the resume's first result has stop_reason: "tool_deferred_unavailable" and is_error: true, and the hook doesn't fire. This happens when an MCP server that provided the tool is no…
- Defer a tool call for later — If the answer you're waiting for is not ready when you resume without a prompt, the hook can return "defer" again. If you sent a prompt and the hook defers again, Claude Code treats the prompt the same way: it answers without the tool's re…
Friday · November 6, 2026
- November 6, 2026 · Scheduled tasksAnthropic's page
- Permissions for scheduled tasks — Each task has its own permission mode, which you set when creating or editing the task. Allow rules from ~/.claude/settings.json also apply to scheduled task sessions. When a run is stalled on a permission prompt, find the run's session an…
- Manage scheduled tasks — To let a task change its own schedule or prompt with the update_scheduled_task MCP tool, click Run now and approve the call each time.
- Permissions for scheduled tasks — Each task has its own permission mode, which you set when creating or editing the task. Allow rules from ~/.claude/settings.json also apply to scheduled task sessions. If a task runs in Manual mode and needs to run a tool it doesn't have p…
- Manage scheduled tasks — A scheduled task can also modify its own schedule or prompt from within a running session using the update_scheduled_task MCP tool. This lets a task reschedule itself based on what it finds, for example, rescheduling a code review to run e…
- November 6, 2026 · SettingsAnthropic's page
- fastMode — Turn fast mode on for sessions where it's available, for interactive work such as rapid iteration or live debugging where you want speed at a higher cost per token. You don't usually edit this key yourself. Running /fast writes fastMode: t…
- fastModePerSessionOptIn — Normally, running /fast saves fastMode to a person's user settings, so new sessions on a supported model start with fast mode on. Set this key to true to stop that: a saved fastMode: true no longer turns fast mode on at session start, and…
- fastMode — Turn fast mode on for sessions where it's available, for interactive work like rapid iteration or live debugging where you want speed at a higher cost per token. You don't usually edit this key by hand: running /fast writes fastMode: true…
- fastModePerSessionOptIn — Normally, running /fast saves fastMode to a person's user settings, so fast mode is on at the start of every later session. Set this key to true to stop that: a saved fastMode: true no longer turns fast mode on at session start, and each p…
- November 6, 2026 · HooksAnthropic's page
- How a hook resolves — > The matcher narrows to Bash tool calls and Monitor commands, and the if condition narrows further to Bash subcommands matching rm *, so block-rm.sh only spawns when both filters match:
- How a hook resolves — > The matcher Bash|PowerShell covers the PowerShell tool as well as Bash. A single if rule names one tool, so each tool gets its own handler: the first narrows to Bash subcommands matching rm *, the second to PowerShell commands matching R…
- Configuration — Add a matcher group to filter when it fires, like "for the Bash tool"
- Match Monitor commands — A PreToolUse or PermissionRequest hook with a Bash matcher also runs on shell commands Claude starts with the Monitor tool, but its allow and updatedInput have no effect on them. Requires Claude Code v2.1.314 or later. Matchers such as Bas…
- Match Monitor commands — A hook that runs for a Monitor command can deny it or have Claude Code ask you about it. To allow or rewrite the command, switch from a Bash matcher to one that includes Monitor:
- Match Monitor commands — Matcher that includes Monitor: with a matcher such as Bash|Monitor or .*, or with no matcher, the hook gets the Monitor call's own input, and allow and updatedInput apply. In if, name Monitor, as in Monitor(tail *), which matches by the ru…
- Match Monitor commands — Bash matcher: the hook gets a Bash call. In if, name Bash, as in Bash(tail *). The hook doesn't run if its if names Monitor
- Exit code 0 — For most events, Claude Code writes stdout to the debug log and doesn't show it in the transcript. On these events, your stdout reaches Claude or the compaction summary:
- Exit code 0 — UserPromptSubmit, UserPromptExpansion, SessionStart, and PostModelSwitch: Claude Code adds plain-text stdout as context that Claude can see and act on. It doesn't add stdout it failed to parse.
- Exit code 0 — PreCompact: your stdout becomes instructions for the compaction summary
- JSON output — Over the limit: except for PreCompact stdout, Claude Code saves the output to a file in the session directory. It replaces the output with the file path and a preview of up to the first 2,000 characters. A large valid Bash result is handle…
- PreToolUse decision control — PreToolUse hooks can control whether a tool call proceeds. Unlike other hooks that use a top-level decision field, PreToolUse returns its decision inside a hookSpecificOutput object. This gives it richer control: four outcomes (allow, deny…
- PreCompact input — #### PreCompact output
- PreCompact output — When a PreCompact hook exits 0 and doesn't block, Claude Code uses its stdout as instructions for the compaction summary. Keep that stdout under 10,000 characters per hook. Claude Code cuts longer output at the cap and appends a marker.
- How a hook resolves — > The matcher narrows to Bash tool calls and the if condition narrows further to Bash subcommands matching rm *, so block-rm.sh only spawns when both filters match:
- How a hook resolves — > The matcher Bash|PowerShell covers the PowerShell tool as well as Bash. A single if rule matches only one tool's calls, so each tool gets its own handler: the first narrows to Bash subcommands matching rm *, the second to PowerShell comm…
- Configuration — Add a matcher group to filter when it fires, like "only for the Bash tool"
- Exit code 0 — For most events, Claude Code writes stdout to the debug log and doesn't show it in the transcript. The exceptions are UserPromptSubmit, UserPromptExpansion, SessionStart, and PostModelSwitch, where Claude Code adds plain-text stdout as con…
- PreToolUse decision control — PreToolUse hooks can control whether a tool call proceeds. Unlike other hooks that use a top-level decision field, PreToolUse returns its decision inside a hookSpecificOutput object. This gives it richer control: four outcomes (allow, deny…
Thursday · November 5, 2026
- November 5, 2026 · SettingsAnthropic's page
- Settings index — permissions · Set allow, ask, and deny rules and the default permission mode · Permission settings · Any file
- Settings index — permissions.defaultMode · Set the default permission mode for new sessions · Permission settings · Any file
- forceRemoteSettingsRefresh — When the key is unset, Claude Code doesn't block startup on the fetch, though when the developer signs in at startup it waits up to five seconds for the fetch. Anthropic can require the settings, which does block a start without them. A Cl…
- forceRemoteSettingsRefresh — false: unless Anthropic requires the settings, Claude Code doesn't block startup on the fetch, though at a sign-in startup it waits up to five seconds for the fetch
- Settings index — permissions · Set allow, ask, and deny rules and the starting permission mode · Permission settings · Any file
- Settings index — permissions.defaultMode · Set the permission mode new sessions start in · Permission settings · Any file