modified Claude Code changelog View current →
--- a/changelog.md +++ b/changelog.md @@ -1,4 +1,50 @@ This page is generated from the [CHANGELOG.md on GitHub](<https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md>). Run `claude --version` to check your installed version. + +​ + +2.1.181 + +June 17, 2026 + + * Added `/config key=value` syntax to set any setting from the prompt (e.g. `/config thinking=false`) — works in interactive, `-p`, and Remote Control + * Added `sandbox.allowAppleEvents` opt-in setting that lets sandboxed commands send Apple Events on macOS + * Added `CLAUDE_CLIENT_PRESENCE_FILE` environment variable: point it at a marker file to suppress mobile push notifications while you’re at the machine + * Upgraded the bundled Bun runtime to 1.4 + * Improved streaming of long paragraphs: text now appears line-by-line instead of waiting for the first line break + * Improved auto-retry: API connection drops mid-thinking now automatically retry instead of showing “Connection closed while thinking” + * Improved the subagent panel: idle subagents auto-hide after 30s, the list caps at 5 rows with scroll hints, and keyboard hints now show in the footer + * Improved the MCP OAuth browser page to match Claude Code’s visual style and auto-close on success + * Changed fullscreen mode URL opening to require Cmd+click (macOS) / Ctrl+click, matching native terminal behavior + * Changed the `Improved N memories` line to no longer list individual files outside verbose mode + * Fixed prompt caching not reading on custom `ANTHROPIC_BASE_URL` and on Foundry due to a per-request attestation token changing every turn + * Fixed Write/Edit producing 0-byte or truncated files on network drives and cloud-synced folders + * Fixed `open`, `osascript`, and browser-based auth flows failing with error -600 on macOS by adding the Apple Events entitlement + * Fixed a startup regression (~120ms per launch in fresh environments, introduced in 2.1.169): the first prompt no longer waits for the managed-settings fetch when no MCP servers are configured + * Fixed startup blocking with a blank terminal for up to 15 seconds when the account settings fetch is slow on a degraded network + * Fixed startup crash (`TypeError: Cannot read properties of null`) when `.claude.json` contains corrupted null project entries + * Fixed macOS TUI freezing at session start (Ctrl+C unresponsive) when Spotlight is busy reindexing + * Fixed long-running idle sessions losing their history when another Claude Code process ran the 30-day transcript cleanup + * Fixed foreground subagents spawning unbounded nested chains; they now respect the same 5-level depth limit as background subagents + * Fixed `/recap` and conversation forks using the previous model immediately after a model switch + * Fixed subagent “Thinking” duration showing the parent agent’s elapsed time instead of the subagent’s own + * Fixed subagents blocked on a nested agent showing a ticking elapsed time instead of “waiting” in the agent panel + * Fixed the API retry indicator (“Retrying in 0s · attempt N/10”) staying on screen after the retry succeeded + * Fixed AWS `awsCredentialExport` credentials with a short remaining lifetime causing credential refreshes every minute, and now accepts the JSON shape from `aws configure export-credentials` + * Fixed `claude mcp get`/`list` showing `✓ Connected` when tools/list fails; they now show `! Connected · tools fetch failed` with the error detail + * Fixed `/remote-control` leaving a stale “connecting…” line; it now confirms in the transcript once connected + * Fixed ExitWorktree refusing to remove a clean worktree with “Could not verify worktree state” when bare `git` cannot be resolved on Windows + * Fixed settings changes (such as `/effort` or `/model`) failing with ENOENT when `~/.claude/settings.json` is a relative symlink under a symlinked `~/.claude` + * Fixed IDE selection line numbers in context reminders being off by one (IntelliJ and VS Code) + * Fixed Ctrl+C in fullscreen after a native terminal selection (modifier+drag) overwriting the clipboard with the app’s prior selection + * Fixed Ctrl+V showing “No image found in clipboard” instead of pasting when the clipboard contains text + * Fixed agent creation failing with “EEXIST: file already exists” when the agents directory already exists (Windows/OneDrive) + * Fixed AskUserQuestion preview content being cut off at the dialog edge instead of word-wrapping + * Fixed AskUserQuestion multi-select questions silently dropping a typed “Other” free-text answer when submitting + * Fixed `/stats` “Most active day” and daily token chart dates showing one day early in UTC-negative timezones + * Fixed `/copy` and copy-on-select on Linux not detecting a clipboard utility installed after Claude Code started + * Fixed tab-indented code rendering with incorrect indentation in the Write (create-file) preview + * Fixed user prompts queued mid-turn not showing a full-width background highlight in the transcript + * Fixed the activity spinner’s pulse dwelling on the wrong glyph size in Ghostty ​
modified How Claude remembers your project View current →
--- a/memory.md +++ b/memory.md @@ -100,7 +100,7 @@ Import additional files -CLAUDE.md files can import additional files using `@path/to/import` syntax. Imported files are expanded and loaded into context at launch alongside the CLAUDE.md that references them. Both relative and absolute paths are allowed. Relative paths resolve relative to the file containing the import, not the working directory. Imported files can recursively import other files, with a maximum depth of four hops. To pull in a README, package.json, and a workflow guide, reference them with `@` syntax anywhere in your CLAUDE.md: +CLAUDE.md files can import additional files using `@path/to/import` syntax. Imported files are expanded and loaded into context at launch alongside the CLAUDE.md that references them. Both relative and absolute paths are allowed. Relative paths resolve relative to the file containing the import, not the working directory. Imported files can recursively import other files, with a maximum depth of four hops. Import parsing skips Markdown code spans and fenced code blocks. To mention a path in your CLAUDE.md without importing it, wrap it in backticks: writing ``@README`` keeps the text literal, while `@README` outside backticks imports the file. To pull in a README, package.json, and a workflow guide, reference them with `@` syntax anywhere in your CLAUDE.md: See @README for project overview and @package.json for available npm commands for this project.
modified Extend Claude with skills View current →
--- a/skills.md +++ b/skills.md @@ -240,6 +240,7 @@ Skill location| Command name source| Example ---|---|--- Skill directory under `~/.claude/skills/` or `.claude/skills/`| Directory name| `.claude/skills/deploy-staging/SKILL.md` → `/deploy-staging` +Nested `.claude/skills/` directory, when the name clashes with another skill| Subdirectory path relative to the working directory, then the skill directory name| `apps/web/.claude/skills/deploy/SKILL.md` → `/apps/web:deploy` File under `.claude/commands/`| File name without extension| `.claude/commands/deploy.md` → `/deploy` Plugin `skills/` subdirectory| Directory name, namespaced by plugin| `my-plugin/skills/review/SKILL.md` → `/my-plugin:review` Plugin root `SKILL.md`| Frontmatter `name`, with the plugin directory name as a fallback| `my-plugin/SKILL.md` with `name: review` → `/my-plugin:review`. See [Path behavior rules](</docs/en/plugins-reference#path-behavior-rules>) @@ -783,7 +784,7 @@ Skill descriptions are cut short -Skill descriptions are loaded into context so Claude knows what’s available. All skill names are always included, but if you have many skills, descriptions are shortened to fit the character budget, which can strip the keywords Claude needs to match your request. The budget scales at 1% of the model’s context window. When it overflows, descriptions for the skills you invoke least are dropped first, so the skills you actually use keep their full text. Run `/doctor` to see whether the budget is overflowing and which skills are affected. To raise the budget, set the [`skillListingBudgetFraction`](</docs/en/settings#available-settings>) setting (e.g. `0.02` = 2%) or the `SLASH_COMMAND_TOOL_CHAR_BUDGET` environment variable to a fixed character count. To free budget for other skills, set low-priority entries to `"name-only"` in `skillOverrides` so they list without a description. You can also trim the `description` and `when_to_use` text at the source: put the key use case first, since each entry’s combined text is capped at 1,536 characters regardless of budget. The cap is configurable with [`maxSkillDescriptionChars`](</docs/en/settings#available-settings>). +Skill descriptions are loaded into context so Claude knows what’s available. All skill names are always included, but if you have many skills, descriptions are shortened to fit the character budget, which can strip the keywords Claude needs to match your request. The budget scales at 1% of the model’s context window. When it overflows, descriptions for the skills you invoke least are dropped first, so the skills you actually use keep their full text. Run `/doctor` to see how many skill descriptions are being shortened or dropped and which skills are affected. To raise the budget, set the [`skillListingBudgetFraction`](</docs/en/settings#available-settings>) setting (e.g. `0.02` = 2%) or the `SLASH_COMMAND_TOOL_CHAR_BUDGET` environment variable to a fixed character count. To free budget for other skills, set low-priority entries to `"name-only"` in `skillOverrides` so they list without a description. You can also trim the `description` and `when_to_use` text at the source: put the key use case first, since each entry’s combined text is capped at 1,536 characters regardless of budget. The cap is configurable with [`maxSkillDescriptionChars`](</docs/en/settings#available-settings>). ##
modified Create custom subagents View current →
--- a/sub-agents.md +++ b/sub-agents.md @@ -323,7 +323,13 @@ disallowedTools: Write, Edit --- -If both are set, `disallowedTools` is applied first, then `tools` is resolved against the remaining pool. A tool listed in both is removed. Both fields accept MCP server-level patterns in addition to exact tool names: `mcp__<server>` or `mcp__<server>__*` grants or removes every tool from the named server. In `disallowedTools`, `mcp__*` also removes every MCP tool from any server. +If both are set, `disallowedTools` is applied first, then `tools` is resolved against the remaining pool. A tool listed in both is removed. Both fields accept MCP server-level patterns in addition to exact tool names: `mcp__<server>` or `mcp__<server>__*` grants or removes every tool from the named server. In `disallowedTools`, `mcp__*` also removes every MCP tool from any server. This example removes every tool from the `github` MCP server while keeping tools from other servers and every built-in tool: + + --- + name: local-only + description: Inherits every tool except those from the github MCP server + disallowedTools: mcp__github + --- ####