{"name":"\/focus","slug":"focus","family":"slash","title":"Slash commands","noun":"slash command","description":"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`](\/docs\/en\/settings-reference#viewmode) in settings to override it. Only available in [fullscreen rendering](\/docs\/en\/fullscreen). The [VS Code extension](\/docs\/en\/vs-code#use-the-prompt-box) offers its own Focus view as a command-menu toggle, stored as an extension setting, independent of `viewMode`","description_source":"docs","described_by":{"doc":"claude-code\/commands","title":"Commands"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.322","builds":0,"mined_builds":161,"first_cited":{"version":"2.1.120","released_at":"2026-04-24 23:02:49","spans":4}},"aliases":[],"entries":[{"version":"2.1.292","anchor":"focus-view-tip-text-moved-into-a-constant","heading":"The \/focus tip now takes its text from a shared place","line":"The tip suggesting `\/focus` now reads its text from a stored value instead of a sentence written into the tip itself","released_at":"2026-10-06 17:10:31","reason":"found in this entry's text, named in this entry"},{"version":"2.1.282","anchor":"focus-is-now-advertised-on-hosted-sessions","heading":"\/focus is now listed on hosted sessions","line":"The `\/focus` command is now marked to be advertised on hosted sessions, where before it was not","released_at":"2026-09-24 15:56:22","reason":"found in this entry's text, named in this entry"},{"version":"2.1.281","anchor":"new-focus-onoff-command-for-non-interactive-sessions","heading":"New \/focus [on|off] command for non-interactive sessions","line":"\/focus now works in non-interactive sessions and accepts on or off, and interactive \/focus explains when fullscreen is needed","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text, named in this entry"},{"version":"2.1.281","anchor":"focus-gets-a-non-interactive-sdkheadless-variant-that-sa","heading":"\/focus gets a non-interactive (SDK\/headless) variant that saves viewMode in flag settings","line":"\/focus now also works in non-interactive sessions such as the SDK, taking on, off or no argument, and saves viewMode for that launch","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text, named in this entry"},{"version":"2.1.281","anchor":"sdk-init-frame-schema-adds-per-turn-effort-active-and-view-m","heading":"SDK init frame schema adds per_turn_effort_active and view_mode","line":"The opening message sent to SDK programs now reports the current view mode, focus or default, plus an internal effort field","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"version":"2.1.281","anchor":"focus-marked-terminal-oriented-slash-completion-keeps-name","heading":"\/focus marked terminal-oriented; slash completion keeps namespaced names","line":"`\/focus` is now marked terminal-oriented, and slash-command completion can offer a short name or the full prefixed name","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text, named in this entry"},{"version":"2.1.269","anchor":"new-onboarding-tip-advertises-a-focus-command-tied-to-an","heading":"New onboarding tip advertises a '\/focus' command tied to an unset 'viewMode'","line":"A new onboarding tip introduces the `\/focus` command to users who haven't set a view mode.","released_at":"2026-09-11 18:12:49","reason":"found in this entry's text, named in this entry"},{"version":"2.1.121","anchor":"focus-view-requires-fullscreen-renderer","heading":"Focus View Requires Fullscreen Renderer","line":null,"released_at":"2026-04-27 19:39:46","reason":"found in this entry's text"},{"version":"2.1.120","anchor":"hidden-message-count-in-focused-mode","heading":"Hidden Message Count in Focused Mode","line":null,"released_at":"2026-04-24 23:02:49","reason":"found in this entry's text"},{"version":"2.1.110","anchor":"focus-command-minimal-transcript-view","heading":"\/focus Command \u2014 Minimal Transcript View","line":null,"released_at":"2026-04-15 20:40:53","reason":"found in this entry's text"}],"entries_total":10,"docs":[{"source":"claude-code","path":"commands","title":"Commands","documented":true},{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"fullscreen","title":"Fullscreen rendering","documented":false},{"source":"claude-code","path":"plugins\/mods\/api","title":"Use the mods API","documented":false},{"source":"claude-code","path":"remote-control","title":"Continue local sessions from any device with Remote Control","documented":false},{"source":"claude-code","path":"settings","title":"Claude Code settings","documented":false}],"docs_total":6,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/slash\/focus","family_url":"https:\/\/changelogs.core-directive.com\/reference\/slash.json"}