Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

/focus works in SDK and headless sessions, and hosts are told the view mode

A new /focus [on|off] works in non-interactive sessions, and session init now reports view_mode and per_turn_effort_active to SDK hosts

Group of 4 Use it now Notable New Features
JSON All of v2.1.281
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Slash CommandsArea: what it touches
New FeaturesKind: in v2.1.281,
What probably matters to youSection of the release

What

/focus switches the focus view, which shows only your last prompt, a one-line summary of the work and the final response. It can now be used in non-interactive sessions, meaning SDK and headless runs where another program drives Claude Code.

  • A second /focus command, with argument hint [on|off], is available only when the session is not interactive. With no argument it flips the current state; other arguments get "Unknown argument ... Use: /focus [on|off]".
  • It writes viewMode into the flag-settings layer and sends apply_flag_settings with briefTranscript.
  • If a managed viewMode setting overrides the choice, it replies that focus view is set by that setting and stays on or off.
  • Submitted from local standard input, it refuses with "/focus isn't available here yet".
  • The interactive /focus now says it needs the fullscreen renderer when not in fullscreen.
  • The session start message sent to SDK hosts now includes view_mode ("focus" or "default") and per_turn_effort_active, an internal field marking whether a per-turn effort setting is active.

Why

SDK and remote hosts can switch focus view per session without editing settings.json, and can mirror the current view. The effort field lets a host tell when changing effort would invalidate the prompt cache.

Read from
Names in the bundle/focus
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up /focus, on Claude Code changelog. * Improved the /focus tip: it now invites you to try focus view mid-turn and shows how to switch back changelog see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up /focus, on Claude Code changelog.

See this entry in the whole of v2.1.281 →

Feedback