SkillAgentSearch skills...

ccstatusline

๐Ÿš€ Beautiful highly customizable statusline for Claude Code CLI with powerline support, themes, and more.

Install / Use

npx skills add sirmalloc/ccstatusline

Installs into whichever agent you are using.

About this skill
๐Ÿค–

CLAUDE.md

Claude Code project instructions

Quality Score

93/100

Supported Platforms

Claude Code
<div align="center"> <pre> _ _ _ _ ___ ___ ___| |_ __ _| |_ _ _ ___| (_)_ __ ___ / __/ __/ __| __/ _` | __| | | / __| | | '_ \ / _ \ | (_| (__\__ \ || (_| | |_| |_| \__ \ | | | | | __/ \___\___|___/\__\__,_|\__|\__,_|___/_|_|_| |_|\___| </pre>

ccstatusline

๐ŸŽจ A highly customizable status line formatter for Claude Code CLI Display model info, git branch, token usage, and other metrics in your terminal

npm version npm downloads License: MIT Node.js Version install size Maintenance

Mentioned in Awesome Claude Code ClaudeLog - A comprehensive knowledge base for Claude

Demo

</div> <br />

๐Ÿ“š Table of Contents

<br />

๐Ÿ†• 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 Usage widget 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 authoritative weekly_scoped entries so migrated accounts do not show stale or frozen values.
  • ๐Ÿง  Correct post-compaction context - Context length and percentage widgets reset immediately from compact_boundary.postTokens after /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 gh calls 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

Powerline Flex Mode

  • โณ Prompt cache timer - Added a Cache Timer widget with live HOT state, TTL countdown, configurable 5-minute/1-hour windows, and customizable state glyphs.
  • โœ… GitHub CI status - Added a Git CI Status widget that summarizes failing, pending, and successful checks for the current branch's pull request.
  • ๐Ÿ”’ Sandbox status - Added a Sandbox Status widget 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.json files are left untouched, defaults render in memory, and the status line shows an invalid-config warning.
  • ๐Ÿงญ Selective Powerline alignment - Press x in 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 Branch and Git Root Dir can cap their visible width with ellipsis-safe truncation while preserving hyperlink targets.
  • ๐Ÿ”ฃ Current directory glyphs - Current Working Dir can prepend an optional custom glyph, including in raw-value mode.
  • ๐Ÿง  Configurable context fallback - CCSTATUSLINE_CONTEXT_SIZE_FALLBACK overrides the default 200k last-resort context window when Claude Code and the model name do not report one.
  • ๐Ÿงฉ Composable compaction metrics - Compaction Counter can render count, auto, manual, unknown, or reclaimed-token values independently for custom layouts.
  • ๐Ÿท๏ธ CLI version flag - ccstatusline --version now 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 Counter now counts explicit compact_boundary markers and can optionally show trigger splits plus tokens reclaimed.
  • ๐Ÿ’ธ Extra usage improvements - Added Extra Usage Used and formats extra usage amounts with the billing currency reported by the usage API.
  • ๐Ÿ“ Custom command width context - Custom Command widgets receive terminal_width in stdin JSON when ccstatusline can detect the terminal width.
  • ๐Ÿง  Prompt cache widgets - Added Cache Hit Rate, Cache Read, and Cache Write widgets with turn/session scopes and hide-when-empty behavior.
  • ๐Ÿ”ข Token rounding fix - Token counts from 999950 through 999999 now render as 1.0M instead of 1000.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 g on the Edit Colors screen for widget gradients, or press g for Override FG Color in Global Overrides for a line-wide gradient.
  • ๐ŸŽฏ More accurate token counts - Tokens Input and Tokens Output now 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 Counter ignores 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-locks so background status checks avoid creating index.lock races.
  • ๐Ÿงฑ 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-cache with configurable TTL and .git/HEAD/.git/index mtime 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 windowsHide so helper commands do not open extra windows on Windows.
  • ๐Ÿ“ Terminal width override - CCSTATUSLINE_WIDTH can 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 /usage model 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 Branch and Git PR/MR now support GitHub, GitLab, and compatible self-hosted remotes, using gh or glab as appropriate.
  • ๐Ÿ”„ Status line refresh interval - Installed configs can set Claude Code's statusLine.refreshInterval from 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 k in 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

View on GitHub
GitHub Stars13.0k
CategoryCustomer
Updated12h ago
Forks574

Languages

TypeScript

Security Score

100/100

Audited on Sep 21, 2026

No findings