Skip to content

Widget Reference

This page provides detailed information about each widget, including its data source, what it displays, and example output.

PropertyValue
Widget IDmodel
Data Sourcestdin (model info) + settings (effort/fast mode)
DescriptionDisplays the current model name with emoji. Shows effort level for Opus/Sonnet (X/H/M/L) and fast mode indicator for Opus (↯).

Example output:

Opus(X)
Sonnet(M)
Opus(X↯)
PropertyValue
Widget IDcontext
Data Sourcestdin (context_window)
DescriptionShows a progress bar, percentage, and token count for context window usage. Color changes by utilization: green 0-50%, yellow 51-80%, red 81-100%.

Example output:

-------- 45% 90K
████---- 80% 160K

contextBar / contextPercentage / contextUsage

Section titled “contextBar / contextPercentage / contextUsage”

Sub-widgets of context that render just one of its three components. Use them when you need to keep the status line compact (e.g., on a split terminal) while still surfacing the most important context information. All sub-widgets share the same data source as context, so colors and percentages stay in sync.

Widget IDShows
contextBarProgress bar only
contextPercentagePercentage only (e.g. 45%)
contextUsageToken count only (e.g. 90K/200K)

Example layout:

.claude/claude-dashboard.local.json
"lines": [
["projectInfo", "contextBar", "contextPercentage", "rateLimit5h"]
]
PropertyValue
Widget IDcost
Data Sourcestdin (cost)
DescriptionShows the total session cost in USD.

Example output:

$1.25
$0.03
PropertyValue
Widget IDprojectInfo
Data Sourcestdin (workspace) + git
DescriptionShows the current directory name, git branch (clickable OSC8 hyperlink to GitHub when remote is configured), and commits ahead/behind upstream. When CWD differs from the project root, shows the relative subpath. In worktree sessions, shows a worktree indicator.

Example output:

📁 my-project (main)
📁 my-project (feature ↑3)
📁 my-project (main ↑2↓1)
📁 my-project (src/components) (main)
📁 my-project (main) 🌳 wt:feature-branch
PropertyValue
Widget IDrateLimit5h
Data SourceAPI (oauth/usage)
DescriptionShows the 5-hour rate limit utilization percentage with reset countdown timer. Available on both Pro and Max plans.

Example output:

5h: 42%
5h: 85% (1h23m)
PropertyValue
Widget IDrateLimit7d
Data SourceAPI (oauth/usage)
DescriptionShows the 7-day rate limit utilization. Available on Pro and Max plans.

Example output:

7d: 69%
PropertyValue
Widget IDrateLimit7dSonnet
Data SourceAPI (oauth/usage)
DescriptionShows the 7-day Sonnet-specific rate limit utilization. Max plan only.

Example output:

7dS: 23%
PropertyValue
Widget IDsessionId
Data Sourcestdin (session_id)
DescriptionShows a short 8-character session identifier.

Example output:

abc12345
PropertyValue
Widget IDsessionIdFull
Data Sourcestdin (session_id)
DescriptionShows the full UUID session identifier.

Example output:

abc12345-6789-0def-ghij-klmnopqrstuv
PropertyValue
Widget IDsessionDuration
Data Sourcefile (session tracking)
DescriptionShows how long the current session has been running.

Example output:

45m
1h23m
2h05m
PropertyValue
Widget IDsessionName
Data Sourcetranscript (JSONL)
DescriptionShows the session name set via the /rename command. Hidden when no name has been set.

Example output:

» feature-auth
» bug-fix-123
PropertyValue
Widget IDlastPrompt
Data Sourcetranscript (JSONL)
DescriptionShows the most recent user prompt in the current session with a timestamp. Useful for quickly identifying the session context. Hidden when no user prompt has been sent yet.

Example output:

💬 14:32 Fix the authentication bug in middleware
💬 09:15 Add unit tests for the API client
PropertyValue
Widget IDconfigCounts
Data Sourcefilesystem + stdin
DescriptionCounts and displays the number of CLAUDE.md files, AGENTS.md files, rules, MCP servers, hooks, and added directories configured in the project.

Example output:

CLAUDE.md: 2 | AGENTS.md: 1 | rules: 3 | MCPs: 1 | hooks: 0 | +Dirs: 2
PropertyValue
Widget IDtoolActivity
Data Sourcetranscript (JSONL)
DescriptionShows the number of running and completed tool calls in the current session. When tools are running, displays the tool name with its target (e.g., file path or command).

Example output:

⚙️ 12 done
⚙️ Read(app.ts) (8 done)
⚙️ Read(app.ts), Bash(npm test) (12 done)
PropertyValue
Widget IDagentStatus
Data Sourcetranscript (JSONL)
DescriptionShows the number of active and completed subagents.

Example output:

Agent: 1 active, 2 done
Agent: 3 done
PropertyValue
Widget IDtodoProgress
Data Sourcetranscript (JSONL)
DescriptionShows the completion rate of todo items tracked in the session.

Example output:

3/5
5/5
PropertyValue
Widget IDburnRate
Data Sourcestdin (tokens) + session duration
DescriptionCalculates and displays the token consumption rate per minute based on session average.

Example output:

