The month segment I built for claude-powerline shipped in 1.31.0. My PR was Owloops/claude-powerline#112.
claude-powerline is the statusline I use for Claude Code, and until now it could only tell you what you’d spent today. Useful, but it resets every night and tells you nothing about where you stand for the month. This segment fixes that.
What it does
- Tracks the current calendar month: total cost and tokens, reusing the same local-transcript aggregation the
todaysegment already had — no network calls. - Works everywhere:
minimal,powerline, andcapsulestyles, plus TUI mode. - Opt-in: disabled by default, so nobody’s existing statusline changes underneath them.
It’s off by default, so if you want it, add month: { enabled: true } to your claude-powerline config.