Claude Code: Plugin System
# Plugins package Claude Code extensions for distribution. A plugin can include custom commands, subagents, skills, hooks, and MCP servers.
Plugins package Claude Code extensions for distribution. A plugin can include custom commands, subagents, skills, hooks, and MCP servers.
Plugins package Claude Code extensions for distribution. A plugin can include custom commands, subagents, skills, hooks, and MCP servers. Plugins entered public beta on October 9, 2025. Anthropic now publishes two general-purpose marketplaces: the official one (claude-plugins-official), which Claude Code adds for you by default, and the community one (claude-community, from the anthropics/claude-plugins-community repository), which you add yourself with /plugin marketplace add anthropics/claude-plugins-community.436
Covered here: plugin structure and the manifest, managing and pruning plugins, local development, installation, plugin config security, plugin components, local plugins in .claude/skills/, the plugin CLI, and mods.
Plugin Structure
my-plugin/
├── .claude-plugin/
│ └── plugin.json # Optional manifest; name is its only required key
├── bin/ # Executables invokable as bare commands (v2.1.91+)
├── commands/ # Slash commands
│ └── hello.md
├── agents/ # Subagents
│ └── helper.md
├── skills/ # Skills
│ └── my-skill/
│ └── SKILL.md
├── hooks/ # Event handlers
│ └── hooks.json
└── .mcp.json # MCP servers
The bin/ directory holds executables that Claude can invoke as bare commands while the plugin is enabled (v2.1.91+).134
Plugin Manifest
The manifest is optional: without it, Claude Code loads the components it finds in the standard layout. When you write one, name is its only required key.505
Minimal plugin.json:
{
"name": "my-plugin",
"description": "What this plugin does",
"version": "1.0.0",
"author": {
"name": "Your Name"
}
}
v2.1.129 manifest note: themes and monitors should now be declared under the manifest’s "experimental" object. Existing top-level declarations still work, but claude plugin validate warns so plugin authors can move them before publishing.153 As of v2.1.259, claude plugin validate --json prints the validation results as JSON.208
v2.1.281 validation: claude plugin validate now also checks MCP servers, reporting .mcp.json entries that would be silently dropped at load, undeclared ${user_config.*} references, and insecure URLs. It warns when a shell-form hook leaves ${CLAUDE_PLUGIN_ROOT} unquoted, which breaks on plugin paths with spaces, and plugin hook-failure errors now name the offending plugin.221
Manifest keys in v2.1.323 through v2.1.331. engines states the Claude Code versions a plugin works on, as a semver range under the claude-code key ("engines": { "claude-code": ">=2.1.323" }): a plugin outside its range is not installed, updated, or loaded, and install and update pick the newest version that fits. Versions v2.0.15 through v2.1.75 reject a manifest that has the field, so leave it out if the plugin must load there (v2.1.323). optionalDependencies lists plugins that install with yours and can be disabled or uninstalled on their own (v2.1.331, release notes only). A plugin’s agent setting is deprecated: it still applies, and now warns at startup, in claude plugin list, and in claude plugin validate (v2.1.323). claude plugin validate also type-checks a plugin’s TypeScript hooks module, each finding a warning that --strict turns into a failure (v2.1.323), and claude plugin install --json reports unsetOptionCount (v2.1.323) and commandPrinted and commandFailed (v2.1.330).527538
Marketplaces in v2.1.323 through v2.1.331. A marketplace ref accepts the full ID of any commit on a branch or tag; a client before v2.1.325 cannot clone such a pin, so the marketplace stops loading there. Marketplace and plugin installs fail when a git submodule is not on the commit its repository records (v2.1.323). Plugin MCP bundles (.mcpb, .dxt) unpack under the plugins directory, not in the plugin’s own folder, so read-only plugin folders load (v2.1.325), and uninstalling a plugin deletes those extracted files unless another plugin uses the same bundle (v2.1.326). For administrators: pluginDigests is deprecated and ignored (v2.1.325), and the v2.1.331 notes schedule automatic updates for marketplaces in managed extraKnownMarketplaces in a release on or after November 30, 2026, with "autoUpdate": false on an entry as the opt-out. Through v2.1.334 (December 1, 2026) no release note records that change, and the plugin loading docs still give automatic updates as off for every marketplace other than Anthropic’s official ones and those added from claude.ai.560561 /status gained a “Marketplace auto-update” row naming managed marketplaces that get no automatic updates, and why (v2.1.329).527
Plugin Management
> /plugin # Interactive interface
> /plugin install name@marketplace # Open the plugin's details; choose a scope to install
> /plugin install name --marketplace <source> # Offer to add the marketplace, then open the plugin's details (v2.1.275+)
> /plugin enable name@marketplace # Enable
> /plugin disable name@marketplace # Disable
> /plugin uninstall name@marketplace # Remove
> /plugin marketplace add ./local # Add local marketplace
> /plugin marketplace list # View marketplaces
Inside a session, /plugin install <plugin> opens the plugin’s details, where you pick a scope and confirm. From your shell, claude plugin install <plugin> installs without the menu.337
For one-off testing, v2.1.129 adds a session flag that fetches a plugin zip directly without installing it into your normal marketplace state:
claude --plugin-url https://example.com/my-plugin.zip
--plugin-dir also accepts .zip plugin archives as of v2.1.128, so local smoke tests can point at either a plugin directory or an archive.153 As of v2.1.265 it also takes a folder of plugins: each child folder with a manifest loads as its own plugin, and children added or removed while the session is running are picked up.212
For a permanent install without git or npm, v2.1.224 adds the archive plugin source: point a marketplace entry at a zip over HTTPS, with optional SHA-256 pinning so the install fails if the archive changes out from under you. The three distribution paths now line up cleanly — --plugin-url for one session, archive for a pinned install from a URL, marketplaces for anything with an update lifecycle. The pin is the interesting part for teams: a pinned hash turns “trust whatever this URL serves today” into “trust the exact bytes we reviewed.”198
Three quality-of-life changes land in v2.1.221: /plugin install refreshes a stale marketplace catalog and retries before reporting a plugin not found (the “not found” you’d hit right after a marketplace added something is gone); plugins installed from /plugin activate immediately when safe instead of always requiring /reload-plugins; and a plugin manifest can point skills at "." to serve skills from the plugin root — the validation error for a root-level SKILL.md now suggests exactly that.196 v2.1.268 finishes the thought: installing, enabling, or disabling a plugin in /plugin now takes effect when you close the menu – /reload-plugins is no longer needed afterwards.213
v2.1.229 adds command marketplace sources — a marketplace entry can point at a local command (an IDE, a build tool) that prints the plugin directory when run. The path is re-resolved every session and applied without a restart, and mode: "link" uses the directory in place instead of copying it. This is the development-loop source: your editor owns the plugin checkout, and Claude Code follows wherever it points.254
v2.1.275 adds two account-side conveniences: /plugin install <plugin> --marketplace <source> installs from a marketplace you have not added yet – Claude Code offers to add the marketplace first – and the plugins enabled on your claude.ai account sync into terminal sessions signed in with that account (the name@synced lane, now with an explicit opt-out: syncClaudeAiPlugins: false; skills sync the same way under syncClaudeAiSkills).215
Plugin Pruning (v2.1.121+)
Plugins can declare other plugins as dependencies. When you install a plugin, its dependencies install automatically and are marked as “auto-installed”. Two new commands clean up after manual uninstalls or marketplace removals:
| Command | Behavior |
|---|---|
claude plugin prune |
Remove auto-installed plugins whose parent is no longer present |
claude plugin uninstall <name> --prune |
Uninstall and cascade-remove its now-orphaned auto-installed dependencies |
Run prune after manual uninstalls or marketplace removals to keep ~/.claude/plugins/ lean.151
Local Development
Create a local marketplace for testing:
mkdir -p dev-marketplace/.claude-plugin dev-marketplace/my-plugin
# Create the plugin structure in dev-marketplace/my-plugin
# Create dev-marketplace/.claude-plugin/marketplace.json (below)
claude
> /plugin marketplace add ./dev-marketplace
> /plugin install my-plugin@dev-marketplace
A marketplace is a directory that holds a .claude-plugin/marketplace.json catalog. name, owner, and plugins are required, and a relative source resolves from the marketplace root, the directory that contains .claude-plugin/:337
{
"name": "dev-marketplace",
"owner": { "name": "Your Name" },
"description": "Plugins I am developing locally",
"plugins": [
{ "name": "my-plugin", "source": "./my-plugin" }
]
}
claude plugin validate ./dev-marketplace checks the catalog before you add it. To try a plugin for one session without any marketplace, run claude --plugin-dir ./my-plugin.
Plugin Installation Improvements (v2.1.51+)
Plugins now support custom npm registries and specific version pinning when installing from npm sources. The default git timeout for marketplace operations was increased from 30s to 120s, configurable via CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS.96 As of v2.1.275, npm-source plugins are fetched with npm pack --ignore-scripts and integrity-verified, so a package’s install scripts no longer run on your machine.215 v2.1.277 fixes reinstalls colliding with running sessions: claude plugin install could sometimes fail and break the installed copy when reinstalling a plugin version that a session or another program was using – an unchanged copy is now left alone. The same release makes claude plugin install on an already-installed plugin say when the marketplace offers a newer version, naming the claude plugin update command.216 v2.1.286 refuses npm plugin sources that are git repositories or folders, and installs plugin dependencies only from registry packages.228
Plugin Config Security (v2.1.207)
Two hardening changes address shell injection and repository-supplied values in plugin configuration:182
${user_config.*}is rejected in shell-form commands. Interpolating user-supplied config values directly into a shell string is an injection risk, so shell-form plugin commands that reference${user_config.*}now fail validation. Use the exec form (argument arrays, no shell parsing) or read the value from the$CLAUDE_PLUGIN_OPTION_<KEY>environment variable instead.pluginConfigsis no longer read from project-level.claude/settings.json. Plugin configuration values now come only from user settings, a--settingsfile, and managed settings, so a cloned repository cannot supply those values.
The containment thread continued: v2.1.265 fixed a backslash in a plugin path bypassing symlink containment on macOS and Linux, and v2.1.267 fixed a case of the same kind for fetched marketplaces, where a marketplace entry path containing a backslash could bypass the containment check.212213
Plugin Components
- Commands: Available as slash commands (
/plugin-command) - Agents: Available as subagents
- Skills: Auto-load based on skill config
- Hooks: Merged with user/project hooks, run in parallel
- MCP Servers: Auto-start when plugin enabled
Local Plugins via .claude/skills/ (v2.1.157+)
A plugin folder in a skills directory loads without a marketplace. claude plugin init <name> scaffolds a new plugin at ~/.claude/skills/<name>/, your personal skills directory, where it loads in every project as <name>@skills-dir. The command has no flag for another location: to keep a plugin in one repository, create the same layout yourself at <project>/.claude/skills/<name>/, including its .claude-plugin/plugin.json, and it loads after the same trust check that applies to project allow rules. Either way there is no marketplace to register. /plugin also gained argument autocomplete to match the rest of the command surface.263337
Plugin CLI: JSON Output, Pinned Installs, Eval Suites (v2.1.268 to v2.1.299)
Six additions move the plugin CLI toward scripted and CI use:213
--jsoneverywhere (v2.1.268):claude plugin install,uninstall,update,enable, anddisableall accept--json, and each row ofclaude plugin list --jsoncarrieserrorDetailsandnoteDetails, machine-readable state for wrapper scripts.- Pinned command acceptance (v2.1.271):
claude plugin install --accept-command <sha256>(and the same onclaude plugin update) accepts exactly the command a previous--jsonrun displayed, instead of a blanket-y– review once, approve those bytes, and a changed install command fails instead of running. claude plugin configure <plugin>(v2.1.285): shows a plugin’s options and which are unset, or saves new values read from stdin with--values-stdin.claude plugin install --configalso accepts<server>.<key>=<value>, so a bundled.mcpbMCP server’s own settings can be set at install time and it starts without visiting/plugin→ Configure.226claude plugin eval(v2.1.269): run a plugin’s eval suite against Claude Code and get scored, reproducible results as JSON plus an HTML report – regression testing for plugin behavior, not just manifest validation.claude plugin eval --helpdocuments the suite format. As of v2.1.299,--disallow-toolsand adisallowed_toolscase field keep named built-in tools, such as Agent, out of a run, and a run that ends on an API error scores 0 without grading and makes the suite exit 1.268269claude plugin install --marketplace <source>(v2.1.292): the shell command takes the same flag as/plugin install. It adds the marketplace if needed, under the same policy checks asclaude plugin marketplace add, then installs the plugin from it.233234237claude plugin validateandclaude plugin test(v2.1.289-292):validatechecks a plugin whose folder also holds a marketplace manifest (v2.1.289), and lists each hook a mod registers at a gating site with whether it has a.catch, asgatingHooksunder--json(v2.1.290). As of v2.1.292,claude plugin testfails, instead of passing silently, when anexpectinside a hook the test registered fails or the engine refuses a stub answer.232233234
Mods (v2.1.287)
A mod is a plugin whose JavaScript or TypeScript handlers run inside Claude Code instead of as a shell command. Claude Code calls a handler when an event happens, such as a tool call, a submitted prompt, or part of the interface being drawn, and the handler can watch the event, change it, or take it over. That lets a mod draw a pane beside the transcript or a band above the prompt, add a /command that runs without a Claude turn, or hold, answer, or reroute a tool call.229230
Mods require v2.1.287 and are on by default. A mod runs with your permissions and is not sandboxed, so install mods only from authors and marketplaces you trust; claude plugin validate ./some-mod lists the events a mod hooks and the calls it makes before you install it. To stop installed mods, disable the plugin in /plugin, start with --safe-mode for one session, or set "disableAllHooks": true in ~/.claude/settings.json, which also stops your settings hooks and status line. --safe-mode and disableAllHooks do not stop built-in mods: disable one in /plugin, except cc-plugin-sec-default, the guard for what your organization manages, which you cannot turn off.506 CLAUDE_CODE_ENABLE_FUNCTION_HOOKS, the early-access switch, is ignored from v2.1.287.230
Some built-in features are mods, such as /diff and AGENTS.md loading. From v2.1.333, /plugin has a Built-in tab that lists built-in plugins by group with plain names and shows the ones your organization’s settings lock on or off; on earlier versions they sit under Built-in on the Installed tab, which is also where the mods docs page, read on December 1, 2026, still places them. v2.1.333 moves more of the interface into built-in plugins you can turn off there: the terminal progress bar, /radio, spinner tips, the spinner and turn-end words, and the tab title’s busy mark. /stickers, /radio, the shipped spinner tips and words, and example prompts work only while their built-in plugins are running, and a command whose plugin is off answers with the plugin’s name as /plugin lists it; tips from spinnerTipsOverride and words from spinnerVerbs show either way.558559 One is off by default: You should know runs a side agent that watches your back and flags things you or Claude might miss. Turn it on with /plugin enable cc-plugin-you-should-know@builtin; the release notes limit it to first-party sessions with telemetry on.229230
Mod API additions (v2.1.288-292). v2.1.288 adds $.ui.selection(), which returns the text you last selected in fullscreen mode and, when the selection lies within one transcript row, that row. v2.1.289 fires agent.spawn for agent-team teammates (e.isTeammate is true), keeps one agent id across plugin hook events, and reports idle and waiting states in $.agent.list(). v2.1.290 adds serverToolUses to a turn.step result (the tool calls the API ran itself, such as the advisor), agentId to the tool.check event so a hook can tell a subagent’s permission check from the main session’s, and ceiling to what a tool.check hook reads, naming the approval an organization requires. v2.1.292 adds the prompt.autocomplete event for adding rows to the prompt’s autocomplete list, prompt caching in $.model.complete (cache: true on a block caches the request up to it), and workflow agents, with their run and index, in agent.spawn, so a mod can refuse them. serverToolUses, e.agentId, and e.ceiling each require v2.1.290 or later.231232233234338
Mod API additions (v2.1.299). $.prompt.media lets a prompt.submit hook of a mod installed by managed settings read the bytes of an image or document attached to the prompt, and $.session.identity() tells such a mod how the session is signed in, with its organization and email when managed forceLoginOrgUUID lists that organization. Text takes size, weight, mono, and tabular, Box takes named spacing steps (xs to xl), and bold is deprecated in favor of weight. skill.prompt receives the skill’s frontmatter, source, plugin name, and file path, which the mods reference lists as e.frontmatter, e.source, e.pluginName, and e.path requiring v2.1.299. session.append gains a queue door, agent.spawn fires on a resumed subagent or killed teammate with resume set, turn.start hears subagents’ turns (e.agentId), and $.http.fetch accepts a 304, 204, or 205 whose Content-Length exceeds the 4 MiB body limit. claude plugin test fails a served $ method that has not answered within ten seconds and tags each mod’s ui.render root with part: { plugin }. Values a hook hands back that nest deeper than 28,000 levels are refused.268269
Mod API additions (v2.1.300). virtualText prompt decorations draw text in the prompt box that never enters the draft or the submitted prompt; $.ui.view({ agentId }) shows an agent’s transcript in the main view and $.ui.view({}) returns; Text takes dir for right-to-left rows (Windows and VS Code’s terminal); the prompt.change hook fires when the prompt box changes without a typed edit; and agent.spawn can rewrite a workflow agent’s prompt and model.270271
Mod API additions (v2.1.301). Input takes rows for a text field of several lines in the terminal, where Enter submits and Shift+Enter, or a backslash before Enter, starts a new line. A hook’s .catch handler runs only when the hook throws or times out; events raised beneath the hook’s own calls skip that hook without asking its .catch. $.env.set resolves with {} once the variable is set or unset, or with { deny } saying why the write was not made. $.model.fork no longer returns nothing-to-fork when called before a new process’s first response has finished, as in claude -p runs and cloud sessions. In VS Code and the desktop and mobile apps, a tree drawn above the question dialog can hold Markdown and up to 48 rows (the terminal keeps 12 plain rows). The mods reference covers the CLI and the Desktop app as of v2.1.290 and the VS Code extension as of v2.1.299. The mods docs describe rows on Input and $.env.set, while virtualText, $.ui.view, prompt.change, $.prompt.media, and $.session.identity appear only in the release notes.272273338
Mods and permissions (v2.1.318 to v2.1.321). Mods Claude writes turn on without asking in auto and bypass modes, even under managed allowUnsandboxedCommands: false or allowManagedDomainsOnly, and do not load in dontAsk mode; a mod’s own tool calls ($.tool.call, $.mcp.call) raise no permission prompt, even under your own ask rules or in dontAsk and -p runs, while deny rules and organization policy still apply (v2.1.321). Claude Code records your answer when it asks to turn on the mods it writes, and $.model.fork takes an effort option so a side job can run at low whatever the session uses (v2.1.318). What a mod attaches at prompt.submit stays in the user’s turn rather than going out as a system message (v2.1.318). Headless sessions reload mods in .claude/skills when their files change, CLAUDE_CODE_PLUGIN_DIR_WATCH=0 turns that off, and .claude/skills folders inside ~/.claude/plugins no longer load when Claude works on files there (v2.1.321).283
Mods in v2.1.323 through v2.1.332. easel is a built-in mod that draws charts when asked and under MCP metrics results, on Pro, Max, and, where available, Team and Enterprise on macOS and Linux; turn automatic charts off in /config (v2.1.330). For authors: a *, namespace, or negated hook on engine.create now only observes, so hook engine.create by name to add or withhold a $ noun, and claude plugin validate fails a mod whose engine.create hook is not written in the one accepted form (v2.1.323). tool.list plugin hooks apply the tools they add or remove to the model and every agent (v2.1.323). A pane receives isPromptCovered when a dialog or a field above the prompt covers the prompt (v2.1.323), Box takes overflowX="scroll", and Text takes maxLines and wrap="clip" (v2.1.326). /cost, $.session.usage(), --max-budget-usd, and the cost and token metrics count a mod’s $.model.complete and $.model.classify calls (v2.1.325). Edits in a session’s mods folder ask more often (v2.1.326), and applications that embed Claude Code can switch on the policy plugin’s allowManagedModsOnly option, with an administrator’s managed settings still winning (v2.1.328). These are documented in the release notes.527
References
-
Claude Code v2.1.51 release notes, GitHub, February 24, 2026, fetched November 11, 2026: “Env var interpolation now requires an explicit
allowedEnvVarslist in the hook configuration.”; “HTTP hooks are now routed through the sandbox network proxy when sandboxing is enabled, enforcing the domain allowlist. HTTP hooks are not supported for SessionStart/Setup events.” Claude Code CHANGELOG, section 2.1.51, same fetch: “Addedclaude remote-controlsubcommand for external builds, enabling local environment serving for all users.”; “Added support for custom npm registries and specific version pinning when installing plugins from npm sources”; “Updated plugin marketplace default git timeout from 30s to 120s and addedCLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MSto configure.”; “Tool results larger than 50K characters are now persisted to disk (previously 100K).”; “BashTool now skips login shell (-lflag) by default when a shell snapshot is available, improving command execution performance.”; “Fixed a security issue wherestatusLineandfileSuggestionhook commands could execute without workspace trust acceptance in interactive mode.”; “The/modelpicker now shows human-readable labels”. Orchestrate teams of Claude Code sessions, Claude Code documentation, same fetch, covers plan approval for teammates and, under “Enforce quality gates with hooks”, theTeammateIdleandTaskCompletedhooks. ↩ -
GitHub Releases v2.1.91. v2.1.91: MCP
_meta["anthropic/maxResultSizeChars"]up to 500K,disableSkillShellExecutionsetting, pluginbin/executables, multi-line deep link prompts, Edit tool shorterold_stringanchors, improved/claude-apiskill, transcript chain break fix. April 2, 2026. ↩ -
Claude Code release notes — composite reference for v2.1.121 (April 28, 2026, 00:31 UTC) and v2.1.122 (April 28, 2026, 22:05 UTC). v2.1.121:
alwaysLoadMCP server-config option (skip tool-search deferral); MCP startup auto-retry 3x;claude plugin pruneand--prunecascade; type-to-filter/skills; PostToolUsehookSpecificOutput.updatedToolOutputextended from MCP-only to all tools;.claude/skills/,.claude/agents/,.claude/commands/exempt from--dangerously-skip-permissionsprompt; Vertex AI X.509 cert-based Workload Identity Federation (mTLS ADC); SDKmcp_authenticateredirectUri; OTel addsstop_reason,gen_ai.response.finish_reasons, anduser_system_prompt(gated behindOTEL_LOG_USER_PROMPTS) to LLM-request spans;/terminal-setupenables iTerm2 clipboard access for/copyfrom tmux; tab title inlanguagesetting;CLAUDE_CODE_FORK_SUBAGENT=1extended to non-interactiveclaude -p; faster post-upgrade startup (Recent Activity panel removed from release-notes splash); claude.ai connector deduplication against same upstream URL. v2.1.122:ANTHROPIC_BEDROCK_SERVICE_TIERenv var (default/flex/priority) sent asX-Amzn-Bedrock-Service-Tier;/resumePR URL search across GitHub, GHE, GitLab, Bitbucket;/mcpshows hidden connectors with remove-duplicate hint and clarifies post-browser unauthorized message; OTelclaude_code.at_mentionlog event for@-mention resolution; numeric attributes onapi_request/api_erroremitted as numbers (was strings). High-signal fixes across both: ~2GB memory leak in/usage, multi-GB RSS growth on image-heavy sessions,--resumecorrupt-transcript-line skip + large external-build session crash fix, Bash recovery when CWD deleted/moved, Bedrock thinking-on-application-inference-profile fix, Vertex/Bedrockoutput_configextra-input rejection on structured output, ToolSearch missing nonblocking MCP tools that connected after session start, image-resize ceiling 2576→2000 px on newer models,!exit/!quitin bash mode no longer kills CLI, scrollback duplication on tmux/GNOME/Windows Terminal/Konsole, malformedhooksentry no longer invalidates the entiresettings.json. ↩ -
Release notes read May 6, 2026: Claude Code v2.1.126 release notes, Claude Code v2.1.128 release notes, Claude Code v2.1.129 release notes, Claude Code v2.1.131 release notes, Claude Code CHANGELOG, and the npm registry record for
@anthropic-ai/claude-code, whosetimefield dates 2.1.131 to 2026-05-06T07:41:53Z. v2.1.126 added gateway model discovery for/model,claude project purge, OAuth code paste fallback, skill activation OTel, PowerShell primary-shell behavior on Windows, and changed--dangerously-skip-permissionsprotected-path prompting. v2.1.128 added zip support to--plugin-dir, MCP tool-count and zero-tool visibility, console-auth--channels, fixedEnterWorktree, and repaired plugin/cache/MCP/session issues. v2.1.129 added--plugin-url,CLAUDE_CODE_FORCE_SYNC_OUTPUT,CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE,skillOverrides, opt-in gateway model discovery viaCLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1, and the plugin manifestthemes/monitorsvalidation warning. v2.1.131 fixed VS Code extension activation on Windows and Mantle endpoint authentication; the release notes did not announce additional command or configuration additions. ↩↩ -
Claude Code v2.1.207 release notes. July 2026. v2.1.207: Auto Mode no longer requires the
CLAUDE_CODE_ENABLE_AUTO_MODEopt-in on AWS Bedrock, Google Vertex AI, and Microsoft Foundry, where administrators disable it with thedisableAutoModemanaged setting; Bedrock, Vertex AI, and Claude Platform on AWS now default to Claude Opus 4.8; theautoModesetting is no longer read from a repository’s.claude/settings.local.json(use~/.claude/settings.json); plugin security:${user_config.*}interpolation is rejected in shell-form plugin commands (use the exec form or the$CLAUDE_PLUGIN_OPTION_<KEY>env var), andpluginConfigsis no longer read from project-level.claude/settings.json. Fetched July 17, 2026. ↩ -
Claude Code v2.1.221 release notes and Claude Code v2.1.222 release notes, August 4, 2026. v2.1.221: VSCode Focus view (
Ctrl+Alt+F);mode: "mask"for sandbox credential files on Linux/WSL with sentinel copies and egress substitution, macOS falling back todeny; background sessions commit/push, draft-PR-only-when-warranted, CLAUDE.md git instructions, and end-of-run location reporting;/forksessions get their own worktree;/plugin installcatalog refresh and retry; immediate plugin activation when safe;"."as pluginskillspath; zsh[[ ]]regex-conditional permission bypass fix; PowerShell quoted-path permission fix;prompt-auditsubcommand; Stats cache-token breakdown; auto-mode prompt-cache reuse. v2.1.222: Remote Control auto-start restricted to user scope; worktree-isolation git fix extended to file edits and Bash in every session type; PreToolUse auto-allow bypass fix for background tasks;SendMessagepermission classification; ultraplan removed. Fetched August 5, 2026. ↩ -
Claude Code v2.1.224 release notes, August 7, 2026. Adds
claude self-hosted-runner(Team/Enterprise); cross-sessionSendMessagewithListAgentsdiscovery on macOS/Linux pluscrossSessionInbound/dialogExpirysettings; thearchiveplugin source with optional SHA-256 pinning; sandbox credential-masking optionsextract/onExtractNoMatch,decode: "jwt"withmaskClaims, andawsPairs/sigv4(requirenetwork.tlsTerminate; user/managed/--settingsscopes only); removes the 200-subagent-per-session spawn cap; fixes long-path session-directory crossing, trailing-slash sandbox deny bypass, and invisible sandbox-violation details. Fetched August 7, 2026. ↩ -
Claude Code release notes v2.1.257 and v2.1.258 (both September 1, 2026) and v2.1.259 (September 2, 2026), and the canonical CHANGELOG on September 3, 2026. npm dist-tags that day: latest and next both 2.1.259, stable 2.1.236; npm’s published versions jump from 2.1.252 to 2.1.257 – 2.1.253 through 2.1.256 were never published and have no CHANGELOG sections (the 2.1.244/2.1.249 pattern) – so the 2.1.258 note’s “regression introduced in 2.1.255” refers to an unpublished internal build and v2.1.257 is the first installable release carrying Fable 5.1 support. Source for the v2.1.257 items: Fable 5.1 support with the gateway caveat (in Claude apps gateway sessions the
fableandbestaliases keep resolving to Fable 5 for now, since a gateway not yet configured for Fable 5.1 rejects it – select it in/modelinstead);timeFormat/timeZone; the auto-mode “Containment Escape” rule (cloud metadata-credential fetches, egress evasion, and cross-tenant reach not auto-approved unless the environment marks them expected);CLAUDE_CODE_SUBAGENT_MODEL_FORCE; the one-time prompt before the first file read outside the working directories pluspermissions.blockReadsOutsideWorkingDirectories;/effort sand the session-scoped--effort; project/localdefaultMode: "bypassPermissions"ignored; themanagedSourcesBehavior: "merge"refinement (sandbox.credentials.awsPairsandsandbox.ripgrepread whole from the highest source that sets them); BashRead()/Edit()deny-rule coverage of< fileinput redirects and reader commands such astacandegrep; and the network-path refusal (UNC shares,/net/<host>automounts) on--add-dir,/add-dir, andadditionalDirectories.Source for the v2.1.258 fixes: a macOS 12 launch regression introduced in unpublished 2.1.255, and remote/scheduled sessions failing on requests requiring non-empty content. Source for the v2.1.259 items:
managedMcpServers; theallowedMcpServersscope change to user-added servers only;--permission-prompts none(anything that would prompt is denied automatically while the active permission mode keeps deciding); managed settings that fail to parse refusing startup and naming the source; frontmattermodel:on custom commands and skills honored in interactive sessions, with auto mode keeping the session model instead of running a turn on an unsupported frontmatter model;claude plugin validate --json; and the option-value/operand extension of BashRead()deny coverage (--ignore-revs-file=.env,-f.env,@filearguments,git diff/git grepoperands,cd DIR && cat FILEcompounds, andgrep -r/cp -rover a directory holding a denied file now asking). The settings docs do not yet documenttimeFormat/timeZoneormanagedMcpServers, and the CLI reference does not yet list--permission-prompts– the CHANGELOG is the source for those as of September 3, 2026. ↩ -
Claude Code v2.1.265 release notes, published September 8, 2026 at 20:37 UTC, and the canonical CHANGELOG the same day (the release body and the CHANGELOG section are identical). npm dist-tags that day: latest and next both 2.1.265, stable 2.1.236; npm’s published versions jump from 2.1.261 to 2.1.263 to 2.1.265 – 2.1.262 and 2.1.264 were never published (the 2.1.244/2.1.249/2.1.253-256 pattern) – and 2.1.263 (published September 6) carries only “Bug fixes and reliability improvements”. Source for:
--plugin-dirpointed at a folder of plugins (“each child folder with a manifest loads, and children added or removed while running are picked up”); the two prompt-cache prefix fixes, verbatim: “Fixed resuming a foreground-spawned subagent changing its tool list and system prompt prefix, which broke prompt-cache reuse for that agent” and “Fixed agent teammates and resumed subagents moving SubagentStart hook context and preloaded skills out of the prompt prefix on later turns, which broke prompt-cache reuse”; non-interactive sessions (-pwith stream-json input, Agent SDK, cloud sessions) no longer resetting the shell working directory at each new user message, so acdpersists across turns;MCP servers configured as
httpthat only speak the legacy HTTP+SSE transport now falling back to SSE as the MCP spec describes; the 1 GB cap on tool results saved to disk, with the in-conversation preview saying when a saved file was truncated; machines withforceLoginGatewayUrlin managed settings being Claude apps gateway sessions from startup, likeforceLoginMethod: "gateway", with a leftover claude.ai login or API key not used; Claude apps gateway sessions exporting OpenTelemetry directly to a collector the gateway’s managed settings name inOTEL_EXPORTER_OTLP_ENDPOINTinstead of through the gateway’s relay (sessions without a named collector still use the relay), anduser.emailanduser.groupsadded to the telemetry Claude Desktop and Cowork send through a Claude apps gateway, matching terminal sessions; two-key keyboard shortcuts waiting 3 seconds for the second key and showing a notice when they time out, where they previously cancelled silently when the second key arrived more than a second later, as happens inside tmux; and slash commands typed mid-prompt showing matches in a list (Tab opens it outside fullscreen) instead of a single suggestion, with a plugin skill found by its bare name. ↩↩ -
Claude Code release notes v2.1.266 (September 8, 2026), v2.1.267 (September 9), v2.1.268 (September 10), v2.1.269 (September 11), v2.1.270 (September 12), v2.1.271 (September 14), and v2.1.272 (npm September 14, GitHub release September 15 at 00:42 UTC), and the canonical CHANGELOG on September 15, 2026 – all seven release bodies and their CHANGELOG sections are identical. npm dist-tags on September 15 (~13:15 PT): latest 2.1.272, next 2.1.273, stable 2.1.236; 2.1.273 (published September 15 at 18:06 UTC) has no GitHub release and no CHANGELOG section, so its content is not documented here; and 2.1.263 still carries only “Bug fixes and reliability improvements” – no backfill ever landed. Source for, verbatim where quoted: the
/output-stylerevival (“Added/output-style [name]to list and switch output styles, including over Remote Control and in cloud and other headless sessions”, v2.1.269);claude plugin eval(“run a plugin’s eval suite against Claude Code and get scored, reproducible results (JSON + HTML report)”, v2.1.269); fast mode in Claude Code Remote sessions (“cloud and self-hosted runners: the host’s fast-mode setting or/fasttyped in the session applies where your organization allows it”, v2.1.271) and the/fast offfix;the
maxEffortLevelsetting (“top-level or per model undermodelSettings: caps the effort level on every provider, including Bedrock, Vertex and Foundry; users can still pick a lower level”, v2.1.267);--system-prompt-snapshot off(v2.1.267); the v2.1.267 prompt-cache stability batch (resumed-session tool-list, tool-description, and MCP-announcement rewrites;/modelswitches re-sending every tool definition, with attribution text now a conversation note;--system-prompt/--append-system-promptsessions recording the prompt and tool definitions once; mid-session MCP and plugin tools as deferred definitions); theeffort:frontmatter fix on pinned-default-effort models (Opus 4.7, Opus 4.8, Fable 5; v2.1.267); the marketplace backslash containment fix (v2.1.267); the task-tracking allowlist (“Changed the task-tracking tools (TaskCreate/Get/Update/List, TodoWrite) to be offered only on” Claude 3.x, Opus 4.0 to 4.7, Sonnet 4.0 to 4.6 and Haiku 4.5, with “setCLAUDE_CODE_ENABLE_TODO_TOOLS=1elsewhere”, v2.1.268); the symlinked-directory andenv -C/evaldeny-rule fixes (v2.1.268); the WebFetch/Artifact rule split (“Changed plainWebFetchdeny and ask rules to no longer apply to Artifact tool reads and updates; use anArtifactrule (orWebFetch(domain:claude.ai)) to block or gate them”, v2.1.268);/pluginchanges applying on menu close (v2.1.268); the WebFetch 300-second deadline andCLAUDE_CODE_WEBFETCH_DEADLINE_MS(v2.1.268);gatewayInternalNetworks, the empty-allow_cidrswarnings, and the gatewaypricing:rate sync (v2.1.268) plus themultiplierabove 1 up to 10 (v2.1.271);the
${VAR}and git-URL secret-hygiene fixes (v2.1.268);configDirectoryinclaude auth status --json(v2.1.268); the third-partyANTHROPIC_BASE_URLHTTP-400 regression fix (v2.1.268);bashEditDiffEnabled(v2.1.269); the attribution-reminder fix (“Fixed the attribution reminder overriding a CLAUDE.md or memory rule against commit and pull request attribution; lines set by managed settings still apply”, v2.1.269); the env varsOTEL_METRICS_INCLUDE_REPOSITORY,CLAUDE_CODE_WORKFLOW_MAX_CONCURRENT_AGENTS(1-256),CLAUDE_CODE_GATEWAY_MODEL_DISCOVERY_TIMEOUT_MS(default 3s), andCLAUDE_CODE_BG_TASKS_REPORT_RUNNING(v2.1.269); the v2.1.247 keyboard-regression fix and the kitty-query keyboard support over SSH (v2.1.269); theEdit()/tee,Bash(tee:*), and leading-!scoping fixes (v2.1.269); per-commandallowed_domainson Bash, PowerShell, and Monitor in auto mode with sandboxing (v2.1.271);omitClaudeMdagent frontmatter and--agentsJSON (v2.1.271); the auto-mode inline-!and subagent hand-back mechanics changes (v2.1.271);claude plugin install/update--accept-command <sha256>(v2.1.271);--resumekeeping[1m]across model families (v2.1.271); the fail-closed unreadablemanaged-mcp.json(v2.1.271); thefmt/column, wildcard-expansion, variable-declaration-flag, andblockReadsOutsideWorkingDirectorieschecker fixes (v2.1.271); and Markdown artifacts rendering as styled document pages with artifact watches rising to 10 (v2.1.271). v2.1.266 carries one line (theCLAUDE_CODE_USE_GATEWAYregression fix), v2.1.270 one line (the v2.1.269 git-prompting regression fix), and v2.1.272 only “Bug fixes and reliability improvements”. ↩↩↩ -
Claude Code release notes v2.1.274 (published September 17, 2026 at 00:12 UTC, 108 bullets), v2.1.275 (September 17 at 22:33 UTC, 96 bullets), and v2.1.276 (September 18 at 02:12 UTC, one line), and the canonical CHANGELOG on September 17, 2026 – all three release bodies and their CHANGELOG sections are byte-identical. npm dist-tags on September 17 (~22:08 PT): latest and next both 2.1.276, stable 2.1.267. Source for, verbatim where quoted: the claude.ai sync (“Added syncing of the skills and plugins enabled on your claude.ai account to terminal sessions signed in with it; opt out with
syncClaudeAiSkills: falseorsyncClaudeAiPlugins: false”, v2.1.275); the send-now key (“Added a send-now key (ctrl+enter, or ctrl+x ctrl+s) that interrupts the current turn and sends all queued messages at once; sent and queued messages show in gray until the model receives them”, v2.1.275);/plugin install <plugin> --marketplace <source>(“which offers to add the marketplace before installing the plugin”, v2.1.275); the npm plugin-source hardening (“Changed plugins installed from an npm source to be fetched withnpm pack --ignore-scriptsand integrity-verified, so a package’s install scripts no longer run”, v2.1.275); the synced account-skills Write/Edit results (“they now say the change is not saved to your account and how to save it”, v2.1.275); the tab-icon change (“Changed the Artifact tool to ask for a one-word tab icon on a first publish instead of an emoji favicon”, v2.1.275);CLAUDE_CODE_MCP_STARTUP_WAIT_MS(“to bound how long the first non-interactive turn waits for connecting MCP servers (0= don’t wait)”, v2.1.274); the MCP client default (“Changed Bedrock, Vertex, Foundry and telemetry-disabled installs to use the v2 MCP client and MCP 2026-07-28 negotiation with direct HTTP servers by default, as other installs already do (opt out:MCP_SDK_GENERATION=v1orMCP_PROTOCOL_NEGOTIATION=legacy)”, v2.1.274); the legacy HTTP+SSE 4xx fix (“Fixed MCP servers configured ashttpthat only speak legacy HTTP+SSE failing to connect when they answer the first request with 422 or another 4xx error”, v2.1.274); the"type": "sdk"skip (“Changed"type": "sdk"MCP entries in.mcp.json, settings, plugins and agent files to be skipped with a warning: only an SDK host application can register in-process servers”, v2.1.274); the naming change (“Changed the/statusGitHub line to read "Cloud sessions", and/web-setup,/ultrareview, and teleport messages to say "cloud session" instead of "Claude Code on the web"“, v2.1.274); artifact watching (“Changed artifact watching in local sessions: a new version published elsewhere no longer starts a turn; Claude learns of it from a later Artifact tool result”, v2.1.274); and the v2.1.276 regression fix (“Fixed every request failing with400 … Input tag 'advisor_20260301'whenANTHROPIC_BASE_URLpoints at a proxy or gateway (2.1.275 regression)”). ↩↩ -
Claude Code release notes v2.1.277 (npm published September 18, 2026 at 16:22 UTC; GitHub release 18:06 UTC) and v2.1.278 (npm September 19 at 01:48 UTC; GitHub release 03:10 UTC), and the canonical CHANGELOG on September 21, 2026. Source for every v2.1.277 and v2.1.278 item in this guide. Key quotes: “Added AGENTS.md support: in a project with no CLAUDE.md, Claude Code reads AGENTS.md instead; change it under "Project instructions" in
/config(not yet on Bedrock, Vertex or Foundry)”; “Changed auto mode for Claude API and Enterprise users, and on Bedrock, Vertex, Foundry and gateways, to default to the server-side classifier, which does not charge for classifier overhead”; “Added anAuto mode serverrow to/statusshowing whether this session’s auto mode classifier runs on the server”. Supporting docs fetched September 21, 2026: Memory, AGENTS.md section (load matrix, Project instructions values, theagents-md@builtinpluginConfigslocation, files not read) and Auto mode classifier request charges (fallback notice text and delivery, the/statusrow values, gateway pass-through, and the variable’s temporary status). ↩ -
Claude Code v2.1.281 release notes (npm published September 23, 2026 at 17:01 UTC; GitHub release 19:19 UTC; 176 bullets, identical to the 2.1.281 section of the canonical CHANGELOG, fetched September 24, 2026, which runs 2.1.280 to 2.1.281 with no gap). Source for every v2.1.281 item in this guide. npm dist-tags on September 24: latest and next 2.1.281, stable 2.1.273. Key quotes: “Changed send now (ctrl+enter or ctrl+x ctrl+s) to move running tools to the background instead of cancelling the turn”; “Changed
CLAUDE_CODE_AUTO_MODE_SERVERto also apply on a direct Anthropic API connection:0opts out of the server-side auto mode classifier (the local classifier then counts toward usage),1opts in”; “Changed the dangerousrmprompt in--dangerously-skip-permissionsand auto mode to wait 2 minutes for an answer, then deny the command with a rewrite hint”; “Added"attribution": falseinsettings.jsonto hide all commit and PR attribution”. The/agentswizard removal is from the 2.1.198 section of the same CHANGELOG: “Removed the/agentswizard; ask Claude to create or manage subagents, or edit.claude/agents/directly.” The auto mode classifier billing docs, fetched September 24, 2026, still read “The variable isn’t read on a direct connection to the Anthropic API”; by September 26 the page reads “On a direct connection to the Anthropic API, the variable requires Claude Code v2.1.281 or later.” The settings reference, same date, documents theattributionobject and marksincludeCoAuthoredBydeprecated; by September 26 it also documents thefalsevalue. ↩ -
Claude Code v2.1.285 release notes (npm published September 29, 2026 at 17:32 UTC; GitHub release 19:27 UTC; 136 bullets, identical to the 2.1.285 section of the canonical CHANGELOG, fetched September 29, 2026). Source for every v2.1.285 item in this guide. npm dist-tags on September 29: latest and next 2.1.285, stable 2.1.280. Key quotes: “Changed
claude -pand Python Agent SDK sessions on third-party providers or with telemetry off to start in auto mode when no permission mode is configured, like interactive sessions;--permission-modestill overrides it”; “AddedallowedProvidersmanaged setting to limit which API providers a machine may use”; “Addedclaude --desktopto open the Claude desktop app on the current directory, or on a session with--continue/--resume <id>”; “AddedCLAUDE_CODE_DISABLE_WEB_FETCHenvironment variable to turn off the WebFetch tool”; “Changed background Bash and PowerShell commands to stop after a time limit (theirtimeoutwithrun_in_background, default 30 min, max 2 h)”; “Changed sessions behind a customANTHROPIC_BASE_URLto use the 1M context window of models that have one (Opus 4.7+, Sonnet 5+, Fable); run/autocompact 200kif your gateway stops at 200K”; “Changed sandbox settings so project settings cannot widen or turn off an admin-required sandbox”; “Changed/config chrome=trueto direct you to the /config panel instead of enabling Claude in Chrome by default”. ↩ -
Claude Code v2.1.286 release notes (npm published September 30, 2026 at 17:14 UTC; GitHub release 19:10 UTC; 88 bullets, identical to the 2.1.286 section of the canonical CHANGELOG, fetched October 1, 2026, which runs 2.1.285 to 2.1.287 with no gap). Source for every v2.1.286 item in this guide. Key quotes: “Changed
--bareto connect only the MCP servers named on the command line, send the model no system reminders, and start no background tasks”; “Fixed every turn failing when the Anthropic API refuses the model your default or a model alias resolves to: Claude Code now retries once on the previous model of the same tier”; “Changed/hooksto open on one list of your configured hooks grouped by event”; “Fixedclaude auth statusreporting a Console sign-in’s stored API key asclaude.ai; it now reportsapi_key”; “Changed plugin installs to refuse npm sources that are git repositories or folders, and to install plugin dependencies only from registry packages”; “Changed how failed API requests are retried: one limit now covers a whole model call, so with the default retry settings a failing call sends at most 14 requests”. ↩ -
Claude Code v2.1.287 release notes (npm published October 1, 2026 at 16:59 UTC; GitHub release 18:00 UTC; 106 bullets, identical to the 2.1.287 section of the canonical CHANGELOG, fetched October 1, 2026). Source for every v2.1.287 item in this guide. npm dist-tags on October 1: latest and next 2.1.287, stable 2.1.285. Key quotes: “Changed Opus 4.7+ and Fable to use a 1M context window by default on Bedrock, Vertex, Foundry and the Claude apps gateway, with no
[1m]suffix (CLAUDE_CODE_DISABLE_1M_CONTEXT=1keeps 200K)”; “Added Claude Mods: plugins may now modify deeper behavior”; “Added You should know, a built-in mod where a side agent watches your back and flags things you or Claude might miss”; “Added URL prompts from MCP servers on the 2025-11-25 protocol”; “Changed MCP serveralwaysLoad: falseto defer all of that server’s tools behind tool search”; “setCLAUDE_AX_PREPARK_MS=50to restore the pause”; “Changed automatic model switches after a flagged message to keep your current effort level instead of the new model’s default”; “Changed whole-toolBashallow rules and allowing hooks to prompt for, not run, shell writes to files Claude Code’s file tools refuse outright”; “Addedprompt_textto the OpenTelemetryuser_promptevent”. ↩↩ -
Claude Code documentation, fetched October 1, 2026. Permission modes: for
claude -por the Agent SDK, “defaultin sessions that fetch feature flags. In sessions that don’t, such as on a third-party provider or with telemetry off,autowith Claude Code v2.1.285 or later”. Mods overview: “Mods are on by default. In the terminal, use Claude Code v2.1.287 or later”; “Mods aren’t sandboxed”;CLAUDE_CODE_ENABLE_FUNCTION_HOOKSis ignored from v2.1.287;cc-plugin-you-should-knowis “Disabled by default”. Model configuration: after a fallback, Claude Code “keeps the effort level the flagged request ran at”; “Opus 4.6 and Sonnet 4.6 reach 1M only through their[1m]variant”; the gateway 1M passage and/autocompact 200k. Amazon Bedrock and Agent Platform: “To enable it for a manually pinned model instead, append[1m]to the model ID.” Environment variables:CLAUDE_AX_PREPARK_MS“Default0… Before v2.1.287, the default was50”;CLAUDE_CODE_DISABLE_WEB_FETCH“The WebSearch tool stays available. Requires Claude Code v2.1.285 or later”. Headless: “Before v2.1.286, these limits held only partly”. Agent view: then:<text>filter and “A reply that is exactly/stopstops the session at once.” Settings reference:allowClaudeInChromeWithManagedMcp(“Requires Claude Code v2.1.282 or later”) andallowedProvidersentries. The MCP page does not listbareElicitationCapability. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording. ↩↩↩ -
Claude Code canonical CHANGELOG, section 2.1.288, fetched October 6, 2026, and npm registry metadata for
@anthropic-ai/claude-coderead the same day: 2.1.288 published October 2, 2026 at 18:30 UTC, 2.1.289 October 3 at 20:12 UTC, 2.1.290 October 5 at 18:12 UTC, 2.1.291 October 6 at 03:32 UTC, 2.1.292 October 6 at 17:10 UTC; dist-tags latest and next 2.1.292, stable 2.1.285. The CHANGELOG runs 2.1.287 to 2.1.292 with no gap. Source for every v2.1.288 item in this guide. Key quotes: “Changedclaude project purgetoclaude purge; the old name still works and prints a notice”; “Changed the background command time limit to apply only in unattended sessions (-p, Agent SDK, CI, cloud); terminal, desktop app and VS Code sessions have no limit”; “Added--max-findings <n>|allto /code-review”; “addedCLAUDE_CODE_DISABLE_STRUCTURED_OUTPUTSto turn structured outputs off”; “Changed the client-side auto mode classifier to ignore anANTHROPIC_DEFAULT_SONNET_MODELpin that names Claude Sonnet 5.5 or Opus 5.5 and use Claude Sonnet 5 instead”; “requests now time out after 60s (per-serverrequestTimeout)”. ↩ -
Claude Code canonical CHANGELOG, sections 2.1.289, 2.1.290, and 2.1.291, fetched October 6, 2026. Source for every v2.1.289, v2.1.290, and v2.1.291 item in this guide. Key quotes: “Fixed a regression in 2.1.290 where cloud sessions could drop answers to permission prompts”; “Fixed a regression in 2.1.288 where the last messages of a session could be lost when quitting”; “Changed the interactive session’s WebSearch budget to refill over time (100 calls/hour;
CLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOURsets the rate, 0 turns it off) instead of ending after 200 calls”; “Changed Claude in Chrome so that a project’s settings files can no longer turn it on; use--chrome,/chromeor your user settings”; “Changed the Bash tool to ask for permission before runningpyright, which is no longer treated as a read-only command”; “ChangedCLAUDE_CODE_DISABLE_ATTACHMENTSso a repository’s.claude/settings.jsonor.claude/settings.local.jsoncan no longer set it”; “Addedagent.spawnfor teammates, one agent id across plugin hook events, and idle and waiting states in$.agent.list()”. ↩↩ -
Claude Code canonical CHANGELOG, section 2.1.292, fetched October 6, 2026. Source for every v2.1.292 item in this guide. Key quotes: “Added
CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MSenvironment variable to set a longer base delay for the backoff when retrying an overloaded (529) request”; “Added aneffortparameter to the Agent tool”; “Added--marketplace <source>toclaude plugin install”; “Changed local (stdio) MCP server connections to negotiate protocol version 2026-07-28 by default on every install, including Bedrock, Vertex and Foundry;MCP_PROTOCOL_NEGOTIATION=legacyopts out”; “Security: Fixed PreToolUse hook approvals and auto mode bypassing the permission prompt for file reads from network (UNC) paths”; “Changed agent names to allow at most 256 characters”. ↩↩↩ -
Claude Code documentation, fetched October 6, 2026. Environment variables:
CLAUDE_CODE_DISABLE_STRUCTURED_OUTPUTS“Requires Claude Code v2.1.288 or later”;CLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSIONstill “(default: 200)”; no entry forCLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MSorCLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOUR. CLI reference and Agent view: partial session names forclaude attachandclaude logsrequire v2.1.290;claude purgelisted. Claude directory: “Before v2.1.288, the command wasclaude project purge.” Tools reference: “Before v2.1.288, it applied in every session” (the background command time limit). Code review:--max-findings“Requires Claude Code v2.1.288 or later”. Keybindings:agents:find,agents:rename,agents:previousGroup,agents:nextGroup, v2.1.288. Memory: “A path-scoped rule loads when Claude uses the Read, Write, or Edit tool on a matching file”. MCP: stdio negotiation still described as turning on “for Claude Code v2.1.285 or later, in sessions where Claude Code fetches feature flags”. Plugin CLI reference:--marketplacelisted for/plugin installonly; the marketplace-manifest validate behavior “requires Claude Code v2.1.289 or later”. Mods reference: written “as of v2.1.289”;agent.spawnwithe.isTeammateand$.uiselectionlisted. Sub-agents:effortdocumented as a frontmatter field only;nameis a “Unique identifier of at most 256 characters”, and a file with a name “longer than 256 characters” is skipped with an error in the debug log (re-fetched later on October 6). Settings reference:claudeInChromeDefaultEnabledscope “Global config”. Commands:/claude-apilistsmanaged-agents-onboard. Use Claude Code with Chrome: “run/chromein a CLI session and select the option that turns Chrome on by default”; the page does not mention the v2.1.290 project-settings change. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording. ↩↩↩ -
Claude Code documentation, fetched October 11, 2026. Hooks:
onFailureis “Whether the action that triggered the hook goes ahead when the hook fails:"continue"or"block"… Requires Claude Code v2.1.295 or later”; the failures it counts are “Can’t start”, “Exit code other than 0 or 2”, “HTTP error”, “Timeout”, and “Invalid output”; “With"block"set, a failure does what exit code 2 does on that event, except onPermissionRequest, where it denies the request”; “The field has no effect on”Stop,SubagentStop,TaskCompleted,TeammateIdle, and background (async,asyncRewake) command hooks. Environment variables:CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS“Starting delay in milliseconds of the backoff between retries of a request that the API rejects with a529overloaded error (default: 500)… Give whole milliseconds from 500 to 32000 in plain digits… Requires Claude Code v2.1.292 or later”;CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS“When unset, the wait has no limit. Requires Claude Code v2.1.295 or later”;CLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOUR“The default is100in an interactive terminal session. In a non-interactive session the default is0, which turns refill off”;CLAUDE_CODE_FILE_READ_MAX_OUTPUT_TOKENS“A read that Claude makes with theallow_largeparameter can go past this limit when the context window has room”;VERTEX_REGION_CLAUDE_HAIKU_5_5“Added in v2.1.293”; no entry forCLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MSorCLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.Sub-agents: the
skillsfield preloads “up to the first 32 distinct names in the list”; the per-invocationeffortparameter “overrides theeffortfield and stays in effect when the subagent is resumed… requires Claude Code v2.1.292 or later”;autoCompactWindowis not among the listed frontmatter fields. Status line:agentType“Requires Claude Code v2.1.293 or later”. MCP: “Claude Code asks stdio servers for that revision by default. To keep a stdio channel server on the earlier handshake, setMCP_PROTOCOL_NEGOTIATIONtolegacy, which keeps every server on it.” Plugin CLI reference:claude plugin installtakes--marketplace <source>, “Requires Claude Code v2.1.292 or later”. Mods reference: still written “as of v2.1.290”; no entry for$.ui.notifyorprompt.autocomplete. ↩ -
Claude Code v2.1.229 release notes, August 12, 2026. Adds
claude remote-control --continue, server-supplied hooks for self-hosted runners, SSE keepalive pings for gateway streaming, plugin marketplacecommandsources withmode: "link",ListAgentsoffline/cloudlabels, workflow fan-out prefix stagger (CLAUDE_CODE_WORKFLOW_PREFIX_STAGGER_MS=0disables), bracketed-IPv6 fail-closed sandbox domain lists,/commit-push-prdangerous-flag prompting, Windows--base-dirrequirement, VSCode session groups and resizable/btw. Fixes include streaming duplication, narrow-terminal RangeError crashes,\\?\/UNC path crashes, auto-mode attribution-header failure, gateway 1M/modelrejection, MCP OAuth127.0.0.1redirect, GitHub Action review posting, IDE-diagnostics stalls. Fetched August 12, 2026. ↩ -
Claude Code v2.1.156 release notes, Claude Code v2.1.157 release notes, Claude Code v2.1.158 release notes, Claude Code v2.1.159 release notes, and Claude Code Changelog (canonical). v2.1.156 (May 29, 2026) fixes an Opus 4.8 thinking-block mutation that surfaced as API errors; no 2.1.155 was published. v2.1.157 (May 29, 2026) makes
.claude/skills/plugins auto-load without marketplace registration, addsclaude plugin init <name>scaffolding, gives/pluginargument autocomplete, letsEnterWorktreeswitch between Claude-managed worktrees mid-session, leaves background worktrees unlocked after the agent finishes sogit worktree remove/prunework without manual unlocks, includestool_parametersintool_decisiontelemetry events whenOTEL_LOG_TOOL_DETAILS=1, plus fixes for unprocessable-image crashes (now text placeholders), sandbox network permission prompts in auto/bypass mode across desktop / IDE / SDK surfaces, background-session retire-on-park, agents-list Esc cancellation of “opening…”, background worktrees orphaned by the 30-day retention sweep,--resumebackground-subagent reporting, terminal rendering / clipboard in tmux + VS Code + Cursor + Windsurf, WSL image / screenshot / drag paths, long-resumed-conversation performance, and/terminal-setupdisabling GPU acceleration in integrated terminals. v2.1.158 (May 30, 2026) makes Auto Mode available on Bedrock, Vertex, and Foundry for Opus 4.7 and Opus 4.8 withCLAUDE_CODE_ENABLE_AUTO_MODE=1. v2.1.159 (May 31, 2026) is internal infrastructure only with no announced user-facing changes. Fetched May 31, 2026. ↩ -
Claude Code canonical CHANGELOG, section 2.1.299, fetched October 14, 2026, and npm registry metadata for
@anthropic-ai/claude-coderead the same day: 2.1.299 published October 14, 2026 at 00:23 UTC and 2.1.300 at 14:27 UTC; dist-tags latest 2.1.299, next 2.1.300, stable 2.1.287; no 2.1.297 or 2.1.298 on npm and no CHANGELOG section for them or for 2.1.300. The GitHub release (02:49 UTC) carries 190 bullets, identical to the CHANGELOG. Source for every v2.1.299 item in this guide. Key quotes: “Added idle compaction in the terminal: a 200K+ token conversation left idle for about 54 minutes is compacted before its one-hour prompt cache expires, so your next message doesn’t reprocess it all”; “AddedCLAUDE_CODE_IDLE_COMPACT_MIN_TOKENSto change idle compaction’s 200K-token minimum;"idleCompaction": falsein settings.json turns it off. Both need v2.1.290 or later”; “AddedCLAUDE_CODE_DISABLE_FILE_MENTIONSenvironment variable: Claude gets the paths of@file mentions to read with its file tools, not the files’ contents”; “Changed MCP allow rules to reach only the server they name:mcp__ano longer allows a server nameda__bora_; writemcp__<server>__*with the server’s whole normalized name”;“Changed agent
tools:lists to take only the named MCP server’s tools; list a server whose name contains__asmcp__<whole name>__*”; “Changed MCP tool descriptions and server instructions from Anthropic’s first-party MCP servers atapi.anthropic.comto reach Claude in full instead of being cut at 4,096 characters”; “Changed cloud session and Remote Control MCP connectors to negotiate MCP protocol version 2026-07-28 by default on installs that fetch no flags;MCP_PROTOCOL_NEGOTIATION=legacyopts out”; “ChangedUserPromptSubmithooks to run before a skill or custom slash command expands, so a hook that blocks the prompt now also stops its embedded shell commands”; “Changed theturn.startmod hook to also hear subagents’ and teammates’ turns, not only the main loop’s; tell them apart bye.agentId(absent on the main loop)”; “Fixed rm prompts on shell-cscripts that don’t runrm. An rm built at run time in a script Claude Code can’t read no longer prompts unlessCLAUDE_CODE_STRICT_INLINE_SHELL_RM_PROMPT=1”;“Added
--shutdown-drain-sectoclaude self-hosted-runner orchestrator: on SIGTERM it stops polling and gives the poll in flight and running spawn hooks up to that many seconds to finish”; “Added--disallow-toolsand adisallowed_toolscase field toclaude plugin evalto keep specific built-in tools, such as Agent, out of eval runs”; “Added support for turning off the attribution block in Claude Desktop’s Code tab: setCLAUDE_CODE_ATTRIBUTION_HEADER=0in theenvof a Claude apps gateway’scodepolicy”; “Added/effortand/fastin agent view to set what new sessions start with; a bare/model,/effortor/fastthere now opens a picker”; “Changed actions a plugin hook can block to be refused, not let through, when the hook cannot be handed them or cannot hand back its answer; a tool that already ran has its result withheld”; “Fixed a regression in 2.1.296 where cloud and headless sessions could run an approved tool call twice if a new message arrived as the session resumed after a restart”; “Changed the cyber safeguard notice to no longer ask people to apply to the Cyber Verification Program”. ↩↩ -
Claude Code documentation, fetched October 14, 2026. Settings reference:
idleCompaction, “Stop Claude Code from compacting a long conversation that you’ve stepped away from”; “Idle compaction is on by default for conversations that meet its conditions. To turn it off, setidleCompactiontofalse. Requires Claude Code v2.1.290 or later”. Environment variables:CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS“Context size, in tokens, at which idle compaction applies to a conversation (default:200000)”, with values below100000raised to100000;CLAUDE_CODE_DISABLE_FILE_MENTIONS“Requires Claude Code v2.1.299 or later”, ignored in project and local settings;CLAUDE_CODE_ATTRIBUTION_HEADER“Set to0to omit the attribution block”;CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS“Ceiling in milliseconds on the backoff between retries of a request that the API rejects with a529overloaded error (default: 32000)”; still no entry forCLAUDE_CODE_WORKFLOW_SUBAGENT_MODELorCLAUDE_CODE_STRICT_INLINE_SHELL_RM_PROMPT. Sub-agents:autoCompactWindowis now a listed frontmatter field, “a token count of100000or more”;toolsanddisallowedTools“also take entries for a whole MCP server”. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.Mods reference: still “as of v2.1.290”; “On
skill.prompt,e.source,e.pluginName,e.path,e.frontmatter, ande.frontmatterProblemrequire Claude Code v2.1.299 or later”;turn.startis listed among the events; no$.prompt.media,$.session.identity,tabular, orserverToolUses. Plugin evals: “Before v2.1.299, such a run was graded on what it had produced”; no--disallow-tools. MCP: the limits list still reads “Server instructions, and the description of a tool that loads upfront: 4,096 characters” with no first-party exception; on the v2 runtime Claude Code “Asks HTTP, stdio, and claude.ai connector servers whether they support the newer revision, and uses it with those that do”. Permissions: “Allow rules accept tool-name globs only after a literalmcp__<server>__prefix. The server segment must be glob-free so the rule names a specific server you configured.” Hooks:CLAUDE_CODE_DISABLE_FILE_MENTIONSis described (“your matching PreToolUse hooks run”); no statement thatUserPromptSubmitruns before a skill or command expands. ↩↩ -
Claude Code canonical CHANGELOG, section 2.1.300, fetched October 14, 2026 (21:40 PT), and npm registry metadata for
@anthropic-ai/claude-coderead at the same time: 2.1.300 published October 14 at 14:27 UTC; dist-tags latest 2.1.300, next 2.1.300, stable 2.1.292 (it was 2.1.287 that morning). The GitHub release (18:24 UTC) carries 88 bullets, identical to the CHANGELOG. Source for every v2.1.300 item in this guide. Key quotes: “Added/advisoron Claude Platform on AWS; no advisor runs until you pick one with/advisor,advisorModelor--advisor, andCLAUDE_CODE_DISABLE_ADVISOR_TOOL=1turns it off”; “AddedvirtualTextto a mod’s prompt decorations: text drawn in the prompt box that never enters the draft or the submitted prompt”; “Added$.ui.view({ agentId })for mods: shows an agent’s transcript in the main view when you ask, and$.ui.view({})goes back”; “Added theprompt.changemod hook, raised when the prompt box’s text changes without a typed edit: a recalled history entry, a clear, an undo, or a plugin’s fill”; “Addedcache_creation_5m_tokensandcache_creation_1h_tokensto the OpenTelemetryapi_requestevent, splitting cache writes by lifetime”;“Added OpenTelemetry GenAI semantic-convention attributes to trace spans, such as
gen_ai.provider.name,gen_ai.conversation.id,gen_ai.tool.nameanderror.type”; “Changed large requests to api.anthropic.com to use gzip compression even when telemetry is disabled; setCLAUDE_CODE_GZIP_REQUEST_BODIES=0to turn it off”; “Changed hooks:updatedInputfrom PreToolUse and PermissionRequest hooks is now validated like Claude’s own input: unknown keys are dropped, and input the tool rejects denies the call”; “Removed the--sandboxand--no-sandboxflags fromclaude remote-control, which had no effect; passing either now exits with an error. Setsandbox.enabledin settings to sandbox sessions”; “Changed local session transcripts to also record each API request’s system prompt, tools and parameters, so a transcript you choose to share can reproduce a request exactly”; “Changed exit to force-kill background commands still running 1.5 seconds after being asked to stop”; “Fixed SessionEnd hooks sometimes not running when you exit while a background command is still running”; “Fixedclaude daemon stop --anyprinting "stopped" while a stuck background service kept running: it now waits, force-kills the service, and says so with exit 1 if it is still there”. ↩ -
Claude Code documentation, fetched October 14, 2026. Escalate hard decisions with the advisor tool: “The advisor tool is experimental and requires the Anthropic API, Claude Platform on AWS, or Claude Models on Google Cloud (Anthropic managed). On Claude Platform on AWS or Claude Models on Google Cloud (Anthropic managed), it requires Claude Code v2.1.300 or later. It isn’t available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry”; “The advisor receives the full conversation, including every tool call and result, and returns guidance that Claude applies before continuing”; “runs server-side on Anthropic’s infrastructure as a server tool, available to both subscription and API-billed accounts”; “There is no setting to cap or force advisor calls”; three ways to enable: “
/advisorcommand”, “advisorModelsetting”, “--advisorflag”; the text form of/advisor“requires Claude Code v2.1.260 or later”; “It doesn’t list--advisorinclaude --help”; pairing rows “Opus 4.7 or Opus 4.8 | Fable, Opus 4.7 or later, Sonnet 5.5”, “Sonnet 5.5 | Fable, Opus 5 or later, Sonnet 5.5”, “Opus 5 or Opus 5.5 | Fable, Opus 5 or later”, “Fable 5.1 | Fable 5.2 or Fable 5.1”; “Haiku 4.5 can call the advisor but can’t act as one”; “Subagents inherit the configured advisor and apply the same pairing check against their own model”; “If the API refuses the pairing of an advisor that Claude Code attached, Claude Code resends that request without the advisor. The conversation continues without one, so you see no error and get no advisor calls”; Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.cost: “you pay the advisor model’s input and output rates for advisor tokens”, “advisor usage counts toward your plan’s usage limits, except that a Fable advisor bills to usage credits”; “toggling
/advisorkeeps the cached prefix intact”; “The advisor model’s own read of the conversation is not cached”; requirements include “Feature-flag fetching”, so withDISABLE_TELEMETRY“the advisor stays off”;CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1: “The/advisorcommand becomes unavailable and any configuredadvisorModelis ignored. The--advisorflag is accepted but has no effect”; transcript states “Reviewed”, “Declined”, “Unavailable”. CLI reference:--advisor <model>“Enable the server-side advisor tool for this session with a model alias,fable,opus, orsonnet, or a full model ID. Takes precedence over theadvisorModelsetting for the session”. Settings reference:advisorModel“Pick which model answers when Claude asks the advisor tool”. Environment variables:CLAUDE_CODE_DISABLE_ADVISOR_TOOL, andCLAUDE_CODE_GZIP_REQUEST_BODIES“Set to0to turn off gzip compression of Claude API, telemetry, and artifact publish request bodies sent toapi.anthropic.com”. Mods reference: still “as of v2.1.290”; novirtualText,$.ui.view, orprompt.changeentry. Re-read November 10, 2026: the page now says “The advisor tool is experimental and requires the Anthropic API or Claude Platform on AWS. On Claude Platform on AWS, it requires Claude Code v2.1.300 or later. It isn’t available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry”, and the pairing table has new rows (see 284). ↩ -
Claude Code canonical CHANGELOG, sections 2.1.301 and 2.1.302, fetched October 17, 2026 (15:40 PT), and npm registry metadata for
@anthropic-ai/claude-coderead at the same time: 2.1.301 published October 15 at 14:34 UTC, 2.1.302 on October 16 at 16:48 UTC; dist-tags latest 2.1.302, next 2.1.302, stable 2.1.292. The GitHub releases v2.1.301 (19:22 UTC, 51 bullets) and v2.1.302 (20:53 UTC, 63 bullets) are identical to the CHANGELOG. Source for every v2.1.301 and v2.1.302 item in this guide. Key quotes, 2.1.302: “Changedclaude -pand Agent SDK sessions with no permission mode to start indefaultmode on third-party providers, with telemetry off or on a fresh install;--permission-mode autokeeps auto”; “Changed fork subagents (subagent_type: "fork") to be on by default inclaude -p, the Agent SDK, the desktop app and VS Code, as they already are in the terminal;CLAUDE_CODE_FORK_SUBAGENT=0turns them off, andclaude mcp servenever offers them”; “Changed the desktop app and VS Code to always run the main conversation’s subagents in the background, as the terminal does, rather than let Claude choose; a subagent’s own Agent calls inclaude -p, the Agent SDK, the desktop app and VS Code now run in the foreground by default”;“Changed prompt and agent hooks so that at most 12 of one event run at a time; the rest wait their turn”; “Added
CLAUDE_CODE_AUTO_MODE_MODELto choose the model the client-side auto mode classifier uses; it does not change the model for server-side auto mode”; “Added anIdle compactionrow to/configfor turning idle compaction off or back on; the notices shown after an idle compaction now say how to turn it off”; “Added a notice to/design-syncand/design-loginthat standalone Claude Design (claude.ai/design) closes by December 14, 2026”; “Fixed the Read tool loading an image file of any size, or a pipe or device named like an image, entirely into memory; image sources over 128 MB are now refused”; “Improved auto mode with the server-side classifier: a conversation too long for the safety check is now compacted, instead of every checked tool call being denied”.2.1.301: “Added
CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MSso unattended retry mode (CLAUDE_CODE_RETRY_WATCHDOG) ends a request at a usage limit that resets too far away instead of waiting”; “Added the%motion to vim mode: jump to the matching bracket, alone or with d/c/y”; “Addedrowsto a mod’sInput: a text field of several lines in the terminal, where Enter submits and Shift+Enter or a backslash before Enter starts a new line”; “Addedclassifier_verdictandpermission_modeto OpenTelemetrytool_decisionevents, so auto mode classifier decisions can be told apart from permission rules”; “Addedclassifier_categoryto OpenTelemetrytool_decisionevents, naming the built-in rule a classifier block matched, whenOTEL_LOG_TOOL_DETAILS=1”; “Fixed thefable(andbest) model alias erroring on the Anthropic API when the newest Fable model is not available to your organization: Claude Code now retries once on the previous Fable model”; “Improved switching to a model with a smaller context window: a conversation too long for the new model is now summarized by the previous model first”; “Changed a mod hook’s.catchhandler to run only when the hook throws or times out; events raised beneath the hook’s own calls now skip that hook without asking its.catch”; “Changed a mod’s$.env.setto resolve with{}once the variable is set or unset, or with{ deny }saying why when the write is not made”. ↩ -
Claude Code documentation, fetched October 17, 2026. Interactive mode: “
%| Jump to the matching(),[], or{}bracket, starting from the next bracket on the current line when the cursor isn’t on a bracket. Requires Claude Code v2.1.301 or later” and “d%/c%/y%| Delete, change, or yank from the cursor through the bracket that%jumps to”. VS Code lists LaTeX math rendering. Still on the pre-2.1.302 rules: the permission modes table (“claude -por the Agent SDK |defaultin sessions that fetch feature flags. In sessions that don’t, such as on a third-party provider or with telemetry off,autowith Claude Code v2.1.285 or later”); the environment variables page (CLAUDE_CODE_FORK_SUBAGENT“is on by default in interactive sessions only. Set to1to turn it on inclaude -pand the Agent SDK as well, or0to turn it off in every kind of session”); and the subagents page (“Fork mode is off in non-interactive mode with-pand in the Agent SDK unless you turn it on”).Not in the docs at all:
CLAUDE_CODE_AUTO_MODE_MODEL,CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS, thetool_decisionattributesclassifier_verdict,permission_mode, andclassifier_category(monitoring lists none of them), the/configIdle compaction row, the Claude Design closing date, and the 12-hook cap (hooks: “All matching hooks run in parallel”). The mods docs now form a section: overview, reference (“Entries cover the Claude Code CLI and the Desktop app as of v2.1.290, and the VS Code extension as of v2.1.299”), events (.catch: “Whenguardthrows or times out on a Bash call, Claude Code calls the handler with the same event”, without the v2.1.301 re-entry rule), API, and interface; none of the new pages mentionsrowsonInput,$.env.set,nothing-to-fork,virtualText,$.ui.view,prompt.change,$.prompt.media, or$.session.identity. The advisor page still says the tool “is not available on Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry”. ↩ -
Claude Code CHANGELOG, v2.1.318 through v2.1.322 (commits 2026-11-04T00:00Z, 11-06T17:03Z, 11-09T19:22Z, and 11-10T02:29Z) and the matching GitHub releases v2.1.318 (2026-11-04T00:01:03Z), v2.1.319 (11-06T17:04:01Z), v2.1.321 (11-09T19:22:30Z), and v2.1.322 (11-10T02:29:43Z), each identical to its CHANGELOG section (84, 146, 118, and 1 bullets); no v2.1.320 tag, release, or CHANGELOG section exists. npm publish times from
npm view @anthropic-ai/claude-code time: 2.1.318 2026-11-03T21:55:17Z, 2.1.319 2026-11-06T00:58:56Z, 2.1.321 2026-11-09T19:02:47Z, 2.1.322 2026-11-10T01:58:41Z;dist-tagsat 2026-11-10:latest2.1.322,next2.1.322,stable2.1.311. Verbatim, 2.1.321: “Added Claude Fable 5.2 (claude-fable-5-2), now the default Fable model”, with “1M context, $8/$40 per Mtok with $0.20/Mtok cache reads”; “Changed saved Fable 5.1 model picks to move tofable: on Pro and Max plans at once, on Team and Enterprise plans once your organization allows it; use/model claude-fable-5-1to switch back”; “Added--settings <file>toclaude remote-control, which applies a settings file to every session it starts”; “Changed mods Claude writes to turn on without asking in auto and bypass modes … and not to load indontAskmode”; “Changed mods’ own tool calls ($.tool.call,$.mcp.call) to raise no permission prompt”. 2.1.322: “Added fast mode on Vertex in the global, us and eu regions, falling back to standard speed if Vertex refuses it”.2.1.319: “Changed auto mode with telemetry or feature flags off, including behind LLM gateways: calls the server can’t check are asked about or denied, with no fallback to the built-in classifier; set
CLAUDE_CODE_AUTO_MODE_SERVER=0to keep using it (Bedrock, Vertex and Foundry are unchanged)”; “Added support for MCP tasks in the terminal”; “Addedpermissions.denyInsteadOfPromptingsetting: a tool call that would wait on a permission prompt is denied and the turn continues, in terminal sessions, subagents and teammates”; “Added theCLAUDE_CODE_DISABLE_FEATURE_FLAGSenvironment variable, which stops feature-flag fetching without turning off telemetry”; “Changed MCP tasks to work in the terminal without feature-flag fetching (Bedrock, Vertex, Foundry, LLM gateways,DISABLE_TELEMETRY); setCLAUDE_CODE_DISABLE_MCP_TASKS=1to turn them off”; “Changed self-paced/loopto end when a turn finishes without rescheduling … setCLAUDE_CODE_LOOP_KEEPALIVE=1to keep the old behavior”; “Removedshortcuts_listandshortcuts_execute… from Claude Code’s built-in Claude in Chrome tools”. 2.1.318: “Added the date a stored claude.ai sign-in ends toclaude auth status(loginExpiresAt) and toclaude -pJSON results (credential_expires_at)”; “Changed Claude Code to no longer install or update the IDE extension when started in an IDE terminal”; “Changed background subagents to move a shell command to the background after 3 minutes on all providers”. ↩ -
Anthropic documentation, fetched November 10, 2026. Claude Fable 5.2 model overview: “Released November 9, 2026”; “Context window: 1M tokens · Max output: 128K tokens · Input pricing: $8 / MTok · Output pricing: $40 / MTok”; the pricing table (5m cache write $10, 1h cache write $16, cache read $0.20); “Default effort |
high”; “Reliable knowledge cutoff | Jun 2026”; “requires 30-day data retention and isn’t available under zero data retention unless expressly authorized by Anthropic”; Mythos 5.2 “shares Claude Fable 5.2’s specifications and pricing”. Pricing: the Fable 5.2 row ($8 / $10 / $16 / $0.20 / $40), the Fable 5.1 row ($10 / $12.50 / $20 / $0.25 / $50), “Cache hits and refreshes on Claude Fable 5.2, Claude Mythos 5.2, Claude Fable 5.1, and Claude Mythos 5.1 are priced at 0.025x the base input price”, the fast-mode table (“Claude Fable 5.2 | $16 USD / MTok | $80 USD / MTok”), and “Fast mode for Claude Fable 5.2 is also available on Claude Models on Google Cloud”. Introducing Claude Fable 5.2 and Claude Mythos 5.2.Model configuration: “
best| Uses the same model asopus” (the Wayback Machine’s November 2, 6, and 9 captures of the same page read “Uses the model thefablealias resolves to where Fable is available”); “thefablealias resolves to Fable 5 in Claude apps gateway sessions and to Fable 5.2 everywhere else”; “No Fable model is the account-type default on any plan or provider”; “On Pro, Max, Ultra, Team, and Enterprise plans, aclaude-fable-5-1model saved in your user settings moves to thefablealias”; “Fable 5.2 requires Claude Code v2.1.321 or later”; “Fable 5.2, Opus 5.5, Sonnet 5.5, and Haiku 5.5 default tomedium, and Opus 4.7 defaults toxhigh”. Fast mode: “Fast mode for Claude Fable 5.2 and Claude Opus 5.5 is available. Fast mode for Claude Opus 5 and Claude Opus 4.8 is in research preview”; “$16/$80 on Fable 5.2, $8/$40 on Opus 5.5, and $10/$50 on Opus 5 and Opus 4.8”; “Fast mode on Fable 5.2 requires Claude Code v2.1.321 or later”; “On Fable 5.2, fast mode persists only if you turned it on while using Fable 5.2”; the Agent Platform section (“Requires Claude Code v2.1.322 or later”, “export VERTEX_REGION_CLAUDE_FABLE_5_2=global”, “Fast mode needs Vertex region global, us or eu”, “Using standard speed on Fable 5.2 · fast mode wasn’t available”). All settings: “permissions.denyInsteadOfPrompting… Requires Claude Code v2.1.319 or later”; “Scope: User or managed, and--settings. A repository can’t set it for you”; the “What elsedenyInsteadOfPromptingstops” list.Environment variables:
CLAUDE_CODE_DISABLE_FEATURE_FLAGS(“Requires Claude Code v2.1.319 or later … The older name,DISABLE_GROWTHBOOK, still works, and it is the only one that v2.1.124 through v2.1.318 read”),CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND(“Requires Claude Code v2.1.304 or later”). MCP: “MCP tasks are in public beta in the Claude Code CLI and require Claude Code v2.1.304 or later”; the “What a call needs to become an MCP task” list; “A one-shotclaude -p "<prompt>"run doesn’t get MCP tasks”. Costs: “subscription plan pricing (Pro, Max, Ultra, Team, Enterprise)”; claude.com/pricing: “Free, Pro, Max, Ultra, Team, and Enterprise tiers”. Escalate hard decisions with the advisor tool, accepted advisors by main model: “Haiku 4.5 | Fable, Opus, Sonnet, Haiku 5.5”, “Sonnet 4.6 | Fable, Opus, Sonnet, Haiku 5.5”, “Opus 4.6 | Fable, Opus, Sonnet 5 or later, Haiku 5.5”, “Sonnet 5 or Haiku 5.5 | Fable, Opus 4.7 or later, Sonnet 5 or later, Haiku 5.5”, “Opus 4.7 or Opus 4.8 | Fable, Opus 4.7 or later, Sonnet 5.5”, “Sonnet 5.5 | Fable, Opus 5 or later, Sonnet 5.5”, “Opus 5 or Opus 5.5 | Fable, Opus 5 or later”, “Fable 5 | Fable 5.2, Fable 5.1, or Fable 5”, “Fable 5.1 | Fable 5.2 or Fable 5.1”, “Fable 5.2 | Fable 5.2”; “Fable 5.2 requires Claude Code v2.1.321 or later, and Fable 5.1 requires v2.1.257 or later”. -
Claude Code documentation, fetched November 10, 2026. Plugin commands reference: “Scaffold a new plugin at
~/.claude/skills/<name>/”;/plugin install <plugin>: “Opens the plugin’s details in the Discover tab. Withname@marketplace, opens them in that marketplace’s list”. Create a Claude Code plugin: “To make a plugin load for everyone in one repository, create the same layout yourself at<project>/.claude/skills/<name>/, including its.claude-plugin/plugin.json”. Plugin loading reference: “it loads only after the same trust check that applies to project allow rules in.claude/settings.json”. Marketplace reference: “name,owner, andpluginsare required”; “The directory that contains.claude-plugin/is called the marketplace root, and every relative plugin source resolves from it, not from.claude-plugin/”. Scan your codebase for vulnerabilities, on/plugin install: “The command opens the plugin’s details, where you choose an installation scope to start the install”.claude plugin init --helpon 2.1.322 reads “Scaffold a new plugin at ~/.claude/skills// (auto-loads next session as @skills-dir)”, and the example catalog passes claude plugin validateon 2.1.322. Re-read November 25, 2026, where the wording had changed: plugins/cli-reference, “Scaffold a new plugin at~/.claude/skills/<name>/. Unless your administrator has blocked skills-directory plugins, it loads in your next session as<name>@skills-dirwith no install step.”. Claude Code 2.1.332 prints the same--helptext (run November 25, 2026). ↩↩↩ -
Claude Code mods documentation, fetched November 10, 2026. Mods reference: “Entries cover the Claude Code CLI and the Desktop app as of v2.1.290, and the VS Code extension as of v2.1.299”; “On
tool.check,e.agentIdande.ceilingrequire Claude Code v2.1.290 or later”; the events table listsprompt.autocompleteand the components table listsrowsonInput. React to events with a mod, onresult.serverToolUses: “The field is absent when the response has no such calls, and it requires Claude Code v2.1.290 or later”. Manage mods for your organization lists$.env.set. None of the ten mods pages mentionsvirtualText,$.ui.view,prompt.change,$.prompt.media, or$.session.identity. ↩↩ -
Customize Claude Code with plugins, Claude, October 9, 2025, fetched November 11, 2026 (the
anthropic.com/news/claude-code-pluginsaddress redirects here): “Plugins are now in public beta for all Claude Code users.” Anthropic’s marketplaces, Claude Code documentation, fetched November 11, 2026: “Anthropic publishes two general-purpose plugin marketplaces for Claude Code”; “The community marketplace’s name isclaude-community, not its repository name”; “By default, Claude Code adds the official marketplace,claude-plugins-official, for you”; “You add it in a Claude Code session with/plugin marketplace add anthropics/claude-plugins-community”. ↩ -
Plugin manifest reference, Claude Code documentation, fetched November 11, 2026: “The manifest is optional. Without it, Claude Code loads the components it finds in the standard layout.”; “
nameis the only required key.” ↩ -
Mods overview, Claude Code documentation, fetched November 11, 2026: “You can’t update or uninstall a built-in mod.” The page’s table has a “How to turn it off” column. That column reads “Disable it in
/plugin” forcc-plugin-agents-md,cc-plugin-diff,cc-plugin-plugin-authoring,cc-plugin-telemetry, andcc-plugin-you-should-know, and “You can’t” forcc-plugin-sec-default, which “Guards what your organization manages from the mods a user installs”. “The settings and flags that stop installed mods, such asdisableAllHooks,--bare, and--safe-mode, don’t stop built-in mods.” Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording. ↩ -
Claude Code CHANGELOG, v2.1.323 through v2.1.332, fetched November 25, 2026 (294, 139, 367, 173, 144, 130, 142, 135, and 150 top-level bullets for 2.1.323, 2.1.325, 2.1.326, 2.1.327, 2.1.328, 2.1.329, 2.1.330, 2.1.331, and 2.1.332; no 2.1.324 section), and the GitHub releases v2.1.323 (2026-11-12T22:12:13Z), v2.1.325 (11-13T20:40:01Z), v2.1.326 (11-16T22:11:05Z), v2.1.327 (11-17T23:17:45Z), v2.1.328 (11-19T01:14:04Z), v2.1.329 (11-19T22:14:41Z), v2.1.330 (11-20T22:32:56Z), v2.1.331 (11-23T21:34:41Z), and v2.1.332 (11-25T01:32:14Z); no v2.1.324 release exists. npm publish times from
npm view @anthropic-ai/claude-code time: 2.1.323 2026-11-12T20:29:28Z, 2.1.324 11-13T18:42:36Z, 2.1.325 11-13T20:07:25Z, 2.1.326 11-16T18:43:39Z, 2.1.327 11-17T20:33:19Z, 2.1.328 11-18T23:09:39Z, 2.1.329 11-19T18:40:25Z, 2.1.330 11-20T19:16:01Z, 2.1.331 11-23T18:36:26Z, 2.1.332 11-24T22:06:38Z;dist-tagson 2026-11-25:latest2.1.332,next2.1.332,stable2.1.326. Verbatim, 2.1.332: “Changed the default model on Microsoft Foundry to Sonnet 5.5: deployclaude-sonnet-5-5, or setANTHROPIC_DEFAULT_SONNET_MODELto a model you have deployed”; “Changed thesonnetmodel alias on Google Cloud’s Agent Platform and Microsoft Foundry to Sonnet 5.5, and Foundry’sopusalias to Opus 5.5;sonneton Amazon Bedrock stays at Sonnet 4.5”; “Added aPreSkillShellCommandhook 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”; “Added skills from MCP servers (beta). They show asserver:skillin the/menu; other skills keep their names”; “Changed/schedule, permission prompts and/loop’s cloud offer to say “cloud scheduled task” instead of “routine” or “cloud schedule”;/routinesstill works”. 2.1.330: “Changed recurring scheduled tasks and/loopto 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”. 2.1.328: “Added auto mode for Claude Opus 4.6 and Sonnet 4.6 on Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry and Claude apps gateway; interactive sessions with no permission mode start in it”. 2.1.325: “Changed sandboxed Bash commands to follow the normal permission flow by default; setsandbox.autoAllowBashIfSandboxed: trueto keep running them without prompts”. 2.1.323: “Added Code Mode, an experimental opt-in in which Claude writes JavaScript to call its tools”; “Removed thesubagentStatusLinesetting: subagent rows always use the default look, and settings files that still hold the key load as before”; “Changed the context window assumed for a model ID that Claude Code doesn’t recognize from 200K to 1M; use/autocompactto compact earlier, orCLAUDE_CODE_DISABLE_1M_CONTEXT=1to keep 200K”; “ChangedMCP_SDK_GENERATION=v1to 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 documentation, fetched November 25, 2026. Environment variables:
CLAUDE_CODE_RESUME_HINT_COMMAND(“Requires Claude Code v2.1.323 or later”),CLAUDE_CODE_FULL_SIGN_IN_LINK(v2.1.330),CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION(v2.1.331; “Ignored in project and local settings”),CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUME(v2.1.328),OTEL_RESOURCE_INCLUDE_HOST(v2.1.326),CLAUDE_CODE_DISABLE_SHIP(v2.1.331),VERTEX_REGION_CLAUDE_5_5_SONNET(“Added in v2.1.284”), andCLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS(“whole milliseconds from 32000 to 300000”; “Values above 64000 require v2.1.323 or later”). Plugin manifest reference,engines: “The Claude Code versions that the plugin works on, as a semver range under theclaude-codekey”; “Requires Claude Code v2.1.323 or later. To keep the plugin working on v2.0.15 through v2.1.75, omitengines.” Choose a permission mode: “If your organization has the HIPAA configuration applied, terminal and VS Code sessions on Claude Code v2.1.326 or later start in auto mode by default. On v2.1.285 through v2.1.325, an eligible session starts in Manual mode by default.” Commands,/tui: “default, orclassicon v2.1.327 or later, selects the classic renderer”. The plugin manifest reference does not listoptionalDependencies, and the environment variables page does not listCLAUDE_CODE_DISABLE_AGENT_PROGRESS_SUMMARIES; both are in the release notes only. ↩ -
Claude Code CHANGELOG, v2.1.333, fetched December 1, 2026 (268 top-level bullets; npm publish 2026-11-30T19:04:51Z, GitHub release 2026-11-30T22:30:49Z). “Changed
--allowedToolsand--toolsto stop the launch on some lists given as several values; put the list in one value, such as--allowedTools "Read,Edit,Write"”; “Added a Built-in tab to/pluginthat lists built-in plugins by group with plain names, and shows the ones your organization’s settings lock on or off”; “Changed the terminal progress bar, now following the tab’s busy status,/radio, spinner tips and the tab title’s busy mark into built-in plugins you can turn off in/plugin”; “Changed/stickers,/radio, shipped spinner tips and words, example prompts and the tab title’s mark to need their built-in plugins running;spinnerTipsOverridetips andspinnerVerbsstill show”; “Added REVIEW.md support to/code-review: local reviews now follow the root REVIEW.md on your repository’s default branch”; “Changed SDK sessions to end background commands, monitors and wakeups once the host is gone and no subagent runs;CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0opts out; stream-json addskeep_alivelines”; “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”; “Changed Code Mode to be available in sessions that have OpenTelemetry tracing on; each tool call that its code makes now gets its own spans”. ↩ -
Claude Code documentation, fetched December 1, 2026. Commands:
/radio, “Open Claude FM lo-fi radio in your browser. Prints the stream URL when no browser is available”;/stickers, “Check Claude Code sticker availability”. CLI reference: the--allowedToolsexample is still"Bash(git log *)" "Bash(git diff *)" "Read", and--toolstakes “tool names like"Bash,Edit,Read"”. Mods overview: “run/pluginat the Claude Code prompt and go to the Installed tab, which lists them under Built-in”; “The settings and flags that stop installed mods, such asdisableAllHooks,--bare, and--safe-mode, don’t stop built-in mods.” Run tool calls from code with Code Mode: with tracing on, “you need v2.1.333 or later”. Review locally with /code-review: “It doesn’t readREVIEW.md.” ↩ -
Claude Code CHANGELOG, section 2.1.334, and the v2.1.334 release, read December 1, 2026. npm registry: 2.1.334 published 2026-12-01T18:55:49Z; GitHub release 2026-12-01T22:12:28Z; dist-tags that day:
latestandnext2.1.334,stable2.1.331. Verbatim: “Changed auto-compact’s per-model auto setting to near 400K on most current 1M models,-pand SDK runs too (rolling out; on now with third-party providers or telemetry off); see/autocompact”; “Added an Auto-compact window row to/configto see and change the size that/autocompactsets”; “Added folder-level REVIEW.md support to/code-review: local reviews also follow REVIEW.md files in folders above a committed change”; “Gateway: Addedclaude gateway --config <file> --check configto check a config file without starting, and a start now reports a bad managed policy before it connects to Postgres”; “AddedcacheWrite5m,cacheWrite1hand, for Haiku 5.5,longPrompttomodelPricing, andcache_write_5m,cache_write_1h,long_promptto gatewaypricing.overrides; old keys still work”; “Windows: Added/desktopandclaude --desktopon Arm computers”; “Changed managedPostToolUsehooks 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”. The 2.1.333 and 2.1.334 sections carry no entry forextraKnownMarketplacesor for fast mode. ↩ -
Documentation read December 1, 2026. Model configuration: “On
autoat 400K, compaction runs at about 367K tokens”; “run/autocompact 1Min your session. On your own machine, the size is saved for later sessions on that model version, and compaction runs at about 967K tokens”; “The managed entry replaces the size a developer saved for that model”; the alias table row “Google Cloud’s Agent Platform, Microsoft Foundry | Opus 5.5 | Sonnet 5.5 | Haiku 4.5”; “Microsoft Foundry: defaults to Sonnet 5.5”. CLI reference,claude mcp add --web <name> <url>: “Requires Claude Code v2.1.330 or later, and v2.1.332 or later on Team and Enterprise plans”; MCP: “This requires a claude.ai login and Claude Code v2.1.330 or later on a Pro, Max, or Ultra plan.” Environment variables,CLAUDE_CODE_ATTRIBUTION_PROJECT: “Name the claude.ai Project your usage is reported under: its UUID or ID. Set it in the launch environment”;CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE: “Set to1to turn off both retries. Requires Claude Code v2.1.334 or later”. Settings reference,attributionProjectPolicy: “Set your organization’s default Project for usage reports”. Fast mode: “Fast mode for Claude Fable 5.2 and Claude Opus 5.5 is available. Fast mode for Claude Opus 5 is in research preview”; “Fast mode for Opus 4.8 was deprecated on October 30, 2026, and removed on November 30, 2026. If Opus 4.8 is still your model with fast mode on, the API rejects your requests.” Plugin loading: automatic updates are “off for every other marketplace”. Commands,/desktop: “Requires macOS or x64 Windows and a Claude subscription”. Model deprecations: “claude-sonnet-4-5-20250929 | Retired | September 30, 2026 | November 30, 2026”; “This model was retired on Anthropic-operated platforms on November 30, 2026. It is available as a deprecated model on Amazon Bedrock (bedrock-runtime)”; “The dates on this page apply to Anthropic-operated platforms: the Claude API, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed), and Microsoft Foundry. Partner-operated platforms, Claude Models on Google Cloud (Google managed) and Amazon Bedrock, set their own retirement schedules”. ↩