promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Claude Code

/focus

Toggles Focus view: only the last prompt, a one-line tool summary with edit diffstats, and the final answer.

Toggles Focus view: only the last prompt, a one-line tool summary with edit diffstats, and the final answer. From v2.1.198, the summary also counts started subagents. The choice persists across sessions ('viewMode' setting). Full-screen rendering only.

โœ… WHEN TO USE IT?

Get an overview of long multi-tool turns

Before a task with many file edits, turn on /focus to see only the last prompt, a one-line tool-call summary with diffstats, and the final response instead of every intermediate message.

Screen-sharing or demoing without tool noise

Enable /focus before a presentation so viewers see only the key steps instead of every single tool call.

โ›” WHEN NOT TO?

Debugging a failed tool call

Focus collapses tool calls into one-liners โ€” details like a stack trace or the full diff content are hidden.

Better: Run /focus again to turn it off and see the full turn output.

SOURCES