ccstatusline
๐ Beautiful highly customizable statusline for Claude Code CLI with powerline support, themes, and more.
Install / Use
npx skills add sirmalloc/ccstatuslineInstalls into whichever agent you are using.
CLAUDE.md
Claude Code project instructions
Quality Score
Category
Customer SupportSupported Platforms
Skill content
View source on GitHubccstatusline
๐จ A highly customizable status line formatter for Claude Code CLI Display model info, git branch, token usage, and other metrics in your terminal

๐ Table of Contents
- Recent Updates
- Features
- Localizations
- Quick Start
- Windows Support
- Usage
- Development
- Contributing
- License
- Related Projects
๐ Recent Updates
v2.2.27 - Portable configuration import and export
- ๐ฆ Config import/export - Export the current TUI configuration to JSON, validate and preview imports, then replace all settings or merge only supplied fields while preserving local installation metadata and leaving the result unsaved for review.
v2.2.25 - v2.2.26 - Fable usage, migrated usage API support, compaction accuracy, and rendering reliability
- ๐ช Weekly Fable usage - Added a
Weekly Fable Usagewidget with percentage, progress-bar, remaining-mode, and time-cursor controls. - ๐ Reshaped usage API support - Session and all-model weekly usage can fall back to the newer
limits[]response, while Sonnet, Opus, and Fable weekly widgets read authoritativeweekly_scopedentries so migrated accounts do not show stale or frozen values. - ๐ง Correct post-compaction context - Context length and percentage widgets reset immediately from
compact_boundary.postTokensafter/compact, then switch to the first new turn instead of retaining the pre-compaction size. - ๐งน Reliable hidden-widget separators - Manual separators now look past widgets that render empty, preserve the intended visible boundary, and inherit colors from the actual preceding visible widget.
- โก Non-blocking Git PR/CI refreshes - Git PR and CI widgets render from a versioned disk cache while stale data refreshes in the background, preventing slow
ghcalls from blocking the status line.
v2.2.22 - v2.2.24 - Powerline flex mode, cache/CI/sandbox visibility, layout controls, composable metrics, and safer config

