Anthropic Claude Code v2.1.267 Delivers New Controls and Bug Fixes
This patch release for Anthropic's Claude Code introduces `maxEffortLevel` to cap provider effort and `--system-prompt-snapshot off` for fresh prompt rendering, aiding prompt iteration. It addresses numerous bugs across Cowork scheduled tasks, mobile clients, and agent workflow execution. The update also includes fixes for issues within the VS Code extension, Claude Code on the web, and Claude Tag. Additionally, several improvements enhance developer experience, such as better `/diff` panel behavior, improved Bash tool guidance, and enhanced prompt input responsiveness.
- →Fixed Cowork scheduled tasks in the cloud failing at startup for organizations whose managed settings require sandboxing
- →Fixed /context and other local command output rendering blank on mobile clients
- →Fixed shift+enter and option+backspace not working after reconnecting to a tmux or ssh session inside an agent view
- →Fixed the dim last-prompt header not appearing at the top of the conversation when scrolling up in fullscreen mode
- →Fixed Workflow agent() calls with large output schemas being refused in auto mode instead of being checked by the safety classifier
Features (2) ›
Added maxEffortLevel setting (top-level or per model under modelSettings): caps the effort level on every provider, including Bedrock, Vertex and Foundry; users can still pick a lower level
Added --system-prompt-snapshot off to render the system prompt fresh on every request instead of reusing the conversation's recorded prompt (for iterating on prompt text)
Enhancements (7) ›
- Improved the /diff panel: it no longer flashes "0 files changed" and a spinner before settling, and its empty state is centered in the panel
- Improved the Bash tool's description guidance so Claude describes what a command does in plain words instead of echoing the command
- Improved sandbox guidance so Claude suggests /copy when clipboard commands such as pbcopy fail inside the sandbox
- Improved --resume first-render time for sessions with many Bash tool calls
- Improved prompt input responsiveness: keystrokes no longer occasionally wait a frame behind spinner or streaming repaints
Improved prompt-cache stability: subagents and sessions started with --system-prompt or --append-system-prompt now record the system prompt and tool definitions once instead of re-rendering them
- Improved Artifact tool publish errors: when a publish is refused, the message now says why and what to do about it
Fixes (28) ›
- Fixed Cowork scheduled tasks in the cloud failing at startup for organizations whose managed settings require sandboxing
- Fixed /context and other local command output rendering blank on mobile clients
- Fixed shift+enter and option+backspace not working after reconnecting to a tmux or ssh session inside an agent view
- Fixed the dim last-prompt header not appearing at the top of the conversation when scrolling up in fullscreen mode
- Fixed Workflow agent() calls with large output schemas being refused in auto mode instead of being checked by the safety classifier
Fixed a case where a marketplace entry path containing a backslash could bypass the containment check for fetched marketplaces on macOS and Linux
Fixed expired AWS or Google Cloud credentials under a host app such as Claude Desktop retrying ten times with a generic "request failed" before the re-authenticate error appeared
Fixed resuming a session after /compact or another slash command ran via -p --resume: a spurious "Continue from where you left off." turn is no longer inserted
Fixed resuming a large session (transcript over 5 MB): parallel tool calls and their hook output are no longer dropped from the reloaded conversation
- Fixed managed allowedHttpHookUrls, httpHookAllowedEnvVars and allowedChannelPlugins to admit nothing, not everything, when unreadable
- Fixed /login on machines whose managed settings require Claude apps gateway sign-in: Esc now closes the dialog instead of doing nothing
Fixed artifact publishes cut off by a dropped connection mid-upload: they now retry once when Claude Code can tell the upload never completed, instead of reporting an unknown outcome
Fixed effort: frontmatter on custom commands, skills, and subagents being ignored on models whose default effort is still pinned (Opus 4.7, Opus 4.8, Fable 5)
Fixed artifact publish failing with an unhelpful error when the page file isn't valid UTF-8 or contains a replacement character (U+FFFD); the error now names the line and column to fix
- Fixed claude agents @ directory menu not listing repositories created after the session started
- Fixed Remote Control clients that join a Claude Desktop or VS Code session showing a stale permission mode until it was changed again
Fixed claude remote-control exiting and dropping every attached session when its server credential expires (about 30 days after start); the host now re-registers and keeps going
Fixed the usage-limit warning flickering on and off during a session when requests for different models or modes report different limit windows
- Fixed earlier reasoning being dropped when an MCP server re-sends, or a built-in tool re-renders, a tool the model already loaded
Fixed a tool that disappears mid-conversation, from a disconnected MCP server or an upgrade, rewriting the tool list and discarding earlier thinking
Fixed a background worker forked from a conversation adding EnterWorktree to the conversation's tool block mid-session, which broke prompt-cache reuse
Fixed mid-session MCP and plugin tools being added to the tool list in sessions without ToolSearch, which broke prompt-cache reuse; supported models now receive them as deferred definitions
Fixed switching models with /model re-sending every tool definition (a prompt-cache miss); commit and PR attribution text now arrives as a conversation note that updates on model changes
- Fixed resumed sessions rewriting the inline tool set when an MCP connector reconnects at a different moment than before
- Fixed resumed sessions re-rendering tool descriptions instead of replaying the recorded ones when the first turn ran a tool
- Fixed prompt-cache misses and dropped extended thinking when a claude.ai connector's tools change between a session and its resume
- Fixed resumed sessions rewriting earlier MCP tool announcements (and dropping extended thinking) before their connectors reconnect
- Fixed a prompt-cache break when a print-mode (-p) conversation is resumed interactively: the system prompt prefix no longer changes
https://github.com/anthropics/claude-code/releases/tag/v2.1.267
Related releases
- Anthropic Claude-code v2.1.266 Fixes LLM Gateway Regression Claude Code Releases ·
- Anthropic Releases Claude Code v2.1.265 with Bug Fixes and Improvements Claude Code Releases ·
- Anthropic Claude Code v2.1.263 Delivers Bug Fixes and Reliability Claude Code Releases ·
- Anthropic Python SDK v1.4.0 Adds Usage Reporting Details and Compliance Settings Anthropic Python SDK Releases ·
- Claude Code v2.1.261 Enhances Diagnostics, Output Limits, and Fixes Bugs Claude Code Releases ·
- Claude Platform CLI Adds Declarative Resource Management, Expands Per-Message Effort Beta Claude Platform Release Notes ·