Skip to main content
All display options live under the display key in ~/.claude/plugins/claude-hud/config.json, with the exception of lineLayout, showSeparators, pathLevels, and elementOrder which are top-level fields.

Layout

lineLayout
'compact' | 'expanded'
default:"expanded"
Controls whether the HUD renders on multiple lines or a single line.
  • expanded — model and project on line 1, context and usage on line 2, optional activity lines below
  • compact — all information on a single line
showSeparators
boolean
default:"false"
Inserts a horizontal rule separator before activity lines (tools, agents, todos).
  • In compact mode: separator appears between the header line and activity lines.
  • In expanded mode: separator is inserted before the first activity element in the elementOrder.
pathLevels
1 | 2 | 3
default:"1"
Number of directory levels to show in the project path.
  • 1my-project
  • 2apps/my-project
  • 3dev/apps/my-project
elementOrder
string[]
Controls the render order of elements in expanded mode. Omit an element from the array to hide it entirely, regardless of its individual display.* setting.Valid element names: project, context, usage, environment, tools, agents, todos.

Model and project

display.showModel
boolean
default:"true"
Show the current model name in brackets, e.g. [Opus]. Always on by default; the interactive configure flow treats this as non-configurable.
display.showProject
boolean
default:"true"
Show the project directory path on line 1.
display.showSessionName
boolean
default:"false"
Show the session slug or a custom title set via /rename.

Context bar

display.showContextBar
boolean
default:"true"
Show the visual context bar ████░░░░░░. Always on by default.
display.contextValue
'percent' | 'tokens' | 'remaining'
default:"percent"
Format used to display context window usage:
  • percent45%
  • tokens45k/200k
  • remaining — remaining percentage
display.showTokenBreakdown
boolean
default:"true"
When context usage exceeds 85%, show a breakdown of input tokens, cache creation, and cache read tokens. Automatically hidden below the threshold.
display.autocompactBuffer
'enabled' | 'disabled'
default:"enabled"
Controls whether the autocompact buffer is factored into the context percentage shown in the HUD:
  • enabled — shows a buffered percentage that accounts for Claude Code’s reserved autocompact space. Matches the output of /context when autocompact is on.
  • disabled — shows the raw percentage without buffering. Matches the output of /context when autocompact is off.

Usage limits

display.showUsage
boolean
default:"true"
Show rate limit consumption for Claude Pro, Max, and Team subscribers. Has no effect for API users or AWS Bedrock.
display.usageBarEnabled
boolean
default:"true"
Controls how usage is displayed when showUsage is true:
  • true — visual bar: ██░░░░░░░░ 25% (1h 30m / 5h)
  • false — text only: 5h: 25% (1h 30m)
display.usageThreshold
number
default:"0"
Minimum usage percentage before the usage bar is shown. 0 means always show. Range: 0–100.
display.sevenDayThreshold
number
default:"80"
Show the 7-day usage bar only when 7-day usage is at or above this percentage. 0 means always show. Range: 0–100.

Duration and speed

display.showDuration
boolean
default:"false"
Show total session duration, e.g. ⏱️ 5m.
display.showSpeed
boolean
default:"false"
Show the output token generation speed, e.g. out: 42.1 tok/s.

Activity lines

display.showTools
boolean
default:"false"
Show a line with currently active and recently completed tool calls, e.g.:
◐ Edit: auth.ts | ✓ Read ×3 | ✓ Grep ×2
Only appears when there is tool activity to show.
display.showAgents
boolean
default:"false"
Show a line with running subagent tasks, e.g.:
◐ explore [haiku]: Finding auth code (2m 15s)
Only appears when agents are active.
display.showTodos
boolean
default:"false"
Show the current todo list progress, e.g.:
▸ Fix authentication bug (2/5)
Only appears when todos are present.

Environment line

display.showConfigCounts
boolean
default:"false"
Show counts of CLAUDE.md files, rules, MCP servers, and hooks, e.g. 2 CLAUDE.md | 4 rules.
display.environmentThreshold
number
default:"0"
Minimum context usage percentage before the environment line is shown. 0 means always show when enabled. Range: 0–100.

Custom line

display.customLine
string
default:"''"
A custom phrase displayed in the HUD. Maximum 80 characters. Set interactively via /claude-hud:configure or by editing config.json directly.

Build docs developers (and LLMs) love