Lily
Posted on Jul 13
• Originally published at dev.to
In my last post, "Letting Claude Code improve itself autonomously — autopilot", I covered how to keep autopilot from running away, but I glossed over the part about "surfacing your plan quota in the statusline" in a single paragraph. This time I'll walk through that implementation in full.
No auth, no endpoint calls. All you do is read the JSON that Claude Code passes to the statusline script over stdin with jq, and you get your 5h/7d plan quota, context usage, and session cost plus today's running total (converted to yen) always visible in three lines.