- โณ Prompt cache timer - Added a
Cache Timerwidget with liveHOTstate, TTL countdown, configurable 5-minute/1-hour windows, and customizable state glyphs. - โ
GitHub CI status - Added a
Git CI Statuswidget that summarizes failing, pending, and successful checks for the current branch's pull request. - ๐ Sandbox status - Added a
Sandbox Statuswidget with glyph, text, and Nerd Font formats that follows Claude Code's layered sandbox setting on each refresh. - โ๏ธ One-sided default padding - Default widget padding can now apply to both sides, the left only, or the right only in standard and Powerline layouts.
- โก Powerline flex mode - Flex separators now work in Powerline mode, letting Powerline status lines right-align content or absorb available width.
- ๐ Per-widget dim styling - The color editor can dim an entire widget or only parenthesized text, with reset and clear-all actions covering dim state.
- ๐งฏ Safer settings recovery - Invalid
settings.jsonfiles are left untouched, defaults render in memory, and the status line shows an invalid-config warning. - ๐งญ Selective Powerline alignment - Press
xin the line editor to let a widget and the rest of its line keep their natural widths while earlier Powerline columns stay auto-aligned. - ๐ Git widget width limits -
Git BranchandGit Root Dircan cap their visible width with ellipsis-safe truncation while preserving hyperlink targets. - ๐ฃ Current directory glyphs -
Current Working Dircan prepend an optional custom glyph, including in raw-value mode. - ๐ง Configurable context fallback -
CCSTATUSLINE_CONTEXT_SIZE_FALLBACKoverrides the default 200k last-resort context window when Claude Code and the model name do not report one. - ๐งฉ Composable compaction metrics -
Compaction Countercan render count, auto, manual, unknown, or reclaimed-token values independently for custom layouts. - ๐ท๏ธ CLI version flag -
ccstatusline --versionnow prints the installed package version and exits. - ๐ก๏ธ Guarded invalid-config saves - The TUI warns when it loaded defaults for an invalid settings file and requires confirmation before replacing that file.
- ๐ Usage display and cache fixes - Used/remaining direction now works in every percentage mode, account switches invalidate cached usage, and fetch locks no longer cause repeated requests or stale timeout output.
- โฑ๏ธ Calmer reset timer startup - Reset timers show labeled loading placeholders instead of transient rate-limit errors while Claude Code's embedded usage-window data is still arriving.
- ๐ Quieter install detection - Best-effort npm and Bun probes no longer leak expected package-manager errors into the TUI.
v2.2.21 - Cache widgets, compaction details, extra usage currency, and package fixes
- ๐ฃ Custom widget glyphs - Git and JJ symbol widgets can override or suppress their built-in glyphs from the TUI.
- ๐ Compaction counter details -
Compaction Counternow counts explicitcompact_boundarymarkers and can optionally show trigger splits plus tokens reclaimed. - ๐ธ Extra usage improvements - Added
Extra Usage Usedand formats extra usage amounts with the billing currency reported by the usage API. - ๐ Custom command width context -
Custom Commandwidgets receiveterminal_widthin stdin JSON when ccstatusline can detect the terminal width. - ๐ง Prompt cache widgets - Added
Cache Hit Rate,Cache Read, andCache Writewidgets with turn/session scopes and hide-when-empty behavior. - ๐ข Token rounding fix - Token counts from
999950through999999now render as1.0Minstead of1000.0k.
v2.2.20 - Gradients, token accuracy, usage reliability, and Git PR/MR fixes
- ๐ Gradient colors - Added per-widget and whole-line foreground gradients with named presets, custom hex stops, TUI picker support, and Powerline-aware rendering. Press
gon the Edit Colors screen for widget gradients, or pressgfor Override FG Color in Global Overrides for a line-wide gradient. - ๐ฏ More accurate token counts -
Tokens InputandTokens Outputnow prefer cumulative transcript metrics before falling back to context-window totals. - ๐ธ Extra usage no-limit fix - Extra usage widgets no longer get stuck on
[Timeout]for accounts with overage enabled but no monthly limit configured. - ๐ Compaction glitch filtering -
Compaction Counterignores transient below-1% context readings so incomplete status frames do not create false compaction counts. - ๐ SSH alias Git PR/MR detection - Git PR/MR detection resolves SSH host aliases while preserving canonical GitHub and GitLab hosts for CLI selection and fallback repo links.
- ๐งช Usage test cache isolation - Usage-fetch test probes now isolate
HOME,USERPROFILE,CLAUDE_CONFIG_DIR, and proxy variables so local tests cannot touch the real ccstatusline cache. - ๐ฆ Dependency refresh - Refreshed React/React DOM and Bun lockfile development-tooling resolutions for the release.
v2.2.14 - v2.2.19 - Version pinning, npm provenance, usage overage widgets, and Git lock avoidance
- ๐ Version pinning support - Added support for pinned global installs so Claude Code can keep running a specific ccstatusline version.
- ๐ npm provenance attestations - Published packages now use trusted publishing provenance so users can verify where releases were built while avoiding long-lived npm publish tokens.
- ๐ Moving from auto-update installs - If you currently use an auto-updating install, use the TUI uninstall option first, then reinstall to go through the version pinning flow. Your ccstatusline settings are preserved when uninstalling.
- ๐ธ Extra usage widgets - Added Extra Usage Utilization and Extra Usage Remaining widgets for monthly pay-as-you-go overage limits, with null rate-limit buckets handled as zero usage.
- ๐ Git lock avoidance - Git helpers now pass
--no-optional-locksso background status checks avoid creatingindex.lockraces. - ๐งฑ Older Git compatibility - Git widgets avoid newer command forms so repository status works on older Git installations.
- โก Persistent Git cache - Git command output is cached under
~/.cache/ccstatusline/git-cachewith configurable TTL and.git/HEAD/.git/indexmtime checks to reduce repeated subprocess work. - ๐งญ Install flow polish - Pinned global install is now the default install option, with clearer wording for install and migration flows.
- ๐ช Hidden helper processes - Runtime child processes set
windowsHideso helper commands do not open extra windows on Windows. - ๐ Terminal width override -
CCSTATUSLINE_WIDTHcan provide an explicit terminal width when automatic probing is unavailable.
v2.2.13 - Weekly model usage, voice status, hooks, and docs
- ๐ Weekly Sonnet/Opus usage widgets - Added separate weekly usage widgets for Sonnet and Opus API buckets, matching Claude Code's
/usagemodel split. - ๐ค Voice Status widget - Added a widget that shows whether Claude Code voice input is enabled, with icon, text, word, and optional Nerd Font display modes.
- ๐ Timer short bars - Block Timer, Block Reset Timer, and Weekly Reset Timer now support compact short-bar progress displays.
- ๐ Quieter hook output - Hook handling now suppresses no-op JSON output so non-status updates stay silent.
v2.2.9 - v2.2.12 - GitLab support, reset timers, context, compaction, and git widgets
- ๐ฆ GitLab PR/MR support -
Git BranchandGit PR/MRnow support GitHub, GitLab, and compatible self-hosted remotes, usingghorglabas appropriate. - ๐ Status line refresh interval - Installed configs can set Claude Code's
statusLine.refreshIntervalfrom the TUI when Claude Code >=2.1.97 supports it. - ๐งญ Wrap-around TUI navigation - Menu/list navigation and move/reorder modes now wrap at the first and last items.
- ๐ Clone widget shortcut - Press
kin the item editor to duplicate the selected widget, with fresh Powerline background color for cloned Powerline items. - ๐ Short bar display modes - Context percentage, Context Bar, Session Usage, Weekly Usage, Block Timer, and reset timer widgets can use compact bar variants.
- **โฑ๏ธ Usage t
Truncated for display โ read the full file on GitHub.
Related Skills
caveman
107.1k๐ชจ why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
claude-mem
94.4kPersistent Context Across Sessions for Every Agent โ Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
84.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu โ one CLI, zero API fees.
Understand-Anything
83.5kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
