Want to monitor your context window, session, and weekly limit in real time?

One of the lesser-known Claude Code features: you can customize your status line.

1 min read LinkedIn
Want to monitor your context window, session, and weekly limit in real time?

One of the lesser-known Claude Code features: you can customize your status line.

Claude Code already returns this data on every request: your context window usage, your session limit (the 5-hour window), your weekly limit (the 7-day window), all in the same JSON payload. We can parse this data and show a custom status line.

First, install jq, a command-line JSON tool that can be used to parse JSON data: brew install jq

Then prompt Claude Code:

“Add a status line to show context, session and weekly %”

To make it nicer:

“Show progress bar alongside with % using U+25B0 and U+25B1”

End result, sitting at the bottom of every session:

C ▰▰▱▱▱ 42% 5h ▰▰▰▱▱ 61% 7d ▰▱▱▱▱ 18%

One caveat: the session and weekly numbers only show up if you’re on a Claude.ai subscription plan, not pay-as-you-go API billing.

Wire this once. You’ll see exactly how much room is left in your context, your session, and your week, before you hit a wall mid-task.

#AI #ClaudeCode #VibeCoding #BuildInPublic #DeveloperTools

I conduct Foundational and Advanced Claude Code workshops for business professionals. Check out my workshops if you are looking to learn from a practitioner with 19 years of experience building tech.

Foundations: https://lnkd.in/e9r8kScw

Advanced: https://lnkd.in/eR6WPQnC

Enjoyed this? Subscribe for more.

Practical insights on AI, growth, and independent learning. No spam.

More in Vibe Coding