A high-performance Claude Code statusline tool written in Rust with Git integration, usage tracking, interactive TUI configuration, API quota monitoring and Claude Code enhancement utilities.
Maintained by HoBeedzc - This is a specially adapted version of CCometixLine for 88Code service. The original CCometixLine was created by Haleclipse under MIT License. This project is also released under MIT License.
This project also incorporates code from another MIT-licensed project, ccline-packycc, with attribution retained.
88Code is a third-party Claude Code proxy service. This project is a voluntary third-party adaptation and is not affiliated with Anthropic or 88Code. 88Code websites: 88code. This project implements automatic adaptation for both endpoints.
The statusline shows: Model | Directory | Git Branch Status | Context Window | API Quota
- Git integration with branch, status, and tracking info
- Model display with simplified Claude model names
- Usage tracking based on transcript analysis
- Directory display showing current workspace
- API Quota display showing current API quota
- Minimal design using Nerd Font icons
- Interactive main menu when executed without input
- TUI configuration interface with real-time preview
- Theme system with multiple built-in presets
- Segment customization with granular control
- Configuration management (init, check, edit)
- Context warning disabler - Remove annoying "Context low" messages
- Verbose mode enabler - Enhanced output detail
- Robust patcher - Survives Claude Code version updates
- Automatic backups - Safe modification with easy recovery
Install via npm (works on all platforms):
# Install globally
npm install -g @byebyecode/ccline-88cc
# Or using yarn
yarn global add @byebyecode/ccline-88cc
# Or using pnpm
pnpm add -g @byebyecode/ccline-88ccUse npm mirror for faster download:
npm install -g @byebyecode/ccline-88cc --registry https://registry.npmmirror.comAfter installation:
- β
Global command
ccline-88ccis available everywhere - βοΈ Follow the configuration steps below to integrate with Claude Code
- π¨ Run
ccline-88cc -cto open configuration panel for theme selection
Add to your Claude Code settings.json:
Linux/macOS:
{
"statusLine": {
"type": "command",
"command": "~/.claude/ccline/ccline-88cc",
"padding": 0
}
}Windows:
{
"statusLine": {
"type": "command",
"command": "%USERPROFILE%\\.claude\\ccline\\ccline-88cc.exe",
"padding": 0
}
}Fallback (npm installation):
{
"statusLine": {
"type": "command",
"command": "ccline-88cc",
"padding": 0
}
}Use this if npm global installation is available in PATH
npm update -g @byebyecode/ccline-88ccManual Installation (Click to expand)
Alternatively, download from Releases:
mkdir -p ~/.claude/ccline
wget https://github.com/byebye-code/ccline-88cc/releases/latest/download/ccline-88cc-linux-x64.tar.gz
tar -xzf ccline-88cc-linux-x64.tar.gz
cp ccline-88cc ~/.claude/ccline/
chmod +x ~/.claude/ccline/ccline-88ccRequires: Ubuntu 22.04+, CentOS 9+, Debian 11+, RHEL 9+ (glibc 2.35+)
mkdir -p ~/.claude/ccline
wget https://github.com/byebye-code/ccline-88cc/releases/latest/download/ccline-88cc-linux-x64-static.tar.gz
tar -xzf ccline-88cc-linux-x64-static.tar.gz
cp ccline-88cc ~/.claude/ccline/
chmod +x ~/.claude/ccline/ccline-88ccWorks on any Linux distribution (static, no dependencies)
mkdir -p ~/.claude/ccline
wget https://github.com/byebye-code/ccline-88cc/releases/latest/download/ccline-88cc-macos-x64.tar.gz
tar -xzf ccline-88cc-macos-x64.tar.gz
cp ccline-88cc ~/.claude/ccline/
chmod +x ~/.claude/ccline/ccline-88ccmkdir -p ~/.claude/ccline
wget https://github.com/byebye-code/ccline-88cc/releases/latest/download/ccline-88cc-macos-arm64.tar.gz
tar -xzf ccline-88cc-macos-arm64.tar.gz
cp ccline-88cc ~/.claude/ccline/
chmod +x ~/.claude/ccline/ccline-88cc# Create directory and download
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.claude\ccline-88cc"
Invoke-WebRequest -Uri "https://github.com/byebye-code/ccline-88cc/releases/latest/download/ccline-88cc-windows-x64.zip" -OutFile "ccline-88cc-windows-x64.zip"
Expand-Archive -Path "ccline-88cc-windows-x64.zip" -DestinationPath "."
Move-Item "ccline-88cc.exe" "$env:USERPROFILE\.claude\ccline-88cc\"git clone https://github.com/byebye-code/ccline-88cc.git
cd ccline-88cc
cargo build --release
# Linux/macOS
mkdir -p ~/.claude/ccline
cp target/release/ccometixline ~/.claude/ccline-88cc/ccline-88cc
chmod +x ~/.claude/ccline/ccline-88cc
# Windows (PowerShell)
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.claude\ccline-88cc"
copy target\release\ccometixline.exe "$env:USERPROFILE\.claude\ccline-88cc\ccline-88cc.exe"# Initialize configuration file
ccline-88cc --init
# Check configuration validity
ccline-88cc --check
# Print current configuration
ccline-88cc --print
# Enter TUI configuration mode
ccline-88cc --config# Temporarily use specific theme (overrides config file)
ccline-88cc --theme cometix
ccline-88cc --theme minimal
ccline-88cc --theme gruvbox
ccline-88cc --theme nord
ccline-88cc --theme powerline-dark
# Or use custom theme files from ~/.claude/ccline-88cc/themes/
ccline-88cc --theme my-custom-theme# Disable context warnings and enable verbose mode
ccline-88cc --patch /path/to/claude-code/cli.js
# Example for common installation
ccline-88cc --patch ~/.local/share/fnm/node-versions/v24.4.1/installation/lib/node_modules/@anthropic-ai/claude-code/cli.jsDisplays: Directory | Git Branch Status | Model | Context Window | API Quota
- Branch name with Nerd Font icon
- Status:
βClean,βDirty,βConflicts - Remote tracking:
βnAhead,βnBehind
Shows simplified Claude model names:
claude-3-5-sonnetβSonnet 3.5claude-4-sonnetβSonnet 4
Token usage percentage based on transcript analysis with context limit tracking.
Smart monitoring of API usage:
- Usage display: Shows subscription name and used/total credits (e.g.,
Pro $0.06/$20.25) - Auto-detection: Automatically detects the correct API endpoint
- Zero configuration: Just provide your API key, everything else is automatic
Supports multiple API key sources:
- Environment variables:
C88_API_KEY,ANTHROPIC_API_KEY,ANTHROPIC_AUTH_TOKEN - Claude Code settings.json
- Local API key file:
~/.claude/api_key
CCometixLine supports full configuration via TOML files and interactive TUI:
- Configuration file:
~/.claude/ccline-88cc/config.toml - Interactive TUI:
ccline-88cc --configfor real-time editing with preview - Theme files:
~/.claude/ccline-88cc/themes/*.tomlfor custom themes - Automatic initialization:
ccline-88cc --initcreates default configuration
All segments are configurable with:
- Enable/disable toggle
- Custom separators and icons
- Color customization
- Format options
Supported segments: Directory, Git, Model, Usage, Time, Cost, OutputStyle
- Git: Version 1.5+ (Git 2.22+ recommended for better branch detection)
- Terminal: Must support Nerd Fonts for proper icon display
- Install a Nerd Font (e.g., FiraCode Nerd Font, JetBrains Mono Nerd Font)
- Configure your terminal to use the Nerd Font
- Claude Code: For statusline integration
# Build development version
cargo build
# Run tests
cargo test
# Build optimized release
cargo build --release- TOML configuration file support
- TUI configuration interface
- Custom themes
- Interactive main menu
- Claude Code enhancement tools
Contributions are welcome! Please feel free to submit issues or pull requests.
- tweakcc - Command-line tool to customize your Claude Code themes, thinking verbs, and more.
- CCometixLine - Original high-performance Claude Code status line tool written in Rust (upstream project).
- ccline-packycc - Another high-performance Claude Code status line tool written in Rust.
This project is licensed under the MIT License.
