LZong-tw

Claude Statusline Config — Development skill for Claude Code

Development community

Personal ccstatusline config and cache metrics scripts for Claude Code.

How to install Claude Statusline Config

This entry records only its repository, not the path inside it, so there is no exact command to give. Open LZong-tw/claude-statusline-config and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Statusline Config does

Personal ccstatusline config and cache metrics scripts for Claude Code.

Alternatives in Development

README

claude-statusline-config

Personal [ccstatusline](https://github.com/sirmalloc/ccstatusline) configuration and cache metrics scripts for Claude Code.

The default config is optimized for Claude Code on macOS/Linux: ccstatusline keeps the original 4-line visual layout, but the custom widgets use one Node renderer with an incremental shared cache instead of `bash`/`jq`/`awk` scripts. That avoids repeated shell startup and repeated full scans of the same live JSONL transcript.

Inspired by [nnaveenraju/claude-code-status-line](https://github.com/nnaveenraju/claude-code-status-line) — same JSONL metrics idea, but the default path now aggregates the expensive work once.

Files

File Widget label What it shows
statusline-fast.mjs Sonnet 4.6 1M / T8: ... / cache metrics Node renderer for model name, recent turns, and cache metrics
statusline-cached.sh Claude Code statusLine.command wrapper with per-session cache keys
ccstatusline-settings.json 4-line ccstatusline layout using statusline-fast.mjs
ccstatusline-settings.windows.json Same layout with %USERPROFILE% paths so cmd.exe-spawned widgets work on Windows (see Windows)
scripts/verify-settings.mjs Guardrail that fails if the default layout stops matching the original 4-line contract
scripts/verify-statusline-fast.mjs Guardrail for renderer behavior, including AirClaude model label overrides
claude-jsonl.sh Legacy helper: finds current project's session JSONL from stdin
model-name.sh Sonnet 4.6 1M Legacy model name widget
cache-read.sh ReadCache: 58.4M (94%) Legacy cache_read_input_tokens + hit rate widget
cache-creation.sh CacheCreate: 3.7M Legacy cache_creation_input_tokens widget
cache-input.sh Uncached: 534 Legacy input_tokens widget
cache-savings.sh Saved≈$210.47 (84%) Legacy USD savings widget