CCometixLine: A High-Performance Rust Statusline Tool for Claude Code

Summary
CCometixLine is a high-performance statusline tool for Claude Code, built with Rust, offering deep Git integration and usage tracking. It provides an interactive TUI for configuration, theme customization, and includes utilities to enhance the Claude Code experience. This tool aims to deliver a highly customizable and efficient statusline.
Repository Info
Tags
Click on any tag to explore related repositories
Introduction
CCometixLine is an advanced, high-performance statusline tool specifically designed for Claude Code, written in Rust. It integrates seamlessly with Git, tracks usage, and offers a highly customizable experience through an interactive Text User Interface (TUI). Key features include displaying model information, current directory, Git branch status, and context window details, all presented with a minimal design using Nerd Font icons. This tool aims to enhance your Claude Code environment with relevant, real-time information.
Installation
The recommended way to install CCometixLine is via npm, which works across all platforms.
# Install globally
npm install -g @cometix/ccline
After installation, you need to configure Claude Code to use CCometixLine. Add the following to your Claude Code settings.json file:
{
"statusLine": {
"type": "command",
"command": "~/.claude/ccline/ccline",
"padding": 0
}
}
This cross-platform path is recommended, with ~ automatically expanding to your user home directory. For more detailed instructions, including manual installation options for various operating systems, please refer to the official GitHub repository.
Examples
CCometixLine offers various command-line options for customization and enhancement.
To temporarily override the theme, you can use the --theme flag:
ccline --theme cometix
ccline --theme nord
To open the interactive TUI configuration panel for real-time editing with a preview:
ccline -c
CCometixLine also provides utilities to enhance Claude Code, such as disabling context warnings and enabling verbose mode. You can apply these patches using the --patch command:
ccline --patch /path/to/claude-code/cli.js
# Example for a common installation path
ccline --patch ~/.local/share/fnm/node-versions/v24.4.1/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js
Why Use CCometixLine?
CCometixLine stands out for its performance, being written in Rust, and its comprehensive feature set. It provides essential development context directly in your Claude Code statusline, including real-time Git status, model information, and context window usage. The interactive TUI makes configuration and theme customization straightforward, allowing users to tailor the statusline to their preferences without manual file editing. Furthermore, its Claude Code enhancement features offer practical improvements to the development environment, making it a powerful addition for any Claude Code user looking for efficiency and customization.
Links
- GitHub Repository: https://github.com/Haleclipse/CCometixLine
- License: MIT License