У CC есть команда
/statusline, которая позволяет в вайб-режиме установить строку состояния. Также потом можно попробовать её настроить посредством промптов (пробовал – у CC получается не самое приятное отображение, если честно).Либо можно пойти в официальную документацию и настроить Status line самостоятельно по примерам.
Но есть и куда более "ленивый" режим настройки. Через проект ccstatusline.
Это консольное микроприложение, которое позволяет в дружелюбном интерфейсе настроить до трёх строк состояния (одна под другой), посмотреть их на превью, а потом одной командой установить в Claude Code.
Полный список того, что можно добавить в качестве элемента в Status line:
Model Name - Shows the current Claude model (e.g., "Claude 3.5 Sonnet")
Git Branch - Displays current git branch name
Git Changes - Shows uncommitted insertions/deletions (e.g., "+42,-10")
Session Clock - Shows elapsed time since session start (e.g., "2hr 15m")
Version - Shows Claude Code version
Output Style - Shows the currently set output style in Claude Code
Tokens Input - Shows input tokens used
Tokens Output - Shows output tokens used
Tokens Cached - Shows cached tokens used
Tokens Total - Shows total tokens used
Context Length - Shows current context length in tokens
Context Percentage - Shows percentage of context limit used (out of 200k)
Context Percentage (usable) - Shows percentage of usable context (out of 160k, accounting for auto-compact at 80%)
Terminal Width - Shows detected terminal width (for debugging)
Custom Text - Add your own custom text to the status line
Custom Command - Execute shell commands and display their output (refreshes whenever the statusline is updated by Claude Code)
Separator - Visual divider between items (customizable: |, -, comma, space)
Flex Separator - Expands to fill available space
Удобный инструмент, чтобы отслеживать текущее состояние контекста, параметры git-а, а также время до обновления лимитов.

