statusline-customization

Solid

Configuration reference and troubleshooting for the statusline plugin — sections, themes, bar widths, and script architecture

Data & Documents 280 stars 32 forks Updated 2 months ago MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
82
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Statusline Customization Reference ## Config File **Location:** `~/.claude/statusline-config.json` ### Schema ```json { "sections": { "model": true, // Model name (Opus/Sonnet/Haiku) "branch": true, // Git branch name "worktree": true, // Worktree indicator (wt:name) "cost": true, // Session cost ($X.XX) "duration": true, // Session duration (Xm Xs) "context_bar": true, // Context window usage bar "plan_limits": true // Plan limit bars with reset countdowns }, "context_bar_width": 12, // Width of context bar in chars (8-20) "plan_bar_width": 10, // Width of plan limit bar in chars (6-16) "theme": "default" // Color theme name } ``` All fields are optional. Missing fields use defaults shown above. ## Sections Reference | Section | Color | Description | |---------|-------|-------------| | `model` | Cyan (bold) | Shortened model name with `*` prefix | | `branch` | Green | Current git branch or short commit hash | | `worktree` | Orange (bold) | `wt:name` — only shown when inside a linked worktree | | `cost` | Yellow | Cumulative session cost in USD | | `duration` | Magenta | Session duration in minutes/seconds | | `context_bar` | Green→Red gradient | Visual bar + token count (90k/200k) + compaction indicator (⟳) | | `plan_limits` | Teal→Red gradient | Dual bar: top=5h, bottom=7d plan usage with reset countdowns | ### Plan Limits Bar Characters - `█` — both 5h and 7d usage at this posi...

Details

Author
MadAppGang
Repository
MadAppGang/claude-code
Created
6 months ago
Last Updated
2 months ago
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category