Discover and explore top open-source AI tools and projects—updated daily.
stephenleoStatus line for AI coding sessions
Top 85.8% on SourcePulse
<CShip provides a highly customizable and performant status line for Claude Code sessions, offering real-time insights into session cost, context window usage, model details, and API limits. It targets Claude Code users seeking to monitor their AI session's resource consumption directly within their terminal, enhancing productivity through immediate feedback and deep configuration options, including seamless integration with the popular Starship prompt.
How It Works
Written in Rust, CShip is engineered for speed, aiming for a render budget under 10 milliseconds. It processes Claude Code's live JSON feed to extract and display session-specific data. Customization is achieved through a TOML configuration file, allowing users to define status line layouts, module visibility, and warning/critical thresholds with custom styling. A key feature is its Starship passthrough capability, enabling the direct embedding of any Starship module (like git status or language runtimes) alongside native CShip modules for a unified terminal experience.
Quick Start & Requirements
curl -fsSL https://cship.dev/install.sh | bash. This script handles OS/architecture detection, binary installation to ~/.local/bin/cship, starter configuration creation at ~/.config/cship.toml, and automatic wiring into ~/.claude/settings.json. An alternative installation using cargo install cship requires the Rust toolchain.libsecret-tools is needed for usage limit tracking.cship.dev.Highlighted Details
Maintenance & Community
No specific details regarding maintainers, sponsorships, or community channels (e.g., Discord, Slack) are provided in the README.
Licensing & Compatibility
CShip is released under the Apache-2.0 license. This permissive license allows for commercial use and integration into closed-source projects.
Limitations & Caveats
Certain configurations, such as those utilizing Nerd Fonts, require the user's terminal to have a compatible font installed. The tool's functionality is inherently dependent on the output format and availability of data from the Claude Code status line API.
1 week ago
Inactive