← all repositories
Haleclipse/CCometixLine

A statusline for Claude Code, plus a patcher that mutes its nagging

CCometixLine is a Rust binary that gives Claude Code a fast, informative statusline — and optionally rewrites its cli.js to silence context warnings.

★3.5k stars Rust Coding Assistants
CCometixLine
Velocity · 7d
+51
★ / day
Trend
↗accelerating
star history

What it does

It renders the Claude Code statusline: current directory, Git branch with clean/dirty/conflict markers and ahead/behind counts, a simplified model name (claude-4-sonnet becomes Sonnet 4), and a context-window usage percentage derived from transcript analysis. Everything is configured through TOML files or an interactive TUI with live preview, and it ships with built-in themes (gruvbox, nord, powerline-dark, and friends) plus support for custom ones.

The interesting bit

Beyond the statusline, ccline --patch modifies Claude Code’s own cli.js to disable the “Context low” warnings and enable verbose mode — with automatic backups and a patcher designed to survive Claude Code updates. It’s a statusline tool that also performs minor surgery on its host.

Key highlights

  • Rust binary, distributed via npm or static/dynamic release builds for Linux, macOS, and Windows
  • Token usage percentage computed from transcript analysis, with context limit tracking
  • models.toml supports third-party models (GLM, Kimi) via substring matching, plus composable context modifiers like a 1M suffix
  • Configurable segments: Directory, Git, Model, Usage, Time, Cost, OutputStyle — each toggleable with custom icons and colors
  • Claude models are auto-recognized; you only touch models.toml for overrides

Caveats

  • Requires a Nerd Font in your terminal, or the icons turn into tofu
  • The patcher modifies Claude Code’s cli.js directly — backups exist, but you’re patching a moving target that updates itself
  • Windows path handling has version-specific quirks; the README warns %USERPROFILE% no longer works reliably on Claude Code v2.147+

Verdict

Worth it if you live in Claude Code and want Git state and context burn-rate at a glance. If you don’t use Claude Code, there’s nothing here for you — the patcher certainly won’t help.

Frequently asked

What is Haleclipse/CCometixLine?
CCometixLine is a Rust binary that gives Claude Code a fast, informative statusline — and optionally rewrites its cli.js to silence context warnings.
Is CCometixLine open source?
Yes — Haleclipse/CCometixLine is an open-source project tracked on heatdrop.
What language is CCometixLine written in?
Haleclipse/CCometixLine is primarily written in Rust.
How popular is CCometixLine?
Haleclipse/CCometixLine has 3.5k stars on GitHub and is currently accelerating.
Where can I find CCometixLine?
Haleclipse/CCometixLine is on GitHub at https://github.com/Haleclipse/CCometixLine.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.