5K/m
12K/m
PropertyValue
Widget IDtokenSpeed
Data Sourcestdin (output tokens + timing)
DescriptionShows the output token generation speed in tokens per second.

Example output:

⚡ 67 tok/s
⚡ 120 tok/s
PropertyValue
Widget IDcacheHit
Data Sourcestdin (context_window.current_usage)
DescriptionShows the percentage of input tokens served from cache. Higher values indicate better cache utilization.

Example output:

85%
42%
PropertyValue
Widget IDdepletionTime
Data SourceAPI (rate limits) + session duration
DescriptionEstimates the time remaining until a rate limit is reached, based on the current session consumption rate. The calculation assumes all current utilization came from this session, so accuracy improves as the session runs longer.

Example output:

~2h (5h)
~45m (7d)
PropertyValue
Widget IDcodexUsage
Data SourceCodex API (ChatGPT backend)
DescriptionShows OpenAI Codex CLI usage including model name and rate limit percentages. Auto-hides if ~/.codex/auth.json is not found.

Example output:

codex o4-mini 5h:30% 7d:45%
PropertyValue
Widget IDgeminiUsage
Data SourceGemini API (Code Assist)
DescriptionShows Google Gemini CLI usage for the current model only. Auto-hides if ~/.gemini/oauth_creds.json is not found.

Example output:

gemini 2.5-pro 60%
PropertyValue
Widget IDgeminiUsageAll
Data SourceGemini API (Code Assist)
DescriptionShows Google Gemini CLI usage across all model buckets. Auto-hides if ~/.gemini/oauth_creds.json is not found.

Example output:

gemini pro:60% flash:20%
PropertyValue
Widget IDzaiUsage
Data Sourcez.ai API
DescriptionShows z.ai/ZHIPU GLM usage including 5-hour token usage and monthly MCP usage. Auto-hides if not detected via ANTHROPIC_BASE_URL.

Example output:

GLM 5h:42% MCP:15%
PropertyValue
Widget IDtokenBreakdown
Data Sourcestdin (context_window.current_usage)
DescriptionShows a breakdown of token usage by type: input tokens, output tokens, cache write tokens, and cache read tokens.

Example output:

In 30K · Out 8K · CW 5K · CR 20K
PropertyValue
Widget IDperformance
Data Sourcestdin (tokens) + session duration
DescriptionShows a composite efficiency score (0-100) based on cache hit rate and output token ratio. Higher scores indicate better efficiency.

Example output:

72%
95%
PropertyValue
Widget IDforecast
Data Sourcestdin (cost) + session duration
DescriptionEstimates the hourly cost based on the current session spending rate.

Example output:

~$8/h
~$2/h
PropertyValue
Widget IDbudget
Data Sourcestdin (cost) + file (budget config)
DescriptionShows daily spending versus the configured budget limit. Requires "dailyBudget" in the config file. Shows a warning at 80% and critical alert at 95%.

Example output:

$5/$15
$14/$15 !!
PropertyValue
Widget IDtodayCost
Data Sourcestdin (cost) + file (daily cost tracking)
DescriptionShows the total spending across all sessions today. Aggregates costs from the current session and any previous sessions on the same calendar day.

Example output:

💰 Today: $4.83
💰 Today: $12.50
PropertyValue
Widget IDversion
Data Sourcestdin (version)
DescriptionDisplays the Claude Code version. Hidden when stdin does not provide version info.

Example output:

v1.0.80
PropertyValue
Widget IDlinesChanged
Data Sourcegit (git diff HEAD --shortstat + git ls-files --others)
DescriptionShows uncommitted lines added and removed, including untracked (new) files. Resets naturally on commit. Hidden when no changes exist.

Example output:

+156 -23
+42
-15
PropertyValue
Widget IDoutputStyle
Data Sourcestdin (output_style)
DescriptionShows the current output style name. Hidden when the output style is “default” or not set.

Example output:

concise
verbose
PropertyValue
Widget IDvimMode
Data Sourcestdin (vim.mode)
DescriptionShows the current vim mode (NORMAL or INSERT). Auto-hides when vim mode is not enabled.
Preset Charm

Example output:

NORMAL
INSERT
PropertyValue
Widget IDapiDuration
Data Sourcestdin (cost.total_duration_ms, cost.total_api_duration_ms)
DescriptionShows what percentage of session time was spent waiting for API responses. Useful for identifying whether a session is API-bound or tool-execution-bound.
Preset Chara

Example output:

API 45%
API 72%
PropertyValue
Widget IDpeakHours
Data Sourcesystem clock (Pacific Time via Intl.DateTimeFormat)
DescriptionShows whether the current time falls within Anthropic API peak hours (weekdays 5:00-10:59 AM PT). Displays a countdown to the next transition. Based on PeakClaude.
Preset Charp

Example output:

Peak (3h17m)
Off-Peak (23h9m)
Off-Peak (2d17h)
PropertyValue
Widget IDtagStatus
Data Sourcegit (describe + rev-list --count)
DescriptionShows the number of commits ahead of each matched git tag. Configure patterns via "tagPatterns" (default ["v*"]). Widget hides when no pattern matches a reachable tag.
Preset Chart

Example output:

v1.2.3 +5
v1.2.3 +5, beta-3 +2