On this page
#howmuchleft
howmuchleft is the fastest Claude Code statusline: context window, 5-hour, and weekly limit usage as three customizable gradient bars, rendering in about 6 ms.
#API Reference
#.
Command howmuchleft is the fastest Claude Code statusline: context window, 5-hour, and weekly limit usage as three customizable gradient bars, rendering in about 6 ms.
Claude Code pipes a JSON status object on stdin on every render; the binary writes three lines of ANSI text to stdout and exits. Invoked without piped stdin it behaves as an ordinary CLI, with commands for installing the statusline into a Claude Code profile, listing profiles, running the demo, previewing colors, inspecting the config and printing the version.
#Version
var Version stringVersion is set by ldflags at build time: -X main.Version=x.y.z The name must stay exported and spelled this way: .goreleaser.yml injects main.Version, and the linker silently does nothing when the symbol is absent.