Show HN: My custom Statusline for Claude Code (Python wrapper around claudeline)
A new Python wrapper for Claude Code, called claudeline, enhances the statusline with various custom features. It provides a detailed view of session duration, context tokens, and a service disruption indicator. Users can install the wrapper easily by following the provided instructions and modifying their settings.
- ▪The claudeline wrapper adds a true-1M context percentage and a custom context window alert threshold.
- ▪It displays session duration, quota bars, and a TODO summary, while also indicating service disruptions.
- ▪Users can install the wrapper by downloading it and configuring their Claude Code settings.
Opening excerpt (first ~120 words) tap to expand
Custom statusline for Claude Code (claudeline wrapper) A Python wrapper around claudeline that pipes its output through a few transformations and adds custom behaviors: a true-1M context %, and a custom context window alert threshold. It accesses the transcript jsonl directly for session duration, context tokens, and todos, shells out to git for branch and dirty state, inverts the quota bars from used to remaining, reformats times to rounded 12-hour, doubles the context bar width with wrapping, and adds an incident link TL;DR? If you want this custom Claude Code statusline, give Claude Code this gist link and tell it to install.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Gist.