WeSearch

Show HN: My custom Statusline for Claude Code (Python wrapper around claudeline)

262588213843476· ·9 min read · 0 reactions · 0 comments · 12 views
#python#software#development
Show HN: My custom Statusline for Claude Code (Python wrapper around claudeline)
⚡ TL;DR · AI summary

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.

Key facts
Original article
Gist · 262588213843476
Read full at Gist →
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.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from Gist