/focus
A Claude Code slash command, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
Toggle the focus view, which shows only your last prompt, a one-line tool-call summary with edit diffstats, and the final response. The tool-call summary also counts the subagents launched in the turn and collapses completed background-task notifications into a single count. The selection persists across sessions; set viewMode in settings to override it. Only available in fullscreen rendering. The VS Code extension offers its own Focus view as a command-menu toggle, stored as an extension setting, independent of viewMode
Anthropic's own wording. Read off Commands, captured 2026-09-28.
In the changelogs
10Releases whose published page names /focus.
-
v2.1.292
The /focus tip now takes its text from a shared place
The tip suggesting
/focusnow reads its text from a stored value instead of a sentence written into the tip itselffound in this entry's text, named in this entry
-
v2.1.282
/focusis now listed on hosted sessionsThe
/focuscommand is now marked to be advertised on hosted sessions, where before it was notfound in this entry's text, named in this entry
-
v2.1.281
New
/focus [on|off]command for non-interactive sessions/focus now works in non-interactive sessions and accepts on or off, and interactive /focus explains when fullscreen is needed
found in this entry's text, named in this entry
-
v2.1.281
/focus gets a non-interactive (SDK/headless) variant that saves viewMode in flag settings
/focus now also works in non-interactive sessions such as the SDK, taking on, off or no argument, and saves viewMode for that launch
found in this entry's text, named in this entry
-
v2.1.281
SDK init frame schema adds per_turn_effort_active and view_mode
The opening message sent to SDK programs now reports the current view mode, focus or default, plus an internal effort field
found in this entry's text
-
v2.1.281
/focus marked terminal-oriented; slash completion keeps namespaced names
/focusis now marked terminal-oriented, and slash-command completion can offer a short name or the full prefixed namefound in this entry's text, named in this entry
-
v2.1.269
New onboarding tip advertises a '/focus' command tied to an unset 'viewMode'
A new onboarding tip introduces the
/focuscommand to users who haven't set a view mode.found in this entry's text, named in this entry
-
v2.1.121
Focus View Requires Fullscreen Renderer
found in this entry's text
-
v2.1.120
Hidden Message Count in Focused Mode
found in this entry's text
-
v2.1.110
/focusCommand — Minimal Transcript Viewfound in this entry's text
First cited
4The earliest release whose published evidence quoted /focus was v2.1.120, 24 Apr 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the slash command does. All slash commands.